View previous topic :: View next topic |
Author |
Message |
DieHard
|
Posted: Thu Mar 18, 2010 12:00 am Post subject: Adding other game |
|
|
I'm trying to add another game under a already existing game. This will work, but for the stop funtion I need to know 1 thing.
1. If gamecreate stops a gameserver which command does it give? Does it just shut downs the apllication or does it sends a "command" like killserver or quit to the gameserver? |
|
Back to top |
|
 |
adbot
|
Posted: Thu Mar 31, 2011 3:57 am |
|
|
|
|
|
Andrew Mammoth
|
Posted: Thu Mar 18, 2010 8:39 am Post subject: |
|
|
Under Linux, it sends a regular 'kill' style command to the process.
If the process is not responsive, a terminate request using -9 as the argument (force quit) is used.
Under Windows, a regular kill command is issued (not a close request). |
|
Back to top |
|
 |
DieHard
|
Posted: Fri Mar 19, 2010 5:43 am Post subject: |
|
|
Im talking about windows yes. What do you mean with:
Under Windows, a regular kill command is issued (not a close request).
A kill command like killserver or quit? |
|
Back to top |
|
 |
Andrew Mammoth
|
Posted: Fri Mar 19, 2010 9:25 am Post subject: |
|
|
A process KILL command; GameCreate never sends rcon commands to shut down a server - it simply terminates the process (as if it had clicked the 'X' at the top right corner or gone to 'End Task' in task manager). |
|
Back to top |
|
 |
DieHard
|
Posted: Fri Mar 19, 2010 11:30 pm Post subject: |
|
|
Okay, so I could try it with another game.
I already did this, but this game doesn't shut down if I push stop. The start function does work. It's a game with a SAGE engine. |
|
Back to top |
|
 |
Andrew Mammoth
|
Posted: Mon Mar 22, 2010 12:24 pm Post subject: |
|
|
It sounds like the process you start changes its process ID (or launches another program) after it starts.
If you are using Linux, change the Screen setting to Require Screen under Game Configuration. |
|
Back to top |
|
 |
|