Jump to content

ladcatalin

Member
  • Posts

    36
  • Joined

  • Last visited

  • Feedback

    0%

Everything posted by ladcatalin

  1. For offline shop: offlineshop_manager.cpp search: void COfflineShopManager::Buy(LPCHARACTER ch, BYTE pos) and after LPOFFLINESHOP pkOfflineShop = ch->GetOfflineShop(); add: if (ch->IsGM()) { ch->ChatPacket(CHAT_TYPE_INFO, "GameMasters cannot buy items from players' shops."); return; }
  2. Hi. After i make a offline shop on my server, when i try to open it (by click), it disapear and i recive this error in syserr: SYSERR: Aug 17 20:49:52 :: DirectQuery: AsyncSQL::DirectQuery : mysql_query error: Unknown column 'applytype0' in 'field list' query: SELECT pos,count,vnum,price,socket0,socket1,socket2, attrtype0, attrvalue0, attrtype1, attrvalue1, attrtype2, attrvalue2, attrtype3, attrvalue3, attrtype4, attrvalue4, attrtype5, attrvalue5, attrtype6, attrvalue6, applytype0, applyvalue0, applytype1, applyvalue1, applytype2, applyvalue2, applytype3, applyvalue3, applytype4, applyvalue4, applytype5, applyvalue5, applytype6, applyvalue6, applytype7, applyvalue7 FROM offline_shop_item WHERE owner_id = 1183
  3. Solved ^^^ I added in enum EPacketShopSubHeaders from Packet.h this: SHOP_SUBHEADER_GC_CHECK_RESULT,
  4. Error 295 error C2653: 'CPythonPlayer' : is not a class or namespace name e:\Sursa server\SursaLauncher BUNA\UserInterface\PythonNetworkStreamPhaseGameItem.cpp 897 UserInterface Error 296 error C2039: 'HasOfflineShop' : is not a member of 'CPythonNetworkStream' e:\Sursa server\SursaLauncher BUNA\UserInterface\PythonNetworkStreamPhaseGameItem.cpp 897 UserInterface I solved this ^. I added #include PythonPlayer.h in PythonNetworkStreamPhaseGameItem.cpp header. But i cant fix 3rd and 4th error...
  5. Hello. I tried to install offline shop system on my server and when i tried to compile binary i had 4 errors: Error 295 error C2653: 'CPythonPlayer' : is not a class or namespace name e:\Sursa server\SursaLauncher BUNA\UserInterface\PythonNetworkStreamPhaseGameItem.cpp 897 UserInterface Error 296 error C2039: 'HasOfflineShop' : is not a member of 'CPythonNetworkStream' e:\Sursa server\SursaLauncher BUNA\UserInterface\PythonNetworkStreamPhaseGameItem.cpp 897 UserInterface Error 297 error C2065: 'SHOP_SUBHEADER_GC_CHECK_RESULT' : undeclared identifier e:\Sursa server\SursaLauncher BUNA\UserInterface\PythonNetworkStreamPhaseGame.cpp 4325 UserInterface Error 298 error C2051: case expression not constant e:\Sursa server\SursaLauncher BUNA\UserInterface\PythonNetworkStreamPhaseGame.cpp 4325 UserInterface
  6. Can you give me this files? I dont have this in extern/include/boost boost/property_tree/ptree.hpp boost/property_tree/ini_parser.hpp
  7. This looks very good, but i have a error when i try to compile binary source: Error 1 fatal error C1083: Cannot open include file: 'boost/property_tree/ptree.hpp': No such file or directory e:\Sursa server\SursaLauncher BUNA\UserInterface\PythonSystem.cpp 6 UserInterface Error 2 error BK1506 : cannot open file '.\Release\PythonSystem.sbr': No such file or directory BSCMAKE UserInterface
  8. Hi. I want to remove empire flag from players. (e.q: If you are in blue, and you see a player from red, you will see a red flag) How i can remove it? I have full source (launcher, game, db.)
  9. I have a problem.. gm (lykan) is on blue kingdom and vip (ninja) is on red. When i login at lykan i see two effects on vip character (flag+vip): [Hidden Content] This is commented: if (IsVIP()) return;
  10. Was defined, but the problem was in lenght.h. It dont 'see' #define. solved.
  11. Solved. I removed #ifdef and #endif from lenght.h Now it works. thanks. in lenght.h was #ifdef __VIP_SYSTEM__ GM_VIP, #endif
  12. It is already added and dont work..
  13. Hello. I have a error when i try to compile db.. Can someone to help me, please? Sorry for my bad English. compile ClientManager.cpp ClientManager.cpp: In member function 'bool CClientManager::__GetAdminInfo(const char*, std::vector<TAdminInfo, std::allocator<TAdminInfo> >&)': ClientManager.cpp:3686: error: 'GM_VIP' was not declared in this scope gmake: *** [.obj/ClientManager.o] Error 1 root@:/usr/src/newoffsource/db/src # //-->clientmanager.cpp_lines_with_error #ifdef __VIP_SYSTEM__ //3684 else if (!stAuth.compare("VIP")) //3685 Info.m_Authority = GM_VIP; //3686 #endif //3687 //-->end_of_lines_with_error //3684, 3685...are means number of lines.
  14. Sorry...but.. where i should add this? And..After i do this, my problem will be solved?...
  15. i have a error when i try to cmpile db. compile ClientManager.cpp ClientManager.cpp: In member function 'bool CClientManager::__GetAdminInfo(const char*, std::vector<TAdminInfo, std::allocator<TAdminInfo> >&)': ClientManager.cpp:3686: error: 'GM_VIP' was not declared in this scope gmake: *** [.obj/ClientManager.o] Error 1 root@:/usr/src/newoffsource/db/src # #ifdef __VIP_SYSTEM__ //3684 else if (!stAuth.compare("VIP")) //3685 Info.m_Authority = GM_VIP; //3686 #endif //3687
  16. Sorry, but this "dropdialog" is used for destroy any items. If u set this to destroy just items which can be sold in shop or dropped, this system will be useless. We need this for destroy any items from inventory...
  17. After i destroy any item, my inventory is 'blocked'... I cant move any itemes, or equip..i cant do nothing with my inventory. The problem is about client side (@python)....
×
×
  • 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.