Megvagyokkoszi
-
Posts
8 -
Joined
-
Last visited
-
Feedback
0%
Content Type
Forums
Store
Third Party - Providers Directory
Feature Plan
Release Notes
Docs
Events
Posts posted by Megvagyokkoszi
-
-
What?Why should i buy? I said i don't want open a metin2 server, its just , for me a hobby when i boring. So please don't try to convict me to buy anything. Becuz i don't want buy something, what not gives back money, i don't want open a metin2 server.... I just want to learn something....
-
Its the free version. I don't want to pay, becuz i don't planed to open a server
-
Hello. I want to put the offline shop into my server.
That's my leisure activities.
but i now stucked here.
I should put
#ifdef ENABLE_PREMIUM_PRIVATE_SHOP if(pi->bIsPrivateShop)
in the code
But its starting with
if (pi->ip[0] == 0)
how should put the codes ?
Is it right, if i would like that way?
if (pi->ip[0] == 0) #ifdef ENABLE_PREMIUM_PRIVATE_SHOP else if(pi->bIsPrivateShop)
i didn't compile, and save 'till i don't know its works or not .
Sorry, i forget the whole lines
Original code
if (pi->ip[0] == 0) pkPeer->EncodeHeader(HEADER_DG_SAFEBOX_LOAD, dwHandle, sizeof(TSafeboxTable) + sizeof(TPlayerItem) * s_items.size()); else pkPeer->EncodeHeader(HEADER_DG_MALL_LOAD, dwHandle, sizeof(TSafeboxTable) + sizeof(TPlayerItem) * s_items.size()); pkPeer->Encode(pi->pSafebox, sizeof(TSafeboxTable)); if (!s_items.empty()) pkPeer->Encode(&s_items[0], sizeof(TPlayerItem) * s_items.size()); delete pi;
What i have to change:
#ifdef ENABLE_PREMIUM_PRIVATE_SHOP if(pi->bIsPrivateShop) pkPeer->EncodeHeader(HEADER_DG_PREMIUM_PRIVATE_SHOP_LOAD, dwHandle, sizeof(TSafeboxTable) + sizeof(TPlayerItem) * s_items.size()); else pkPeer->EncodeHeader(pi->ip[0] == 0 ? HEADER_DG_SAFEBOX_LOAD : HEADER_DG_MALL_LOAD, dwHandle, sizeof(TSafeboxTable) + sizeof(TPlayerItem) * s_items.size()); #else pkPeer->EncodeHeader(pi->ip[0] == 0 ? HEADER_DG_SAFEBOX_LOAD : HEADER_DG_MALL_LOAD, dwHandle, sizeof(TSafeboxTable) + sizeof(TPlayerItem) * s_items.size()); #endif
Ofc, i coukd change to my files, how its uses the codes, but idk how to define double statments
-
Thanks to everyone who helped.
It's done and working. Thanks
-
Okay.
I fixed it , but i got the next error message.
Error 6 error LNK2038: mismatch detected for '_MSC_VER': value '1900' doesn't match value '1800' in AccountConnector.obj D:\VSi\Binary\VSFiles\UserInterface\libcef_dll_wrapper.lib(command_line_ctocpp.obj) UserInterface
-
15 hours ago, V0lvox said:
constexpr auto DiscordClientID = "934963434833997875";
maximum int = +2147483647
I tried use long, but i still got that(i checked, the maximum int, and i tried with long :
Error 1 error C2144: syntax error : '__int64' should be preceded by ';' 1 39 UserInterface
But, i got new errors too.
Error 2 error C2440: 'initializing' : cannot convert from 'const char [6]' to '__int64' 1 39 UserInterface and Error 3 error C2664: 'void Discord_Initialize(const char *,DiscordEventHandlers *,int,const char *)' : cannot convert argument 1 from '__int64' to 'const char *' 1 45 UserInterface
14 hours ago, Denizeri24 said:int constexpr auto
int constexpr auto
int
auto
int auto
auto cannot be combined with any other type-specifier
-
Hello.
I have a little problem, but i don't understand what should i do here.
So i got these errors in visual studio:
"Error 1 error C2144: syntax error : 'auto' should be preceded by ';' D:\VSi\Binary\Source\UserInterface\PythonNetworkStreamPhaseGame.cpp 39 1 UserInterface"
The code :
int constexpr auto DiscordClientID = "934963434833997875"; // Change
I had before more error, when i used static before int, like:
static constexpr auto DiscordClientID = "934963434833997875"; // Change
in this situtation i got this message:
1>..\..\Source\UserInterface\PythonNetworkStreamPhaseGame.cpp(39): error C2144: syntax error : 'auto' should be preceded by ';' 1>..\..\Source\UserInterface\PythonNetworkStreamPhaseGame.cpp(39): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
So. I thought i change static to int, but i still get message to auto part. So i think the int instead of static will work, but i'm not sure about it, but i don't get any error message.
Please, someone help me and tell me what's wrong, because i don't understand, it seems for me good.
- 1
Item upgrade to next item not works
in Community Support - Questions & Answers
Posted
Hello.
My problem that i want, for example 19 sword upgrade to 290 id sword.
So, default item_proto
Then i changed to
But when i want to upgrade, on NPCs nothing happens, and when i want with Magic Iron Ore its red.
Someone can explain what's wrong?
if i change the 11699 armor refined ID and refine set its works on it.
I tried to find answer but i found nothing.