100% installation step missed.soo i have no errors all crystals works etc but no stats are applying any idea what iv done wrong here.
im using OTServBr the only thing that i can see that is different is100% installation step missed.
ind Player:onMoveItem.
Change return true from last line to
return us_onMoveItem(self, item, fromPosition, toPosition)
function Player:onMoveItem(item, count, fromPosition, toPosition, fromCylinder, toCylinder)
-- Exercise Weapons
if isInArray(exercise_ids,item.itemid) then
self:sendCancelMessage('You cannot move this item outside this container.')
return false
end
Just do what is in the installation, replace lastim using OTServBr the only thing that i can see that is different is
in my player lua itsCode:ind Player:onMoveItem. Change return true from last line to return us_onMoveItem(self, item, fromPosition, toPosition)
or maybe im wasting time and it wont work on OTServBr :sCode:function Player:onMoveItem(item, count, fromPosition, toPosition, fromCylinder, toCylinder) -- Exercise Weapons if isInArray(exercise_ids,item.itemid) then self:sendCancelMessage('You cannot move this item outside this container.') return false end
return true
(by last I mean at the end of a function).Follow installation instructions again.When i logout and log in no stats included
Follow installation instructions again.
Lua Script Error: [Action Interface]
data/actions/scripts/upgrade_system_actions.lua:onUse
data/upgrade_system_core.lua:989: bad argument #2 to 'random' (interval is empty)
stack traceback:
[C]: in ?
[C]: in function 'random'
data/upgrade_system_core.lua:989: in function 'rollAttribute'
data/upgrade_system_core.lua:69: in function <data/upgrade_system_core.lua:6>
(...tail calls...)
Then don't. Items that aren't from monster loot won't work with this system. You will have to edit your scripts (quests, tasks, NPCs that sell items, commands etc.) and include methods from this script.Code:Lua Script Error: [Action Interface] data/actions/scripts/upgrade_system_actions.lua:onUse data/upgrade_system_core.lua:989: bad argument #2 to 'random' (interval is empty) stack traceback: [C]: in ? [C]: in function 'random' data/upgrade_system_core.lua:989: in function 'rollAttribute' data/upgrade_system_core.lua:69: in function <data/upgrade_system_core.lua:6> (...tail calls...)
When i use Enchancement Crystal on Item create GM. Is common item.
So when you right-click on your scroll, it's showing crosshair, right? Your scroll item is flagged as "usable"?everything working fine for me, but when I crosshairs the scroll on the items it says "you cannot use this object" but everything seems fine in actions
no errors in console
actions.xml
could u please give me a hand with this?
With a very small edit, yeah.Would this system be possible to use with monsters that had levels, with different hp, exp?
Yeah it is showing the crosshair, tried with various items cuz it wasnt doing anything.So when you right-click on your scroll, it's showing crosshair, right? Your scroll item is flagged as "usable"?
Lua Script Error: [Action Interface]
data/actions/scripts/upgrade_system_actions.lua:onUse
data/upgrade_system_core.lua:10: attempt to call method 'isItem' (a nil value)
stack traceback:
[C]: in function 'isItem'
data/upgrade_system_core.lua:10: in function <data/upgrade_system_core.lua:9>
(...tail calls...)
Thats because the code for npc and store doesn't use the functions built into the upgrade system.items purchased from npc and store are coming with level 0
Not a thing. Make sure you followed installation instructions properly.Great system but when you relog you need to requip all your items to get their attributes so can you fix it please?
well i installed everything as you said but it does not add skills (like magic level,hp,mana,dist skills,etc) after loginNot a thing. Make sure you followed installation instructions properly.