UPGRADE_LEVEL_DESTROY = 7, -- at which upgrade level should it break if failed, for example if = 7 then upgrading from +6 to +7-9 can destroy item on failure.
Lua Script Error: [Action Interface]
data/actions/scripts/upgrade_system_actions.lua:onUse
data/upgrade_system_core.lua:37: attempt to compare nil with number
stack traceback:
[C]: in function '__lt'
data/upgrade_system_core.lua:37: in function <data/upgrade_system_core.lua:6>
Nope. If anyone is willing to, go ahead, I won't.any chance to update to tfs 1.4 ?
target: { ["actionid"] = 0,["type"] = 0,["uid"] = 0,["itemid"] = 0,}
Lua Script Error: [Action Interface]
data/actions/scripts/upgrade_system_actions.lua:onUse
data/upgrade_system_core.lua:27: attempt to call method 'isItem' (a nil value)
stack traceback:
[C]: in function 'isItem'
data/upgrade_system_core.lua:27: in function <data/upgrade_system_core.lua:20>
^CSIGINT re
what is left to do? I might do itNope. If anyone is willing to, go ahead, I won't.
Left to do? Nothing. What can be done is moving this to revscriptsys and adjusting installation process (EventCallback support).what is left to do? I might do it
Is there a way we can set a bounty on this. Im willing to reward anyone who updates this. Im also willing to help.Left to do? Nothing. What can be done is moving this to revscriptsys and adjusting installation process (EventCallback support).
If anyone is interested in doing so, PM me and I'll add them to GitHub repo.
Ill test today, thanks!!
Release Update v3.0.0 · Oen44/TFS-Upgrade-System
Updated to support and use RevScript and EventCallbacks for TFS 1.4+ Wiki updated Old version available on branch pre-1.4github.com
Not tested btw
This works on any TFS 1.4. It won't work with items created before this script was added.Are there any chances for the script to run on tfs 1.4 8.6 downgrade after change upgrade crystals to available items in 8.6?
Lua Script Error: [Scripts Interface]
/home/ots/data/scripts/core.lua
luaDebugPrint(). [Warning - EventCallback::register] is need to set up a callbac k before register.
stack traceback:
[C]: in function 'debugPrint'
/home/ots/data/scripts/lib/event_callbacks.lua:97: in function 'register '
/home/ots/data/scripts/core.lua:1365: in main chunk
[C]: in function 'reload'
data/talkactions/scripts/reload.lua:81: in function <data/talkactions/sc ripts/reload.lua:59>
Lua Script Error: [Scripts Interface]
/home/ots/data/scripts/core.lua
luaDebugPrint(). [Warning - EventCallback::register] is need to set up a callbac k before register.
stack traceback:
[C]: in function 'debugPrint'
/home/ots/data/scripts/lib/event_callbacks.lua:97: in function 'register '
/home/ots/data/scripts/core.lua:1366: in main chunk
[C]: in function 'reload'
data/talkactions/scripts/reload.lua:81: in function <data/talkactions/sc ripts/reload.lua:59>
Lua Script Error: [Scripts Interface]
/home/ots/data/scripts/core.lua
luaDebugPrint(). [Warning - EventCallback::register] is need to set up a callbac k before register.
stack traceback:
[C]: in function 'debugPrint'
/home/ots/data/scripts/lib/event_callbacks.lua:97: in function 'register '
/home/ots/data/scripts/core.lua:1367: in main chunk
[C]: in function 'reload'
data/talkactions/scripts/reload.lua:81: in function <data/talkactions/sc ripts/reload.lua:59>
Lua Script Error: [Scripts Interface]
/home/ots/data/scripts/core.lua
luaDebugPrint(). [Warning - EventCallback::register] is need to set up a callbac k before register.
stack traceback:
[C]: in function 'debugPrint'
/home/ots/data/scripts/lib/event_callbacks.lua:97: in function 'register '
/home/ots/data/scripts/core.lua:1368: in main chunk
[C]: in function 'reload'
data/talkactions/scripts/reload.lua:81: in function <data/talkactions/scripts/reload.lua:59> ripts/reload.lua:59>
Ah yes, the good old stupid loading order of RevScript files. Jesus christ, I actually want to commit seppuku, can't count how many times I've run into such issues.
What would you recommend to do? This is how i added your script to the latest otservbr server:Ah yes, the good old stupid loading order of RevScript files. Jesus christ, I actually want to commit seppuku, can't count how many times I've run into such issues.
You are loading these scripts before EventCallback lib script is loaded.
Is it throwing same error now?What would you recommend to do? This is how i added your script to the latest otservbr server:
View attachment 63576
OTServBR doesn't have EventCallback. I also don't support it so, sorry, won't help you.Same thing, i did a cross check on all my server files and i cant locate anywhere else that includes the
"EventCallback lib script" you said.
View attachment 63577
data/scripts/lib
all files of type lib
should be defined here