BlackTibia

No estás conectado. Conéctate o registrate

 » Open Tibia » Pedido de Scripts » 

un scritp para guardar server

un scritp para guardar server

#1 un scritp para guardar server el Lun Ene 19, 2015 5:38 am

Akrosh


Nuevo
Buenas busque y no conseguir pero necesito un script para guardar server que sea a una hora exacta por ejemplo siendo el gm ponga /serversave 12:00 y exactamente a esa hora el server empieze hacer el server save se cierre y abra el server

#2 Re: un scritp para guardar server el Lun Ene 19, 2015 4:32 pm

Elexonic


Miembro
config.lua... tiene esa opcion.

#3 Re: un scritp para guardar server el Lun Ene 19, 2015 6:27 pm

Akrosh


Nuevo
hermano por algo lo ando pidiendo pero aqui te dejo la config es un server llama guia3d no se si lo llegaste a conocer

Código:
----config.lua--------------
-- Config file for otserv
-- Comments start with a --
---------------------------
 
-- datadir
datadir = "data/"

-- map
-- sets what map to load, if sql, determines the sql map
--map = "data/world/test server/map.otbm"
map = "data/world/map.otbm"

-- mapkind
-- OTBM for binary, SQL for SQL map, TXT for OTX maps
mapkind = "OTBM"
--mapkind = "TXT"

-- bans
banIdentifier = "data/bans.xml"

-- how many logins attempts until ip is temporary disabled (set to 0 to disable)
logintries = 8

-- how long the retry timeout until a new login can be made (without disabling the ip)
retrytimeout = 5000

-- how long the player need to wait until the ip is allowed again
logintimeout = 60 * 1000

-- loginmsg
-- the message the player gets when he logs in
loginmsg = "Wellcome to the RPG online, for premiun accounts, visit: http://www.guia3d.com"

-- port
-- the port otserv listens on
port = "7171"


-- servername
-- name of our server
servername = "G3Tibia"

-- ownername
-- name of the owner of our server
ownername = "Atolon"

-- owneremail
-- email of the owner of our server
owneremail = "Private@no.es"

-- url
-- the url for more server info
url = "http://www.guia3d.com"

-- location
-- the location of the server
location = "Spain"

-- ip
-- the ip the server should redirect too
ip = "*********"

-- motd
-- The messagebox you sometimes get before you choose characters
motd = "Wellcome to the RPG ONLINE: \n \n www.guia3d.com \n\n Welcome to the UPDATE 840!! \n Aun estamos testeando esta version... \n\n The Administration."
---motd = "Wellcome to the RPG ONLINE: \n \n www.guia3d.com \n \nWe regret to say that a reset Game \n had to be performed \n due to a technical problem.\n The world have been reset \n to the status of March 14th, 16:00 \n\n The Administration."

motdnum="177"

--world type. options: pvp, no-pvp, pvp-enforced
worldtype = "pvp"

-- max number of players allowed
maxplayers = "900"

-- only one player per acc - 1 to yes, 0 to no
checkaccounts = false

-- save client debug assertion reports
-- options: 0 (no), 1 (yes)
saveclientdebug = false

-- Set the max query interval for retrieving status information
-- default: 5 minutes / IP
-- set to 0 to disable
--statustimeout = 30 * 1000
statustimeout = 5 * 60 * 1000

-- accounts password type
-- options: plain, md5, sha1
passwordtype = "plain"

-- exhausted time in ms (1000 = 1sec)exhausted time in ms (1000 = 1 second) for none-aggressive spells/weapons
exhausted = 2*1000


-- exhausted time in ms (1000 = 1 second) for aggressive spells/weapons
fightexhausted = 2000


-- how many ms to add if the player is already exhausted and tries to cast a spell (1000 = 1sec)
exhaustedadd = 0*1000



-- how long does the player has to stay out of fight to get pz unlocked in ms (1000 = 1sec)
--pzlocked = 60*1000
--pzlocked = 120*1000
pzlocked = 180000

-- how long a field belongs to a player before it no longer causes PZ lock for the owner

field_ownership_duration = 5000

-- set to 0 = disabled (default), 1 = enabled
enablehotkeys = true

-- minimum amount of time between actions ('Use') (1000 = 1 second)

minactioninterval = 400

-- minimum amount of time between extended actions ('Use with...') (1000 = 1 second)
minactionexinterval = 1000

-- allow multiple logins of the same char
allowclones = false

-- use md5 passwords for accounts, yes/no
--md5passwords = "no"

-- sourcedata
-- SQL for acc/player info from SQL, XML for acc/player info from XML
sourcedata = "SQL"
--mapkind = "SQL"
-- SQL type
-- options: mysql, sqlite
sql_type = "mysql"

-- house rent period
-- options: daily, weekly, monthly
houserentperiod = "monthly"

-- Should the server use account balance system or depot system for paying houses?
useaccbalance = "false"

-- experience, skill and loot rate
rate_exp = 1
rate_skill = 3
rate_mag = 2
rate_loot = 1
rate_spawn = 1

-- despawn configs
-- how many floors can a monster go from his spawn before despawning
despawnrange = 2

-- how many square metters can a monster be far from his spawn before despawning
despawnradius = 50

----------------
-- max number of messages a player can say before getting muted (default 4), set to 0 to disable muting
maxmessagebuffer = 4

-- whether or not to check for premium accounts when using beds
premonlybeds = "false"

-- Skull duration, how long one kill adds to your red skull time
--skullduration = 12*60*60*1000
--10 DIAS
skullduration = 3*24*3600*1000

-- How many players you need to kill to gain a red skull
killsforredskull = 7


--- SQL part

sql_host = "localhost"
sql_user = "root"
sql_pass = "******"
sql_db   = "****"

Contenido patrocinado


Ver el tema anterior Ver el tema siguiente Volver arriba  Mensaje [Página 1 de 1.]

Permisos de este foro:
No puedes responder a temas en este foro.

 

¿Quién está en línea?

En total hay 0 usuarios en línea: 0 Registrados, 0 Ocultos y 0 Invitado

Usuarios navegando en este foro: Ninguno

Forum Statistics

Nuestros miembros han públicado un total de posts en temas.
Actualmente hay miembros registrados.
Démosle la bienvenida al miembro más reciente,
La mayor cantidad de usuarios en línea ha sido de .