GamePanelX-V3 icon indicating copy to clipboard operation
GamePanelX-V3 copied to clipboard

Some characters are being removed from startup parameters

Open gbobr opened this issue 12 years ago • 3 comments

My startup parameters are:

'./srcds_run -game ../nmrih +map nmo_lakeside +maxplayers 8 +ip XXXXXXXXX +port XXXX'

But enabling debug information shows that what gamepanelx is actualy running :

'./srcds_run -game /nmrih +map nmo_lakeside +maxplayers 8 +ip 190.210.177.185 +port 27099'

It's omitting the dots thus causing server to not start.

gbobr avatar Nov 04 '13 20:11 gbobr

I believe there are safeguards in place to prevent specifying local filesystem stuff. Can the gameserver not specify "-game nmrih" and have it assume ./?

devryan avatar Nov 04 '13 23:11 devryan

it's two dots: ../

NoMoreRoomInHell uses a separate folder for srcds binaries because they use a modified version of SRCDS. It's normaly located inside an "srcds" folder inside the server root folder

I managed to get it running by using another startup script wich comes with the server files and doesn't require passing gamefolder path.

gbobr avatar Nov 05 '13 00:11 gbobr

The CMD parser for gpx specifically removes ../ out of params, because that is an easy way to manipulate startup parameters into displaying filesystem info.

Have you tried specifying full path?

devryan avatar Nov 25 '13 20:11 devryan