Page 1 of 1

Error on Phase 2

Posted: Thu Jan 09, 2014 12:42 pm
by thesabreslicer
Hello,
I am getting this error on phase 2:
Querying local gameserver files
Unhandled Error: Directory 'bin/gmod/garrysmod' not found.
at System.IO.Directory.GetFileSystemEntries (System.String path, System.String searchPattern, FileAttributes mask, FileAttributes attrs) [0x00000]
at System.IO.Directory.GetDirectories (System.String path, System.String searchPattern) [0x00000]
at System.IO.Directory.GetDirectories (System.String path) [0x00000]
at #=q17JIEbiEoqRw6cbDEBfNEEJt9gkPk5yiXITg4eo3Ixo=.#=q7bTtYqo6TnEUPTAWMz8BQA== (System.String #=qNrGp4N2YgDW$wzqmSbMBIg==) [0x00000]
at #=q7ztylA0q5T3eDwmsb5_x25NynrBhglMJqcvvKqF0vqA=.#=q$Q2GtpoaEVarPgqrIpYQBg== (System.String& #=qTedgBcRFMjKC1WxFohEG7Q==, System.Collections.ArrayList& #=qH0TwMYKxgRPCS_j$Xdsg9g==, System.Collections.ArrayList& #=qgms9xB71rV6Lv66q72g49Q==, System.Boolean& #=q8tSky6a0S74vTAMoFIDq7w==, Boolean #=qELTNZH8gSK6ugN3i4EdlIg==, System.String& #=qPd8CoYiCFdvsu40z8v_OeA==) [0x00000]
at #=q7ztylA0q5T3eDwmsb5_x25NynrBhglMJqcvvKqF0vqA=.#=qdItzi3HkRzYBEyQfy0SAZQ== () [0x00000]
at #=q_tpWcCrEKfGXseU7eiNvvZwb6L8K4e0HlIF8aDHa5PY=.Main (System.String[] args) [0x00000]
Press enter to continue
SourcsRSC is in my root directory (~), and my garrys mod server is located in ~/bin/gmod/garrysmod/

I don't know why it can't find my server files.

Here is from my sourcersc.ini:
//Enter the path to the gamemod if querying gameserver via local mode
[ServerPath]
bin/gmod/garrysmod
I have alos tried:
~/bin/gmod/garrysmod/
/bin/gmod/garrysmod/
/bin/gmod/garrysmod
bin/gmod/garrysmod/

Re: Error on Phase 2

Posted: Thu Jan 09, 2014 12:54 pm
by Masher
Tried /home/<username>/bin/gmod/garrysmod/?

Re: Error on Phase 2

Posted: Thu Jan 09, 2014 12:56 pm
by thesabreslicer
Masher wrote:Tried /home/<username>/bin/gmod/garrysmod/?
ServerPath doesn't exist instead now. Some of the previous paths also returned this.

EDIT: the user I tried was root

Re: Error on Phase 2

Posted: Thu Jan 09, 2014 1:43 pm
by thesabreslicer
Yeah, this is really bugging me. I don't know why it wouldn't work. I have a CSS server installed, I will try and see if it recognizes it.

Re: Error on Phase 2

Posted: Thu Jan 09, 2014 6:31 pm
by Masher
Open a shell, cd to where garrysmod is. run pwd. Copy output and use that for the ServerPath setting.