Raised This Month: $ Target: $400
 0% 

Team Balancer 1.7b6 for CS 1.6 (Ptahhotep)


Post New Thread Reply   
 
Thread Tools Display Modes
Pomme
Member
Join Date: Mar 2004
Location: Quebec, Canada
Old 03-30-2004 , 01:57  
Reply With Quote #21

Quote:
Originally Posted by RuSh
@Pomme well as i posted earlier your settings is wrong and thats why you have the strange behavior. Please adjust your settings and the problem is gone.
@ Rush Tell me exactly what settings you would change for my particular situation that would fix the switch problem (when PTB says it transfer a player but the player doesnt effectively get transfered)

@ XAD I just did the change in the do_switch function I will report back on that ASAP (but tomorow a friend of mine comes home to drink beer so I'll be back wednesday ) Also in every situation I can remember that have been reported by the players on my server, whichever team a player choose when the chooseteam menu stays open it will put that player in the choosed team... However most of the time the player cancels the chooseteam menu to avoid being switched

Oh and while I'm thinking of it, I once tried the "#define MANUAL_SWITCH" method and I remarked that the same problem was happening, except it seemed to occur on not the same players on the server... I will try to get info on that regarding whether they were using vgui menus or not. I remember the failed transfer frequently happens on the same players ...could that be because of something particular to their situation like their loss rate or other client settings? ...something like that causing menuselect method to fail? IMHO this would explain why it happens more on certain clients. Repeating myself again but I think that using a more reliable way than menuselect would definately solve the problem.
Pomme is offline
RuSh
Junior Member
Join Date: Feb 2004
Location: Sweden
Old 03-30-2004 , 08:51  
Reply With Quote #22

@Pomme your amx_ptb maxsize is 13 so you need to change your maxplayer setting to 26

PTB belives you have 26 slots on your server but you only have 25 so thats why you have this strange behavior.

exampel that fix your problem:
amx_reservation 1
maxplayers 26
amx_ptb maxsize 13

Hope this helps.
RuSh is offline
Pomme
Member
Join Date: Mar 2004
Location: Quebec, Canada
Old 03-30-2004 , 09:46  
Reply With Quote #23

OK thank you Rush, however I prefer to put "amx_ptb maxsize 12" instead because the way simpleslots.amx works the slot is free like 99.9% of the time (it will only be used by the time of the Steamid authentication process) ...So the odds of having PTB calculating team status when the server is 25/24 are pretty low.
Pomme is offline
Acro
Junior Member
Join Date: Mar 2004
Location: Gandrup, Denmark
Old 03-31-2004 , 13:01   Problem on AMX Mod X 0.16
Reply With Quote #24

I have been using this script since it was released, and after my recent change to AMX Mod X I have downloaded this new and upgraded version.

My old "ptb.cfg" is moved to the correct folder, and is the same as earlier.

However, for some reason it is only moving players to terrorists, and no players to the counter-terrorists. Even if it tell it would, it ain't doing it.

I have downloaded the package, and recompiled several times, just to make sure.
Acro is offline
Pomme
Member
Join Date: Mar 2004
Location: Quebec, Canada
Old 03-31-2004 , 22:57  
Reply With Quote #25

Same problem again, couldn't say the occurence is much less either.

The chooseteam menu stays open and the client doesn't get switched, happens randomly both with client using vgui menus and old menus.

Is there any big coding problem with the inclusion of a solution that doesnt use menuselect on clients to make em change team?
Pomme is offline
XAD
Senior Member
Join Date: Mar 2004
Location: Sweden
Old 04-01-2004 , 01:35  
Reply With Quote #26

Quote:
Originally Posted by Pomme
Same problem again, couldn't say the occurence is much less either.

The chooseteam menu stays open and the client doesn't get switched, happens randomly both with client using vgui menus and old menus.

Is there any big coding problem with the inclusion of a solution that doesnt use menuselect on clients to make em change team?
OK, Pomme,...

I need the error message you/they get when they try to manually select the "other" team in the chooseteam menu... without this info I can't start to debug it...

/X

PS! The new non-menu approach will need quite some testing to ensure it works and also I'm not to keen on using functions changing private data as Valve has started to change the code to "hide" some of it using hashes instead... also I really would like to know why this doesn't work as other plugins are also using similar solutions.
XAD is offline
Pomme
Member
Join Date: Mar 2004
Location: Quebec, Canada
Old 04-01-2004 , 17:13  
Reply With Quote #27

well theres no error message...
if the player choose cancel it cancel
if he choose his own team he stays in his team
...and if he select the other team he gets switched to the other team as we could expect.

I can provide you with server or amx logs or I could enable debug mode in PTB if that could help you.

Quote:
Originally Posted by XAD
PS! The new non-menu approach will need quite some testing to ensure it works
I am willing to test development version of PTB on our server, contact me via pm. This is quite a popular server in Quebec, Canada: http://www.serverspy.net/site/search...0.73:27015&g=0
Pomme is offline
XAD
Senior Member
Join Date: Mar 2004
Location: Sweden
Old 04-01-2004 , 18:18  
Reply With Quote #28

Quote:
Originally Posted by Pomme
well theres no error message...
...and if he select the other team he gets switched to the other team as we could expect.

I can provide you with server or amx logs or I could enable debug mode in PTB if that could help you.
Yes, can you please enable "PTB_DEBUG" and post me the zipped log file, with at least from the round start to the next round start... can you also try to find out if the client has a PTB message in their consol, when this happen??

It's pretty strange as my switch code doesn't create a "choose team" menu at all... therefore the only possible idea I have is that the "checkTeamSwitch()" function is called when it's not supposed to...

/X
XAD is offline
Pomme
Member
Join Date: Mar 2004
Location: Quebec, Canada
Old 04-01-2004 , 23:37  
Reply With Quote #29

I enabled both PTB_DEBUG and PTB_DEBUG2 and will pm you with the log files tomorrow.

I thank you in advance for the time you put in this work, you'r great!
Pomme is offline
BigBaller
Veteran Member
Join Date: Mar 2004
Location: Everett, WA
Old 04-01-2004 , 23:51  
Reply With Quote #30

Just on a side note, I just noticed XAD is on the Dev team now. Congrats bro (dont that mean you can approve your own plugins now??? ;) and plesae tell me StatsX is now going to be default stats plugin with AMXX packaging I would love that)
__________________

BigBaller is offline
Reply


Thread Tools
Display Modes

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 20:21.


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