[B]EDIT: If you are having this issue please opt out of steam beta, that will fix it.[/B]
I'm trying to learn lua and at the same time setup my own server to make projects for me to learn. I properly installed steamCMD and gmod+css in a directory and I launched the server with seDirector, which is a program that uses a nice GUI instead of steamCMD. When I run the steamCMD shows up then it goes away and on seDirector it says the server is running. I check on gmod's LAN servers and I see nothing.
So I go on and try to run the server with command line instead of seDirector. I used the command:
srcds.exe -console -game "garrysmod" -maxplayers 2 +map bhop_fury -ip 192.168.1.50 -port 27015
And this shows up:
[IMG]http://i.imgur.com/OxUZUod.jpg[/IMG]
[quote]Console initialized.
ConVarRef mat_dxlevel doesn't point to an existing ConVar
Game.dll loaded for "Garry's Mod"
Initializing Steam libraries for secure Internet server
It stays like this for about 2-3 minutes and then it closes and nothing happens.[/quote]
I was able to successfully run a server a couple of days ago and now it's not working.
I am using the same computer to start the server/play gmod on. I don't want to use a different computer because it'll be harder to code and manage it.
Someone help me out please.
I'm assuming port forwarding has nothing to do with it, but just in case, here are my configurations on my DD-WRT firmware installed router.:
[IMG]http://i.imgur.com/z8YIEZ3.jpg[/IMG]
[IMG]http://i.imgur.com/y1WyJpT.jpg[/IMG]
[U][B]Edit: A new issue has emerged. [/B][/U]
I see my LAN game up on GMOD but whenever I try to join it I get a connection failed..
Here is what appeared in my console:
[HTML] Uncaught ReferenceError: SetStatusChanged is not defined
Connecting to 192.168.1.50:27015...
Connecting to 192.168.1.50:27015...
Connecting to 192.168.1.50:27015...
Connecting to 192.168.1.50:27015...
Connecting to 192.168.1.50:27015...
Retrying 192.168.1.50:27015...
Retrying 192.168.1.50:27015...
Retrying 192.168.1.50:27015...
Connection failed after 4 retries.
I am still having an issue with this.
What happens when you use "connect localhost" in console?
Are you opted in Steam beta by any chance?
Close steam then open srcds then open steam back up.
Fixed it Steam Beta was the issue.
Edit: A new issue has emerged.
I see my LAN game up on GMOD but whenever I try to join it I get a connection failed..
Here is what appeared in my console:
[HTML] Uncaught ReferenceError: SetStatusChanged is not defined
Connecting to 192.168.1.50:27015...
Connecting to 192.168.1.50:27015...
Connecting to 192.168.1.50:27015...
Connecting to 192.168.1.50:27015...
Connecting to 192.168.1.50:27015...
Retrying 192.168.1.50:27015...
Retrying 192.168.1.50:27015...
Retrying 192.168.1.50:27015...
Connection failed after 4 retries.
[QUOTE]Fetching Workshop Addons.. No -authkey
Adding Path: [C:\SteamCMD\CounterStrikeSource\cstrike]
FIND [C:\SteamCMD\CounterStrikeSource\cstrike\*.vpk]
ADDING [C:\SteamCMD\CounterStrikeSource\cstrike\cstrike_pak_000.vpk]
Network: IP 192.168.1.50, mode MP, dedicated Yes, ports 27015 SV / 27005 CL
PREP OK
Lua JIT is DISABLED!
Executing dedicated server config file server.cfg
Using map cycle file 'cfg/mapcycle_default.txt'. ('cfg/mapcycle.txt' was not fo
und.)
Attempted to create unknown entity type weapon_usp!
Can't init weapon_usp
Couldn't find any entities named usp1, which point_template spawner is specifyin
g.
Nav File is wrong or something (1)
Initializing Steam libraries for secure Internet server
Logging into anonymous gameserver account.
Unknown command "sbox_allownpcs"
Unknown command "sbox_plpldamage"
Unknown command "sbox_playergod"
Connection to Steam servers successful.
Public IP is xxx.xxx.x.xxx.
Assigned anonymous gameserver Steam ID [A-1:2702341122(3483)].
VAC secure mode is activated.[/QUOTE]
I've tried looking around, and I can't find anything..
[SUP]Is anyone else having trouble starting it up? Now it says "Error - Unable to load .\bin\Steam\Steam.dll. Please edit or comment out SteamDll value in rev.ini"[/SUP]
Fixed, all I had to do was restart my computer..
Well I'm still having an issue with this.
Could someone help me? Please.
if you are running it locally why not just run it from the client?
[QUOTE=Pandaman09;41218256]if you are running it locally why not just run it from the client?[/QUOTE]
Don't I need SRCDS for other people to join? It'll be easier to configure if I made my own server using SRCDS..
Also, is running it locally preventing me from joining it?
[QUOTE=Vibos;41218435]Don't I need SRCDS for other people to join? It'll be easier to configure if I made my own server using SRCDS.
Also, is running it locally preventing me from joining it?[/QUOTE]
You don't have to, but the server will only be running when your game is running. If you want to use SRCDS make sure you set the IP to the external IP not the internal one. if you are using windows make sure that the port is open, if you have a router do the same.
[editline]28th June 2013[/editline]
Also post your server.cfg
[QUOTE=Pandaman09;41220645]You don't have to, but the server will only be running when your game is running. If you want to use SRCDS make sure you set the IP to the external IP not the internal one. if you are using windows make sure that the port is open, if you have a router do the same.
[editline]28th June 2013[/editline]
Also post your server.cfg[/QUOTE]
[QUOTE]// server cfg
hostname Gmod
rcon_password xx
sv_password xx
sv_region 0
sv_lan 0
IP [My external IP]
Hostport 27015
[/QUOTE]
Sorry, you need to Log In to post a reply to this thread.