Hi im trying to fix either a quest reward as u click on a chest u get premium points or an item that u get from the chest, doesnt really matter tho i prefer the chest use -> points, tho i cant get it to work ive tried all the scripts on the forum, tho im using 0.2.15 mystic spirit, please anyone that can help me with the script i tried this last time
http://otland.net/f81/onuse-item-add-x-points-170538/
please guys help me out
- - - Updated - - -
tried this
http://otland.net/f132/use-item-add-account-1-premium-point-158563/
this error is probably easy to fix, donno how tho
http://otland.net/f81/onuse-item-add-x-points-170538/
Lua:
[31/05/2013 08:17:49] Lua Script Error: [Action Interface]
[31/05/2013 08:17:49] data/actions/scripts/other/addpoints.lua:onUse
[31/05/2013 08:17:49] data/actions/scripts/other/addpoints.lua:10: attempt to call global 'doAccountAddPoints' (a nil value)
[31/05/2013 08:17:49] stack traceback:
[31/05/2013 08:17:49] [C]: in function 'doAccountAddPoints'
[31/05/2013 08:17:49] data/actions/scripts/other/addpoints.lua:10: in function <data/actions/scripts/other/addpoints.lua:7>
please guys help me out
- - - Updated - - -
tried this
http://otland.net/f132/use-item-add-account-1-premium-point-158563/
Lua:
[31/05/2013 10:39:30] Lua Script Error: [Action Interface]
[31/05/2013 10:39:30] data/actions/scripts/other/points.lua:onUse
[31/05/2013 10:39:30] data/actions/scripts/other/points.lua:5: attempt to call global 'getPlayerAccountId' (a nil value)
[31/05/2013 10:39:30] stack traceback:
[31/05/2013 10:39:30] [C]: in function 'getPlayerAccountId'
[31/05/2013 10:39:30] data/actions/scripts/other/points.lua:5: in function <data/actions/scripts/other/points.lua:3>
this error is probably easy to fix, donno how tho
Last edited: