-
Posts
45 -
Joined
-
Last visited
-
Feedback
0%
Content Type
Forums
Store
Third Party - Providers Directory
Feature Plan
Release Notes
Docs
Events
Everything posted by Alessio
-
Death Event - lose level after death
Alessio replied to Mefarious's topic in Community Support - Questions & Answers
ch error resolved, now i have this left char_battle.cppcompile polymorph.cpp :1264:27: error: no matching member function for call to 'ItemLog' LogManager::instance().ItemLog(this, item, "DROP_EVENT", item->GetID()); ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ ./log.h:29:9: note: candidate function not viable: no known conversion from 'DWORD' (aka 'unsigned int') to 'const char *' for 4th argument void ItemLog(LPCHARACTER ch, LPITEM item, const char * c_pszText, const char * c_pszHint); ^ ./log.h:30:9: note: candidate function not viable: requires 5 arguments, but 4 were provided void ItemLog(LPCHARACTER ch, int itemID, int itemVnum, const char * c_pszText, const char * c_pszHint); ^ ./log.h:28:9: note: candidate function not viable: requires 8 arguments, but 4 were provided void ItemLog(DWORD dwPID, DWORD x, DWORD y, DWORD dwItemID, const char * c_pszText, const char * c_pszHint, const char * c_pszIP, DWORD dwVnum); ^ -
Death Event - lose level after death
Alessio replied to Mefarious's topic in Community Support - Questions & Answers
hey i understood my mistake, i wasn't doing gamecompile after modifing the files, i tried the code that you have writed for Mefarious and it work super good, then i tried to modify it like you showed me and i get this error while i do gamecompile char_battle.cpp:1258:15: error: use of undeclared identifier 'ch' if ((item = ch->GetWear(i))) ^ char_battle.cpp:1264:27: error: no matching member function for call to 'ItemLog' LogManager::instance().ItemLog(this, item, "DROP_EVENT", item->GetID()); ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ ./log.h:29:9: note: candidate function not viable: no known conversion from 'DWORD' (aka 'unsigned int') to 'const char *' for 4th argument void ItemLog(LPCHARACTER ch, LPITEM item, const char * c_pszText, const char * c_pszHin t); ^ ./log.h:30:9: note: candidate function not viable: requires 5 arguments, but 4 were provided void ItemLog(LPCHARACTER ch, int itemID, int itemVnum, const char * c_pszText, const ch ar * c_pszHint); ^ ./log.h:28:9: note: candidate function not viable: requires 8 arguments, but 4 were provided void ItemLog(DWORD dwPID, DWORD x, DWORD y, DWORD dwItemID, const char * c_pszText, con st char * c_pszHint, const char * c_pszIP, DWORD dwVnum); ^ compile horsename_manager.cpp compile input.cpp 2 errors generated. gmake: *** [Makefile:119: OBJDIR/char_battle.o] Error 1 gmake: *** Waiting for unfinished jobs.... root@metin2:/usr/metin2/src/game/src # could you help me, please? ' this is what i did CGuildManager::instance().Kill(pkKiller, this); } #ifdef DEATH_EVENT PIXEL_POSITION pxPos = GetXYZ(); LPITEM item; for (int i = 0; i < WEAR_MAX_NUM; ++i) { if ((item = ch->GetWear(i))) { item->RemoveFromCharacter(); item->AddToGround(GetMapIndex(), pxPos); item->StartDestroyEvent(); LogManager::instance().ItemLog(this, item, "DROP_EVENT", item->GetID()); } } #endif -
Looking for a way do deny critical and perf hits
Alessio replied to Alessio's topic in File Requests
How can i check if it work? -
Death Event - lose level after death
Alessio replied to Mefarious's topic in Community Support - Questions & Answers
is it working the code that @msnas writed for you? i tried it and it doesn't work, i think that i'm doing something wrong but i don't understand what, i'm writing everythin exactly where he said -
Looking for a way do deny critical and perf hits
Alessio replied to Alessio's topic in File Requests
yes, and i changed item_proto.txt, i went to the item 34 and changed APPLY_BONUS_SPEED 27 in POINT_ANTI_CRITICAL 25, also tried with -25 [Hidden Content] i did the back up of item_proto.txt file and then i changed again the values of the item 34(instead of APPLY_BONUS_SPEED 27 i writed POINT_ANTI_CRITICAL 1)and then i changed item_proto files inside client and inside navicat and i changed item 34 with appltype0 = -25 and applyvalue0 = 1 now the server starts with no problems but the bonus isn't working. I'm sorry for making you losing time with this, if you want to leave me by myself i will understand it, i already apreciate what you shared with me untill now -
Looking for a way do deny critical and perf hits
Alessio replied to Alessio's topic in File Requests
i tried to insert the bonus inside a sword, i changed the file item_proto.txt from winscp but now when i try to start the server i get connection refused error, btw the ID of POINT_ANTI_CRITICAL is -25 or 25? i mean the id that i need to put inside item_proto (navicat) -
Looking for a way do deny critical and perf hits
Alessio replied to Alessio's topic in File Requests
when editing these files do i need to edit them like how i do with item_proto? client / navicat / winscp? do you know the values for giving anti-critical in weapon? item_proto values -
Looking for a way do deny critical and perf hits
Alessio replied to Alessio's topic in File Requests
i also needed to know that, thanks -
Looking for a way do deny critical and perf hits
Alessio replied to Alessio's topic in File Requests
thx a lot -
I need to reduce to 0 the chance of dealing more damage trough critical hits and perf hits, is there already someone who did that?
-
Bonus on items doesn't show up
Alessio replied to Alessio's topic in Community Support - Questions & Answers
i'm talking about the fact that i can't see the bonus on my sword, that sword actually have 20k dmg against human but it doesn't show up on that that's the problem -
this sword has 20k strong against human, how can i fix this visual bug? xD
-
i found a way to edit the value of bonus on the server side but it isn't enough, i'm trying to change also the values on the client side but i can't open the file Item_proto, if i try to open it with notepad++ it's like encrypted and i can't find any program to open it, anyone know what should i do?
-
Death Event - lose level after death
Alessio replied to Mefarious's topic in Community Support - Questions & Answers
-
How do i create a system for Metin2 by myself?
Alessio replied to Alessio's topic in Community Support - Questions & Answers
ok thanks for the advice -
How do i create a system for Metin2 by myself?
Alessio replied to Alessio's topic in Community Support - Questions & Answers
Is it really that difficult to learn it by myself with the material I find on the internet? however, I had considered that, in fact I would be willing to take some course to at least learn the basics of programming -
how can i encrypt the password? I'm also having two other issues, when i load the server inside winscp i get a different folder than the one that i see on your guide, and the second one is that when i wite the command in putty for run the metin2 project it can't find the file to do that [Hidden Content]