• 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!

Server Save

Kedor

New Member
Joined
Mar 3, 2008
Messages
263
Reaction score
0
Location
Poland, Gdynia
on TFS 0.2.10 i cant find somethink like autosave :P only found somethink like in rl tibia.. once a day save.. and if my server will crash.. all who didnt logged will lose all they exp etc? :p how can i save the server? :P
 
Or you can use OTadmin :)
Or !save "min
Or /closeserver
xD
 
First of all you need OTadmin, so compile it ;)

You are using windows or Linux?
 
so tell me i need to write !save "10 for example and then it will autosave every 10 mins? :P
 
but whats command i use for connect with ots admins in my server and for shutdown ...
 
Commands:

- sleep 10000 (waiting 10000ms [10s] and going to next command)
- broadcast Test. (Broadcast message)
- closeserver (close and save server)
- shutdown (close aplication)
- disconnect (Close connection)
- payhouses (take money from players for house)

Configuration:
Code:
server localhost 7171
server HOST PORT
Code:
connect test
connect PASSWORD

Example admin.xml:
Code:
<?xml version="1.0"?>
<otadmin enabled="1">
	<security onlylocalhost="1" maxconnections="2" loginrequired="1" loginpassword="test"/>
	<encryption required="0">
		<!-- key type="RSA1024XTEA" file="rsakey.private" -->
	</encryption>
</otadmin>


Example:
Code:
# usage: otadmin < commands.txt

server localhost 7171
connect test
broadcast The server will be closed in 15 seconds
sleep 15000
broadcast Closing server
sleep 5000
closeserver
payhouses
shutdown
disconnect

I like OTadmin, really great tool :D
 
Last edited:
I need alter anything in admin.xml?

i have open otadmin

after used server 127.0.0.1 7171

no receveid any msg =\
 
i wont use that tool :P i dont want to close server to save it lol.. i will use !save "10 ~~ XD :)
 
dont are working lol

i used
Code:
server localhost 7171
connect test
broadcast Test

no have make broadcst msg lol
 
Try this:
Code:
server localhost 7171
connect test
broadcast Test
disconnect

And you have configure admin.xml?
(post your admin.xml)
 
Last edited:
Code:
<?xml version="1.0"?>
<otadmin enabled="1">
	<security onlylocalhost="1" maxconnections="2" loginrequired="1" loginpassword="test"/>
	<encryption required="0">
		<!-- key type="RSA1024XTEA" file="rsakey.private" -->
	</encryption>
</otadmin>

Hum, can you post your otadmin ;s
 
Back
Top