-
Content Count
110 -
Joined
-
Last visited
-
Days Won
5
-
int item_unequip_selected(lua_State* L) { LPCHARACTER ch = CQuestManager::instance().GetCurrentCharacterPtr(); if (!lua_isnumber(L, 1)) { sys_err("Argument error."); lua_pushboolean(L, false); return 1; } BYTE bCell = lua_tonumber(L, 1); //bcell == BYTE, iCell == INT, dCell == DWORD .... if (bCell < 0 || bCell >= WEAR_MAX_NUM) { sys_err("Invalid wear position %d. Index out of range(0..%d)", bCell, WEAR_MAX_NUM); lua_pushboolean(L, false); return 1; } //LPITEM item = CQuestManager::instance().GetCurrentItem(); //current item in used LPITEM
-
Limit to map: void CHARACTER::fishing() { if (m_pkFishingEvent) { fishing_take(); return; } if (GetMapIndex() != YOURMAPINDEX) { ChatPacket(CHAT_TYPE_INFO, "You can't fish here."); return; } ...
-
mysql player.skill_proto->szDurationPoly
-
You can make a new lua function in source then use it. int item_is_equipped(lua_State* L) { CQuestManager& q = CQuestManager::instance(); LPITEM item = q.GetCurrentItem(); if (item) lua_pushboolean(L, item->IsEquipped()); else lua_pushboolean(L, false); return 1; }
-
How many GBs of RAM did you assigned to the machine?
-
item_attribute.cpp, just comment the first part like this:
- 1 reply
-
- 1
-
-
Do you mean that magic att grade bonus from items isn't working? I've fixed it like this: It depends on you, how much damage you want to get from this bonus.
-
Are you retarded or what?
-
What do you mean by auto trade?
-
char.cpp void CHARACTER::fishing() after: if (m_pkFishingEvent) { fishing_take(); return; } add: if (GetMapIndex() != 123) { ChatPacket(CHAT_TYPE_INFO, "You can't do this here."); return; }
-
Paste your uitooltip.py here.
-
Box must have ITEM_TREASURE_BOX type and the key's (ITEM_TREASURE_KEY) value0 must be the same as the box's value0.
- 1 reply
-
- 1
-
-
open InsertItem() takes exactly 3 positional arguments (5 given)
Den replied to avertuss's question in Questions & Answers
Is that everything that you've got in syserr? -
There is a problem with this fix. I didn't notice that if you die while being polymorphed and click restart here, you will be still polymorphed. I'm working on it, I'm very sorry for the mistake.
-
Can you show the whole table I mentioned above?