• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!
  • 2026 staff recruitment is open! Check it out and consider applying!

Lua (SOLVED) Need a working restarter for TFS 0.3! REP+++ (SOLVED)

Status
Not open for further replies.

Guapoke

Member
Joined
Nov 21, 2008
Messages
259
Reaction score
5
What can I do to make my OT ON 24h, without me there, becouse in like 5h OT ON, something must happen, restarter do not work, my net change it's ip auto at night then it get every thing fuckedup
Someone help me please!.What can I do?
 
I do it this way:
I have a restarter that restarts after every crash or sth.:
http://otland.net/f19/simple-serv-manager-easy-understand-d-17119/
And I have this programm:
Z-Cron - Download
In this Programm I make a Schedule for Windows that close (kills) TFS at a decent hour (e.g. 6.30). Then the Restarter restarts the Server automatically. You just need to know the time when your IP changes and make it then (probably ~10 minutes later to be sure). If you need more help with Z-Cron in configuring it or sth just msg here.
Rep++ ???

Your's ballack13
 
What can I do to make my OT ON 24h, without me there, becouse in like 5h OT ON, something must happen, restarter do not work, my net change it's ip auto at night then it get every thing fuckedup
Someone help me please!.What can I do?

If your problem is mainly your IP changing, you could try using the program on www.no-ip.com called No-IP DUC v2.2 and leave it open all day long and that program will automatically update your hosts with the current IP if/when it changes. It works perfectly for me at least :)

Hope it helps.
 
I do it this way:
I have a restarter that restarts after every crash or sth.:
Simple Serv Manager (EASY TO UNDERSTAND :D)
And I have this programm:
Z-Cron - Download
In this Programm I make a Schedule for Windows that close (kills) TFS at a decent hour (e.g. 6.30). Then the Restarter restarts the Server automatically. You just need to know the time when your IP changes and make it then (probably ~10 minutes later to be sure). If you need more help with Z-Cron in configuring it or sth just msg here.
Rep++ ???

Your's ballack13

Man, TFS Crashed and the restart you told me do not work, do you a restarter that works well for crashes?
 
Man, TFS Crashed and the restart you told me do not work, do you a restarter that works well for crashes?

The restarter works.
You need to set it up right.
Put the program in the same directory as your otservers .exe is.
Set the name of your .exe in the "Serv .exe" field.
And be sure to check the "Restar server" checkbox.
Now press start.
 
The restarter works.
You need to set it up right.
Put the program in the same directory as your otservers .exe is.
Set the name of your .exe in the "Serv .exe" field.
And be sure to check the "Restar server" checkbox.
Now press start.

I have done everything you said but when it crashes it doesn't work!
 
The Restarter should look like this:
attachment.php

The just click on start and it should work..
 
I'm using the console -.-
-edit-
Look I'm at work, my server crashed and do not came back!
when I arrive home I will take a SS!
 
Last edited:
Well Im not so pro on this to help you out but Ill try again, probably you know this already but maybe if you make a simple restarter.bat it may work, at least thats what I use and works perfectly.

In case you dont know how to do that, make a new Notepad file in the same folder of your OT and add this:

Code:
echo off
title [I]YOURSERVERNAME[/I]
cls
:controllerini
[I]YOURSERVER[/I].exe
echo :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
echo ::                   Server Crashed... Restarting.                           ::
echo :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
goto :controllerini

Then save it as restarter.bat and test it out, maybe it will work.

Hope it helps.
 
Well Im not so pro on this to help you out but Ill try again, probably you know this already but maybe if you make a simple restarter.bat it may work, at least thats what I use and works perfectly.

In case you dont know how to do that, make a new Notepad file in the same folder of your OT and add this:

Code:
echo off
title [I]YOURSERVERNAME[/I]
cls
:controllerini
[I]YOURSERVER[/I].exe
echo :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
echo ::                   Server Crashed... Restarting.                           ::
echo :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
goto :controllerini

Then save it as restarter.bat and test it out, maybe it will work.

Hope it helps.
Wont work in hes case.

@Topic; Ok, the restarters wont work because that damn warning window appears (the ot process will still be "running" while the message is up), deactivate it.
 
How can I do it??

Hum,I made a simple program which both restarts and closes the error window.

Download:http://www.mediafire.com/download.php?vmentvtgtlg
AutoIt based program so might give false positive.

How to use:
1# Run the restarter it will exit and create a config.ini file in the same folder as the restarter.
2# Open the config.ini file
You will now see this:
Code:
[Settings]
OT_PATH=
OT_PROCESS_NAME=
ERROR_WINDOW_TITLE=

@ OT_PATH, here you set the whole path to the servers .exe
@ OT_PROCESS_NAME, here you set the servers process name, if you aren't sure about it, start your OT and press ctrl+alt+delete and find the process.
@ERROR_WINDOW_TITLE, set the title of the error window which appears when the OT crashes.

#3 Now run the restarter and your ready to go :)


I haven't tested the "window closer" feature so I don't know if it works, but it should.
Can you set up your ot and the restarter and make the ot crash and see if it works? :)
 
Last edited:
Okay I will try it now, then I edit it here...
-edit-
ha, what program? Serv Manager?
I am nub in programing things :P
 
Status
Not open for further replies.
Back
Top