RegisterRegister    Log inLog in    SearchSearch   

Post new topic   Reply to topic
 
View previous topic :: View next topic  
Author Message
LukLuk



PostPosted: Wed Apr 21, 2010 1:06 am    Post subject: Making GC better: Make the failure notice closable etc. Reply with quote

Hey ho!

I've found one thing which is pretty annoying.

If your server is not well configured, and you dont know THAT it is not, this message appears:
Code:
This server has failed to start several times in a row, indicating a problem with the server. View this servers Failure Reports for more information.


This message never disappears. I would guess it would be better to make it closable, just like notes Smile

EDIT: One more thing: Is it possible for you to implement a possibility for us to edit the executed file of a game?
I've recently talked to you about the Manu Admin Mod which is now running very well with BZFlag, but there is a problem. I can only start one instance with one subdomain, because the executed file "server" is the same and cannot contain multiple startscripts.

For example: "server" content:
Code:
/gameserver/gamecreate/bzflag/adminmod/startscript debug

This is an example of the startscript of the adminmod.

As far as i know, there are these additional command-line parameters. Is there a possibility to fill the "server" with multiple parameters, so if i put "server -1" into the commandline of GameCreate, that it starts adminmod 1 in the startscript? Iam not experienced in programing....

Thanks so far
Back to top
View user's profile Send private message
adbot



PostPosted: Thu Mar 31, 2011 3:57 am 

Andrew
Mammoth


PostPosted: Wed Apr 21, 2010 10:11 am    Post subject: Reply with quote

You can't change the executable launched at this time, but you could make 'server' a shell script that figures out what to do based on some passed in arguments.

The 'failed to start' message goes away when the server is queryable; its a known issue though for servers we dont have query codes for - I've added it down as a problem.
Back to top
View user's profile Send private message
LukLuk



PostPosted: Thu Apr 22, 2010 1:04 am    Post subject: Reply with quote

Well Andrew, you helped so many people here with php-code, you couldn't write me an example script? Wink

Well, it looks like Trackmania Nations Forever is not queryable at the moment....

EDIT: I've noticed that the TMNF Server is not querying at all. On my old machine, it monitored the CPU and RAM usage for the game, so i could find out by that if players have been on the server from a certain time. From now on on my new machine, there is not any data about CPU and RAM (showing 0) although i have been on the server with several people. Is it a known problem / can i fix it?
Back to top
View user's profile Send private message
Andrew
Mammoth


PostPosted: Thu Apr 22, 2010 7:48 am    Post subject: Reply with quote

When I say servers aren't queryable, I mean for player stats - CPU and memory usage would still be queryable.

Maybe the server isn't running, or is crashing (so theres never any stats to collect), or the usage is really low.

You should watch the GC Client console to see if its reporting any errors over a span of say 5 minutes, look for 'Check Booking Performance' messages and whether any errors appear afterwards.
Back to top
View user's profile Send private message
LukLuk



PostPosted: Thu Apr 22, 2010 5:28 pm    Post subject: Reply with quote

Ah, another question:

1. How do i quit the gamecreate prozess and all gameserverprocesses which are connected with it?

2. Can i watch into a working gamecreate process? How?

1+2: I know that i can start it with ./gamecreate.x86 -f but only a new process.....
Back to top
View user's profile Send private message
Andrew
Mammoth


PostPosted: Thu Apr 22, 2010 5:36 pm    Post subject: Reply with quote

1. You need to click STOP in GameCreate for each server, or use the 'Server Status' screen on the Host to shutdown all servers in one click (under the same domain).

Then if desired just close GameCreate by terminating the process.

2. Not sure what you mean, but I think you want to add: log-file gamecreate.log, to the gamecreate.ini file (and then run without -f), and then tail -f gamecreate.log
Back to top
View user's profile Send private message
hyperprotagonist



PostPosted: Tue Apr 27, 2010 3:25 am    Post subject: Reply with quote

LukLuk wrote:
2. Can i watch into a working gamecreate process? How?


If you want to watch the log as it runs, use SCREEN which enables you to reattach (same principle as minimize/maximize in Windows) whenever you wish to view it. Etc.
Back to top
View user's profile Send private message MSN Messenger
LukLuk



PostPosted: Wed Apr 28, 2010 4:00 pm    Post subject: Reply with quote

Thanks for that advice Smile

Another great thing would be the ability to add your own aplication. Choose the executable, foldername, settings and files! (Propably including the ability to toggle the query etc.)
Back to top
View user's profile Send private message
LukLuk



PostPosted: Thu Apr 29, 2010 7:58 am    Post subject: Reply with quote

Hey Smile

Well, iam not experienced in linux scripts. Can someone here help me with the ONE executable for many instances?

For example:

I have 3 execution files for 3 different adminmods, but only one "server", which gets executed by GameCreate. So what must be inside the "server" to use the command line, so it executes the desired executable for one adminmod?
"server -1" would start adminmod 1, "server -2" would start adminmod 2.

Can someone build me a simple file which i'll be able to expand for further adminmods? =)
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic All times are GMT + 10 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Forum powered by phpBB © 2001, 2005 phpBB Group
GameCreate Service Terms | Privacy Policy | © Copyright Mammoth Media 2001-2007
GameCreate™ is a trademark of Mammoth Media Pty Ltd. GameCreate® is a registered trademark in Australia.