Zero charge turn-ins
Is there a trick to getting item_lib.check_turn_in to accept an item with zero charges? I have the latest items.lua but zero charge items are not recognized.
|
Yeah, there is something off on the lua item module. Going back to the Perl script worked wonderfully on zero charge items.
|
I don't know lua or the modules themselves that well...
Code:
function items.check_turn_in(trade, trade_check) There is a 'default' constructor declared for ItemInst in lua: https://github.com/EQEmu/Server/blob...minst.cpp#L269 ..but, there doesn't appear to be a definition: https://github.com/EQEmu/Server/blob...eminst.cpp#L11 That said, the marked line should probably be: Code:
trade_return["item" .. j] = ItemInst(inst:GetID()); Code:
trade_return["item" .. j] = inst; I honestly just don't know since I don't code these scripts... |
No worry man. Hell I still prefer using Perl with the Emu over Lua.
|
thank you sir
|
I've tried those changes and no luck. Im trying to run the quests from al kabor but they are in lua. Any chance lua hand ins will get fixed?
|
All times are GMT -4. The time now is 02:00 AM. |
Powered by vBulletin®, Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.