Jump to content
×
×
  • Create New...

narcisxb

Member
  • Posts

    34
  • Joined

  • Last visited

1 Follower

About narcisxb

Recent Profile Visitors

94 profile views

narcisxb's Achievements

Enthusiast

Enthusiast (6/14)

  • Dedicated Rare
  • Collaborator
  • Reacting Well
  • First Post
  • One Month Later

Recent Badges

8

Reputation

  1. it s missing three boxes. Mainly ice fox (9 tails) box.
  2. I know how to edit a quest. But I need help modifying this one.
  3. Hi guys, could someone tell what do I need to modify in DT quest so that I could do it like this: GROUND FLOOR(METIN FLOOR) -> FLOOR 2(DEMON KING) -> FLOOR 3(METIN STONES) -> FLOOR 5(PROUD DEMON KING, BLACKSMITH) -> FLOOR 7(ZIN BONG IN KEY) -> FLOOR 8(REAPER). I just want to skip two boring floors that take way to much time to complete for it to be a fun experience for players. (SEAL FLOOR and MAP FLOOR)
  4. Honest to God, Gamforge/Webzen stuff are nothing compared to these sets! If I were you I d apply for a job there, with this portofolio they would have to be nuts to say no.
  5. I got it to work finally, but no matter what I did you can t use won in shop. You will be able to buy things for normal (pc_shops) without paying wons. It works fine for yang but won won t work. Ex: If I ve got 10 wons and I buy something worth 1 won from a shop it won t take 1 won from me. or If something is sold for 10 wons and I only got 1 won I can buy the item from the shop and IT WON T TAKE MY 1 WON at all let alone tell me that I m 9 wons short of the selling price. I saw this problem above - and OP said it solved it - but seems that it is not solved. This is a MAJOR BUG. Another issue: after I drop some Wons they won t show up on the ground like yangs. Everything else seems to work, exchange quest, trades, they seem to go fine. Any takes on these issues? Here is my shop.cpp: #include "stdafx.h" #include "../../libgame/include/grid.h" #include "constants.h" #include "utils.h" #include "config.h" #include "shop.h" #include "desc.h" #include "desc_manager.h" #include "char.h" #include "char_manager.h" #include "item.h" #include "item_manager.h" #include "buffer_manager.h" #include "packet.h" #include "log.h" #include "db.h" #include "questmanager.h" #include "monarch.h" #include "mob_manager.h" #include "locale_service.h" #include "../../common/service.h" /* ------------------------------------------------------------------------------------ */ CShop::CShop() : m_dwVnum(0), m_dwNPCVnum(0), m_pkPC(NULL) { m_pGrid = M2_NEW CGrid(5, 9); } CShop::~CShop() { TPacketGCShop pack; pack.header = HEADER_GC_SHOP; pack.subheader = SHOP_SUBHEADER_GC_END; pack.size = sizeof(TPacketGCShop); Broadcast(&pack, sizeof(pack)); GuestMapType::iterator it; it = m_map_guest.begin(); while (it != m_map_guest.end()) { LPCHARACTER ch = it->first; ch->SetShop(NULL); ++it; } M2_DELETE(m_pGrid); } void CShop::SetPCShop(LPCHARACTER ch) { m_pkPC = ch; } #ifdef ENABLE_PRIVATE_SHOP_AUTO_CLOSE bool CShop::IsSoldOut() const { for (size_t i = 0; i < m_itemVector.size() && i < SHOP_HOST_ITEM_MAX_NUM; ++i) { const SHOP_ITEM& r_item = m_itemVector[i]; if (r_item.pkItem) return false; } return true; } #endif bool CShop::Create(DWORD dwVnum, DWORD dwNPCVnum, TShopItemTable * pTable) { /* if (NULL == CMobManager::instance().Get(dwNPCVnum)) { sys_err("No such a npc by vnum %d", dwNPCVnum); return false; } */ sys_log(0, "SHOP #%d (Shopkeeper %d)", dwVnum, dwNPCVnum); m_dwVnum = dwVnum; m_dwNPCVnum = dwNPCVnum; BYTE bItemCount; for (bItemCount = 0; bItemCount < SHOP_HOST_ITEM_MAX_NUM; ++bItemCount) if (0 == (pTable + bItemCount)->vnum) break; SetShopItems(pTable, bItemCount); return true; } void CShop::SetShopItems(TShopItemTable * pTable, BYTE bItemCount) { if (bItemCount > SHOP_HOST_ITEM_MAX_NUM) return; m_pGrid->Clear(); m_itemVector.resize(SHOP_HOST_ITEM_MAX_NUM); memset(&m_itemVector[0], 0, sizeof(SHOP_ITEM) * m_itemVector.size()); for (int i = 0; i < bItemCount; ++i) { LPITEM pkItem = NULL; const TItemTable * item_table; if (m_pkPC) { pkItem = m_pkPC->GetItem(pTable->pos); if (!pkItem) { sys_err("cannot find item on pos (%d, %d) (name: %s)", pTable->pos.window_type, pTable->pos.cell, m_pkPC->GetName()); continue; } item_table = pkItem->GetProto(); } else { if (!pTable->vnum) continue; item_table = ITEM_MANAGER::instance().GetTable(pTable->vnum); } if (!item_table) { sys_err("Shop: no item table by item vnum #%d", pTable->vnum); continue; } int iPos; if (IsPCShop()) { sys_log(0, "MyShop: use position %d", pTable->display_pos); iPos = pTable->display_pos; } else iPos = m_pGrid->FindBlank(1, item_table->bSize); if (iPos < 0) { sys_err("not enough shop window"); continue; } if (!m_pGrid->IsEmpty(iPos, 1, item_table->bSize)) { if (IsPCShop()) { sys_err("not empty position for pc shop %s[%d]", m_pkPC->GetName(), m_pkPC->GetPlayerID()); } else { sys_err("not empty position for npc shop"); } continue; } m_pGrid->Put(iPos, 1, item_table->bSize); SHOP_ITEM & item = m_itemVector[iPos]; item.pkItem = pkItem; item.itemid = 0; if (item.pkItem) { item.vnum = pkItem->GetVnum(); item.count = pkItem->GetCount(); // PC ¼¥ÀÇ °æ¿ì ¾ÆÀÌÅÛ °³¼ö´Â ÁøÂ¥ ¾ÆÀÌÅÛÀÇ °³¼ö¿©¾ß ÇÑ´Ù. item.price = pTable->price; // °¡°Ýµµ »ç¿ëÀÚ°¡ Á¤ÇÑ´ë·Î.. item.itemid = pkItem->GetID(); #ifdef ENABLE_CHEQUE_SYSTEM item.cheque = pTable->cheque; #endif } else { item.vnum = pTable->vnum; item.count = pTable->count; if (IS_SET(item_table->dwFlags, ITEM_FLAG_COUNT_PER_1GOLD)) { if (item_table->dwGold == 0) item.price = item.count; else item.price = item.count / item_table->dwGold; } else { item.price = item_table->dwGold * item.count; #ifdef ENABLE_CHEQUE_SYSTEM item.cheque = 0; #endif } } char name[36]; snprintf(name, sizeof(name), "%-20s(#%-5d) (x %d)", item_table->szName, (int) item.vnum, item.count); sys_log(0, "SHOP_ITEM: %-36s PRICE %-5d", name, item.price); ++pTable; } } int CShop::Buy(LPCHARACTER ch, BYTE pos) { if (pos >= m_itemVector.size()) { sys_log(0, "Shop::Buy : invalid position %d : %s", pos, ch->GetName()); return SHOP_SUBHEADER_GC_INVALID_POS; } sys_log(0, "Shop::Buy : name %s pos %d", ch->GetName(), pos); GuestMapType::iterator it = m_map_guest.find(ch); if (it == m_map_guest.end()) return SHOP_SUBHEADER_GC_END; SHOP_ITEM& r_item = m_itemVector[pos]; // if (r_item.price <= 0) if (r_item.price < 0) // Fix { LogManager::instance().HackLog("SHOP_BUY_GOLD_OVERFLOW", ch); return SHOP_SUBHEADER_GC_NOT_ENOUGH_MONEY; } #ifdef ENABLE_SHOP_USE_CHEQUE if (r_item.cheque < 0) { LogManager::instance().HackLog("SHOP_BUY_CHEQUE_OVERFLOW", ch); return SHOP_SUBHEADER_GC_NOT_ENOUGH_CHEQUE; } #endif LPITEM pkSelectedItem = ITEM_MANAGER::instance().Find(r_item.itemid); if (IsPCShop()) { if (!pkSelectedItem) { sys_log(0, "Shop::Buy : Critical: This user seems to be a hacker : invalid pcshop item : BuyerPID:%d SellerPID:%d", ch->GetPlayerID(), m_pkPC->GetPlayerID()); return false; } if ((pkSelectedItem->GetOwner() != m_pkPC)) { sys_log(0, "Shop::Buy : Critical: This user seems to be a hacker : invalid pcshop item : BuyerPID:%d SellerPID:%d", ch->GetPlayerID(), m_pkPC->GetPlayerID()); return false; } } DWORD dwPrice = r_item.price; #ifdef ENABLE_SHOP_USE_CHEQUE DWORD dwCheque = r_item.cheque; #endif if (it->second) // if other empire, price is triple dwPrice *= 3; //#ifdef ENABLE_SHOP_USE_CHEQUE if ((int)dwPrice>0 && (int)dwCheque > 0) // Yang-Cheque { if (ch->GetGold() < (int)dwPrice || ch->GetCheque() < (int)dwCheque) return SHOP_SUBHEADER_GC_NOT_ENOUGH_MONEY_CHEQUE; } else if ((int)dwPrice>0 && (int)dwCheque <= 0) // Yang { if (ch->GetGold() < (int)dwPrice) return SHOP_SUBHEADER_GC_NOT_ENOUGH_MONEY; } else if ((int)dwPrice<=0 && (int)dwCheque > 0) // cheque { if (ch->GetCheque() < (int)dwCheque) return SHOP_SUBHEADER_GC_NOT_ENOUGH_CHEQUE; } /*#else if (ch->GetGold() < (int)dwPrice) { sys_log(1, "Shop::Buy : Not enough money : %s has %d, price %d", ch->GetName(), ch->GetGold(), dwPrice); return SHOP_SUBHEADER_GC_NOT_ENOUGH_MONEY; } #endif*/ LPITEM item; if (m_pkPC) // ÇǾ¾°¡ ¿î¿µÇÏ´Â ¼¥Àº ÇǾ¾°¡ ½ÇÁ¦ ¾ÆÀÌÅÛÀ» °¡Áö°íÀÖ¾î¾ß ÇÑ´Ù. item = r_item.pkItem; else item = ITEM_MANAGER::instance().CreateItem(r_item.vnum, r_item.count); if (!item) return SHOP_SUBHEADER_GC_SOLD_OUT; if (!m_pkPC) { if (quest::CQuestManager::instance().GetEventFlag("hivalue_item_sell") == 0) { //ÃູÀÇ ±¸½½ && ¸¸³âÇÑö À̺¥Æ® if (item->GetVnum() == 70024 || item->GetVnum() == 70035) { return SHOP_SUBHEADER_GC_END; } } } int iEmptyPos; if (item->IsDragonSoul()) { iEmptyPos = ch->GetEmptyDragonSoulInventory(item); } else { iEmptyPos = ch->GetEmptyInventory(item->GetSize()); } if (iEmptyPos < 0) { if (m_pkPC) { sys_log(1, "Shop::Buy at PC Shop : Inventory full : %s size %d", ch->GetName(), item->GetSize()); return SHOP_SUBHEADER_GC_INVENTORY_FULL; } else { sys_log(1, "Shop::Buy : Inventory full : %s size %d", ch->GetName(), item->GetSize()); M2_DESTROY_ITEM(item); return SHOP_SUBHEADER_GC_INVENTORY_FULL; } } ch->PointChange(POINT_GOLD, -dwPrice, false); #ifdef ENABLE_SHOP_USE_CHEQUE ch->PointChange(POINT_CHEQUE, -dwCheque, false); #endif //¼¼±Ý °è»ê DWORD dwTax = 0; int iVal = 0; if (LC_IsYMIR() || LC_IsKorea()) { if (0 < (iVal = quest::CQuestManager::instance().GetEventFlag("trade_tax"))) { if (iVal > 100) iVal = 100; dwTax = dwPrice * iVal / 100; dwPrice = dwPrice - dwTax; } else { iVal = 3; dwTax = dwPrice * iVal / 100; dwPrice = dwPrice - dwTax; } } else { iVal = quest::CQuestManager::instance().GetEventFlag("personal_shop"); if (0 < iVal) { if (iVal > 100) iVal = 100; dwTax = dwPrice * iVal / 100; dwPrice = dwPrice - dwTax; } else { iVal = 0; dwTax = 0; } } // »óÁ¡¿¡¼­ »ì‹š ¼¼±Ý 5% if (!m_pkPC) { CMonarch::instance().SendtoDBAddMoney(dwTax, ch->GetEmpire(), ch); } // ±ºÁÖ ½Ã½ºÅÛ : ¼¼±Ý ¡¼ö if (m_pkPC) { m_pkPC->SyncQuickslot(QUICKSLOT_TYPE_ITEM, item->GetCell(), 255); if (item->GetVnum() == 90008 || item->GetVnum() == 90009) // VCARD { VCardUse(m_pkPC, ch, item); item = NULL; } else { char buf[512]; if (item->GetVnum() >= 80003 && item->GetVnum() <= 80007) { snprintf(buf, sizeof(buf), "%s FROM: %u TO: %u PRICE: %u", item->GetName(), ch->GetPlayerID(), m_pkPC->GetPlayerID(), dwPrice); LogManager::instance().GoldBarLog(ch->GetPlayerID(), item->GetID(), SHOP_BUY, buf); LogManager::instance().GoldBarLog(m_pkPC->GetPlayerID(), item->GetID(), SHOP_SELL, buf); } item->RemoveFromCharacter(); if (item->IsDragonSoul()) item->AddToCharacter(ch, TItemPos(DRAGON_SOUL_INVENTORY, iEmptyPos)); else item->AddToCharacter(ch, TItemPos(INVENTORY, iEmptyPos)); ITEM_MANAGER::instance().FlushDelayedSave(item); snprintf(buf, sizeof(buf), "%s %u(%s) %u %u", item->GetName(), m_pkPC->GetPlayerID(), m_pkPC->GetName(), dwPrice, item->GetCount()); LogManager::instance().ItemLog(ch, item, "SHOP_BUY", buf); snprintf(buf, sizeof(buf), "%s %u(%s) %u %u", item->GetName(), ch->GetPlayerID(), ch->GetName(), dwPrice, item->GetCount()); LogManager::instance().ItemLog(m_pkPC, item, "SHOP_SELL", buf); } r_item.pkItem = NULL; BroadcastUpdateItem(pos); m_pkPC->PointChange(POINT_GOLD, dwPrice, false); #ifdef ENABLE_SHOP_USE_CHEQUE m_pkPC->PointChange(POINT_CHEQUE, dwCheque, false); #endif if (iVal > 0) m_pkPC->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("ÆǸűݾ×ÀÇ %d %% °¡ ¼¼±ÝÀ¸·Î ³ª°¡°ÔµË´Ï´Ù"), iVal); CMonarch::instance().SendtoDBAddMoney(dwTax, m_pkPC->GetEmpire(), m_pkPC); } else { if (item->IsDragonSoul()) item->AddToCharacter(ch, TItemPos(DRAGON_SOUL_INVENTORY, iEmptyPos)); else item->AddToCharacter(ch, TItemPos(INVENTORY, iEmptyPos)); ITEM_MANAGER::instance().FlushDelayedSave(item); LogManager::instance().ItemLog(ch, item, "BUY", item->GetName()); if (item->GetVnum() >= 80003 && item->GetVnum() <= 80007) { LogManager::instance().GoldBarLog(ch->GetPlayerID(), item->GetID(), PERSONAL_SHOP_BUY, ""); } DBManager::instance().SendMoneyLog(MONEY_LOG_SHOP, item->GetVnum(), -dwPrice); } if (item) sys_log(0, "SHOP: BUY: name %s %s(x %d):%u price %u", ch->GetName(), item->GetName(), item->GetCount(), item->GetID(), dwPrice); ch->Save(); #ifdef ENABLE_PRIVATE_SHOP_AUTO_CLOSE if (IsPCShop() && IsSoldOut()) { m_pkPC->CloseMyShop(); m_pkPC->ChatPacket(CHAT_TYPE_NOTICE, "Magazinul tau a fost inchis automat deoarece ai vandut tot din el."); } #endif return (SHOP_SUBHEADER_GC_OK); } bool CShop::AddGuest(LPCHARACTER ch, DWORD owner_vid, bool bOtherEmpire) { if (!ch) return false; if (ch->GetExchange()) return false; if (ch->GetShop()) return false; ch->SetShop(this); m_map_guest.insert(GuestMapType::value_type(ch, bOtherEmpire)); TPacketGCShop pack; pack.header = HEADER_GC_SHOP; pack.subheader = SHOP_SUBHEADER_GC_START; TPacketGCShopStart pack2; memset(&pack2, 0, sizeof(pack2)); pack2.owner_vid = owner_vid; for (DWORD i = 0; i < m_itemVector.size() && i < SHOP_HOST_ITEM_MAX_NUM; ++i) { const SHOP_ITEM & item = m_itemVector[i]; //HIVALUE_ITEM_EVENT if (quest::CQuestManager::instance().GetEventFlag("hivalue_item_sell") == 0) { //ÃູÀÇ ±¸½½ && ¸¸³âÇÑö À̺¥Æ® if (item.vnum == 70024 || item.vnum == 70035) { continue; } } //END_HIVALUE_ITEM_EVENT if (m_pkPC && !item.pkItem) continue; pack2.items[i].vnum = item.vnum; if (bOtherEmpire) // no empire price penalty for pc shop pack2.items[i].price = item.price * 3; else { pack2.items[i].price = item.price; #ifdef ENABLE_CHEQUE_SYSTEM pack2.items[i].cheque = item.cheque; #endif } pack2.items[i].count = item.count; if (item.pkItem) { thecore_memcpy(pack2.items[i].alSockets, item.pkItem->GetSockets(), sizeof(pack2.items[i].alSockets)); thecore_memcpy(pack2.items[i].aAttr, item.pkItem->GetAttributes(), sizeof(pack2.items[i].aAttr)); } } pack.size = sizeof(pack) + sizeof(pack2); ch->GetDesc()->BufferedPacket(&pack, sizeof(TPacketGCShop)); ch->GetDesc()->Packet(&pack2, sizeof(TPacketGCShopStart)); return true; } void CShop::RemoveGuest(LPCHARACTER ch) { if (ch->GetShop() != this) return; m_map_guest.erase(ch); ch->SetShop(NULL); TPacketGCShop pack; pack.header = HEADER_GC_SHOP; pack.subheader = SHOP_SUBHEADER_GC_END; pack.size = sizeof(TPacketGCShop); ch->GetDesc()->Packet(&pack, sizeof(pack)); } void CShop::Broadcast(const void * data, int bytes) { sys_log(1, "Shop::Broadcast %p %d", data, bytes); GuestMapType::iterator it; it = m_map_guest.begin(); while (it != m_map_guest.end()) { LPCHARACTER ch = it->first; if (ch->GetDesc()) ch->GetDesc()->Packet(data, bytes); ++it; } } void CShop::BroadcastUpdateItem(BYTE pos) { TPacketGCShop pack; TPacketGCShopUpdateItem pack2; TEMP_BUFFER buf; pack.header = HEADER_GC_SHOP; pack.subheader = SHOP_SUBHEADER_GC_UPDATE_ITEM; pack.size = sizeof(pack) + sizeof(pack2); pack2.pos = pos; if (m_pkPC && !m_itemVector[pos].pkItem) pack2.item.vnum = 0; else { pack2.item.vnum = m_itemVector[pos].vnum; if (m_itemVector[pos].pkItem) { thecore_memcpy(pack2.item.alSockets, m_itemVector[pos].pkItem->GetSockets(), sizeof(pack2.item.alSockets)); thecore_memcpy(pack2.item.aAttr, m_itemVector[pos].pkItem->GetAttributes(), sizeof(pack2.item.aAttr)); } else { memset(pack2.item.alSockets, 0, sizeof(pack2.item.alSockets)); memset(pack2.item.aAttr, 0, sizeof(pack2.item.aAttr)); } } pack2.item.price = m_itemVector[pos].price; #ifdef ENABLE_CHEQUE_SYSTEM pack2.item.cheque = m_itemVector[pos].cheque; #endif pack2.item.count = m_itemVector[pos].count; buf.write(&pack, sizeof(pack)); buf.write(&pack2, sizeof(pack2)); Broadcast(buf.read_peek(), buf.size()); } int CShop::GetNumberByVnum(DWORD dwVnum) { int itemNumber = 0; for (DWORD i = 0; i < m_itemVector.size() && i < SHOP_HOST_ITEM_MAX_NUM; ++i) { const SHOP_ITEM & item = m_itemVector[i]; if (item.vnum == dwVnum) { itemNumber += item.count; } } return itemNumber; } bool CShop::IsSellingItem(DWORD itemID) { bool isSelling = false; for (DWORD i = 0; i < m_itemVector.size() && i < SHOP_HOST_ITEM_MAX_NUM; ++i) { if (m_itemVector[i].itemid == itemID) { isSelling = true; break; } } return isSelling; } If anyone could help I d be more than gratefull!
  6. Does anyone have new links and a tutorial?
  7. I don t have #include "service.h" in any of those files. Should I add it to every source file I modified? I don t think I have it in game source files either.
  8. Hi! My client just closes after loading bar and syserr gives me this error message: 0921 21:15:02205 :: CMapOutdoor::Load - LoadMonsterAreaInfo ERROR 0921 21:15:32281 :: uiInventory.py(line:316) __LoadWindow ui.py(line:2969) GetChild InventoryWindow.LoadWindow.BindObject - <type 'exceptions.KeyError'>:'Cheque' 0921 21:15:32281 :: ============================================================================================================ 0921 21:15:32281 :: Abort!!!! Help would be very appreciated. Thx!
  9. If I add #ifdef ENABLE_CHEQUE_SYSTEM I get this error when I compile db: ClientManagerPlayer.cpp:165:12: error: no member named 'cheque' in SPlayerTable' ,pkTab-cheque ClietnManagerPlayer.cpp:536:23: erro: no member named 'cheque' in SPlayerTable' str_to_number(pkTab-»cheque, rowăcol++]) If I do it without the #ifdef I don t get the error? Why? I have ENABLE_CHEQUE_SYSTEM defined in my Service.h file in common.
  10. I did and I managed to get the server started but only if I deleted the preprocessor directive (ifdef) from tables.h variables. If I use with directive I m getting a db compile error saying that my variables are missing from SPlayerTable (a struct that contains DWORD cheque). Any ideea?
  11. Can someone explain why would this occur? game99 syslog: Sep 20 19:43:36 :: SYSTEM: connected to server (fd 16, ptr 0x2aee0800) Sep 20 19:43:36 :: P2P Connector opened (host 192.168.x.x) - //x was added by me (narcisxb) Sep 20 19:43:36 :: <shutdown> Starting... Sep 20 19:43:36 :: <shutdown> Destroying CArenaManager... Sep 20 19:43:36 :: ARENA: ArenaMap will be destroy. mapIndex(112) Sep 20 19:43:36 :: ARENA: End Duel PID_A(0) vs PID_B(0) Sep 20 19:43:36 :: ARENA: End Duel PID_A(0) vs PID_B(0) Sep 20 19:43:36 :: ARENA: End Duel PID_A(0) vs PID_B(0) Sep 20 19:43:36 :: ARENA: End Duel PID_A(0) vs PID_B(0) Sep 20 19:43:36 :: <shutdown> Destroying COXEventManager... Sep 20 19:43:36 :: <shutdown> Disabling signal timer... Sep 20 19:43:36 :: <shutdown> Shutting down CHARACTER_MANAGER... Sep 20 19:43:36 :: <shutdown> Shutting down ITEM_MANAGER... Sep 20 19:43:36 :: <shutdown> Flushing db_clientdesc... Sep 20 19:43:36 :: FLUSH START 46 Sep 20 19:43:36 :: FLUSH SUCCESS Sep 20 19:43:36 :: <shutdown> Flushing p2p_manager... Sep 20 19:43:36 :: FLUSH START 4 Sep 20 19:43:36 :: FLUSH FAIL Sep 20 19:43:36 :: <shutdown> Destroying CShopManager... Sep 20 19:43:36 :: <shutdown> Destroying CHARACTER_MANAGER... Sep 20 19:43:36 :: <shutdown> Destroying ITEM_MANAGER... Sep 20 19:43:36 :: <shutdown> Destroying DESC_MANAGER... Sep 20 19:43:36 :: P2P Connector closed (host 192.168.1.4) Sep 20 19:43:36 :: SYSTEM: closing client socket. DESC #16 Sep 20 19:43:36 :: PARTY Disable Sep 20 19:43:36 :: SYSTEM: closing client socket. DESC #11 Sep 20 19:43:36 :: <shutdown> Destroying quest::CQuestManager... Sep 20 19:43:36 :: <shutdown> Destroying building::CManager... Sep 20 19:43:36 :: <shutdown> Flushing TrafficProfiler... Sep 20 19:43:36 :: <shutdown> Canceling ReloadSpamEvent... Sep 20 19:43:36 :: <shutdown> regen_free()... Sep 20 19:43:36 :: <shutdown> Closing sockets... Sep 20 19:43:36 :: <shutdown> fdwatch_delete()... Sep 20 19:43:36 :: <shutdown> event_destroy()... Sep 20 19:43:36 :: <shutdown> CTextFileLoader::DestroySystem()... Sep 20 19:43:36 :: <shutdown> thecore_destroy()... SYSERR: Sep 20 19:43:36 :: pid_deinit: End of pid
  12. ok, but what am I missing? I did everything and my server now won t let me connect to it. It worked just fine before this. Now I get an error when typing in correct account and a ¨user or pwd is wrong¨ when typing in wrong login data. Also why my cheque code won t highlight the right way (it s like cheque_system is not enabled). What do I do wrong? Does common get compiled or I just edit stuff in there and it gets read or linked at some point during game/db compilation? EDIT: it also worked fine before adding the code to the server source (client and client binary part was fine).
  13. Where do I put the data from ¨CommonDefines.h¨ if I don t have a file named like that in my src/common folder? Also do you compile common or just edit stuff in there? (sorry fore dumb ass questions, I m a newbie to all of this)

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.