Posts: 30
Threads: 5
Joined: Mar 2010
Reputation:
0
05-30-2010, 07:19 AM
(This post was last modified: 05-30-2010, 10:28 AM by Mooga.)
I have two servers. we are going to call them A and T for now. I want to push players from A to T. so I can shut Adown for maintence. then I want to push them back to A after Im done
Is there anyway I can do this? any help would be appriciated.
Posts: 166
Threads: 15
Joined: Nov 2007
Reputation:
1
Mooga.. what part of that readme will help you help him?.
Posts: 3,906
Threads: 404
Joined: Oct 2007
Reputation:
21
Mainly which game and the OS.
afaik, server forwarding doesn't work with Orange Box games (TF2, L4D, L4D2)
~ Mooga ...w00t? -
SRCDS.com on Twitter
Please do not PM me for server related help
fqdn Wrote:if you've seen the any of the matrix movies, a game server is not all that different. it runs a version of the game that handles the entire world for each client connected. that's the 2 sentence explanation.
Posts: 30
Threads: 5
Joined: Mar 2010
Reputation:
0
Oh. im sorry. Garrysmod. Windows.
Posts: 30
Threads: 5
Joined: Mar 2010
Reputation:
0
[Input]
lua_run for k,v in pairs(Player.GetAll()) do v:RunConCommand("connect austinserv
er.mine.nu:27016 /n") end
[Output]
> for k,v in pairs(Player.GetAll()) do v:RunConCommand("connect austinserver.min
e.nu:27016 /n") end...
:1: attempt to index global 'Player' (a function value)
Posts: 166
Threads: 15
Joined: Nov 2007
Reputation:
1
Try the SendLua one, and put the IP in instead of the domain name.
Posts: 166
Threads: 15
Joined: Nov 2007
Reputation:
1
Is there anyone on the server and is it the server console or client console?.
Oops, try a lowercase P. So like this:
lua_run for k, v in pairs(player.GetAll()) do v:SendLua("connect ip:port") end
Posts: 30
Threads: 5
Joined: Mar 2010
Reputation:
0
you see the numbers I entered? Put those in for me? Im a bit confused now. I assume like this.
lua_run for k, v in pairs(player.GetAll()) do v:SendLua("connect 99.90.224.198".. : .."27016") end