KZ All-In-One Plugin - On Works
Hi, my name is Daniel, and I'm working on a plugin right now to replace most of the Kreedz plugins out there. Most of them are lacking features,or are badly written. Because of this I decided to make my own plugin. It will be much more complete than the ones out there, and will be 100% open. Right now what I have done is:
-Timer system - Adjustable update interval, smart start/end button detection, efficient
-Hook and Grab - Will be familiar to those who use it now,but it's cleaner and has a new (kinda useless) feature: Choke - kill the player you hold by pressing +use.
-Jump tracking - So far not much done. I newbie in KZ, so i don't know exactly how is each jump done,etc, but so far i have the obvious: distance,max speed, strafes.
-Semiclip
-Respawn - 100% working,turned out better than i expected
-Checkpoint system - Saving,Loading, limit saving,limit loading, works while ducking.
-Rank - TRULY UNLIMITED FOR SQL, NVAULT OR TXT. Yes, first plugin to do this: your rank may have any size you want, with any of the storage types.
This plugin will be only for AMXX 1.8,as most of it's features depend on funcions not present in 1.7.
Any suggestions/requests will be appreciated. Explanation of each kind of jump and how to count them would help me a lot.
from the ljstats thread where the suggestions for this plugin started :D
btw afaik there was a plugin called kz aio too but it got deleted by the user at alliedmodders... dunno why and i never saw its sourcecode
Originally posted by DiggzHere are some sugestions for the KZ plugin:
- split top in top10 (no gochecks) and noob10 (gochecks allowed) and show a menu with top10 and noob10 when typing /top10
- all weapons, except scout, are allowed for tops
- tops should contains Player name, steamid/ip, weapon used 4 map finishing, country checked by ip with geoip
- methods of tops saving (name/ip/steamid) defined by cvar,
- extend top10 to top15 or top20 (If possible. There should be a cvar for tops maxplaces)
- tops saving to sql for web acces (this should be optional, and if u have a private lan server for example, tops will save normally like in the prokreedz plugin, as nvault)
- count teleports instead of checkpoints 4 tops saving (eg: if u have 47 checkpoints and 0 gochecks ur time will go to the top10, cuz u dont used your created checkpoints)
- aim info and spectating info (show time, weapon, checkpoints and gochecks when aiming and spectating a player)
- add glow menu with more colors 4 admins only
- time, checkpoints, gochecks and weapon showed as hud on the screen
- cheatdetect system should stop timer when using hook, noclip, teleport, grab and if u pick up the scout when climbing, or u have it in inventory, the tops acces will be blocked
- hook rewards for everyone who finish the map (no scout)
- startbutton position saving when first player press it, and possibility to be modified by admins with /setstart command
For LJStats:
- all functions from numb`s plugin
- bhoplj, hj, noduckjump detection
- stats with every weapon (also scout), but only usp/knife jumps will be showed in colorchat & tops
- extend tops to 15 places
- lower cpu usage
One plugin with these functions will pwn all others :D
Originally posted by jumbao1-)The rank system will be modular,you will be able to create your own rank categories if you want.
2-)Actually all player should be able to use all weapons,but obviously ranks will only be counted for those with valid weapons(knife/usp/glock)
3-)See 1, but i'll add these you suggested.
4-)Already did it,using an string field for auth,can be name,steamid or ip
5-)Size of the rank will be truly unlimited. For this i'll use AMXX 1.8 dynamic arrays. But it cannot be done by cvar,must be a plugin define. Anyone with a minimal mind capacity can edit and recompile the plugin.
6-)The main focus on the rank system is SQL. But you'll be able to save to nVault or plain text if you want.
7-)Will be defined in a cvar, suggestion accepted
8-)Will be done,suggestion accepted
9-)There are already lots of glow plugins out there. Including this will only increase clutter, and will probably not be as good or complete as the stand-alone ones.
10-)I'll try to do this,but I never tried it before. Not guaranteed,but very likely.
11-)Already done, but picking the scout may be tricky. Someone can just throw it on you, even if you don't want it. But if you actually use it before/during jump, your time will be cancelled.
12-)Already done
13-)Not possible. Normally the button and it's place are 'enclosed' by brushes. Brushes cannot be altered without changing the map file itself.
LJ:
1-)Will be done
2-)Highjump is done, bhop in works, no idea what's noduck
3-)Creating stats for every weapon will be a little overwhelming. For me the only stats that mather are the valid ones (knife + pistol)
4-)Already said it,unlimited top
5-)Trust me,it will be at least 20x lighter. xs is incredibly, i could say impossibly badly written. For example,during each player frame, his velocity is read 6 times,the position 8 times, instead of being stored. Also,the xs prethink funcion has about 1100 lines. So far mine has -100.
Originally posted by SchlumPF@jumbao: PLEASE create a own thread instead of using a thread about ljstats xD someone of you or me could copy these 3 posts into the thread... it would also increase the number of ppl who see the idea about a new plugin + i would appreciate such a plugin :D i wanted to create a small plugin for public but some ppl forbid it :/ anyway i would not have made a plugin as you plan to do/you already did for public :D btw you forgot to tell ppl a unlimited topX will just work on using sql storage and linking the /proX /topX /whateverX to a php file + your sql database needs to be a extern database which means you can access it from any server (intern database means you can just access it from the server on which the sql server is hosted) but those free-webspaces dont offer extern, just intern sql databases. you should also include a php file since many members understand nothing from coding, compiling etc.
@11 -) just block the touch between players and weaponsboxes + weaponboxes and players (maybe just players touch since weaponboxes have no thinking, and maybe just block it when weaponboxes are in air... anyway touch could help xD), may help you
@13 -) he just means store the players origin on pushing the startbutton and teleport him there when he uses /start so he can start at the same place as before (for example: it would help on maps where players start at the startbuttons to do a sc or to gain more speed) + a function for admins which can set the default origin for /start which could be done by checking the startbuttons origin and tracelining around it too.
@lj: hf doing that but many coders tryed to create ljstats or create their own absed on the calculation code of numbs plugin but most were inaccurate or coders stopped cause numbs plugin is a bunch of crap which is mysteriously working (numb <3) but numb is going to create a new ljstats in which he will include all features (such as you meantioned diggz) and i can tell you, his skills really improved and i will check his code so that his prethink is not that big xD (also i already asked him to split ljstats into 2 plugins: frotnendstuff and engine which will make editing the frontend easily without "fighting" through numbs ljstatsthickit :D
Originally posted by DiggzOriginally posted by jumbao11-)Already done, but picking the scout may be tricky. Someone can just throw it on you, even if you don't want it. But if you actually use it before/during jump, your time will be cancelled.
http://xtreme-jumps.eu/e107_plugins/forum/forum_viewtopic.php?102419 - dropped weapons remover :)
schlumpf: i edited your link since i released a better plugin and didnt want to post just a link :/
Originally posted by jumbaoSorry, I'll create a new thread, and no,unlimited top will work for any storage method.
11-)I already blocked weapons picking, instead of disallowing touch,i supercede the event that attaches the weapon to the player using Ham-Sandwich.
13-)Now i understand,can be done easily. Thx for suggenstion.
@lj: I hope he does well on his version too,but it won't stop me from doing mine. He said his version will take a while,and it will be private. Mine will be 100% open,and i'm working on it right now.
Any other doubts please go to the thread i'm creating right now.
http://xtreme-jumps.eu/e107_plugins/forum/forum_viewtopic.php?111112
+costum nightvision which takes less fps (already done in climb plugin)
+"cp+" and "cp-" to cycle through checkpoints (done in climb plugin too)
+best time displayed in scoreboard (same as in kzm servers)
+some axn enabler which automaticlly enables axn on changing the map to a axn map
+ljstats should just be enabled when changing the map to a lj map
+plugin disables all it functions when connecting to a as_* cs_* de_* aim_* fy_* w/e_* map
+ljstats should just show how far a player jumped not how far each other jumped
+rewards system (all options should be enable on connect)
top3 player of the overall pro15 should get this on every map
hook & rope
noclip
godmode
glow
ljstats enabled
measure tool
weapons (except scout)
top4-top10
hook & rope
ljstats enabled
measure tool
on beating the map
hook & rope
ljstats enabled
measure tool
admins get ofc all rewards by default
1-)Don't know what you're talking about,maybe pointing me to the plugins so I can see what it is will help.
2-)Take me a screenshot or something,never saw it.
3-)Will look into.
4-)This will be simples: there will be a command to turn everything on and off. AMXX 1.8 has a new functionality allowing you to execute .cfg files per map prefix. You can disable or enable the plugin there, even in non-kz maps.
5-)Same as 4
6-)It's too much. This will give a player almost admin powers just because he's on top. Hook + Weapons will certainly be done,the rest you can mod it yourself. But there will be admin commands for noclip/godmode/etc (obviously admins can use the commands on themselves)
EDIT: For what i read in the AXN FAQ, all the functions relevant to KZ can be easily done in AMXX. In fact, I already have the bunnyjump feature done, and the longjump can be done in truly 2 lines of code.
you look his suggestions (#1 and #2) up at ian.cammaratas (spelling?) climb plugin which can be easily found at google. the nightvision simulates afaik the real nightvision which gets block since it takes much fps and the costum one takes less then the one which got included by valve. #2s system is similar to prokreedz multi cp system
KZ All-In-One Plugin
Thats a realy bad idea to make ALL-IN-ONE-PLUGIN. It is much better to make many little plugins which works well together.
One plugin should be responsible for one function only. This makes easy to fix bugs, install updates, make own configurations and ....
I have written my own KZ system for my own servers and I have used this kind of structure:
kz timer plugin - invidual timers, climb finish events, includes /pause.
kz stats - a separate kz plugin responsible for stats
checkpoints - in a separate plugin
kz multiplayer - i have put SEMICLIP, MBHOPS, INVIS into one plugin to win some performance. However it still has only one main function - to eliminate any interaction between players.
kz team select - /spec and /ct
kz misc - some small stuff, sound blocking, team radio blocking, status icon blocking.
and some other functions like godmode, respawns on death, hook
.... and new function may be easily installed too.
jumbao, thats a great idea of yours
I hope you can finish everything you said, it will be the one and only, perfect, kz plugin one will ever need.
I wish you luck with the project
hope to be hearing more from you.
pro15 and nub15 with SQL :D
Originally posted by skyjurKZ All-In-One Plugin
Thats a realy bad idea to make ALL-IN-ONE-PLUGIN. It is much better to make many little plugins which works well together.
One plugin should be responsible for one function only. This makes easy to fix bugs, install updates, make own configurations and ....
I have written my own KZ system for my own servers and I have used this kind of structure:
kz timer plugin - invidual timers, climb finish events, includes /pause.
kz stats - a separate kz plugin responsible for stats
checkpoints - in a separate plugin
kz multiplayer - i have put SEMICLIP, MBHOPS, INVIS into one plugin to win some performance. However it still has only one main function - to eliminate any interaction between players.
kz team select - /spec and /ct
kz misc - some small stuff, sound blocking, team radio blocking, status icon blocking.
and some other functions like godmode, respawns on death, hook
.... and new function may be easily installed too.
It's obviously faster to use one plugin to do everything. No need for inter-plugin calls, only one virtual machine loaded, events only hooked and data only gathered once, easy access to other functions data,etc. Also,this plugin in doing, will be smaller than most specific KZ plugins. And also, as I already stated,almost everything is separated. You can just take off whatever you want,copy the initialization,and compile it. Also,it function is very small, some have less than 100 lines of code,and it's not necessary to separate them. When I have the basics finished I'll post a version here,and if the community claims for separate plugins, I'll do so.
Thanks for the suggestions.
Originally posted by SchlumPFyou look his suggestions (#1 and #2) up at ian.cammaratas (spelling?) climb plugin which can be easily found at google. the nightvision simulates afaik the real nightvision which gets block since it takes much fps and the costum one takes less then the one which got included by valve. #2s system is similar to prokreedz multi cp system
Sorry,i wrote it wrong,I never saw the scoreboard thing. The multi CP will be implemented.
some ppl have some problems http://xtreme-jumps.eu/e107_plugins/forum/forum_viewtopic.php?111978 with mpbhops plugin http://xtreme-jumps.eu/e107_plugins/forum/forum_viewtopic.php?60270, which should be added to that plugin (following conception of plugin)...
And /spec /ct is not figured here...
And stats for all weapons can be easyly done without any extra code and many checks...
U could release the kztimer now:P
Many ppls only want the timer :P
Originally posted by shiinyU could release the kztimer now:P
Many ppls only want the timer :P
first of all which ppls? germany? usa? sweden? i did not hear any breaking news about this :O
ontopic:
if you release any part of the code better release some beta version of the whole code... ppl with pawn knowledge could help you making the code better and you would instantly get 100+ beta tester (although just a few will post bugs they have found)
Originally posted by SchlumPFOriginally posted by shiinyU could release the kztimer now:P
Many ppls only want the timer :P
first of all which ppls? germany? usa? sweden? i did not hear any breaking news about this :O
ontopic:
if you release any part of the code better release some beta version of the whole code... ppl with pawn knowledge could help you making the code better and you would instantly get 100+ beta tester (although just a few will post bugs they have found)
Sorry that u cant understand me, i suck at english! :P
i can but i was just joking cuz many ppl use ppls when they try to talk about humans... a ppls is sth like bavarien
i want kztop 15 with SQL
Originally posted by MaHyi want kztop 15 with SQL
i want 1000 EURO
and i want you to learn reading mahy...
"-Rank - TRULY UNLIMITED FOR SQL, NVAULT OR TXT. Yes, first plugin to do this: your rank may have any size you want, with any of the storage types."
Originally posted by Z0ck3rOO7i want 1000 EURO
me2 :(
top15 with all weapons except scout is a nice idea :P
You should add in a script detector :)
Any idea when this will be released?