Raised This Month: $ Target: $400
 0% 

Ptahhotep's Team Balancer 1.8b3 (Immunity & alive trans)


Post New Thread Reply   
 
Thread Tools Display Modes
lantz69
AMX Mod X Beta Tester
Join Date: Mar 2004
Location: Sweden, Skåne
Old 02-21-2007 , 14:17   Re: Ptahhotep's Team Balancer 1.8b2 (Immunity & alive transf
Reply With Quote #151

Quote:
Originally Posted by hcxx View Post
this plugin is realy good but can some1 tell me the best settings for 26slot server and roundtime is 3min. right now I use default settings what is in ptb.cfg
You should have
Code:
amx_ptb maxsize      14  // maximum team size per team
amx_ptb maxdiff      2  // maximum team size difference
amx_ptb deadonly     off  // switch dead only
__________________
Using: Amxmodx 1.8.1.xxxx, cstrike
http://www.vanilla.se/
lantz69 is offline
nezinu5
Member
Join Date: Feb 2005
Old 02-28-2007 , 03:42   Re: Ptahhotep's Team Balancer 1.8b2 (Immunity & alive transf
Reply With Quote #152

Quote:
Originally Posted by Pinqvin View Post
Well here I am, back again. Server is still going under when the server is full and has been full for a long period of time. This only happens with PTB on. So here's the configs and list of modules / other plugins running (The server is a Opteron (64bit) so I'm running older versions of AMXX and SteamBans)

Code:
// PTB Configuration
//
// File location: addons/amxmodx/configs/ptb.cfg
//
// Settings are loaded on every mapchange
// from this cfg file
//

echo [PTB] Ptb.cfg is being executed

// These two cvars must be set to 0 for PTB proper working
mp_autoteambalance 	0
mp_limitteams 		0

// Four new cvars to control chatmessages, transfertype and immunity
ptb_saychat 		1 // can be 0 for off 1 on if set to 2 then Transfers will show in hud but not chat 
			  // if set to 3 it will show all messages in chat and transfers in hudtext

ptb_transfer_type	1 // can only be 1, 2 or 3 and 3 is the most agressive transfer 
			  // 1 is the original transfertype

ptb_switch_immunity	1 // Set to 0 if admins with immunity also should be switched.

ptb_limitjoin_immunity	1 // Set to 0 so admins with immunity cant choose any team they want.


// team selection control
amx_ptb limitjoin    on 	// set limits on team joining
amx_ptb limitafter   0		// number of rounds after which teams limiting begins
amx_ptb limitmin     0		// number of minimum players on map for team limiting
amx_ptb maxsize      8		// maximum team size per team
amx_ptb maxdiff      2		// maximum team size difference
amx_ptb autorounds   3		// number of first rounds into match, which allow autojoin only
amx_ptb wtjauto      3		// wtj tries needed to become autojoined
amx_ptb wtjkick      5		// wtj tries needed to become kicked
amx_ptb kick         on 	// kick for wtj counts
amx_ptb savewtj      off  	// save wtjs to wtj.log

// team balancing actions
amx_ptb switch       on		// switch/transfer players
amx_ptb switchafter  3		// number of rounds after which switching begins
amx_ptb switchmin    3		// number of minimum players on map for switching
amx_ptb switchfreq   1		// relative next possible switch round
amx_ptb playerfreq   4		// relative next possible switch round for player
amx_ptb forceswitch  1		// number of tries after which PTB switches alive, if neccessary
amx_ptb deadonly     off 	// switch dead only

// messages (good to have on when debugging if you use statsx dont have them on)
amx_ptb tellwtj      on 	// tell about wtj tries
amx_ptb announce     on 	// announce team status at beginning of round
amx_ptb sayok        on 	// announce team status, if teams are alright
amx_ptb typesay      off	// use HUD messages

// team strength limits
amx_ptb maxstreak    3		// max. allowed team win streak
amx_ptb maxscore     2		// max. allowed team score difference
amx_ptb minrating    1.5	// minimum critical team rating
amx_ptb maxrating    2.0	// maximum critical team rating
amx_ptb superrating  3.0	// super critical team rating
amx_ptb maxincidents 50		// maximum kills + deaths before the score is divided by PTB_SCALEDOWN
amx_ptb scaledown    2		// divisor for kills and deaths, when PTB_MAXINCIDENTS is reached
Plugins and modules running:

AMX Mod X v1.76a
SBSRV v3.2
CSX v1.76a
CStrike v1.76
Engine v1.76

Team Balancer 1.8b2 - The only custom plugin running on the server.


Not saying it is the plugin crashing. Could be a wierd conflight, config problem or something else I'm not noticing. Just coming here for expert help ;)
I have some other problem-
almost all players about some 20 times per day get kicked from server with svc_bad in console. Watching demo i found out that sometimes it happens when message in console says "transferring player to..." disabling ptb fixes it (then svc_bad happens only some 1-2 times per day). And one more thing- lantz69, why sometimes when admin goes to spectators, he can't get back to any of teams? 20 maxplayers, 11 max per team max difference 2
nezinu5 is offline
lantz69
AMX Mod X Beta Tester
Join Date: Mar 2004
Location: Sweden, Skåne
Old 02-28-2007 , 07:43   Re: Ptahhotep's Team Balancer 1.8b2 (Immunity & alive transf
Reply With Quote #153

I also have some svc_bad/day and that always happens 4-5 seconds after round_end. and that is when PTB and alot of other plugins do something.
And if PTB has something to do with that I have absolutely no clue what is causing it.
I know that PTB does a lot of calculations every round_end to see if it should do something.
So it can put extra stress or something to the server that casues it to do svc_bad more easily.
It can be so many things that could be causing this.

So sry but I have no idea why the svc_bad is happening.

About admin cant choose team.
I think it happens sometimes without ptb also.
__________________
Using: Amxmodx 1.8.1.xxxx, cstrike
http://www.vanilla.se/
lantz69 is offline
lantz69
AMX Mod X Beta Tester
Join Date: Mar 2004
Location: Sweden, Skåne
Old 03-03-2007 , 11:26   Re: Ptahhotep's Team Balancer 1.8b2 (Immunity & alive transf
Reply With Quote #154

Update of the plugin will come soon. I just wanna test it some days before I release it.
Code:
 
* 1.8b3 lantz69: 2007-03-??
- Fixed so you can have mp_roundtime to almost whatever you want and PTB will still work.
Before PTB did not work if you had mp_roundtime set to 2.10 or 1.75 etc It had to be 1.5, 2.0, 2.5 etc
- Added log_message to hlds logs when a player is transfered (player X joined team ..) for PsychoStats 3.X
- Changed the time player is transfered from 4.0 to 4.5 seconds
- Added cvar ptb_immunity_level so you dont need to recompile to change the admin flag for immunity
- Added cvar ptb_access_level so you dont need to recompile to change the admin flag for immunity
- Added cvar ptb_show_in_hlsw If you want to see Transfers made in the HLSW chat have this set to 1
- Added the above cvars into ptb.cfg ptb_immunity_level, ptb_show_in_hlsw and ptb_access_level
- Made all cvars use the new pcvars system.
__________________
Using: Amxmodx 1.8.1.xxxx, cstrike
http://www.vanilla.se/
lantz69 is offline
neogeo
Senior Member
Join Date: Jul 2005
Old 03-03-2007 , 14:11   Re: Ptahhotep's Team Balancer 1.8b2 (Immunity & alive transf
Reply With Quote #155

thanks man
neogeo is offline
Tartooob
Senior Member
Join Date: May 2006
Old 03-05-2007 , 02:34   Re: Ptahhotep's Team Balancer 1.8b2 (Immunity & alive transf
Reply With Quote #156

Nice, Can't wait for the update.
Tartooob is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 03-06-2007 , 14:34   Re: Ptahhotep's Team Balancer 1.8b2 (Immunity & alive transf
Reply With Quote #157

Yep, thanks lantz69.
__________________
Arkshine is offline
lantz69
AMX Mod X Beta Tester
Join Date: Mar 2004
Location: Sweden, Skåne
Old 03-06-2007 , 14:59   Re: Ptahhotep's Team Balancer 1.8b2 (Immunity & alive transf
Reply With Quote #158

The update is working fine for me now.
Just waiting for someone that wanted immunity for VIP in as_maps
When that is confirmed working I'll update this thread with the new version.
__________________
Using: Amxmodx 1.8.1.xxxx, cstrike
http://www.vanilla.se/
lantz69 is offline
lantz69
AMX Mod X Beta Tester
Join Date: Mar 2004
Location: Sweden, Skåne
Old 03-08-2007 , 07:24   Re: Ptahhotep's Team Balancer 1.8b3 (Immunity & alive trans)
Reply With Quote #159

Updated to 1.8b3!
Ok the VIP option is working like it should so I have updated the first post in this thread.
Dont forget that there are new cvars in ptb.cfg

Code:
 
* 1.8b3 lantz69: 2007-03-08
- Fixed so you can have mp_roundtime to almost whatever you want and PTB will still work.
* Before PTB did not work if you had mp_roundtime set to 2.10 or 1.75 etc It had to be 1.5, 2.0, 2.5 etc
- Added log_message to hlds logs when a player is transfered (player X joined team ..) for PsychoStats 3.X
- Changed the time player is transfered from 4.0 to 4.5 seconds
- Added cvar ptb_immunity_level so you dont need to recompile to change the admin flag for immunity
- Added cvar ptb_access_level so you dont need to recompile to change the admin flag for access to ptb
- Added cvar ptb_show_in_hlsw If you want to see Transfers made in the HLSW chat have this set to 1
- Added the above cvars into ptb.cfg ptb_immunity_level, ptb_show_in_hlsw and ptb_access_level
- Made all cvars use the new pcvars system.
- Added protection for VIP to be transfered (Uncomment #define PTB_VIP_IMMUNITY in the source for this to work)
__________________
Using: Amxmodx 1.8.1.xxxx, cstrike
http://www.vanilla.se/
lantz69 is offline
Przemo
BANNED
Join Date: Mar 2007
Location: HLDS.pl
Old 03-08-2007 , 07:57   Re: Ptahhotep's Team Balancer 1.8b3 (Immunity & alive trans)
Reply With Quote #160

Thanks!!!
Przemo is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 00:49.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode