找回密码
 立即注册

QQ登录

只需一步,快速开始

查看: 1251|回复: 7

【已解决】 有没新的LJ插件

[复制链接]

该用户从未签到

发表于 2010-9-25 14:32:49 | 显示全部楼层 |阅读模式
本帖最后由 SiMen.K. 于 2010-9-25 15:16 编辑

有没新的LJ插件 ,希望是赛盟的也行!

该用户从未签到

发表于 2010-9-25 14:36:45 | 显示全部楼层
你自己不是会写吗

该用户从未签到

 楼主| 发表于 2010-9-25 14:41:26 | 显示全部楼层
回复 2# honwenle


    我会写的话,在这问插件吗!?

该用户从未签到

发表于 2010-9-25 15:04:43 | 显示全部楼层
JumpStats 1.7.3

该用户从未签到

发表于 2010-9-25 15:13:10 | 显示全部楼层
本帖最后由 SiMen.K. 于 2010-9-25 15:15 编辑

JumpStats
Version 1.7.3
by Exolent



Introduction:

This plugin measures multiple jump techniques in Counter-Strike 1.6.
These techniques are:
  • LongJump
  • HighJump
  • WeirdJump
  • CountJump
  • Double CountJump
  • Multi CountJump
  • Drop CountJump
  • BhopJump
  • Drop BhopJump
  • Standup BhopJump
  • Drop Standup BhopJump
  • LadderJump
  • LadderBhop
Most of you that know about any type of LongJump Stats are familiar with the one created by NumB.
This one has more features and techniques than all of the others.
These features are:
  • Jump Stats:
    • Distance
    • Direction (Forwards, Backwards, Sideways)
    • MaxSpeed and Gain
    • PreStrafe
    • Strafes
    • Sync
    • Duck Count (for Multi CountJump only)
  • Strafe Stats:
    • MaxSpeed per strafe
    • Sync per strafe
  • Jump Beam (straight or following player movement)
  • Script detection
  • Any weapon is allowed for stats (only weapons with 250 speed will be allowed to top access)
  • Fail Stats
  • Top 10 per technique (best maxspeed, prestrafe, strafes, and sync are highlighted in red)
  • Option to save or reset tops every map change
  • Sounds:
    • Impressive
    • Perfect
    • Godlike
    • Dominating 1 (new position in top, but "Perfect" jump)
    • Dominating 2 (new position in top, but "Godlike" jump)
    • Rampage (3 "Godlike" jumps in a row)
    • Holy Shit (+5 more than the "Godlike" requirement)
  • Cheat detection (surfing, trigger_push, func_trains, etc.)
  • Checkpoint detection
  • Turning On/Off Abilities:
    • Current Speed
    • Jump Stats
    • Strafe Stats
    • Jump messages in chat
    • Jump Beam
    • Spectator Stats
    • Jump Sounds
    • Direction in HUD
    • Prestrafe Shower
    • Block Distance
    • Edge Distances
  • Can save On/Off abilities per player so no need to reconfigure next connect
  • Personal best saving for each technique
  • Reset tops by each technique or all at once
  • Cvar to limit which team(s) can use Jump Stats
  • Any weapon can be used for stats, but only 250 speed will get saved as personal best and top jumps
  • Server Settings enforcer:
    • edgefriction 2
    • mp_footsteps 1
    • sv_cheats 0
    • sv_maxspeed 320
    • sv_stepsize 18
    • sv_maxvelocity 2000
  • Client cvar enforcer (legal jump settings)
    • developer 0
    • fps_max 101
    • cl_forwardspeed 400
    • cl_backspeed 400
    • cl_sidespeed 400
  • If player jumped a block jump ( like in kz_longjumps2 )
    • Shows the block distance
    • Shows the distance from the edge where the player jumped
    • Shows the distance from the edge where the player landed
  • Stats only show when sv_airaccelerate is 10 or 100

Admin Commands:

js_reset
- Displays the menu to reset the tops of a jump technique.
- Requires admin flag L (rcon).

js_updatecvars
- Updates the cached cvar values inside the plugins.
- Requires admin flag L (rcon).

Client Commands:

say /speed
- Enables/Disables the speedometer for the client.

say /colorchat
- Enables/Disables the colored jump messages for the client.

say /ljsounds
- Enables/Disables the jump sounds for the client.

say /ljstats
- Enables/Disables ljstats for the client.

say /strafestats
- Enables/Disables the strafe stats for the client.

say /ljbeam
- Enables/Disables the jumping beam for the client.

say /specstats
- Enables/Disables the stats, beams, and sounds of the player being spectated for the client.

say /preshow
- Enables/Disables the prestrafe shower for the client.

say /blockdist
- Enables/Disables the block distances for the client.

say /edgedist
- Enables/Disables the edge distances for the client.

say /ljsmenu
- Brings up a menu that can redirect to the top menu and the On/Off (options described above) menu.
- If the client has admin flag L (rcon) access, then an additional admin menu will be displayed, too.
- The admin menu can:
  • reset jumps
  • control which teams can use jump stats
  • modify the connect enabler (cvar described later)
  • toggle weapons that are valid for stats
  • toggle allowed jump techniques

say /ljsversion
- Shows the current JumpStats version on the server.


How To Install:

There is a readme.txt file in the .zip file that you must read to install the plugins correctly.
If the plugins are not installed correctly, then bugs may occur.

Requirements:

- STEAM
- AMX Mod X version 1.8.1 or higher
- Fakemeta Module
- HamSandwich Module
- CStrike Module
- Engine Module
- Fun Module

Adding Extra Cheat Detection (such as jetpack, checkpoint, etc.):

If you use any other plugins that can add cheating to jumping, this is how you can make sure this plugin detects it so players can't cheat.
  • Make sure that all of the jumpstats_*.amxx plugins are ABOVE the cheating plugins in the plugins.ini
  • For the commands used to cheat (eg. say /gocheck), put them in the jumpstats_reset.ini
That should take care of it.

Changing Jump Sounds:

Look in the jumpstats_sounds.ini located in addons/amxmodx/configs for instructions.

How to Perform Each Technique:

LongJump
Jump from one position to an ending position at the same height of ground.

HighJump
Same technique as the LongJump, but where the jump is started, the player must have edgefriction, or a long fall in front of the player.

WeirdJump
Fall from a ground onto a lower area of ground and bhop that lower ground once you land the fall and the bhop should land on the same height of ground that you bhopped from.

CountJump
This is similar to the WeirdJump technique, except the player double ducks, or ducks once to go near the ground, then lets go to press duck again, which lifts the player off of the ground. Once the player lands on the ground that is the same height that the player came from, the player bhops the ground and lands on an area of ground the same height that the player bhopped from.

Double CountJump
This is the same as the CountJump technique, except the player double ducks twice. The second double duck is performed when the player lands on the ground from the first double duck. After the second double duck, the player continues like it is a CountJump.

Multi CountJump
This is the same as the Double CountJump technique, but the number of double ducks is at least three, which means the player can do even 5 double ducks to be considered this technique.

Drop CountJump
This technique is similar to the WeirdJump, except instead of bhopping the ground, the player performs 1 double duck and then bhops the ground. This can also be performed by jumping off of a ladder instead of falling off to a lower ground.

BhopJump
This technique is when a player bhops the ground on the same height that the player jumped from and lands on the same height.

Drop BhopJump
This technique is the same as a BhopJump, but the area that the player bhops is lower than where the player initially jumped from.

Standup BhopJump
This technique is the same as a BhopJump, but the player holds duck during the time that the player is in the air from the initial jump. Before the player touches the ground to bhop, the duck is released.

Drop Standup BhopJump
This is a simple combination of the Drop BhopJump and the Standup BhopJump.

LadderJump
This is when a player climbs up a ladder, and once the player flies off of the top of the ladder, the player strafes for a distance away from the ladder and lands on the ground that is the same height as the top of the ladder.

LadderBhop
This is similar to the WeirdJump technique, except the player jumps off of the ladder to bhop the ground.

Important Note About Correct Distance:

I have had so many people tell me that my stats are incorrect. However, my stats are 100% correct now.
There is no reason to tell me that my stats are incorrect. If you compare mine to the XJ plugin by NumB on v2.2b7, you are wrong.
I say this because of this reason here inside NumB's plugin:
Code:
pev(id, pev_origin, vOrigin);fDistance1 = get_distance_f(vJumpedAt[id], vOrigin)+32.0625;

Here are the flaws with this:
  • The distance addon is actually 32.0, not 32.0625. Ask eDark yourself.
  • The distance is wrong if the player ducks to land, because it also calculates the distance between the height which is not accounted for when the player ducks.
This is how it should be calculated: Code:
pev(id, pev_origin, vOrigin);new bool:bDucking = is_in_duck(id);if( bDucking )    vOrigin[2]+=18.0;fDistance1 = get_distance_f(vJumpedAt[id], vOrigin)+32.0;if( bDucking ) // we only do this because it needs to be at its original position for later code.    vOrigin[2]-=18.0;

The reason for this offset when the player ducks is that the player's height position changes so that it's not the same height as the jump off height.
After adding this to the XJ stats plugin, I tested: Code:
[XJ] Distance: 244.561187 - 244.650802[JS] Distance: 244.561187 - 244.650802
Those are the 2 calculated distances within the plugins when compared for which distance is to be used.
As you can see, they are the exact same with the duck fix.

Here is some more proof for this.
Inside the code, I added a debug message to prove that the height origins were not the same when a player ducks at the end of the jump: Code:
pev(id, pev_origin, vOrigin);fDistance1 = get_distance_f(vJumpedAt[id], vOrigin)+32.0;server_print("[XJ] Jump Height: %f -- Land Height: %f", vJumpedAt[id][2], vOrigin[2]);

The result: Code:
[XJ] Jump Height: -91.968750 -- Land Height: -109.968750
Therefore, the distance is not correct because it has to also add the height distance into the final distance.

Credits:

NumB
- Used some code from his LongJump Stats.

xPaw
- Great supporter, tester, and helper.
- Helped me with new ideas and tested for fixes since the beginning.

SchlumPF
- Helped me with correcting the distance calculations
- Helped me fix the server crashing from bhopping in one position
- Based the EdgeDistance calculation from his plugin

joaquimandrade
- Helped me with a really difficult code when adding edge distances for entities

Posters in this topic
- Reporting bugs and posting suggestions

Note to Plugin Approvers:

Please do not judge my plugin until I have it complete.
I posted it here because it's previous topic was not very organized.
It became hard for people to find my plugin and hard for me to keep up with what the people wanted.

Note to Everyone Else:

I can't remember if I fulfilled all of your requests or not.
So, if you see something that you wanted but I didn't add, post it so that I can add it (if it's necessary).

Attached Files
JumpStats_v1.7.3_by_Exolent.zip (819.3 KB, 21691 views)

该用户从未签到

发表于 2010-9-25 15:53:27 | 显示全部楼层
回复 3# Hun_Ter
    你会的你会的…你是新疆人

该用户从未签到

发表于 2010-9-25 18:32:11 | 显示全部楼层
5楼的好强大!

该用户从未签到

发表于 2010-9-26 21:46:11 | 显示全部楼层
还是觉得 uq_jumpstats_1.81 好用点。。

评分

参与人数 1金币 +3 +3 收起 理由
w1d2s + 3 + 3 求此插件

查看全部评分

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

快速回复 返回顶部 返回列表