Jump to content

avertuss

Inactive Member
  • Posts

    480
  • Joined

  • Last visited

  • Feedback

    0%

Everything posted by avertuss

  1. Hi, i install offilne shop's and i have problem. If i open shop this shop is empty. In mysql column vnum is empty. When i add to this column item id i can see this in shop. And second bug: if i open shop give me random gold value. Ty for help.
  2. Yes i know, but i don't know how to edit this bonus. For example this: case PARTY_ROLE_TANKER: { int iBonus = (int) (50 + 1450 * k); if (ch->GetPoint(POINT_PARTY_TANKER_BONUS) != iBonus) { ch->PointChange(POINT_PARTY_TANKER_BONUS, iBonus - ch->GetPoint(POINT_PARTY_TANKER_BONUS)); ch->ComputePoints(); } } break; How can i edit this bonus to damage resistance?
  3. Hi, how to edit this bonus? SetPoint(POINT_PARTY_ATTACKER_BONUS, lAttackerBonus); SetPoint(POINT_PARTY_TANKER_BONUS, lTankerBonus); SetPoint(POINT_PARTY_BUFFER_BONUS, lBufferBonus); SetPoint(POINT_PARTY_SKILL_MASTER_BONUS, lSkillMasterBonus); SetPoint(POINT_PARTY_HASTE_BONUS, lHasteBonus); SetPoint(POINT_PARTY_DEFENDER_BONUS, lDefenderBonus);
  4. The online shop is a bug who changes the time until the end of the item. Eg. In the Ring Experience is one minute, we go to the store, close shop and again the item is full time. Someone has a bug fix?
  5. Hi, when i get on a mount using ctrl+g my character is thrown, but not always. Syserr: Sync: cannot find tree at -2147483648 -2147483648. How i can fix it?
  6. Hi, i have problem with deleting character syserr SYSERR: Feb 19 15:24:24 :: DirectQuery: AsyncSQL::DirectQuery : mysql_query error: Column count doesn't match value count at row 1 query: INSERT INTO player_deleted SELECT * FROM player WHERE id=2 PLAYER_DELETE_LEVEL_LIMIT = 250 PLAYER_DELETE_CHECK_SIMPLE = 1
  7. Hi, It is a function that creates Items of bonuses?
  8. Hi, i have function int pc_kostium(lua_State* L) { LPCHARACTER ch = CQuestManager::instance().GetCurrentCharacterPtr(); if(!lua_isnumber(L, 1)) return 0; int part_value = 0; bool enable = (bool)lua_tonumber(L, 1); if(enable) { const CItem* pArmor = ch->GetWear(WEAR_BODY); part_value = (NULL != pArmor) ? pArmor->GetVnum() : ch->GetOriginalPart(PART_MAIN); } else { const CItem* pArmor = ch->GetWear(WEAR_COSTUME_BODY); part_value = (NULL != pArmor) ? pArmor->GetVnum() : ch->GetOriginalPart(PART_MAIN); } ch->SetCostumeVisible(!enable); ch->SetPart(PART_MAIN, part_value); ch->UpdatePacket(); return 0; } It is work that changes the appearance of characters, but something does not work. Where is the mistake?
  9. Hey. Is criticism hands, breakthrough, attack, defense god dragons include the case USE_AFFECT: in char_item? They can be found in any other case
  10. @enzi Syserr clear, syslog Feb 18 15:38:13 :: Packet Analyze [Header 11][bufferLeft 5] Feb 18 15:38:13 :: CInputMain::Analyze() ==> Header [11] Feb 18 15:38:13 :: Elo: USE_ITEM Pieczęć Wilka Wojennego (inven 1, cell: 28) Feb 18 15:38:13 :: USE_ITEM Pieczęć Wilka Wojennego, Inven 0, Cell 65535, ItemType 28, SubType 3 SYSERR: Feb 18 15:38:13 :: locale_find: LOCALE_ERROR: "?? ??? ??? ??? ? ?? ??? ??? ? ????."; Feb 18 15:38:16 :: Packet Analyze [Header 11][bufferLeft 5] Feb 18 15:38:16 :: CInputMain::Analyze() ==> Header [11] Feb 18 15:38:16 :: Elo: USE_ITEM Pieczęć Dzika Wojennego (inven 1, cell: 202) Feb 18 15:38:16 :: USE_ITEM Pieczęć Dzika Wojennego, Inven 0, Cell 65535, ItemType 28, SubType 3 Feb 18 15:38:16 :: Packet Analyze [Header 11][bufferLeft 5] Feb 18 15:38:16 :: CInputMain::Analyze() ==> Header [11] Feb 18 15:38:18 :: Packet Analyze [Header 11][bufferLeft 5] Feb 18 15:38:18 :: CInputMain::Analyze() ==> Header [11] Feb 18 15:38:18 :: Elo: USE_ITEM Pieczęć Wilka Wojennego (inven 1, cell: 28) Feb 18 15:38:18 :: USE_ITEM Pieczęć Wilka Wojennego, Inven 0, Cell 65535, ItemType 28, SubType 3
  11. @enzi @Mr.Slime My error: [Hidden Content] I checked all the files several times and everything I have. I have no idea what is wrong. [Hidden Content] [Hidden Content]
  12. But I need a function that spawns item on which coordinates with the owner.
  13. Idk. I use this in quest like this game.drop_map(19, 330926, 759282)
  14. Hello, i have function int game_drop_map(lua_State* L) { LPCHARACTER ch = CQuestManager::instance().GetCurrentCharacterPtr(); LPITEM item = NULL; PIXEL_POSITION pos; long kordx = 0; long kordy = 0; // Id Itemu if (lua_isnumber(L, 1)) { item = ITEM_MANAGER::instance().CreateItem((DWORD)lua_tonumber(L, 1)); } //Kord x if (lua_isnumber(L, 2)) { kordx = ((DWORD)lua_tonumber(L, 2)); } // kord y if (lua_isnumber(L, 3)) { kordy = ((DWORD)lua_tonumber(L, 3)); } pos.x = kordx; pos.y = kordy; item->AddToGround(ch->GetMapIndex(), pos); item->StartDestroyEvent(); item->SetOwnership(ch); return 0; } item is on ground, but without ownership. Can you repair this function?
  15. My error: [Hidden Content] I checked all the files several times and everything I have. I have no idea what is wrong. [Hidden Content] [Hidden Content] I use system from this forum.
  16. My error: [Hidden Content] I checked all the files several times and everything I have. I have no idea what is wrong. [Hidden Content] [Hidden Content]
  17. I have problem. GIF [Hidden Content] If i have sash system system working fine, now unmounting after few second. I checked all filles 3x and they it's ok.
×
×
  • 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.