Jump to content

Metin2 Dev

Bot
  • Posts

    2151
  • Joined

  • Last visited

  • Feedback

    100%

Everything posted by Metin2 Dev

  1. In locale_game.txt search GAME_PICK_MONEY and replace %d with %s . In game.py search function def OnPickMoney(self, money): and replace with: chat.AppendChat(chat.CHAT_TYPE_INFO, localeInfo.GAME_PICK_MONEY % (localeInfo.NumberToMoneyString(money)))
  2. Thanks a lot! I know that is basic, but I'm still newbie.
  3. Hi, I have a little question. I would like to make some changes in authority levels. So my question is that, where can I find code of GetGMLevel()? Thanks for replies!
  4. What is the problem? Expand on your answer...
  5. upload uiinventory on pastebin
  6. For luzzo pet system - [ File: /Src/game/char_battle.cpp ] #1.) Search: #ifdef NEW_PET_SYSTEM if (to->GetNewPetSystem()) { if (to->GetNewPetSystem()->IsActivePet() && to->GetNewPetSystem()->GetLevelStep() < 4) { int tmpexp = iExp * 9 / 20; iExp = iExp - tmpexp; to->GetNewPetSystem()->SetExp(tmpexp, 0); } } #endif #2.) Replace with: #ifdef NEW_PET_SYSTEM if (to->GetNewPetSystem()) { if (to->GetNewPetSystem()->GetLevel() < 120) { if (to->GetNewPetSystem()->IsActivePet() && to->GetNewPetSystem()->GetLevelStep() < 4) { int tmpexp = iExp * 9 / 20; iExp = iExp - tmpexp; to->GetNewPetSystem()->SetExp(tmpexp, 0); } } } #endif - [ File: /Src/game/New_PetSystem.cpp ] #1.) Search: else if(type == 3) { if(itemxp->GetType() == 1 || itemxp->GetType() == 2) { SetExp(itemxp->GetShopBuyPrice() / 2, 1); ITEM_MANAGER::instance().RemoveItem(itemxp); } } #2.) Replace with: else if(type == 3) { if (GetLevel() < 120) { if(itemxp->GetType() == 1 || itemxp->GetType() == 2) { SetExp(itemxp->GetShopBuyPrice() / 2, 1); ITEM_MANAGER::instance().RemoveItem(itemxp); } } else { m_pkOwner->ChatPacket(CHAT_TYPE_INFO, "Your pet has a maximum level."); } }
  7. Very fast loading . I do not know you but you are good. =))
  8. With check_name function you can't use space in title and lenght must be less than 12 characters ...
  9. With module you can use in another scope . For example put app.FlashApplication() in game.py (in def Open(self)) and if you dead and restart in city with client minimized this help you :)) or can put in switchbot when this finish(more servers use switchboot). Who want just for whishper can use xP3NG3Rx version .It is better.
  10. M2 Download Center Download Here ( Internal ) What is this ? : "When a player sends you a message icon taskbar starts flashing." [Hidden Content] [File: Client/root/InterfaceModule.py] //1.) Search: 2x btn.Flash() #in function def RecvWhisper(self, name): //2.) Add bellow: app.FlashApplication() [File: Source/src/Client/UserInterface/PythonApplication.cpp] //1.) Search: void CPythonApplication::Clear() { m_pySystem.Clear(); } //2.) Add bellow: #include <Windows.h> void CPythonApplication::FlashApplication() { HWND hWnd = GetWindowHandle(); FLASHWINFO fi; fi.cbSize = sizeof(FLASHWINFO); fi.hwnd = hWnd; fi.dwFlags = FLASHW_ALL | FLASHW_TIMERNOFG; fi.uCount = 0; fi.dwTimeout = 0; FlashWindowEx(&fi); } [File: Source/src/Client/UserInterface/PythonApplication.h] //1.) Search: void SetForceSightRange(int iRange); //2.) Add bellow: void FlashApplication(); [File: Source/src/Client/UserInterface/PythonApplicationModule.cpp] //1.) Search: PyObject* appLogoClose(PyObject* poSelf, PyObject* poArgs) { //CPythonApplication::Instance().OnLogoClose(); return Py_BuildNone(); } //2.) Add bellow: PyObject* appFlashApplication(PyObject* poSelf, PyObject* poArgs) { CPythonApplication::Instance().FlashApplication(); return Py_BuildNone(); } //3.) Search: { "OnLogoClose", appLogoClose, METH_VARARGS }, //4.) Add bellow: { "FlashApplication", appFlashApplication, METH_VARARGS },
  11. Maybe you should start doing things by your own. Why you want to copy other server?
  12. Hey guys, I have simple question on you. What does "Log Offlog_file_delete_old: stat: No such file or directory" means?
  13. Hey guys, I've spotted one problem with this. I can't click to anything after questboard hide. This problem disappear when I press Esc key. Something is not hidden, did anobyody had this problem too?
  14. Hi, it works perfect! Thanks for guide. I have one question about tables in constants.cpp, there are three tables which look totally the same. Imho each table is for each other region, is there any way to combine them to just one? I'm talking about those: const DWORD exp_table_euckr[PLAYER_EXP_TABLE_MAX + 1] const DWORD exp_table_common[PLAYER_EXP_TABLE_MAX + 1] const DWORD exp_table_newcibn[PLAYER_EXP_TABLE_MAX + 1]
  15. Very good ! Thank you.
  16. Replace if (m_eRace == CRaceData::RACE_WOLFMAN_M) with if (m_eRace == 8) or make a enum with all races .
  17. Very good , thanks . Edit : In my source don't work with if (m_eRace == CRaceData::RACE_WOLFMAN_M) and replace with if (m_eRace == 8) because WOLFMAN is race 8 .
  18. In char.cpp at line 3952 you don't have space after %s . Just put space between "%s" and "obiect" .
  19. 2019's: PHP Code: This difference file has been created by IDA Pro game_r2019_32_nao 000643FE: 28 3D 000644CA: 28 3D 000645A6: 28 3D 00094864: 28 3D 0009489A: 29 3E 000948A7: 29 3E 00121FA1: 28 3D 2089's: PHP Code: This difference file has been created by IDA Pro game2089 0006461E: 28 3D 000646EA: 28 3D 000647C6: 28 3D 00094854: 28 3D 0009488A: 29 3E 00094897: 29 3E 00121C81: 28 3D
  20. In locale_game.txt search: TOOLTIP_FISH_LEN Lungime: %,2f cm and replace with TOOLTIP_FISH_LEN Lungime: %.2f cm
  21. Open with 55401-55404 and set a name for your pet .
×
×
  • 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.