devryan / GamePanelX-V3

The Original Free and Open Source Game Control Panel
https://www.gamepanelx.com
Other
131 stars 94 forks source link

Minor bug @SA-MP panel #109

Closed ScaredDonut closed 8 years ago

ScaredDonut commented 9 years ago

Hey,

there is a minor bug when you try to shut down the server on the SA-MP page.

When you press the STOP button it echos this error;

"Failed: RunCMD: No server ID given"

devryan commented 9 years ago

When did you last pull code from github? This issue was fixed last night...if you do a git pull, does it pull in any changes?

ScaredDonut commented 9 years ago

Yeah, it updated the files last night. When you asked me to

ScaredDonut commented 9 years ago

Okay I forced updated and I get no error message now. But now the [STOP] button does nothing. It echo's "Success" but the server is STILL online.

devryan commented 9 years ago

If you hit restart, does it start up a brand new server in addition to the current running one (if you look at ps output on the shell), or does it just restart the running server?

I am in irc.freenode.net on #gamepanelx if you want to join.

ScaredDonut commented 9 years ago

Yup it actually does.

udp 0 0 0.0.0.0:7777 0.0.0.0:* 4270/samp03svr udp 0 0 0.0.0.0:7777 0.0.0.0:* 23047/samp03svr udp 0 0 0.0.0.0:7777 0.0.0.0:* 22196/samp03svr

I am on the IRC btw :p

devryan commented 9 years ago

Sorry about that, I'm in there now.

devryan commented 9 years ago

Well for now, I would manually kill the processes (samp03svr and the Restart script that gpx runs), and try restarting again. That should reset things and stop should work again...if not, post back.

ScaredDonut commented 9 years ago

yeah I force crash it will kill, and it turns on back automatically. Pressed the "stop" button nothin happens.

ScaredDonut commented 9 years ago

also the version is highly outdated. I tried to change it but it keeps changing back to the original one.

devryan commented 9 years ago

The samp version? I can update it, haven't looked at the latest version in a little while. Perks of hosting the files yourself :P On Nov 2, 2014 8:20 PM, "itsflashpoint" notifications@github.com wrote:

also the version is highly outdated. I tried to change it but it keeps changing back to the original one.

— Reply to this email directly or view it on GitHub https://github.com/devryan/GamePanelX-V3/issues/109#issuecomment-61439221 .

ScaredDonut commented 9 years ago

Found why the servers are not turning off because of the new version. Something is not updated on the CP I think. I tried using the current version the one that the CP uses and the server turns on/turns off no problem!

ScaredDonut commented 9 years ago

Kept trying and trying, it does not seem to work properly when-selfhosted, could you please update the server on the cloud please?

Thanks!

devryan commented 9 years ago

I tried using the current version the one that the CP uses and the server turns on/turns off no problem!

What do you mean? Please elaborate.

Kept trying and trying, it does not seem to work properly when-selfhosted, could you please update the server on the cloud please?

I'm not sure what you want me to update on samp for Cloud Games?