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

Bug in database/items not decaying

silveralol

Advanced OT User
Joined
Mar 16, 2010
Messages
1,484
Solutions
9
Reaction score
217
Hello, I'm hurting here with an error, sometimes items that I created in some script and put to decay not decay when send to my inbox :/
and the error with the database is it
Code:
[Error - DatabaseManager::updateDatabase - Version: 19] cannot open data/migrations/19.lua: No such file or directory
I not have a 19.lua bacause mine database not need it, but i don't know where I can chance this value, all time he try update the database, if I create the file 19.lua and put inside the same code of the 18.lua he try update to database 20 -.-
 
Ok, go into 18.lua and set it to true, process of elimination..
my file 18.lua are like you said
Code:
function onUpdateDatabase()
    return true
end
if I change the value in the database to 17 when start the server the value change to 19
 
Back
Top