-
Notifications
You must be signed in to change notification settings - Fork 76
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Test Systems #123
Comments
About banishment and violation system;
|
Hit points and mana will regenerate at a rate of 1 per 15 seconds (240/hour). It only regenerates while your food lasts. |
how to fix frag system and ban for excesive player killing? |
@Stoudemire Do you have any issues with the frag system? |
Save scripts:
How does bans need to be handled? Aren't they expiring as they should or what do you mean? |
Save script: <globalevent name="Save" interval="3600000" script="save.lua"/> local config = {
broadcast = {120, 30},
flags = 13,
delay = 120,
events = 30
}
local function executeSave(seconds)
if(isInArray(config.broadcast, seconds)) then
doBroadcastMessage("Server save within " .. seconds .. " seconds, please mind it may freeze!")
end
if(seconds > 0) then
addEvent(executeSave, config.events * 1000, seconds - config.events)
else
doSaveServer(config.flags)
end
end
function onThink(interval)
if(table.maxn(config.broadcast) == 0) then
doSaveServer(config.flags)
else
executeSave(config.delay)
end
return true
end |
@diegorodriguesvieira pay rent system is not working: #149 We need a save script like the one I posted before that includes house rent checks on intervals (once every 12/24 hours at least) Aditionally we need to check accounts with rented houses and no activity (1 week or 1 month) and a function to clean house and set owner = 0 |
@Stoudemire I had it bugged in my server and figured it out now after nearby a month. |
We have to test these systems below:
House System
(regenerate 1 health and 1 mana every 30 seconds and 15 soul points every 15 minutes)
Frag System
Ban System
Server Save System
This list will be improved...
The text was updated successfully, but these errors were encountered: