Where to get that layout?
Register the talkaction in talkactions.xml if you haven't done that already.
Code:<talkaction words="/save" script="save.lua"/>
Or use global save.
This were originally from the GitHub repository, must have missed when it got removed. xdAlright, i'm back!
The global save worked, it warned 5, 3 and 1 minute before and when it saved it kicked everyone from the server.
Can i just take the save.lua from another tfs distro and add it to talkaction scripts or wouldnt that be compatible with 1.0?
local savingEvent = 0
function onSay(cid, words, param)
if getPlayerAccess(cid) ~= 0 then
if isNumber(param) == TRUE then
stopEvent(savingEvent)
save(tonumber(param) * 60 * 1000)
else
saveServer()
end
end
end
function save(delay)
saveServer()
if delay > 0 then
savingEvent = addEvent(save, delay, delay)
end
end
the acc or the server does not have the Group Ids i cant create them, what to do
Code:-- Connection Config ip = "127.0.0.1" bindOnlyGlobalAddress = "no" loginProtocolPort = 7171 gameProtocolPort = 7172 adminProtocolPort = 7171 statusProtocolPort = 7171 maxPlayers = "1000" motd = "Welcome to The Forgotten Server!" onePlayerOnlinePerAccount = "yes" allowClones = "no" serverName = "Thais" adminLogsEnabled = "no" statusTimeout = 60000 replaceKickOnLogin = "yes" maxPacketsPerSecond = 25
Does anything look wrong in this code? I can't connect to the server at all. Ports are open :/
Yes, 127.0.0.1 isnt reachable for anyone but you. Google whatsmyipAnybody? Is there a reason this shouldnt reach the world wide web?
Have you port forwarded the neccecary ports?Tried both local and global ip, doesn't work.
Canyouseeme.org sees me through ports 7171 and 7172, yes.Have you port forwarded the neccecary ports?
3306 also?Canyouseeme.org sees me through ports 7171 and 7172, yes.
Use this website to see the tibia req ports:
http://vapus.net/canihost