| closedpriority for Lan users |
| Started by knife108 on 10-07-2007, 07:32 AM |
Threads: 10
Joined: Apr 2006
server will kick high ping wan players automatically if lan users want to join a FULL server.
Threads: 15
Joined: Jun 2007
to file an answer that corresponds to your short way of posting:rnrnreserved slots
Threads: 10
Joined: Apr 2006
to file an answer that corresponds to your short way of posting:rnrnreserved slotsrnrnrni d used adminslots.amxx and set amx_reservation 1 ,restart the server but there is no any slot be reserved. :(rnrnu mean add users name in users.ini file ?rnrnlan users ip from 192.168.0.11 to 192.168.0.155rnrndoes lan users fill up the reserved slots ?
Threads: 15
Joined: Jun 2007
reserved slots are dynamic, you can't *see* them when you lookrnat your server.rnrnyou would have to add the LAN Ips to the users.ini, that's correct,rnjust give them flag "b" (admin reservation) and as soon as your server isrn"full" (one slot will always stay open) and a LAN player joins anotherrnpublic player is kicked.rnrni think that's what you want.
Threads: 10
Joined: Apr 2006
reserved slots are dynamic, you can't *see* them when you look at your server.rnrnrnserver has reserved slots looks like 25/26, it is full.rnrnmy server 26/26 rnrnrn
a LAN player joins anotherrnpublic player is kicked.rnrnrnrnWhat kind of public player will be kicked,high ping or lowest score ?rnrnCan i add LAN ips to users.ini file like this :rn
rn"192.168.0.0/24" "" "b" "de"rnThreads: 10
Joined: Apr 2006
damn, i can't make reserved slots ! i d add the LAN ips to users.ini but no reserved slot no LAN user can join the full server :(rnrnCan someone tell me the right way ?
Threads: 10
Joined: Apr 2006
i d used this pluginrnhttp://forums.alliedmods.net/showthread.php?t=799rnrnserver start command line is "+maxplayers 26" and it shows 25/25 now.rnrnserver has loaded 62 admins but the LAN ips in users.ini file can not join the server :(rnrn
rn"192.168.0.10" "" "b" "de"rn"192.168.0.11" "" "b" "de"rn"192.168.0.12" "" "b" "de"rn"192.168.0.13" "" "b" "de"rn"192.168.0.14" "" "b" "de"rn"192.168.0.15" "" "b" "de"rn"192.168.0.16" "" "b" "de"rn"192.168.0.17" "" "b" "de"rn.rn.rn.rn.rnThreads: 103
Joined: May 2005
you can try this that i got from searching "reserved slots lan" on the amxx forumsnnhttp://forums.alliedmods.net/showthread.php?t=18642&highlight=reserved+slots+lannn
if the server is full and a LAN player is connecting, it boots the "worst" non-LAN player to make way for the LAN players.
Threads: 10
Joined: Apr 2006
you can try this that i got from searching "reserved slots lan" on the amxx forumsrnrnhttp://forums.alliedmods.net/showthread.php?t=18642&highlight=reserved+slots+lanrnrnrequire mod <cstrike> :eek:rnrn
rn{rnrn // get team numbersrn new players[32], num, i, Ts, CTs;rn get_players(players,Ts,"e","TERRORIST");rn get_players(players,CTs,"e","CT");rnrn // if one team has more than the other,rn // kick someone that is on that team.rn // if equal numbers find overall worst.rn if(Ts > CTs) {rn get_players(players,num,"e","TERRORIST");rn }rn else if(CTs > Ts) {rn get_players(players,num,"e","CT");rn }rn else {rn get_players(players,num);rn }rnrnrnand it will kick the worst flags player ,but i want to kick the hing ping player
