sty+ct+ap server crash alot.
sty+ct+ap server crash alot.
For some reason, the server has been crashing alot lately. I don't really know why or how. It seems to kind of freeze, so the automatic restart script won't restart it. Any suggestions on how to fix it or reasons why it is happening??
Re: sty+ct+ap server crash alot.
Give the console logs, and anything else you find helpful up to the crash so possibly the problem could be seen. If you use a regular bash script, you could just add "> console_log.txt" and it will write to it. When it crashes, upload that file.
Possibly the last bit of your ladder log, if there's anything useful there. Might help show where it crashes.
Just whatever you think could be helpful. Just saying "it crashes", will usually get you nowhere.
Possibly the last bit of your ladder log, if there's anything useful there. Might help show where it crashes.
Just whatever you think could be helpful. Just saying "it crashes", will usually get you nowhere.
Re: sty+ct+ap server crash alot.
Light wrote: Give the console logs, and anything else you find helpful up to the crash so possibly the problem could be seen.
last few lines of the consolelog.txtLight wrote: Possibly the last bit of your ladder log, if there's anything useful there. Might help show where it crashes.
Code: Select all
[2013/05/26-20:28:24] [0] Clearing delayed commands ...
[2013/05/26-20:28:24] [0] racing.php : wait_for_external_script 1
[2013/05/26-20:28:24] [0] racing.php : target_initial_score 0
[2013/05/26-20:28:24] [0] racing.php : sp_game_type 0
[2013/05/26-20:28:24] [0] racing.php : game_type 0
[2013/05/26-20:28:24] [0] racing.php : sp_finish_type 0
[2013/05/26-20:28:24] [0] racing.php : finish_type 0
[2013/05/26-20:28:24] [0] racing.php : sp_num_ais 0
[2013/05/26-20:28:24] [0] racing.php : num_ais 0
[2013/05/26-20:28:24] [0] racing.php : shot_seek_update_time 0.1
[2013/05/26-20:28:24] [0] racing.php : ladderlog_write_all 1|1
[2013/05/26-20:28:24] [0] Enabled full ladderlog output.
[2013/05/26-20:28:24] [0] racing.php : INCLUDE racer/Rifle.cfg
[2013/05/26-20:28:24] [0] MAP_FILE changed from Lover$Boy/Racing/Animalia-1.0.0.aamap.xml to Lover$Boy/Racing/Rifle-1.0.0.aamap.xml.
[2013/05/26-20:28:24] [0] racing.php : console_message Reading Rifle.txt...
[2013/05/26-20:28:24] [0] Reading Rifle.txt...
[2013/05/26-20:28:24] [0] racing.php : console_message Current race: Rifle
[2013/05/26-20:28:24] [0] Current race: Rifle
[2013/05/26-20:28:24] [0] racing.php : target_survive_time 61
[2013/05/26-20:28:24] [0] racing.php : console_message You can type /stats to view high scores for maps.
[2013/05/26-20:28:24] [0] You can type /stats to view high scores for maps.
[2013/05/26-20:28:27] [0] Deleting objects...
[2013/05/26-20:28:27] [0] Deleting grid...
Code: Select all
ROUND_COMMENCING 5 10
WAIT_FOR_EXTERNAL_SCRIPT
ROUND_ENDED 2013-05-26 20:28:27 EDT
ROUND_SCORE 1 Konquest@ konquest@
ROUND_SCORE_TEAM 1 konquest@
NEW_ROUND 2013-05-26 20:28:27 EDT
ZONE_CREATED 0 2347.59 -917.825 0 0
ZONE_CREATED 1 3145.21 -1221.88 0 0
ZONE_CREATED 2 3237.13 -1187.94 0 0
ZONE_CREATED 3 3213.09 -1448.15 0 0
ZONE_CREATED 4 3326.23 -1312.39 0 0
ZONE_CREATED 5 3534.12 -1074.8 0 0
ZONE_CREATED 6 3416.74 -1425.53 0 0
ZONE_CREATED 7 3552.5 -1493.41 0 0
ZONE_CREATED 8 3461.99 -1267.14 0 0
ZONE_CREATED 9 3575.13 -1357.65 0 0
ZONE_CREATED 10 3682.61 -1187.94 0 0
ZONE_CREATED 11 3688.27 -1448.15 0 0
ZONE_CREATED 12 3778.78 -1312.39 0 0
ZONE_CREATED 13 3914.54 -1221.88 0 0
ZONE_CREATED 14 3846.66 -1425.53 0 0
Re: sty+ct+ap server crash alot.
Interesting... How it just crashes when deleting the grid
What OS are you running this in Viper? By the way, wanna show us your restart script? Maybe it has flaws in it?
What OS are you running this in Viper? By the way, wanna show us your restart script? Maybe it has flaws in it?
Re: sty+ct+ap server crash alot.
restart script:
Code: Select all
#!/bin/bash
0launch http://simamo.de/0install/armagetronad-styctap-dedicated.xml
echo "Server will restart in 3 seconds. Press Ctrl+C to cancel."
sleep 3
<My home location>/.armagetronad-styctap-dedicated/start/script.sh
Re: sty+ct+ap server crash alot.
I don't see why it would restart since you are not looping or connecting where the server will start running from. Although I prefer using a different method to your own:
At the part $tron ... is where the script halts since that file is executed and being run. After exiting from that file the script will echo out the restart stuff and then sleeps for 5 seconds. Finally it loops back to the beginning and executes $tron ...
Ok, so what does that
Seems like your using zero launch sequence. Honestly I never bothered to use it myself since I know full well how to compile one in both Ubuntu and Windows. So I prefer handling solid file than using the zero system.
Code: Select all
$tron="/path/to/server/file"
while true; do
$tron --vardir $var --userconfigdir $settings --input $command | tee -a $console
echo "============== SERVER RESTARTING ==============" >> $console
sleep 5
done
Ok, so what does that
do? Does it start the server do the same thing as this or something?<My home location>/.armagetronad-styctap-dedicated/start/script.sh
Seems like your using zero launch sequence. Honestly I never bothered to use it myself since I know full well how to compile one in both Ubuntu and Windows. So I prefer handling solid file than using the zero system.
Re: sty+ct+ap server crash alot.
<My home location> actually has my /home/ whatever on the script... anyways
It just executes the script again.
I solved the problem by going back to sty+ct, but I really want sty+ct+ap not to crash in the first place at all. With sty+ct, I cannot use CYCLE_SPEED on the PLAYER_GRIDPOS. I need sty+ct+ap to do that.
Which means I cannot do killing for afk/idle... I have no clue how the other racing server can do it without sty+ct+ap.
Unless the latest sty+ct includes that. But I would need to compile then, wouldn't I?
I think I can compile only on my 32bit laptop rather than my 64bit desktop.
Is this how I would compile 0.4?
not to menchen, the downloading from bzr too.
It just executes the script again.
<My home location>/.armagetronad-styctap-dedicated/start/script.sh
I solved the problem by going back to sty+ct, but I really want sty+ct+ap not to crash in the first place at all. With sty+ct, I cannot use CYCLE_SPEED on the PLAYER_GRIDPOS. I need sty+ct+ap to do that.
Which means I cannot do killing for afk/idle... I have no clue how the other racing server can do it without sty+ct+ap.
Unless the latest sty+ct includes that. But I would need to compile then, wouldn't I?
I think I can compile only on my 32bit laptop rather than my 64bit desktop.
Is this how I would compile 0.4?
Code: Select all
cd 0.4
./bootstrap.sh
./configure
make
make install
Re: sty+ct+ap server crash alot.
Well I'm not sure of the real problem here Nelg. So I don't know how I can solve it for you.
As for compiling 0.4...
Yes if you want to be quick. Check here if you want to be detailed:
http://vertrex.tk/wiki/index.php?title= ... u_computer
As for compiling 0.4...
Yes if you want to be quick. Check here if you want to be detailed:
http://vertrex.tk/wiki/index.php?title= ... u_computer
Re: sty+ct+ap server crash alot.
You forgot about Protobuf on the depedacys
and I don't think you need to "cd /home/{username}/" unless you are on another user (like root) and you want to compile with the folders on that other user with your user.
how do I compile so zonesV2 is enabled?
and compiling works great on my laptop... Who knows why it doesn't work on my desktop?
EDIT: I had a few compilation problems... But it seems to work overall.
and I don't think you need to "cd /home/{username}/" unless you are on another user (like root) and you want to compile with the folders on that other user with your user.
how do I compile so zonesV2 is enabled?
and compiling works great on my laptop... Who knows why it doesn't work on my desktop?
Will you please make it easy to read? Its the worlds longest sentice! (Hey, atleast it makes sense)Thank you for taking the time to read through this tutorial and hopefully you picked up useful things to help you through setting up your server and maybe in future you will be able to start using the advanced things I have mentioned here.
EDIT: I had a few compilation problems... But it seems to work overall.
Re: sty+ct+ap server crash alot.
If you type "./configure --help" you can see your options.
If you want a more automated way of doing it, you could check out my script.
http://wiki.armagetronad.org/index.php/ ... e_Easy_Way
// Edit: My script is for sty+ct, not 0.4.
If you want a more automated way of doing it, you could check out my script.
http://wiki.armagetronad.org/index.php/ ... e_Easy_Way
// Edit: My script is for sty+ct, not 0.4.
Re: sty+ct+ap server crash alot.
Oops... Updated now.XD|VIPer wrote:You forgot about Protobuf on the depedacys
Maybe not, it was only a hint for you to understand.XD|VIPer wrote: and I don't think you need to "cd /home/{username}/" unless you are on another user (like root) and you want to compile with the folders on that other user with your user.
DO NOT put --disable-zonesv2 --enable-zonesv1. The ZonesV2 are automatically enabled so you can compile them like any other server.XD|VIPer wrote:how do I compile so zonesV2 is enabled?
Something must be in the laptop that is not in the desktop.XD|VIPer wrote: compiling works great on my laptop... Who knows why it doesn't work on my desktop?
After 2 years someone finally shows up to tell me what I had been hoping to hear for so long! I love itXD|VIPer wrote:Will you please make it easy to read? Its the worlds longest sentice! (Hey, atleast it makes sense)Thank you for taking the time to read through this tutorial and hopefully you picked up useful things to help you through setting up your server and maybe in future you will be able to start using the advanced things I have mentioned here.
Strange since I followed the same steps as always and had no problems at my end. Again, I wrote the tutorials so I guess I did things right and forgot to mention them?XD|VIPer wrote:EDIT: I had a few compilation problems... But it seems to work overall.
For the list of full configuration of ./configure, check this out: http://vertrex.tk/wiki/index.php?title= ... Extensions