Jump Bug Stats & Edge Bug Stats

Started by kzuq`newbie
05/06/2008 09:49
Page 2 of 9
Acidas07/06/2008 11:10(edited 07/06/2008 11:42)

Ok, i will test the newest version on my 3 servers :)

Edit:
Fix the source
if (get_cvar_num("kz_eb_top") == 2 || get_cvar_num("kz_eb_top") == 3) client_print(0, print_chat, "[KZRU] %s now is %d in Edge Bug top 10 with %d units Edge Bug!", szname, new_place, distance)
to
if (get_cvar_num("kz_eb_top") == 2 || get_cvar_num("kz_eb_top") == 3) client_print(0, print_chat, "[%s] %s now is %d in Edge Bug top 10 with %d units Edge Bug!", getPrefix(), szname, new_place, distance)
and
if (get_cvar_num("kz_eb_top") == 2 || get_cvar_num("kz_eb_top") == 3) client_print(0, print_chat, "[KZRU] %s now is %d in Edge Bug top 10 with %d units Edge Bug!", szname, new_place, distance)
to
if (get_cvar_num("kz_eb_top") == 2 || get_cvar_num("kz_eb_top") == 3) client_print(0, print_chat, "[%s] %s now is %d in Edge Bug top 10 with %d units Edge Bug!", getPrefix(), szname, new_place, distance)
I Think its correct :)

kzuq`newbie07/06/2008 12:29(edited 07/06/2008 15:04)

2Acidas, thx, I forgot it :)

Edit: Updated...

Acidas07/06/2008 22:34(edited 07/06/2008 23:03)

And:
if (get_cvar_num("kz_eb_top") == 2 || get_cvar_num("kz_eb_top") == 3) client_print(0, print_chat, "[%s] %s now is %d in Edge Bug top 10 with %d units Edge Bug!", getPrefix(), szname, new_place, distance)

if (get_cvar_num("kz_eb_top") == 2 || get_cvar_num("kz_eb_top") == 3) client_print(0, print_chat, "[%s] %s now is %d in Edge Bug top 10 with %d units Edge Bug!", getPrefix(), szname, new_place, distance)

Edit:
Suggetion: You could do a speedometer like in ljstats, but if servers use ljstats, it would be bad, so dont know :)

Edit2:
And what about a cfg like em.. BugStats.ini and put all cvars there? :)

Edit3: The EB stats plugin still detect's WB's (Wallbug's), but not every time...

Edit4: You could add a stat like in JB, but add it in EB the falldistace, and you could add like ljstats have a strafecounter, you could add a distance counter if you fall it shows, like in lt.rat's ljstats edition...

Edit5:
There is a bug in ebtop about distance rank look screen http://www.ipix.lt/images/32168874.png

kzuq`newbie08/06/2008 08:10(edited 08/06/2008 09:15)

1) I don't know... but if it's really needed i'll add...
2) cfg is done already in 0.51
3) It's a temporary fix... so it's still buggy
4) What means distance counter?)))
5) I need time to check code :(

Edit: Updated (fixed top saving, i hope...)

Acidas08/06/2008 12:23(edited 08/06/2008 12:53)

Distance counter is just like when you fall and dont do an EB or JB it shows how many distance you would do if you do an JB or EB. Like Ljstats when you jump lets say... 250 block, and dont jump it it shows stats. :)

Edit:
I have made a nice config file, i think you could add it to the next release http://www.sendspace.com/file/ald7my :)

kzuq`newbie08/06/2008 17:13

Oh man, thx!

Acidas08/06/2008 20:02

Np, just helping :)

kzuq`newbie09/06/2008 06:42

See this: http://www.sendspace.com/file/t2mav9 :D

Acidas09/06/2008 11:46(edited 09/06/2008 12:04)

Verry nice! :) I think you could delete the old versions, just leave EB & JB, and the 2 newest versions :)

Edit:
You could do a nice cvar :) like in stats:
// Enables protection 4 legal kreedz settings
kz_legal_settings "1"
because your plugin forces them, with that cvar you could turn them off :)

Edit2:
Suggestion: amx_resetebtop & amx_resetjbtop or just amx_resetbugtops to clean tops.

Edit3:
Suggestion: kz_ljs_viscmds cmd's like /eb10 etc will not be visible in chat :)

Edit4:
Suggestion: also you could do a cvar /version with something like in ljstats:
public Version(id)
{
ColorChat(id, GREY, "^x04[XJ] Plugin: ^x01%s^x04 by: ^x03%s", gPLUGIN, gAUTHOR);
if( get_pcvar_num(kz_ljs_enabled) )
ColorChat(id, BLUE, "^x04[XJ] Version: ^x01%s^x04, Status:^x03 enabled", gVERSION);
else
ColorChat(id, RED, "^x04[XJ] Version: ^x01%s^x04, Status:^x03 disabled", gVERSION);

return ( (get_pcvar_num(kz_ljs_viscmds))?PLUGIN_CONTINUE:PLUGIN_HANDLED );
}

Fatalis09/06/2008 16:00

This plugin will be moved to the new releases section once author gives credit to NumB for his work.

Acidas09/06/2008 17:05

Well Fatalis is right, but i am not saying to copy all the code, im giving the examples & ideas :P

kzuq`newbie09/06/2008 20:13(edited 09/06/2008 20:13)

Updated:

Renamed kz_prefix -> kz_bugs_prefix
Added commands: /resetebtop /resetjbtop /resettop (access level: rcon)
Added command: /about
Added cvar: kz_bugs_viscmds
Fixed jump bug top ("total edge bugs" :])
Updated kz_bugs_stats.cfg

JAy09/06/2008 20:32

nice plugin, it would be even cooler if it was added into the next version of the lj stats.. anyways u should try ot make eb and jb stats into 1 plugin using a menu style just like lj stats?

Acidas09/06/2008 21:40(edited 09/06/2008 21:58)

Verry nice n3wb13! :)

Edit: Thnx about giving credits for the ideas :), and Fatalis as you said after credits are given, you will move this to Releases :)

@JAy: EB & JB are now in 1 plugin, and nice idea about style change, but i dont think that it must be like LJSTATS, because it could be better, if you need help with style, i could help. I like the style like coderiz (skyjur) did http://kz.grigai.lt .

JAy09/06/2008 22:13

kk sweet, yeah i didn't mean like lj stats, i just used it as an example

Acidas09/06/2008 22:17(edited 09/06/2008 23:49)

Well what do you think about thoose stats, that i gived the link to you?

Edit: What do you think about making the plugin multilingual? But i dont think that is verry needed..

Edit2: You forgot to add kz_legal_settings in the .cfg, and ljstats have the same name off the setting, if both plugin kz_legal_settings are on, would that cost lag?

kzuq`newbie10/06/2008 05:44(edited 10/06/2008 10:54)

1) I don't think what it is really needed.
2) It will be done soon...

JAy10/06/2008 06:21

nice work man :)

Acidas10/06/2008 20:05

Nice work, dont have any new ideas now :D everything is perfect :) maybe it need's just a WB (wallbug) detection, for hns server's, but without no flood :) if you do multi WB then it count's and when you finish doing WB, is shows [XJ] AciD has done 2110 units Wall Bug! or like EB Multi something like that :)

Grrr10/06/2008 20:23

can u make it plugin to tell u when u make a JB while jumpin' on 1 place (only with pressing the duck/jump keys) or smth?

Page 2 of 9

Please log in to post replies.