Page 5 of 7
Re: [Beta 0.3]Fox Control for TM²
Posted: 20 Aug 2011, 17:46
by Leigham
Basically what the file does is run fox control, and then detect if it crashes and start it up again. So all you need to do is stop FC and then start it using the ./restart.sh& command, so that the file is running.
Re: [Beta 0.3]Fox Control for TM²
Posted: 20 Aug 2011, 21:26
by mfg-bigal
Sorry, server is running at Windows, not Linux. How to do?
Re: [Beta 0.3]Fox Control for TM²
Posted: 20 Aug 2011, 23:09
by om23
Hi,
I have a solution for crashin FOx COntroL on TM2 servers.
I am just testing it.
tommorrow I´ll post the code.
its similar to
Leigham wrote:Basically what the file does is run fox control, and then detect if it crashes and start it up again. So all you need to do is stop FC and then start it using the ./restart.sh& command, so that the file is running.
but I dont understand that post xD
TM2 servers: lolzone1min & lolzone3rpg
Re: [Beta 0.3]Fox Control for TM²
Posted: 20 Aug 2011, 23:35
by Leigham
mfg-bigal wrote:Sorry, server is running at Windows, not Linux. How to do?
Ah, the 'fix' doesn't really work for Windows based servers, theoretically it'd be possible to do the same kinda thing, but don't ask me how, windows programming isn't my forte.
om23 wrote:Hi,
I have a solution for crashin FOx COntroL on TM2 servers.
I am just testing it.
tommorrow I´ll post the code.
its similar to
Leigham wrote:Leigham wrote:Basically what the file does is run fox control, and then detect if it crashes and start it up again. So all you need to do is stop FC and then start it using the ./restart.sh& command, so that the file is running.
but I dont understand that post xD
There's not much point in releasing a similar fix to the one already out, since the guys at fox should be releasing a new version without this problem pretty soon (I hope).
Re: [Beta 0.3]Fox Control for TM²
Posted: 20 Aug 2011, 23:45
by om23
I hope, too.
I know something about max 1 week
ok, how to use the ./restart.sh& command?
Re: [Beta 0.3]Fox Control for TM²
Posted: 20 Aug 2011, 23:55
by Leigham
Read the bottom of Libero's post at the beginning of this topic

Re: [Beta 0.3]Fox Control for TM²
Posted: 20 Aug 2011, 23:57
by om23
the last line?
Edit it and save this as restart .sh. start with ./restart.sh& at linux systems
the control.sh is to rename?
how to use this with multiple servers?
thx
Re: [Beta 0.3]Fox Control for TM²
Posted: 21 Aug 2011, 00:01
by Libero
Generate the new File with the Data from my edit and shoutdown fox control. the start it with the restart file like i told you

now i will go sleep after hard day of coding

See you tomorrow Guys and Thx for this aewsome Support of Fox Control

Re: [Beta 0.3]Fox Control for TM²
Posted: 21 Aug 2011, 00:06
by om23
good sleep, but I dont understand your edit,
maybe I am to big noob

Re: [Beta 0.3]Fox Control for TM²
Posted: 21 Aug 2011, 00:12
by Leigham
Okay, copy the code in Libero's post and create a file in your FoxControl folder with that code in it. Edit the 'EDIT THIS' line so that it contains the path to your FoxControl folder eg. '/home/TM2/FoxControl'.
Save the file as 'restart.sh' and then shutdown FOX and start it by starting the restart.sh file instead of the control.sh file. eg. '/home/TM2/FoxControl/restart.sh&' or 'cd /home/TM2/FoxControl' then './restart.sh&'