Been running this plugin for about 2 hours now, and it seems like it's working. Only thing is when I see a 30 seconds warning i can hold the scoreboard open and count to 30 (nice and slow like) and i never see anyone switch, but the teams seemed to be quite even for most of a 78 minute game.
haven't checked the the scoreboard.. but I know it works.. I was switched twice on my own server cuz I was the last one in. <!--emo&:)--><img src='http://www.unknownworlds.com/forums/html/emoticons/smile.gif' border='0' valign='absmiddle' alt='smile.gif'><!--endemo-->
Yeah I thought it was working, maybe it's waiting another 60 seconds to switch the person over?
None the less, sweet sweet sweeeet plugin, I noticed that with this installed I also had less people jumping ship on the loosing team (maybe just a bunch of people who don't like to give up?)
<span style='font-size:11pt;line-height:100%'> <span style='color:RED'>Thank You GoleX!!! Great Work!</span></span>
Todo: Make alot of the plugin customizable and save settings in vault (so you don't have to do admin_nsbalance 1 every map change - dirty fix for this is just to add "admin_command admin_nsbalance 1" to the bottom of your server.cfg file).
<!--QuoteBegin--GoleX+Nov 24 2002, 11:14 PM--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (GoleX @ Nov 24 2002, 11:14 PM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin-->Anything else you gents want added?<!--QuoteEnd--></td></tr></table><span class='postcolor'><!--QuoteEEnd--> Well, since you asked <!--emo&;)--><img src='http://www.unknownworlds.com/forums/html/emoticons/wink.gif' border='0' valign='absmiddle' alt='wink.gif'><!--endemo-->
I was wondering if it wouldn't be nice to tell the person who is going to be switched they they are in queue to be transfered to the other team? I dunno tho, I can live without it just seems curtious to the user.
You mean like when the warning is issued? Well that'll be hard because the decision of who to move is only made when that 30 seconds is up (in case anyone joins between the initial warning and the actual move).
If I make the script determine who to move at the initial warning then it'd work. Thats as easy as copying and pasting. I'd make it a seperate choice though probably, because I personally prefer the way it is now.
I think I/you/we/anyone should tell some NS-Newsites about this, to get it on the servers, because it looks like great work. I would love to see it on more servers...
Give me a bit to polish it up a bit pako, and then you can give me a hand <!--emo&;)--><img src='http://www.unknownworlds.com/forums/html/emoticons/wink.gif' border='0' valign='absmiddle' alt='wink.gif'><!--endemo--> Right now I'm interested in any bugs found, I'll have a new version out tonight.
Just thought I'd throw my 2 cents in and say THANKS for the plugin Golex. I've been useing your original one, since the day you released it. An invalueable addition to any NS server.
Just a little side note though. I know from other posts you've made that you run linux. (as do I) So downloading a pre-compiled amx file doesn't bother me to much. But unless things have changed with AM, not all compiled scripts will run on both windows and linux. So might it not be more advisable to release it uncompiled? And let ppl compile it for whatever OS they are running? Or has this issue been resolved in the latest AM release?
<!--QuoteBegin--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> </td></tr><tr><td id='QUOTE'><!--QuoteEBegin--> and then you can give me a hand <!--QuoteEnd--></td></tr></table><span class='postcolor'><!--QuoteEEnd-->
First bug was found <!--emo&;)--><img src='http://www.unknownworlds.com/forums/html/emoticons/wink.gif' border='0' valign='absmiddle' alt='wink.gif'><!--endemo--> It was switching the person that had been on the longest instead of the person that had been on the shortest (had the < and > switched).
<!--QuoteBegin--GoleX+Nov 26 2002, 07:38 AM--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (GoleX @ Nov 26 2002, 07:38 AM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin-->It was switching the person that had been on the longest instead of the person that had been on the shortest<!--QuoteEnd--></td></tr></table><span class='postcolor'><!--QuoteEEnd--> Ummm, I was playing last night and was the last person on and was switched (didn't pay attention to the scoreboard was showing off the game to someone) and I don't have any of this new fangled debugged stuff...
<!--QuoteBegin--DrGiggles+Nov 26 2002, 11:35 AM--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (DrGiggles @ Nov 26 2002, 11:35 AM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin--><!--QuoteBegin--GoleX+Nov 26 2002, 07:38 AM--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (GoleX @ Nov 26 2002, 07:38 AM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin-->It was switching the person that had been on the longest instead of the person that had been on the shortest<!--QuoteEnd--></td></tr></table><span class='postcolor'><!--QuoteEEnd--> Ummm, I was playing last night and was the last person on and was switched (didn't pay attention to the scoreboard was showing off the game to someone) and I don't have any of this new fangled debugged stuff...<!--QuoteEnd--></td></tr></table><span class='postcolor'><!--QuoteEEnd--> If you had just enabled the plugin, then it only started logging the connections from then... so technically it thought he was the first person to join to the plugin.
Other then that, there is no reason this should of happened.
Here is the .sma:
Edit: Found another bug thats been squashed (updated this .sma and the .amx above). I am now working on what will hopefully be the final polished version, using the vault and reloading automatically each map (also admin commands to change the checking interval).
cant u just do "admin_execclient player readyroom"? this does however make all your admins have extreme power, i only have close friends of mine as admin, so i dont care if they have rcon, you may be running a clan server, and think otherwise, your decision. im still trying to get prettysay to work =/. <!--emo&???--><img src='http://www.unknownworlds.com/forums/html/emoticons/confused.gif' border='0' valign='absmiddle' alt='confused.gif'><!--endemo-->
<!--QuoteBegin--xmadcowx+Dec 3 2002, 02:44 AM--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (xmadcowx @ Dec 3 2002, 02:44 AM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin-->cant u just do "admin_execclient player readyroom"? this does however make all your admins have extreme power, i only have close friends of mine as admin, so i dont care if they have rcon, you may be running a clan server, and think otherwise, your decision. im still trying to get prettysay to work =/. <!--emo&???--><img src='http://www.unknownworlds.com/forums/html/emoticons/confused.gif' border='0' valign='absmiddle' alt='confused.gif'><!--endemo--><!--QuoteEnd--></td></tr></table><span class='postcolor'><!--QuoteEEnd--> er... admin_rdyroom <nick> already does this. Its included in the nsteams plugin.
Also, since 1.03 the nsteams plugin effeectively just pulls people off a stacked team to even it out, because its unable to change the player's teams since the new patch. This is bad when a team is trying to concede by leaving for the ready room etc.
BioHazard thought of a way to fix this which I will make an optional plugin, which will make the player reconnect to the server and then be moved teams... could severely **obscenity** people off though <!--emo&;)--><img src='http://www.unknownworlds.com/forums/html/emoticons/wink.gif' border='0' valign='absmiddle' alt='wink.gif'><!--endemo-->
Also coming is a team "lock" function, which will restrict the joining of a team to only admins/immune people.
Here is the new version of the plugin with "Force team changing". This needs to be enabled with admin_nsforce 1 whenever the command admin_nsbalance is used (its turned off by default).
In forced mode, the player will be made to reconnect to the server to change teams. I'm sure it'll **obscenity** off some people, so if you do use it you may want to add a warning to your consgreet or something.
I need help testing the forced mode, so let me know if you find any bugs.
man i have not been able to connect to the boards for a while... withdrawls have set in.. i feel i need to post to everything now to make up for lost tiem.. :
i will be adding this to my server tonight to see if it helps with the attitude of people on team balance issues. i hate that people cant read the changes log and see its nto the server owners or players faults that the teams become so messed up and are unable to fix it.
Seeing as everyone and their mother's dog is telling me to try AMX, there might be an AMX version of this coming out soon by me (I'll use it as a way to get used to AMX stuff version AM).
This is a 1.03 change, that nerfed team changing to stop cheating. If you get the latest plugin above (the bh one), it has a way around this to force people to teams.
I use it mostly for organizing scrims etc. and it works fine when mp_tournament is 1.
Comments
None the less, sweet sweet sweeeet plugin, I noticed that with this installed I also had less people jumping ship on the loosing team (maybe just a bunch of people who don't like to give up?)
<span style='font-size:11pt;line-height:100%'> <span style='color:RED'>Thank You GoleX!!! Great Work!</span></span>
Todo: Make alot of the plugin customizable and save settings in vault (so you don't have to do admin_nsbalance 1 every map change - dirty fix for this is just to add "admin_command admin_nsbalance 1" to the bottom of your server.cfg file).
Anything else you gents want added?
Well, since you asked <!--emo&;)--><img src='http://www.unknownworlds.com/forums/html/emoticons/wink.gif' border='0' valign='absmiddle' alt='wink.gif'><!--endemo-->
I was wondering if it wouldn't be nice to tell the person who is going to be switched they they are in queue to be transfered to the other team? I dunno tho, I can live without it just seems curtious to the user.
If I make the script determine who to move at the initial warning then it'd work. Thats as easy as copying and pasting. I'd make it a seperate choice though probably, because I personally prefer the way it is now.
What do you think GoleX ?
Just a little side note though. I know from other posts you've made that you run linux. (as do I) So downloading a pre-compiled amx file doesn't bother me to much. But unless things have changed with AM, not all compiled scripts will run on both windows and linux. So might it not be more advisable to release it uncompiled? And let ppl compile it for whatever OS they are running? Or has this issue been resolved in the latest AM release?
And yes, I agree, source code is better then the precompiled binaries.
and then you can give me a hand
<!--QuoteEnd--></td></tr></table><span class='postcolor'><!--QuoteEEnd-->
Im at your service.
Attached is the fixed linux binary.
Ummm, I was playing last night and was the last person on and was switched (didn't pay attention to the scoreboard was showing off the game to someone) and I don't have any of this new fangled debugged stuff...
Ummm, I was playing last night and was the last person on and was switched (didn't pay attention to the scoreboard was showing off the game to someone) and I don't have any of this new fangled debugged stuff...<!--QuoteEnd--></td></tr></table><span class='postcolor'><!--QuoteEEnd-->
If you had just enabled the plugin, then it only started logging the connections from then... so technically it thought he was the first person to join to the plugin.
Other then that, there is no reason this should of happened.
Here is the .sma:
Edit: Found another bug thats been squashed (updated this .sma and the .amx above). I am now working on what will hopefully be the final polished version, using the vault and reloading automatically each map (also admin commands to change the checking interval).
er... admin_rdyroom <nick> already does this. Its included in the nsteams plugin.
Also, since 1.03 the nsteams plugin effeectively just pulls people off a stacked team to even it out, because its unable to change the player's teams since the new patch. This is bad when a team is trying to concede by leaving for the ready room etc.
BioHazard thought of a way to fix this which I will make an optional plugin, which will make the player reconnect to the server and then be moved teams... could severely **obscenity** people off though <!--emo&;)--><img src='http://www.unknownworlds.com/forums/html/emoticons/wink.gif' border='0' valign='absmiddle' alt='wink.gif'><!--endemo-->
Also coming is a team "lock" function, which will restrict the joining of a team to only admins/immune people.
In forced mode, the player will be made to reconnect to the server to change teams. I'm sure it'll **obscenity** off some people, so if you do use it you may want to add a warning to your consgreet or something.
I need help testing the forced mode, so let me know if you find any bugs.
i will be adding this to my server tonight to see if it helps with the attitude of people on team balance issues. i hate that people cant read the changes log and see its nto the server owners or players faults that the teams become so messed up and are unable to fix it.
ill be back to let ya know how it rolls...
62.80.115.215:27060 www.tcwn.de BorderLine Natural Selection v1.03 by ngz-server.de
When moving a player from the marine or kharaa teams & vice versa, it just sends the player to the ready room.
I use it mostly for organizing scrims etc. and it works fine when mp_tournament is 1.