Jump to content

Alessio

Inactive Member
  • Posts

    45
  • Joined

  • Last visited

  • Feedback

    0%

Everything posted by Alessio

  1. 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); ^
  2. 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
  3. 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
  4. 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
  5. 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)
  6. 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
  7. 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?
  8. 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
  9. this sword has 20k strong against human, how can i fix this visual bug? xD
  10. 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?
  11. like if i want to make a poison sword with 0 attack value and +5000 hp, just to make you understand that i'm not talking about bonusses of item_attr, on wich file should i work? i can't find it by myself
  12. 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
  13. hi, i'd like to customize the skills, not the animations but the effect, and i wouldn't find something already done or someone that want to do that for me, i'm curious to know and to learn how i can do it by myself, is there a guide that explain this step by step? i'm a neophyte
  14. 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]
×
×
  • 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.