ItsMods

Full Version: NoReconnect Plugin
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4 5 6
I was playing some Infected game mode and was annoyed about the noobs rejoining when they got infected. So I made this little plugin.

If someone tries to reconnect, he won't be able to but this message will appear:
[Image: 2012012900001.jpg]
When map changes, everyone will be able to join again.

sv_config.ini entries:
Code:
[NoReconnect]
DenyReconnect=1
//Player is not allowed to reconnect, change to 0 to disable
ImmunePlayers=xuid1,xuid2,xuid3
//Players allowed to reconnect, add xuids seperated by a ,
NotifyReconnect=0
//If DenyReconnect is 0 and this 1, server will notify when a player is reconnecting

Source code (Click to View)
Thanks zxz... and @kraze1994 for testing
(01-29-2012, 20:04)zxz0O0 Wrote: [ -> ]Thanks zxz...

WHAT SORCERY IS THIS?!
omg, very nice, ehmmm, ehmmm, source code? Troll
OOOO AMAZING!!!!!!!!!


Does this only bock people who have left? or anyone joining during middle of a round?
cool plugin
No offense to the dev but this plugin is almost a waste, it is good but wont work the way most people want.


Lets say you have an empty server, you load the plugin and start it. Server is now empty. You join in to get it going and then round starts. That means no one can join until the round is over. Ok so map is ending round is over there is roughly about 10 seconds for the map to change and another 16 for the countdown then 10 before the infected is picked. That is 36 seconds to get a full server going, If I joined a server and was given this message over and over I would go find another one.

Now I am not dissin on the plugin but it just needs some retweaking. Such as check the logs and see when the player left and if he rejoined in X amount of seconds, then that message is displayed.




(01-30-2012, 07:36)kraze1994 Wrote: [ -> ]No offense to the dev but this plugin is almost a waste, it is good but wont work the way most people want.


Lets say you have an empty server, you load the plugin and start it. Server is now empty. You join in to get it going and then round starts. That means no one can join until the round is over. Ok so map is ending round is over there is roughly about 10 seconds for the map to change and another 16 for the countdown then 10 before the infected is picked. That is 36 seconds to get a full server going, If I joined a server and was given this message over and over I would go find another one.

Now I am not dissin on the plugin but it just needs some retweaking. Such as check the logs and see when the player left and if he rejoined in X amount of seconds, then that message is displayed.

LOL! The plugin only blocks people who left during a round and are joining again (reconnect). If the plugin would block all people I wouldn't name it NoREconnect Plugin. Please have some IQ and test before you talk.
I'm ok with being wrong...

It was my mistake, from my testing it did not seem this way, I apologize for my comments OP.
Can i has source code? PLZ? Heart
Would it be possible to retool this program so it doesn't block the user from rejoining but in console it say (XXX has REconnected)?

Kind of like how it says now (XXX has joined the game)

I understand accidents happen and people time out..etc and I do not want to necessarily block them from joining but being able to warn them and or kick them if needed.
Pages: 1 2 3 4 5 6