View Full Version : priority for Lan users
knife108
10-07-2007, 08:32 AM
server will kick high ping wan players automatically if lan users want to join a FULL server.
FeuerSturm
10-07-2007, 04:10 PM
to file an answer that corresponds to your short way of posting:
reserved slots
knife108
10-08-2007, 05:48 AM
to file an answer that corresponds to your short way of posting:
reserved slots
i d used adminslots.amxx and set amx_reservation 1 ,restart the server but there is no any slot be reserved. :(
u mean add users name in users.ini file ?
lan users ip from 192.168.0.11 to 192.168.0.155
does lan users fill up the reserved slots ?
FeuerSturm
10-08-2007, 03:14 PM
reserved slots are dynamic, you can't *see* them when you look
at your server.
you would have to add the LAN Ips to the users.ini, that's correct,
just give them flag "b" (admin reservation) and as soon as your server is
"full" (one slot will always stay open) and a LAN player joins another
public player is kicked.
i think that's what you want.
knife108
10-09-2007, 02:49 AM
reserved slots are dynamic, you can't *see* them when you look at your server.
server has reserved slots looks like 25/26, it is full.
my server 26/26
a LAN player joins another
public player is kicked.
What kind of public player will be kicked,high ping or lowest score ?
Can i add LAN ips to users.ini file like this :
"192.168.0.0/24" "" "b" "de"
knife108
10-10-2007, 03:30 AM
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 :(
Can someone tell me the right way ?
knife108
10-10-2007, 05:58 AM
i d used this plugin
http://forums.alliedmods.net/showthread.php?t=799
server start command line is "+maxplayers 26" and it shows 25/25 now.
server has loaded 62 admins but the LAN ips in users.ini file can not join the server :(
"192.168.0.10" "" "b" "de"
"192.168.0.11" "" "b" "de"
"192.168.0.12" "" "b" "de"
"192.168.0.13" "" "b" "de"
"192.168.0.14" "" "b" "de"
"192.168.0.15" "" "b" "de"
"192.168.0.16" "" "b" "de"
"192.168.0.17" "" "b" "de"
.
.
.
.
diamond-optic
10-10-2007, 06:22 PM
you can try this that i got from searching "reserved slots lan" on the amxx forums
http://forums.alliedmods.net/showthread.php?t=18642&highlight=reserved+slots+lan
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.
knife108
10-11-2007, 12:21 AM
you can try this that i got from searching "reserved slots lan" on the amxx forums
http://forums.alliedmods.net/showthread.php?t=18642&highlight=reserved+slots+lan
require mod <cstrike> :eek:
{
// get team numbers
new players[32], num, i, Ts, CTs;
get_players(players,Ts,"e","TERRORIST");
get_players(players,CTs,"e","CT");
// if one team has more than the other,
// kick someone that is on that team.
// if equal numbers find overall worst.
if(Ts > CTs) {
get_players(players,num,"e","TERRORIST");
}
else if(CTs > Ts) {
get_players(players,num,"e","CT");
}
else {
get_players(players,num);
}
and it will kick the worst flags player ,but i want to kick the hing ping player
vBulletin® v3.8.6, Copyright ©2000-2012, Jelsoft Enterprises Ltd.