Raised This Month: $51 Target: $400
 12% 

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 04-27-2007 , 12:35   Re: Ptahhotep's Team Balancer 1.8b3 (Immunity & alive trans)
Reply With Quote #191

@xMBx

Change row 714
Code:
if (PTB_AUTOROUNDS && (iOldTeam==UNASSIGNED) && roundCounter<=PTB_AUTOROUNDS && !(get_user_flags(id) & ADMIN_KICK))
to
Code:
if (PTB_AUTOROUNDS && (iOldTeam==UNASSIGNED) && roundCounter<=PTB_AUTOROUNDS && !(iNewTeam == SPECTATOR) )
And after row 66 you need to add
Code:
#define SPECTATOR 3
Then compile the ptb.sma
I have not tested this but it should work.
Please tell me if it works for you

Maybe this should be added by deafult as many players want to join spectator to record cheaters even right after a mapchange.
As it is now you have to be an admin with the kick flag to be able to join spectator directly after a mapchange

edit
If you dont want to force players autojoin a team then you have to set
amx_ptb autorounds 0
__________________
Using: Amxmodx 1.8.1.xxxx, cstrike
http://www.vanilla.se/

Last edited by lantz69; 04-27-2007 at 13:00.
lantz69 is offline
xMBx
Member
Join Date: Mar 2007
Old 04-28-2007 , 15:09   Re: Ptahhotep's Team Balancer 1.8b3 (Immunity & alive trans)
Reply With Quote #192

It works for me. Thanks.
xMBx is offline
rEnEeK
Junior Member
Join Date: Jul 2006
Old 05-11-2007 , 04:22   Re: Ptahhotep's Team Balancer 1.8b3 (Immunity & alive trans)
Reply With Quote #193

Hi people. I have small problem with this plugin. For example: When PTB wants move some player from T to CT, PTB kills this player. Can anybody help me? is all in this cfg good? Thanks

CS 1.6 Server 16 + 1 slots

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

echo [PTBPtb.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   2        // number of rounds after which teams limiting begins
amx_ptb limitmin     3        // number of minimum players on map for team limiting
amx_ptb maxsize      9        // 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         off    // 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   7        // relative next possible switch round for player
amx_ptb forceswitch  1        // number of tries after which PTB switches alive, if neccessary
amx_ptb deadonly     on     // switch dead only

// messages (good to have on when debugging if you use statsx dont have them on)
amx_ptb tellwtj      off     // 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      on        // 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 

Last edited by rEnEeK; 05-11-2007 at 04:28.
rEnEeK is offline
lantz69
AMX Mod X Beta Tester
Join Date: Mar 2004
Location: Sweden, Skåne
Old 05-11-2007 , 14:35   Re: Ptahhotep's Team Balancer 1.8b3 (Immunity & alive trans)
Reply With Quote #194

Change
amx_ptb deadonly on
to
amx_ptb deadonly off

But it should not kill the player even if the above is on.
What version of PTB are you using?
Give me your server IP so I can see it for myself
__________________
Using: Amxmodx 1.8.1.xxxx, cstrike
http://www.vanilla.se/
lantz69 is offline
rEnEeK
Junior Member
Join Date: Jul 2006
Old 05-12-2007 , 12:58   Re: Ptahhotep's Team Balancer 1.8b3 (Immunity & alive trans)
Reply With Quote #195

Quote:
Originally Posted by lantz69 View Post
Change
amx_ptb deadonly on
to
amx_ptb deadonly off

But it should not kill the player even if the above is on.
What version of PTB are you using?
Give me your server IP so I can see it for myself
Thanks... I am using 1.8b3 version...
IP is: 85.237.228.1:27015
rEnEeK is offline
rEnEeK
Junior Member
Join Date: Jul 2006
Old 05-15-2007 , 04:35   Re: Ptahhotep's Team Balancer 1.8b3 (Immunity & alive trans)
Reply With Quote #196

I Changed
amx_ptb deadonly on
to
amx_ptb deadonly off

and I have same problem.. Any fixes?
rEnEeK is offline
lantz69
AMX Mod X Beta Tester
Join Date: Mar 2004
Location: Sweden, Skåne
Old 05-15-2007 , 06:03   Re: Ptahhotep's Team Balancer 1.8b3 (Immunity & alive trans)
Reply With Quote #197

@rEnEeK
What version of amxmodx are you using?
Type meta list in server console and paste the output here.
And I cant see you server online. Why ??

You must have something wrong as this version of ptb dont kill transfered players at all. It only changes the team and model.
__________________
Using: Amxmodx 1.8.1.xxxx, cstrike
http://www.vanilla.se/
lantz69 is offline
rEnEeK
Junior Member
Join Date: Jul 2006
Old 05-15-2007 , 09:42   Re: Ptahhotep's Team Balancer 1.8b3 (Immunity & alive trans)
Reply With Quote #198

lantz69:
my server is online... game-server.sk:27015

Meta List

Code:
15:52:47 Currently loaded plugins:
               description      stat pend  file              vers      src  load  unlod
          [ 1] AMX Mod X        RUN   -    amxmodx_mm_i386.  v1.76d    ini  ANY   ANY  
          [ 2] WebMod           RUN   -    w_mm_i386.so      v0.48     ini  Start Never
          [ 3] Fun              RUN   -    fun_amxx_i386.so  v1.76     pl1  ANY   ANY  
          [ 4] CStrike          RUN   -    cstrike_amxx_i38  v1.76     pl1  ANY   ANY  
          [ 5] CSX              RUN   -    csx_amxx_i386.so  v1.76c    pl1  ANY   ANY  
          [ 6] Engine           RUN   -    engine_amxx_i386  v1.76     pl1  ANY   ANY  
          [ 7] FakeMeta         RUN   -    fakemeta_amxx_i3  v1.76d    pl1  ANY   ANY  
         7 plugins, 7 running
rEnEeK is offline
lantz69
AMX Mod X Beta Tester
Join Date: Mar 2004
Location: Sweden, Skåne
Old 05-15-2007 , 11:17   Re: Ptahhotep's Team Balancer 1.8b3 (Immunity & alive trans)
Reply With Quote #199

It says you have PTB v1.7b5?
Have you modified the source code?
__________________
Using: Amxmodx 1.8.1.xxxx, cstrike
http://www.vanilla.se/
lantz69 is offline
rEnEeK
Junior Member
Join Date: Jul 2006
Old 05-16-2007 , 01:05   Re: Ptahhotep's Team Balancer 1.8b3 (Immunity & alive trans)
Reply With Quote #200

Quote:
Originally Posted by lantz69 View Post
It says you have PTB v1.7b5?
Have you modified the source code?
I didnt modify source
rEnEeK 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 02:26.


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