Jump to content

Traktorzysta

Inactive Member
  • Posts

    40
  • Joined

  • Last visited

  • Feedback

    0%

Everything posted by Traktorzysta

  1. I can't check this in 100% because i can't fix problem with show yang >2,14kkk in client. When i login to game all is good but when i add/sell/buy with yang client show 0 yang..
  2. Tutorial from metin2hungary.net:(for me server side is good) 1 post: 2 post:
  3. CPythonItem::LoadItemTable: invalid item_proto[locale/en/item_proto] STRIDE[156] != sizeof(SItemTable) Someone fix this? FIX: change only userinterface->gamelib not source/gamelib/itemdata.h ITEM_SOCKET_SLOT_MAX_NUM this is not all, must change in this function: void CClientManager::RESULT_SAFEBOX_LOAD(CPeer * pkPeer, SQLMsg * msg) snprintf(szQuery, sizeof(szQuery), "SELECT id, window+0, pos, count, vnum, socket0, socket1, socket2, socket3, " "attrtype0, attrvalue0, " "attrtype1, attrvalue1, " "attrtype2, attrvalue2, " "attrtype3, attrvalue3, " "attrtype4, attrvalue4, " "attrtype5, attrvalue5, " "attrtype6, attrvalue6, " "attrtype7, attrvalue7 " "FROM item%s WHERE owner_id=%d AND window='%s'", GetTablePostfix(), pi->account_id, pi->ip[0] == 0 ? "SAFEBOX" : "MALL"); attr7 is optional i show only where must change. Add: DWORD dwSocket3 = 0; under this: DWORD dwSocket2 = 0; search and change this: snprintf(szQuery, sizeof(szQuery), "INSERT INTO item%s (id, owner_id, window, pos, vnum, count, socket0, socket1, socket2, socket3) " "VALUES(%u, %u, '%s', %d, %u, %u, %u, %u, %u, %u)", GetTablePostfix(), GainItemID(), pi->account_id, pi->ip[0] == 0 ? "SAFEBOX" : "MALL", iPos, pItemAward->dwVnum, pItemAward->dwCount, pItemAward->dwSocket0, pItemAward->dwSocket1, dwSocket2, dwSocket3); and this: item.id = pmsg->Get()->uiInsertID; item.window = pi->ip[0] == 0 ? SAFEBOX : MALL, item.pos = iPos; item.count = pItemAward->dwCount; item.vnum = pItemAward->dwVnum; item.alSockets[0] = pItemAward->dwSocket0; item.alSockets[1] = pItemAward->dwSocket1; item.alSockets[2] = dwSocket2; item.alSockets[3] = dwSocket3; this:(attr7 optional) snprintf(szQuery, sizeof(szQuery), "REPLACE INTO item%s (id, owner_id, window, pos, count, vnum, socket0, socket1, socket2, socket3, " "attrtype0, attrvalue0, " "attrtype1, attrvalue1, " "attrtype2, attrvalue2, " "attrtype3, attrvalue3, " "attrtype4, attrvalue4, " "attrtype5, attrvalue5, " "attrtype6, attrvalue6, " "attrtype7, attrvalue7) " "VALUES(%u, %u, %d, %d, %u, %u, %ld, %ld, %ld, %d, %d, %d, %d, %d, %d, %d, %d, %d, %d, %d, %d, %d, %d, %d, %d, %d, %d)", GetTablePostfix(), p->id, p->owner, p->window, p->pos, p->count, p->vnum, p->alSockets[0], p->alSockets[1], p->alSockets[2], p->alSockets[3], p->aAttr[0].bType, p->aAttr[0].sValue, p->aAttr[1].bType, p->aAttr[1].sValue, p->aAttr[2].bType, p->aAttr[2].sValue, p->aAttr[3].bType, p->aAttr[3].sValue, p->aAttr[4].bType, p->aAttr[4].sValue, p->aAttr[5].bType, p->aAttr[5].sValue, p->aAttr[6].bType, p->aAttr[6].sValue, p->aAttr[7].bType, p->aAttr[7].sValue);
  4. syserr(every): SYSERR: Feb 5 23:57:14 :: load: ANI directory = (null) Command line: sem_wait: Invalid_argument sem_wait: Invalid_argument sem_wait: Invalid_argument sem_wait: Invalid_argument sem_wait: Invalid_argument sem_wait: Invalid_argument sem_wait: Invalid_argument sem_wait: Invalid_argument sem_wait: Invalid_argument sem_wait: Invalid_argument etc.
  5. Where add this: ULL = unsigned long long in pythonplayermodule
  6. Awesome, better than original ;d
  7. quest block_horse begin state start begin when 50051.use or 50052.use or 50053.use with pc.get_map_index() == 26 or pc.get_map_index() == 114 or pc.get_map_index() == 121 or pc.get_map_index() == 125 or pc.get_map_index() == 110 or pc.get_map_index() == 111 begin syschat("Sorry, can't call the horse in this map") end when login with pc.get_map_index() == 26 or pc.get_map_index() == 114 or pc.get_map_index() == 121 or pc.get_map_index() == 125 or pc.get_map_index() == 110 or pc.get_map_index() == 111 begin if pc.is_mount() then pc.unmount() horse.unsummon() syschat("Sorry, can't have the horse or another mount in this map") else horse.unsummon() syschat("Sorry, can't have the horse or another mount in this map") end end end end
  8. Which one scroll is blacksmith handbook CHUKBOK_SCROLL = 0, HYUNIRON_CHN = 1, // Áß±ążˇĽ­¸¸ »çżë YONGSIN_SCROLL = 2, MUSIN_SCROLL = 3, YAGONG_SCROLL = 4, MEMO_SCROLL = 5, BDRAGON_SCROLL = 6, Or that a scroll what id and where it is declared, what file?
  9. if (pkItemScroll->GetValue(0) == YONGSIN_SCROLL) { if (LC_IsYMIR() == true || LC_IsKorea() == true) success_prob = hyuniron_prob_euckr[MINMAX(0, item->GetRefineLevel(), 8)]; else success_prob = hyuniron_prob[MINMAX(0, item->GetRefineLevel(), 8)]; } for if (pkItemScroll->GetValue(0) == YONGSIN_SCROLL) { success_prob = MIN(100,success_prob+10); } ? and how to change YONGSIN_SCROLL to normal id ? ----------------------------------------------------------- const char hyuniron_prob[9] = { 100, 75, 65, 55, 45, 40, 35, 25, 20 }; const char hyuniron_prob_euckr[9] = { 100, 75, 65, 55, 45, 40, 35, 30, 25 }; const char yagong_prob[9] = { 100, 100, 90, 80, 70, 60, 50, 30, 20 }; const char yagong_prob_euckr[9] = { 100, 100, 90, 80, 70, 60, 50, 40, 30 }; if (pkItemScroll->GetValue(0) == YONGSIN_SCROLL) { if (LC_IsYMIR() == true || LC_IsKorea() == true) success_prob = hyuniron_prob_euckr[MINMAX(0, item->GetRefineLevel(), 8)]; else success_prob = hyuniron_prob[MINMAX(0, item->GetRefineLevel(), 8)]; } else if (pkItemScroll->GetValue(0) == YAGONG_SCROLL) { if (LC_IsYMIR() == true || LC_IsKorea() == true) success_prob = yagong_prob_euckr[MINMAX(0, item->GetRefineLevel(), 8)]; else success_prob = yagong_prob[MINMAX(0, item->GetRefineLevel(), 8)]; } else Thats mean the yongsin give +5%, yagong +5%?
  10. I have this problem with compile binary 16>fatal error C1900: Il mismatch between 'P1' version '20100826' and 'P2' version '20080116' 16>LINK : fatal error LNK1257: code generation failed I using vs 2008 with sp1 and 2010 with sp1 toolset v90
  11. 0525 15:34:00736 :: ui 0525 15:34:00736 :: :2825: 0525 15:34:00736 :: RuntimeWarning 0525 15:34:00736 :: : 0525 15:34:00736 :: tp_compare didn't return -1 or -2 for exception 0525 15:34:00736 :: 0525 15:34:00740 :: introLogin.py(line:499) __LoadScript ui.py(line:2818) LoadScriptFile ui.py(line:3008) LoadChildren ui.py(line:3008) LoadChildren ui.py(line:2825) LoadChildren LoginWindow.__LoadScript.LoadObject - <type 'exceptions.OverflowError'>:Python int too large to convert to C long 0525 15:34:00740 :: ============================================================================================================ 0525 15:34:00740 :: Abort!!!! 0525 15:34:00747 :: ============================================================================================================ 0525 15:34:00747 :: Abort!!!! this not help: system.py def StringColorToInt(colorstring): import grp colorstring = colorstring.strip() if len(colorstring) != 8: raise ValueError, "input #%s is not in #AARRGGBB format" % colorstring a, r, g, b = colorstring[:2], colorstring[2:4], colorstring[4:6],colorstring[6:8] a, r, g, b = [int(n, 16) for n in (a, r, g, ] return grp.GenerateColor(float(r) / 255.0, float(g) / 255.0, float( / 255.0, float(a) / 255.0) __builtin__.CTOA = StringColorToInt in debug work fine
×
×
  • 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.