Day of Defeat Plugins Community
This site is an archive — everything is readable and downloadable, nothing can be posted. Admin
Archive › Old Forum Threads › General › Requests for DoD Plugins › priority for Lan users
9 posts, 3 people · 3,182 views Thread Rating: ★★★★★
closedpriority for Lan users
Started by knife108 on 10-07-2007, 07:32 AM
K knife108
started this thread
Posts: 108
Threads: 10
Joined: Apr 2006
10-07-2007, 07:32 AM #1

server will kick high ping wan players automatically if lan users want to join a FULL server.

FeuerSturm
posted here
Posts: 166
Threads: 15
Joined: Jun 2007
10-07-2007, 03:10 PM #2

to file an answer that corresponds to your short way of posting:rnrnreserved slots

K knife108
started this thread
Posts: 108
Threads: 10
Joined: Apr 2006
10-08-2007, 04:48 AM #3
to file an answer that corresponds to your short way of posting:rnrnreserved slots
rnrnrni 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 ?

FeuerSturm
posted here
Posts: 166
Threads: 15
Joined: Jun 2007
10-08-2007, 02:14 PM #4

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.

K knife108
started this thread
Posts: 108
Threads: 10
Joined: Apr 2006
10-09-2007, 01:49 AM #5
reserved slots are dynamic, you can't *see* them when you look at your server.rn
rnrnserver has reserved slots looks like 25/26, it is full.rnrnmy server 26/26 rnrnrn
a LAN player joins anotherrnpublic player is kicked.rn
rnrnrnWhat 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"rn
K knife108
started this thread
Posts: 108
Threads: 10
Joined: Apr 2006
10-10-2007, 02:30 AM #6

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 ?

K knife108
started this thread
Posts: 108
Threads: 10
Joined: Apr 2006
10-10-2007, 04:58 AM #7

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.rn
diamond-optic
posted here
Posts: 2,068
Threads: 103
Joined: May 2005
10-10-2007, 05:22 PM #8

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.
K knife108
started this thread
Posts: 108
Threads: 10
Joined: Apr 2006
10-10-2007, 11:21 PM #9
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+lan
rnrnrequire 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	}rn
rnrnand it will kick the worst flags player ,but i want to kick the hing ping player

Archive › Old Forum Threads › General › Requests for DoD Plugins › priority for Lan users
DoD Plugins Archive · Repository · Old Forum Threads · Maps · Admin · built 14 Sep 2026 00:34 UTC