MullerHNS 1 Posted June 29, 2017 Share Posted June 29, 2017 Nume :Muller Versiune :amxmodx Descriere detaliata : vreau jumpstats 500 gravity pentru hns,sa arate cj,lj etc, nu gasesc nici cum. Multumesc anticipat Link to comment Share on other sites More sharing options...
XxAlexX7657 24 Posted June 30, 2017 Share Posted June 30, 2017 Ma apucasem sa scriu ca nu detii srv in comunitate, bine ca m-am uitat pe profil si am vazut cererea la Skadi. Sa nu uiti sa dai claim pe gametracker. uq_jumpstats by BorJomiversion 2.42 Some server's using this plugin Hi everyone! As you might know, in the Kreedz world two stats plugin are dominating, Jumpstats by Exolent and Long Jump Stats - eXtreme Modification by Numb. Both have their advantages and disadvantages, that's why I've just decided to do something mean in my plugin, whether I have succeeded? Time will tell). The starting point that I used was the original kz_stats by SchlumPF, modded by xPaw, but beyond that, I just borrowed some parts of the code from those LJ Stats - eXtreme Modification and Jumpstats, for which I express my special thanks to their developers.About Plugin:// Thanks Exolent thread for a pattern cause i'm tired format my theardThis plugin measures jump techniques in Counter-Strike 1.6. These techniques are: LongJump HighJump WeirdJump WeirdJump after Double Duck CountJump Double CountJump Multi CountJump Drop CountJump Drop Double CountJump Drop Multi CountJump BhopJump Drop BhopJump Standup BhopJump Ladder Bhop Real Ladder Bhop LadderJump Up BhopJump Up Standup BhopJump Up BhopJump in Duck BhopJump in Duck DuckBhopJump Standup CountJump Standup Double CountJump Standup Multi CountJump Drop Standup CountJump Drop Standup Double CountJump Drop Standup Multi CountJump MultiBhopJump Slide LongJump - (Simple version and works only on two maps "slide_gs_longjumps","b2j_slide_longjumps ") Features: Jump Stats: Distance Maxspeed and Gain Prestrafe Strafes Sync Duck Count Strafe Stats: Gain speed each strafe Sync each strafe Loss on each strafe Air time on each strafe Jump Beam First type = simple beam Second type = beam with showing strafes Script detection Any weapon is allowed for stats Fail Stats Showing Fall/Height distance On/Off doing Screenshoot if player get into top20 for each technique Top 15 per technique Option to save or reset tops every map change Sounds: Impressive Perfect Holy Shit Wicked Sick Godlike Turning On/Off Abilities: Current Speed Jump Prestrafe Speed after Ducks Jump Stats Strafe Stats Jump messages in chat Jump Beam Jump Sounds MultiBhop Prestrafe LJ Prestrafe Block Distance Edge Distances Edge Distances when Cvar to limit which team(s) can use Stats 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 Shows Block Shows JumpOff Shows Landing Stats only show when sv_airaccelerate is 10 or 100 Sql Support And some Features which can be found in /ljsmenu SQL Install - Make Database (in phpmyadmin or something else) called uq_jumpstats (or the name you put for kz_uq_db) - Put folder /uq_jumpstats into your webserver - Open the config.php with notepad and set needed optionsRequirements: - AMX Mod X version 1.8.1 or higher - Fakemeta Module - HamSandwich Module - CStrike Module - Engine Module - Fun Module - Mysql Module Dont forget first set cvars in cfg and then restart server(map) Code: ############################################### Cvar's ( in « » default values) 1. What should work when players connect to the server // 0 = none // a = colorchat // b = stats // c = speed // d = showpre // e = strafe stats // f = beam // g = duck stats for mcj // h = shows message when your bhop prestrafe is failed // i = show multibhop pre // j = show prestrafe after duck // k = show lj prestrafe // l = show edge // m = show edge when fail (without block) // n = on/off sound's on players kz_uq_connect "abdehklmn" 2. Allow doing ScreenShot if Player going in Top10 (not work with kz_uq_sql «1» or «2» and for map top) kz_uq_screenshoot «0» 3. For what team stats enable (0=all team,1=T,2=CT) kz_uq_team «0» 4. Max strafes kz_uq_max_strafes «14» 5. Allow highlighting after landing (1 = on, 0 = off; works for holy, leet and god distances) kz_uq_light «0» 6. Allow sounds (1 = on, 0 = off) kz_uq_sounds «1» 7. How to save Top10 (2 = steamid, 1 = Ip, 0 = name) kz_uq_top_by «1» kz_uq_save_top «1» - On/Off TOP10 (1 = on, 0 = off) kz_uq_maptop «1» - On/Off MapTop (1 = on, 0 = off) kz_uq_save_extras_top «1» - On/Off Extra Tops (1 = on, 0 = off) 8. Allow check to legal settings (1 = on, 0 = off) a) kz_uq_legal_settings «1» b) kz_uq_fps «1» (1=more than 110 FPS jump does not count, 0= counts) a) kz_uq_noslowdown «0» (on/off protection from noslowdown bhoping) 9. The prefix for all messages in chat kz_uq_prefix «unique-kz» 10. How to set up a server by value sv_airaccelerate (0=10aa, 1=100aa) kz_uq_airaccelerate «0» 11. Color Hud message statistics when you jump, in the RGB kz_uq_stats_red «0» kz_uq_stats_green «255» kz_uq_stats_blue «159» 12. Color Hud messages Fail statistics when you jump, in the RGB kz_uq_failstats_red «255» kz_uq_failstats_green «0» kz_uq_failstats_blue «109» 13. Color Hud messages prestrafe, in the RGB kz_uq_prestrafe_red «255» kz_uq_prestrafe_green «255» kz_uq_prestrafe_blue «255» 14. Color of speed, in the RGB kz_uq_speed_red «255» kz_uq_speed_green «255» kz_uq_speed_blue «255» 15. Coordinates Hud messages a) General stats jump kz_uq_stats_x «-1.0» kz_uq_stats_y «0.70» b) Strafes Stats kz_uq_strafe_x «0.70» kz_uq_strafe_y «0.35» c) Ducks Stats for Multi CountJump kz_uq_duck_x «0.6» kz_uq_duck_y «0.78» d) For speed kz_uq_speed_x «-1.0» kz_uq_speed_y «0.83» e) for prestrafe kz_uq_prestrafe_x «-1.0» kz_uq_prestrafe_y «0.65» 16. Channels Hud messages a) General stats jump kz_uq_hud_stats «3» b) Strafes Stats kz_uq_hud_strafe «4» c) Ducks Stats for Multi CountJump kz_uq_hud_duck «1» d) For speed kz_uq_hud_speed «2» e) For prestafe kz_uq_hud_pre «1» 17. Color of chat messages of distance jump (good = grey, pro = green, holy = blue, leet = red, god = red (with sound godlike for all players)) a) LongJump/HighJump kz_uq_good_lj «240» kz_uq_pro_lj «245» kz_uq_holy_lj «250» kz_uq_leet_lj «253» kz_uq_god_lj «255» b) CountJump kz_uq_good_cj «250» kz_uq_pro_cj «255» kz_uq_holy_cj «260» kz_uq_leet_cj «265» kz_uq_god_cj «267» c) Double CountJump/Multi CountJump kz_uq_good_dcj «250» kz_uq_pro_dcj «255» kz_uq_holy_dcj «260» kz_uq_leet_dcj «265» kz_uq_god_dcj «270» d) LadderJump kz_uq_good_ladder «150» kz_uq_pro_ladder «160» kz_uq_holy_ladder «170» kz_uq_leet_ladder «180» kz_uq_god_ladder «190» e) BhopJump/StandUp BhopJump kz_uq_good_bj «230» kz_uq_pro_bj «235» kz_uq_holy_bj «240» kz_uq_leet_bj «245» kz_uq_god_bj «247» f) WeirdJump/Drop CountJump/Ladder BhopJump kz_uq_good_wj «255» kz_uq_pro_wj «260» kz_uq_holy_wj «265» kz_uq_leet_wj «270» kz_uq_god_wj «272» g) Drop BhopJump/Drop StandUp BhopJump kz_uq_good_dbj «240» kz_uq_pro_dbj «250» kz_uq_holy_dbj «265» kz_uq_leet_dbj «270» kz_uq_god_dbj «272» h) StandUp CountJump(if 100aa all cvar dist +15 units, doublescj,multiscj=scj+15 units) kz_uq_good_scj «240» kz_uq_pro_scj «245» kz_uq_holy_scj «250» kz_uq_leet_scj «255» kz_uq_god_scj «257» i) Drop StandUp CountJump(double,multi) kz_uq_good_dropscj 255 kz_uq_pro_dropscj 260 kz_uq_holy_dropscj 265 kz_uq_leet_dropscj 270 kz_uq_god_dropscj 272 j) Up Bhop kz_uq_good_upbj 225 kz_uq_pro_upbj 230 kz_uq_holy_upbj 235 kz_uq_leet_upbj 240 kz_uq_god_upbj 245 k) Up StandBhop kz_uq_good_upsbj 225 kz_uq_pro_upsbj 230 kz_uq_holy_upsbj 235 kz_uq_leet_upsbj 240 kz_uq_god_upsbj 245 l) Bhop In Duck(Up Bhop In Duck) kz_uq_good_bhopinduck 205 kz_uq_pro_bhopinduck 210 kz_uq_holy_bhopinduck 215 kz_uq_leet_bhopinduck 220 kz_uq_god_bhopinduck 222 m) Duck Bhop kz_uq_good_duckbhop 100 kz_uq_pro_duckbhop 115 kz_uq_holy_duckbhop 130 kz_uq_leet_duckbhop 145 kz_uq_god_duckbhop 160 m) Real Ladder Bhop kz_uq_good_realldbhop 240 kz_uq_pro_realldbhop 250 kz_uq_holy_realldbhop 265 kz_uq_leet_realldbhop 270 kz_uq_god_realldbhop 272 18. on/off each technique kz_uq_lj «1» kz_uq_cj «1» kz_uq_bj «1» kz_uq_sbj «1» kz_uq_wj «1» kz_uq_dcj «1» kz_uq_mcj «1» kz_uq_drbj «1» kz_uq_scj «1» kz_uq_drcj «1» kz_uq_ladder «1» kz_uq_ldbj «1» kz_uq_scj «1» kz_uq_dscj «1» kz_uq_mscj «1» kz_uq_dropscj «1» kz_uq_dropdscj «1» kz_uq_dropmscj «1» kz_uq_duckbhop «1» kz_uq_bhopinduck «1» kz_uq_realldbhop «1» kz_uq_upbj «1» kz_uq_upsbj «1» kz_uq_upbhopinduck «1» kz_uq_multibhop «1» kz_uq_dropdcj «1» kz_uq_dropmcj «1» 19. Min/Max Jump distance kz_uq_min_dist «215» kz_uq_max_dist «290» 30. Min/Max Jump distance (Ups bhop, Multibhop ,Real Ladder Bhop, Duckbhop, Ladder Jump) kz_uq_min_dist_other «120» 21. Min/Max block to show in Jump kz_uq_max_block «290» kz_uq_min_block «100» 22. Minimum Prestrafe to show kz_uq_min_pre «60» 23.Allow showing info about stats when you record demo kz_uq_demo_info «1» 24. Sql cvars a) How work Sql Module (SQL stats enable, 0=Disable) kz_uq_sql «0» b) Enable/Disable Web Top (1=Enable,0=Disable) kz_uq_web 0 c) Options cvars for Sql Module kz_uq_host "127.0.0.1" kz_uq_user "root" kz_uq_pass "" kz_uq_db "uq_jumpstats" d) This Option used only in Showing Top(sql), change this if you use another link on you web server kz_uq_url "http://localhost/uq_jumpstats/index.php?type=lj&from_game=true" All cvar can be found and set in \addons\amxmodx\configs\uq_jumpstats\config.c fg Players commandssay /strafes – on/off statistics Strafessay /showpre –on/off display prestrafesay /ducks –on/off statistics ducks for multi cjsay /ljstats –on/off the main statisticssay /uqversion – show versionsay /beam – on/off showing the trajectory of the jumpsay /speed –on/off display of speed playersay /colorchat –on/off display of color in the chat messages from other playerssay /ljsmenu – open the configuration menu say /ljtop – open TOP10 menusay /bhopwarn -on/off show message when you bhop prestrafe is failsay /multibhop - on/off show multi bhop presay /duckspre - on/off display prestrafe after each ducksay /ljpre - on/off display prestrafe for LJsay /failedge - on/off display jumpoff wehn failed without bolocksay /edge - on/off display jumpoff,block,landingsay /height - on/off display height of jump say /mylj - on/off myljtop menusay /jof - on/off showing jumpoffsay /joftr - on/off jumpof trainersay /wpnlj - on/off weapon top menusay /jheight - on/off jump height Admin command amx_reset_uqtops – reset all tops Credits SchlumPF, xPaw, Exolent, Fatalis, Numb, Lt.RAT, kielor, Light (for SQL and PHP) and big thanks kib0rg, MaHy, saix, newbie, dImAr1k, Adantoud, KzmJ > SLayeR, Jig'SaW and thanks for some parts of code ot_207, Bentski ############################################# ## Visithttp://unique-kz.comhttp://xtreme-jumps.euScreens:ChangeLog Code: 1.97a Fix Landing Calculation 1.97b Fix mini bug with landing 1.98 Fix showing /speed Fix bug when jump duckbhop with touching ladder Fix bug when ladderbhop=dropbhop 1.98a Do better protection from ladder bugs 1.99 Change surf/slide bug detection 2.0 Optimized code, removed my comments and unnecessary lines, made it more readable and comfortable for modding Finally, my hands reached to calculate the distance, now stats show more or less real distance thank Exolents notes, and do corrected the calculation fail distance. fix some problems with dropbj Due to problems with the surf bug i add detecting touch somthing, now if when you jumped and if you touch somthing in air then stats=failed Added personal stats worked with *. dat tops, open top with cmd say /mylj So, i decided to add support for jumping with weapons, but its make some lags on server, so i made tops just for standard techniques, and without sql support, open top with cmd say /wpnlj fixes various bugs and update php 2.0a fix array error with /mylj add in "kz_uq_connect" letter n=enable sound on player 2.0b Fix some errors Fix maptop+webtop Change the registers table names, now they are the same in php and sma, so advise update all(php and plug) otherwise you may experience errors, as if there are problems with an existing database tables, change the registers for all top table names i.e, LJ_TOP in lj_top etc . 2.0c do beter protection from bug cj=sbj 2.1 fix some problems with duckbhop, dropcj, wj+dd fix some errors Added changing the minimum distance to show for various weapons 2.12 Replaced cvar kz_uq_port on kz_uq_url, now you cant write the path to the php file directly, I advise you to update the configuration file Made a small optimization plugin Corrected some errors 2.13 Fix some problems with /speed. Optimized Jumpoff detection, and added the command /jof. Now you can see your jumpoff, as similar with /showpre seen your prestrafe. Added my Jumpoff Trainer, turn on with cmd /joftr Fixed a few minor bugs 2.14 Corrected problem with displaying jumpoff + block on bhop blocks. Fixed a few minor bugs 2.15 Fixed a problem when, instead of dropcj showed dropbj / wj. Added block tops(weapon maxspeed=250) for each technique except ladderjump, to open menu say /blocktop, also add the cvar to turn on/off block tops kz_uq_block_top "1" n with this apdetanul nx [/ color] there now, too, can find the top of blocks, as organized by the conclusion in head-tops: the block and the Jumpoff, if one were to take on the block.">update php too, now you can find the top of blocks at main page of technique top. 2.16 do some fixes bugs, glitches and others problems. Redone sql module (thanks Light) old sql tables are not compatible with the new sql module. written a new php v2.0 (thanks Light) for new sql module, ie the old version of php not compatible with the new v2.0. done optimization of some sections of code Cons - removed dynamic changing cvars, ie, if you want to change any cvar, change in the cfg and then restrat server. Pluses - Static arrays replaced by dynamic Removed cvar kz_uq_sql = 2 because he makes some problems, but instead of this i add ability to use a standard menu tops with enabled sql module (set kz_uq_sql=1 and kz_uq_web=0), this more convenient. A few features: added command say /jheight which shows the maximum height of the jump, also added bloktop for various weapons. 2.17 Fix problems when cvars not load from cfg file when server starting Fix bug when /speed disapear when player die 2.18 fix a bug with the changing nickname(shows old nick in colorchat messages) Fixed minor problems with dropbj To prevent bugs with distance, i add checking dist for standard techniques (LJ/HJ> 260, CJ/DCJ/MCJ/WJ/.../>277, BJ/SBJ>253) if distance more, stats reseted, turning on\off by cvar kz_uq_bug_check 2.19 remove my changes about dropbj since 2.18, cuz it's makes some new bugs. 2.20 corrected bug with weapon top corrected glitch when HJ blocktop sometimes reseted add in cfg, in cvar kz_uq_url correct link, for fixing motd scroll issue. 2.21 Fix problems with /speed for spectators Corrected a problem when in web Top formed empty name cells. Cosmetic improvements Optimiz some parts of code Small fixes 2.22 Corrected text errors in blocktops Added in function for checking bugs last other techniques Other minor bug fixes 2.23 Corrected some bugs and errors if server using sql module Added cvar kz_uq_noslowdown. 2.24 Fix map top if sql module=on Optimized some parts of the code 2.25 do better protection from empty cells in database if server using sql module 2.26 hopefully is now exactly fixed bug with empty cells in mysql database! 2.27 Corrected glitch when in LJ top created bugs jumps 2.28 Fix a problem when server freezes without error log 2.29 Do beter Fix for problem when server freez small fixes Added cvar kz_uq_only_adimns. Responsible for working stats only for admins, default "0" 2.29a Fix if sql module create many sql connections 2.29b Another fix a glitch with many sql connections.. again) 2.30 seems finally i develop normal antibug stats system, so test it and write work normaly or no Fixed displaying jumpoff in bloktop if sql=1, web=0 2.31 Added a new pair of features, but they are in testing mode Ingame strafe stats, someone has already testing, some do not, but I still highly recommend use this feautre only on Lan cuz it laggy thing) added a script detecion method. This method not a bad catch kzh scripts, but not with 100% guarantee) players who catching logged in amxmodx/logs/uq_jumpstats.txt 2.32 Fixed cvar kz_uq_istrafes Fixed script detection method, now he will looks only on people who jumped more then distance=Holyshit, cuz it may mistake on a small distance. 2.32b Fixed a glitch in when script detector logged wrong players 2.33 Corrected logging function, hope this last update with this problem .... Corrected a bug with the command /uqsound 2.33b Some small changes in script detector Added cvar kz_uq_script_notify - notify all players on the servers that someone jumps with script (default: on), and kz_uq_script_kick - which will kick scipter (default: off) 2.34 Added two cvars. First kz_uq_demo "0" (with "1" custom sprite not be loaded). I'm did not add this cvar in config file (cuz he reading not from first server restarting, but you can add yourself and you need restart your server two times). So change this cvar in console and then restart you server. A second cvar - a notification that the record demos are not safe - kz_uq_demo_notify, if you have Public server or you dont write a demo for some communty you can safely put in the cfg file value=0. 2.35 Remove all sprites and demo cvars (not needed) 2.36 Fix various errors related with /istrafe Some small fixes Add "prestrafe sync" for ordinary cj/dcj/mcj and drop,standup cj/dcj/mcj Add in Antiscript detector ban system, all new cvars can be found in the config file. 2.36b Fix one bug with prestrafe sync 2.37 Small Fix for Scriptdetector to prevent glitch reuslts Fix problem when sometimes ladder bhop did not work Added ability to display info about beated block in ColorChat messages. Cvars for configure kz_uq_block_chat_show, kz_uq_block_chat_min (details in the config file). 2.37a Minor fix for a script detector now it only works if the player makes more than 4 strafes (cause detector make false results if a player makes a 1-4 strafes) 2.37b Fix small glitch with prestrafe sync 2.37с Make ScriptDetector Logs more detail 2.37d Corrected glitch in console with prestrafe sync 2.38 Added cvar kz_uq_afterladder, which allows you to display stats (cj, mcj, dcj) after ladder jump. Since it may show incorrectly technique, use it if you play on lan (not use on public server) Added displaying speed after first duck if you use /duckpre 2.39beta Add MultiLang support in uq_jumpstas.sma (uq_jumpstas_tops.sma i think in near future) Fix problem with backwards (when player push back button at the end of jump) Add cmd /speedt, this cmd switches showing type of speed (big or small hud) Fix showing wrong block value Add protection method from triggers, now first jump after touching trigger will be failed Redone airaccelerate cvar, now you can change cvar kz_uq_airaccelerate at any value (like kz_uq_airaccelerate 500) and your server will work with sv_airaccelerate 500, but value=0 reserved fo 10aa, value=1 reserved fo 100aa, also I want to remind that plugin tested/testing only on 10aa, so it can be bugged with other airaccelerate value. Reanimate AFTER Jump technique, now available CJ/DCJ/MCJ after Jump/Ladder/Bhop and SCJ/DSCJ/MSCJ after Jump, but without Tops. With this changes removed afterladder cvar. Some other Fixes 2.40 Add MultiLang in uq_jumpstats_tops Fix problem when block stats doesnt appear 2.41 Fix lang File 2.41a fix duck pre 2.42 Corrected a problem with the first Duck with /duckpre Improved detection SCJ after Jump Corrected wrong results in top for sql version Added a cvar kz_uq_speed_allteam, on\off speedometer to all team (not dependent on cvar kz_uq_team) Other fixes ChangeLog for Php Code: 2.1 Fixed bug with old mysql servers Fixed bug with empty names on sort orders Fixed bug with block jumps sort Fixed wrong num order in top Fixed CSS and HTML, now it's valid XHTML 1.0 Strict Fixed possible XSS inject in name Fixed motd scroll issue. Please add &from_game=true into cfg file for cvar kz_uq_url. It's temporary and will be autoadded in uq_jumpstats 2.20. Added search by name, ip, steamid. * is replaced by %. Download: uq_jumpstats_php_2.4.zip (15.0 KB, 19701 views)uq_jumpstats_updater.zip (3.7 KB, 16693 views)uq_jumpstats_2.42.zip (462.6 KB, 41384 views) Link to comment Share on other sites More sharing options...
MullerHNS 1 Posted June 30, 2017 Author Share Posted June 30, 2017 Multumesc pentru reply , dar e setat 500 gravity? Sa nu se schimbe pe loc in 800. Si sa arate. Momentan nu sunt acasa dar voi ajunge pe la amiaza. Link to comment Share on other sites More sharing options...
marvel_team 278 Posted June 30, 2017 Share Posted June 30, 2017 Daca n-ai rezolvat problema te rog da-mi un mesaj privat Link to comment Share on other sites More sharing options...
XxAlexX7657 24 Posted June 30, 2017 Share Posted June 30, 2017 Ba acolo arata ca e un jump stats adica iti arata orce miscare si cat de mare este jumpul... Acum nu stiu ce sa zic cred ca trebuie sa te uiti la server.cfg Link to comment Share on other sites More sharing options...
MullerHNS 1 Posted June 30, 2017 Author Share Posted June 30, 2017 (edited) nu merge sa compilez smaurile da niste erori. Edited June 30, 2017 by MullerHNS Link to comment Share on other sites More sharing options...
PortocaLa12 0 Posted September 21, 2017 Share Posted September 21, 2017 #up ??? Interesat.... Link to comment Share on other sites More sharing options...
Recommended Posts