• Garry's Mod Dedicated Server Issue
    15 replies, posted
I've had this problem for awhile now; it hasn't changed with the update. Whenever I use -console to start the server, I cannot join the server any way and it doesn't show up in the server browser. When I type status in the console of the server, it thinks for a second and displays nothing. But when I remove -console from the batch, it starts up with the source server interface and works perfectly fine. What is going on here?
[QUOTE]srcds.exe -game garrysmod -console +sv_lan 0 +gamemode terrortown +host_workshop_collection 1234 -authkey 1234[/QUOTE] ^That's what my startup options are. No, the server didn't have any people when I run status, but no one including myself can join and the status command works fine with no people in the server in the source ds interface console.
Nope, I'm not running multiple servers, and at the bottom of the console window it shows the port as 27015 which is the standard. [IMG]https://dl.pushbulletusercontent.com/P00rmCnG4Bz099bDQWyoyRvVHbIgKA6n/Capture.PNG[/IMG]
[QUOTE=~Kiwi~v2;47857738]Here's your issue. It's not grabbing an external ip.[/QUOTE] I don't think it matters, because this is what srcds interface looks like that works: [IMG]https://dl.pushbulletusercontent.com/qKFv4OvsQFybR1Go15Aki0zPkVqmCNdn/Capture.PNG[/IMG]
Just start your server with +ip xxx.xxx.xxx.xxx (Your external IP, portforwarding enabled) If the server is locally hosted, try +ip 127.0.0.1 and try to connect (Command: connect 127.0.0.1:27015)
[QUOTE=SeaLife;47859547]Just start your server with +ip xxx.xxx.xxx.xxx (Your external IP, portforwarding enabled) If the server is locally hosted, try +ip 127.0.0.1 and try to connect (Command: connect 127.0.0.1:27015)[/QUOTE] With that, the console says WARNING: NNET_OpenSocket: bind: WSAEADDRNOTAVAIL and it pops up Engine Error: Couldn't allocate any server IP port. The computer with the server on it is a Windows server that I am accessing through Windows RDP, so I can't run gmod on it. [editline]2nd June 2015[/editline] It does the same thing without -console, and my ports are forwarded correctly and my friends are able to join the server when it is in the interface mode.
is it hosted on your network/a home network or like a proper server? if it's on a home network you shouldn't need to give it an external ip
Here's the startup log of the console with -console and without the +ip: [QUOTE]66.7 fps 0/128 on map Console initialized. Adding Path: [C:\Servers\GarrysMod\cstrike] FIND [C:\Servers\GarrysMod\cstrike\*.vpk] ADDING [C:\Servers\GarrysMod\cstrike\cstrike_pak_000.vpk] ConVarRef mat_dxlevel doesn't point to an existing ConVar Game.dll loaded for "Garry's Mod" Initializing Steam libraries for secure Internet server Steam_: BugslayerUtil.DLL not found Logging into anonymous gameserver account. Fetching Workshop Addons.. Calling GetCollectionDetails Collection has 38 Addons Mounts addons here Steam_: BugslayerUtil.DLL not found Changing gamemode to Trouble in Terrorist Town (terrortown) Network: IP 192.168.1.111, mode MP, dedicated Yes, ports 27015 SV / 27005 CL [/QUOTE] [editline]2nd June 2015[/editline] [QUOTE=Smt;47862624]is it hosted on your network/a home network or like a proper server? if it's on a home network you shouldn't need to give it an external ip[/QUOTE] Yes, it is on my home network and it has a static IP of 192.168.1.111 and the port 27015 is forwarded to that IP, [editline]2nd June 2015[/editline] OK, so I just tried it with my TF2 ds and it's doing the same thing. When ever I start it from the interface, the server shows up in the browser and is join able, but whenever it has -console, it is unjoinable and doesn't appear in the server browser.
Anyone have a solution to this problem? It's still bugging me.
Put -console as the first argument after srcds.exe (something like:) [code]srcds.exe -console -game garrysmod +sv_lan 0 +gamemode terrortown +host_workshop_collection 1234 -authkey 1234[/code] If not, have you tried validating the server?
[QUOTE=tanktan38;48209917]Anyone have a solution to this problem? It's still bugging me.[/QUOTE] Change 'srcds.exe' to 'start srcds.exe'. Also add '+maxplayers <specified number>'
[QUOTE=user447;48247621]Change 'srcds.exe' to 'start srcds.exe'. Also add '+maxplayers <specified number>'[/QUOTE] You just need 'srcds.exe'
It's because you didn't specify a map.. lol. add "+map ttt_waterworld" to the end
Sorry, you need to Log In to post a reply to this thread.