OpenGamePanel / OGP-Agent-Linux

GNU General Public License v2.0
86 stars 34 forks source link

Crashed server won't stop #40

Closed aldemaroc closed 3 years ago

aldemaroc commented 4 years ago

When OGP try to stop a crashed server using rcon2 for some reason the agent never proceed to use kill -15 to stop the server.

Looks like HL2.pm is returning something that the agent does not know how to deal with as nothing after $rcon2->run($rconCommand); will run.

To reproduce you only need to start a Gmod server with a map that does not exist and it will hang while starting. If you use OGP's stop button nothing will happen.

If someone that knows perl well can help me running HL2.pm manually to get it's output I can try to debug that.

Zorrototo commented 4 years ago

Sorry my Perl knowledge is too limited to help debug the issue.

own3mall commented 3 years ago

@aldemaroc Does the latest version fix your issue?