Ptahhotep's Team Balancer 1.8b3 (Immunity & alive trans)
2 Attachment(s)
Ptahhotep's Team Balancer 1.8b3
NOTE!!! Amxmodx 1.70 or higher is required as this version uses the new autochanneling system for hudmessages Features Immunity for admins (Controlled by CVARS) Transfers player alive without killing them. Weapons and equipment aren't lost in transfers. Immunity for the VIP in as_* maps Changelog & Credits Code:
* Ptahhotep's Team Balancer (PTB)Compiler options in the ptb.sma line 58 This is for the VIP immunity // Uncomment for support immunity on VIP //#define PTB_VIP_IMMUNITY CVARS (All are in configs/ptb.cfg) ptb_saychat <0|1|2|3> 0 for disabling all ptb chat messages 1 for enabling all ptb chat messages (Default) 2 Transfers will show as hudmessage and in chat 3 Shows all messages in chat and transfers in hudtext ptb_transfer_type <1|2|3> 1 PTBs original transfertype (Default) 2 a little more agressive than 1 3 the most agressive transfer Quote:
0 admins with immunity will be switched. 1 admins with immunity will be protected from switches. (Default) ptb_limitjoin_immunity <0|1> 0 admins with immunity will not be able to choose any team they want. 1 admins with immunity can choose any team they want. (Default) ptb_immunity_level "o" Here you set which flag an admin must have to be immune against transfers (Default o ADMIN_LEVEL_C) ptb_access_level "l" Here you set which flag an admin must have to be able to change PTB settings (Default l ADMIN_RCON) ptb_show_in_hlsw <0|1> If you want to see Transfers made in the HLSW chat have this set to 1 Installation instructions 1. Copy the new ptb.cfg to addons/amxmodx/configs/ 2. Copy ptb.sma to addons/amxmodx/scripting/ and compile it 3. Copy the compiled file ptb.amxx from the compiled folder to the plugins folder. 4. Add a line ptb.amxx to your amxmodx plugins.ini 5. Edit ptb.cfg to suit your needs (Good settings for a 20 player server): Code:
amx_ptb maxsize 11 // maximum team size per team Code:
amx_ptb maxsize 12 // maximum team size per team amx_ptb maxsize should be set at maxplayers/2 + amx_ptb maxdiff/2 NOTE: Certain maps like nuke,train, militia and italy only has 10 spawns/team. 6. Enable the required module cstrike in modules.ini or PTB wont load properly DONE Good Luck! ***** TODO ***** Make it MultiLingual (50% done) ptb.sma 1.8b1 was downloaded 1297 times ptb_1.8b1.zip was downloaded 2070 times --- ptb.sma 1.8b2 was downloaded 1464 times ptb_1.8b2.zip was downloaded 4277 times |
Nice. This is the one I used not too long ago.
|
Quote:
|
lantz69, Thank YOU for keeping this plugin up to date.
|
NICE - thx lantz
I LOVE those 2 new cvars-options: ptb_switch_immunity <0|1> ptb_limitjoin_immunity <0|1> :!: :!: |
Great job! Thank you for updating this.
|
Glad to see that you will maintain this great plugin. Many thanks lantz69!
Curry |
Regarding ptb_transfer_type, can anyone describe more aggressive transfer? How would this perform vs. default? Basically what does it do that is different from before.
|
Quote:
This makes the losing team get one more player and the winning team 1 less. The default setting almost always swith 2 players and almost always doesn't do any effect to balance the team. I use ptb_transfer_type 3 on my own server. Hope that explains it |
Thx Lantz and that does help. A few people observed something last night and I wanted to let you know: when PTB decided to switch a live player, the process would start about 1-2 seconds before actual round end. Several people indicated they saw a person change from a CT to a T just before round end....giving in some cases enough time for a CT to kill the switched player who just found themselves amongst enemies and not even know it :?. Most of the time it happened too fast to be an issue, but there is apparently room for it to cause a problem at some point if there is time for you to observe the player morphing to another team. I personally never got a chance to see it, but some of my admins did.
|
Thank lantz69 for making this. The new updates really help.
+ karma for you |
Quote:
If that time would be just a little higher like 4.5 seconds the teamchange might occour when a new round has started. Think if PTB transfered a terrorist with the bomb to CT That would not be so good would it :lol: I hope you understand now. |
Yea thats fine. I see now that now additional time can be adjusted for the very reason you describe...would be a mess if that happened.
|
Re: Ptahhotep's Team Balancer 1.8b1 (Immunity & alive tr
Quote:
AND What about Reserved slots? Does that make a difference since a 16 slot server with 2 reserved slots really only has 14 slots available for non admin personnel. How does that add in to the formula? If you set it at server max of 16 but it can really only hold 14 non-admin players could that create a problem? thanks |
@jd91651
For a 20 pl server: Code:
amx_ptb maxsize 11 // maximum team size per team or Code:
amx_ptb maxsize 12 // maximum team size per team On your server I would set Code:
amx_ptb maxsize 9 // maximum team size per team I'm not really sure how your 2 reserved slots would affect with that setting, but try it out and see for yourself. |
Can someone tell us how it works with the reserved slots ? We count those ?
|
Sort of depends really on the number of slots you have. I purposely have 21 slots, using 1 for reserve so my amx_ptb maxsize is 10 since the teams can truely be 10 on 10 at full.
If you have a total of 20 slots using 1 as reserve (19 player total) then I would try keeping amx_ptb maxsize an even division of your total slots. (amx_ptb maxsize 10 for a 20 slot). Otherwise you would have to pick 9 which would be limiting one player and may cause issues....not sure on this. You can experiment both ways....not gonna ruin you either way. |
My Ptb doesn't change the good players to the loosing team.
I get this msg very often PTB: Round ended, checking teams. PTB: Can't switch players, need valid target in each team. Code:
ptb_saychat 1 // can be 0 for off 1 on if set to 2 then Transfers will show in hud but not chat Any help ? |
Change
amx_ptb maxdiff 1 to amx_ptb maxdiff 2 And change amx_ptb playerfreq 7 to amx_ptb playerfreq 5 That should make more valid targets Also the big error in your settings Change amx_ptb deadonly on to amx_ptb deadonly off This version of PTB can switch alive without killing them so amx_ptb deadonly Should always be off |
My PTB doesn't really work at all... only makes people autoselect teams. I've got 17 slots + 2 reserved.... I'd like it as strict as possible so it makes sure the teams are always even (right now sometimes its 28-3 etc)... Thanks!
Code:
// PTB Configuration |
@vostok4
Please post your server IP Doesn't transfers work at all?? Then try and change amx_ptb maxdiff 1 to amx_ptb maxdiff 2 What do you have mp_roundtime set to? |
Transfers don't work, I don't get any status messages anywhere even though everything is enabled and PTB shows up as running. Server IP is 69.41.249.194, its up right now. mp_roundtime is: mp_roundtime 2.10
Lemme try maxdiff 2, although I really would like it to keep it as even as possible. |
Woah, PTB just showed someone trying to join the winning team too many times...
|
mp_roundtime 2.10 is not good
Set it to 2.5 instead or 2.0 Then PTB will start to work better. |
OK, I'll try 2.5 later tonight and will report back. Thx!
|
NICE! That fixed it along with my StatsX problem of the stats not showing!
|
I use this plugin with CZ and it works fine :lol:
|
Hmm, getting compile errors making the .amxx :(
Quote:
|
Quote:
|
i followed the instructions as they were and no luck here. i did amx_plugins and it has this for the ptb.amxx
Quote:
Quote:
|
Quote:
I'll update the first post with that info asap |
What would be a good setting for a 30 person server? here's my current config.
Code:
// PTB Configuration |
@DrO
This is your setting and is not that good. Code:
amx_ptb maxsize 15 // maximum team size per team So change to Setting 1 Code:
amx_ptb maxsize 16 // maximum team size per team Maybe even change to Setting 2 Code:
amx_ptb maxsize 17 // maximum team size per team You should use the first setting, but maybe setting 2 could be alright for you. Test it out and you will see. |
Lantz, It would be nice if there was a say_chat option that only displayed chat messages with no HUD messages. We disscussed this several months ago but never resolved it. Currently all of the options include HUD messages other then off.
Thanks. |
Quote:
Just gonna wait some more to see if there is something else that could be improved. |
Ok, the plugin is working OK, but it is making the teams unbalanced when its 5v4 or so, and the team with 4 players is winning, its making it 6v3, even though I have this set:
amx_ptb maxsize 9 // maximum team size per team amx_ptb maxdiff 1 // maximum team size difference I want the teams to NEVER be more than one player apart, at all. Is this possible? IE instead of moving a player from one team to another, it should swap two players (one of greater skill with one of lesser skill). That would mean the players wouldn't get swamped by numbers. |
Quote:
ptb_transfer_type 1 I saw that you had that to 3 on the previous page. See explaination in the first post |
Awesome, when I installed that plugin the explanation wasn't there :D
|
Hi lantz69,
I can imagine that this would be a lot of work, although I will ask you. ;-) What's about adding ML-support, I think many people would appreciate that. I know it from the german part of this forum, that people are often searching for a german version of this plugin? (like done here) Cheers, Curry |
how do i turn this off?
|
| All times are GMT -4. The time now is 11:28. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.