Jump to content

Metin2 Dev

Bot
  • Posts

    2151
  • Joined

  • Last visited

  • Feedback

    100%

Everything posted by Metin2 Dev

  1. @Tunga Regarding the above buttons that do not work, please read the description that I put to this thread. And regarding the non-clickable buttons:
  2. Boost is bunch of C++ libraries aiming to establish "existing practice" and provide reference implementations. Boost libraries are even suitable for eventual standardization. Please keep in mind this is just common guide to update Boost with no source codes changes. Each update has it's own individual changes, see release notes for more information. Step By Step Guide 1, Download the newest package of Boost Here is the official site of Boost. Download the "Current Release" version, do not change it with "Beta Release" and make sure archive is in .tar.gz format. 2, Upload the content on server In the Compilation folder make folder named Boost and upload there the archive you have downloaded. Once the archive is uploaded extract it by using this command: tar xvzf [NameOfTheArchive].tar.gz. After that delete the archive. 3, Delete the old version Before updating we need to delete old version of the Boost. Go to the Extern/Includes/Boost folder and delete the boost folder. 4, Copy files into the Extern folder After you have deleted the old version, go to the extracted folder and from there copy whole boost folder into the Extern/Includes/Boost folder. 5, Delete the folder with Boost source codes Once you have done this, we don't need the folder with sources anymore. Delete it.
  3. I would choose Vanilla server sources and Test Client Für 40250 with Terenzo binary.
  4. char_battle.cpp search: bool CHARACTER::Damage(LPCHARACTER pAttacker, int dam, EDamageType type) { [...] if (pAttacker) { [...] } [...] } add inside "if (pAttacker)" this: if (pAttacker->IsMonster()) { int resistType = 0; if(pAttacker->IsRaceFlag(RACE_FLAG_ATT_ELEC)) resistType = POINT_RESIST_ELEC; else if(pAttacker->IsRaceFlag(RACE_FLAG_ATT_FIRE)) resistType = POINT_RESIST_FIRE; else if(pAttacker->IsRaceFlag(RACE_FLAG_ATT_ICE)) resistType = POINT_RESIST_ICE; else if(pAttacker->IsRaceFlag(RACE_FLAG_ATT_WIND)) resistType = POINT_RESIST_WIND; else if(pAttacker->IsRaceFlag(RACE_FLAG_ATT_EARTH)) resistType = POINT_RESIST_EARTH; else if(pAttacker->IsRaceFlag(RACE_FLAG_ATT_DARK)) resistType = POINT_RESIST_DARK; if(resistType && GetPoint(resistType) > 0) { int result = (int)GetPoint(resistType); if(result > 50) result = 50; dam -= dam*result/100; } } There should be something like that: bool CHARACTER::Damage(LPCHARACTER pAttacker, int dam, EDamageType type) { [...] if (pAttacker) { [...] if (pAttacker->IsMonster()) { int resistType = 0; if(pAttacker->IsRaceFlag(RACE_FLAG_ATT_ELEC)) resistType = POINT_RESIST_ELEC; else if(pAttacker->IsRaceFlag(RACE_FLAG_ATT_FIRE)) resistType = POINT_RESIST_FIRE; else if(pAttacker->IsRaceFlag(RACE_FLAG_ATT_ICE)) resistType = POINT_RESIST_ICE; else if(pAttacker->IsRaceFlag(RACE_FLAG_ATT_WIND)) resistType = POINT_RESIST_WIND; else if(pAttacker->IsRaceFlag(RACE_FLAG_ATT_EARTH)) resistType = POINT_RESIST_EARTH; else if(pAttacker->IsRaceFlag(RACE_FLAG_ATT_DARK)) resistType = POINT_RESIST_DARK; if(resistType && GetPoint(resistType) > 0) { int result = (int)GetPoint(resistType); if(result > 50) result = 50; dam -= dam*result/100; } } } [...] }
  5. Thanks for the reply. I will try it.
  6. it is not finished. At the moment only the options for hiding effects of items (such as "EFFECT_AUTO_HPUP", "EFFECT_HAPPINESS_RING_EQUIP", etc.) work. You must add the .sub files in public and replace (or modify) the public.dds file also so that the small buttons are displayed.
  7. Upload your systemoptiondialog.py
  8. Thanks for contributing this thread, it is very helpful. I think that hiding specifics effect through property src can be a great help for the "hide decoration" features.
  9. M2 Download Center Download Here ( Internal ) A few days ago I saw a post where someone asked how to hide the effects of the character and if there was a way, it would be better to do it with options to enabled/disabled. So I was trying to replicate the feature that the official servers implemented in version 18.4 Here I leave you an advance, it is not finished. At the moment only the options for hiding effects of items (such as "EFFECT_AUTO_HPUP", "EFFECT_HAPPINESS_RING_EQUIP", etc.) work. I know that you can also hide the effects such as skills, emoticons, etc. But I still can not find the way to do it (I could do it from playersettingmodule.py, but in that case it would not be updated in real time, the client.exe would have to be restarted for the changes to be made.) I suppose that somewhere in the client src it will be possible to , but I still can not find it. But you can also try! So if you like you can do it and share in this thread. Download link: click me ^^
  10. Search in EterLib/CRenderTarget.cpp: state_manager.SetRenderState(D3DRS_FOGENABLE, TRUE); Replace with: state_manager.SetRenderState(D3DRS_FOGENABLE, FALSE);
  11. Idk, I only use notepad++
  12. Check if there is a character with "?", Sometimes when copying from here and paste in notepad ++ it gives that problem.
  13. cmd_general.cpp: do_in_game_mall config.cpp: g_strWebMallURL
  14. delete both so they can be regenerated again
  15. Try to search "Depend" file and rename for "Depend.bak" and gmake again
  16. It has nothing to do with original SR, sorry.
  17. I think you did not follow my guide on uiexchange.py Your debug shows "OnPickMoney" takes exactly 2 arguments (3 given) If you have any more errors I think you should write me privately since this post is becoming conversation.
  18. You need some more codes in the part of uiexchange to be functional with the system of cheque_system. You do not need to use the exchangedialog_new.py if you do not have the system. Here is my uiexchange.py (if you want compare) [Hidden Content] Add this in uitooltip.py:
  19. Yes, I put it only for the one who had that system in their files.
  20. Sorry, I forgot that part in the guide. Here is my inventorywindowex.py: [Hidden Content]
  21. [Hidden Content] You need have "cheque" in inventorywindow (or inventorywindowex) Here is my inventorywindowex.py: [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.