Jump to content

Apofis

Inactive Member
  • Posts

    3
  • Joined

  • Last visited

  • Feedback

    0%

About Apofis

Informations

  • Gender
    Male

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

Apofis's Achievements

Newbie

Newbie (1/16)

  • Reacting Well
  • First Post
  • Week One Done
  • One Month Later
  • One Year In

Recent Badges

0

Reputation

  1. Who can help me fix this error? thank you in advance: Who can help me fix this error? thank you in advance: 1128 00:07:48238 :: IGSHOP_ADDTOTEMPSLOT 2 27994 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1128 00:07:48239 :: Traceback (most recent call last): 1128 00:07:48239 :: File "ui.py", line 1673, in OnOverInItem 1128 00:07:48239 :: File "ui.py", line 87, in __call__ 1128 00:07:48239 :: File "ui.py", line 78, in __call__ 1128 00:07:48239 :: File "igshop.py", line 383, in OverInItem 1128 00:07:48239 :: File "uiToolTip.py", line 1106, in AddItemData 1128 00:07:48239 :: File "uiToolTip.py", line 1501, in __AdjustMaxWidth 1128 00:07:48240 :: File "uiToolTip.py", line 1513, in __AdjustAttrMaxWidth 1128 00:07:48240 :: IndexError 1128 00:07:48240 :: : 1128 00:07:48240 :: list index out of range 1128 00:07:48240 ::
  2. the fix for LUA error....> questlua_item.cpp: add: int item_remove(lua_State* L) { CQuestManager& q = CQuestManager::instance(); LPITEM item = q.GetCurrentItem(); if (item != NULL) { if (q.GetCurrentCharacterPtr() == item->GetOwner()) { ITEM_MANAGER::instance().RemoveItem(item); } else { sys_err("Tried to remove invalid item %p", get_pointer(item)); } q.ClearCurrentItem(); } return 0; } and to the end of fille in >void RegisterITEMFunctionTable(): { "remove", item_remove },
  3. 1128 00:07:48238 :: IGSHOP_ADDTOTEMPSLOT 2 27994 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1128 00:07:48239 :: Traceback (most recent call last): 1128 00:07:48239 :: File "ui.py", line 1673, in OnOverInItem 1128 00:07:48239 :: File "ui.py", line 87, in __call__ 1128 00:07:48239 :: File "ui.py", line 78, in __call__ 1128 00:07:48239 :: File "igshop.py", line 383, in OverInItem 1128 00:07:48239 :: File "uiToolTip.py", line 1106, in AddItemData 1128 00:07:48239 :: File "uiToolTip.py", line 1501, in __AdjustMaxWidth 1128 00:07:48240 :: File "uiToolTip.py", line 1513, in __AdjustAttrMaxWidth 1128 00:07:48240 :: IndexError 1128 00:07:48240 :: : 1128 00:07:48240 :: list index out of range 1128 00:07:48240 :: what i have to change in uitooltip.py....? because i cant sell any item... > RunState: LUA_ERROR: locale/romania/quest/object/state/mb_igshop:606: attempt to call field `remove' (a nil value) >> if pc . count_item ( itemVnum ) ~= pc . getqf ( "itemcount" ) then syschat ( loadLang ( 36 ) ) return end if item . get_cell ( ) ~= cell then syschat ( loadLang ( 36 ) ) return end for i = 1 , itemCount begin item . select_cell ( cell ) item . remove ( ) --------- error end
×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.