ladcatalin
-
Posts
36 -
Joined
-
Last visited
-
Feedback
0%
Content Type
Forums
Store
Third Party - Providers Directory
Feature Plan
Release Notes
Docs
Events
Posts posted by ladcatalin
-
-
-
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
-
18 hours ago, ladcatalin said:
Hello. I tried to install offline shop system on my server and when i tried to compile binary i had 4 errors:
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
Solved ^^^
I added in
enum EPacketShopSubHeaders
from
Packet.h
this:
SHOP_SUBHEADER_GC_CHECK_RESULT,
-
-
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...
-
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
-
3 minutes ago, mkIvi3 said:
You need library boost in extern folder
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
-
Thanks very much. It works.
-
-
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
-
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.)
-
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):
https://metin2.download/picture/hyoY241PL02XKr4dyAJ8b1NZy6Ct1uXX/.jpg
This is commented:
if (IsVIP()) return;
- 1
-
Was defined, but the problem was in lenght.h. It dont 'see' #define. solved.
-
Solved.
I removed #ifdef and #endif from lenght.h
Now it works. thanks.
in lenght.h was
#ifdef __VIP_SYSTEM__ GM_VIP, #endif
-
3 minutes ago, Marggraf said:
Is already added..
Spoiler -
push
#push
-
It is already added and dont work..
-
On 7/29/2016 at 10:40 PM, ladcatalin said:
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
Do you know how to solve this?...
-
-
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.
-
Sorry...but.. where i should add this?
1 hour ago, VegaS said:Example:
LPITEM item ; if (IS_SET (item ->GetAntiFlag(), ITEM_ANTIFLAG_GIVE | ITEM_ANTIFLAG_PKDROP | ITEM_ANTIFLAG_SELL)) return ;
enum EItemAntiFlag { ITEM_ANTIFLAG_FEMALE = ( 1 << 0 ), ITEM_ANTIFLAG_MALE = ( 1 << 1 ), ITEM_ANTIFLAG_WARRIOR = ( 1 << 2 ), ITEM_ANTIFLAG_ASSASSIN = ( 1 << 3 ), ITEM_ANTIFLAG_SURA = ( 1 << 4 ), ITEM_ANTIFLAG_SHAMAN = ( 1 << 5 ), ITEM_ANTIFLAG_GET = ( 1 << 6 ), ITEM_ANTIFLAG_DROP = ( 1 << 7 ), ITEM_ANTIFLAG_SELL = ( 1 << 8 ), ITEM_ANTIFLAG_EMPIRE_A = ( 1 << 9 ), ITEM_ANTIFLAG_EMPIRE_B = ( 1 << 10 ), ITEM_ANTIFLAG_EMPIRE_C = ( 1 << 11 ), ITEM_ANTIFLAG_SAVE = ( 1 << 12 ), ITEM_ANTIFLAG_GIVE = ( 1 << 13 ), ITEM_ANTIFLAG_PKDROP = ( 1 << 14 ), ITEM_ANTIFLAG_STACK = ( 1 << 15 ), ITEM_ANTIFLAG_MYSHOP = ( 1 << 16 ), ITEM_ANTIFLAG_SAFEBOX = ( 1 << 17 ), };
And..After i do this, my problem will be solved?...
-
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
-
3 hours ago, galet said:
The only problem is that you can delete everything, including unique item and this is dangerous so you must create a check with flags :/
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...
- 2
-
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)....
- 1
Absolute GM Restriction System
in Features & Metin2 Systems
Posted
For offline shop:
offlineshop_manager.cpp
search: void COfflineShopManager::Buy(LPCHARACTER ch, BYTE pos)
and after LPOFFLINESHOP pkOfflineShop = ch->GetOfflineShop();
add: