-
Posts
918 -
Joined
-
Days Won
876 -
Feedback
100%
Content Type
Forums
Store
Third Party - Providers Directory
Feature Plan
Release Notes
Docs
Events
Everything posted by Mali
-
Thanks penger. I am not at home. Topic will be updated in few days Edit:Updated
-
And you have a developer tag.? I love this site
-
So many PServer's packs unpacked with "pack" method. Example What is the pack method?: Game is using pack method when load .py, .pyc and .txt files. Just look at the system.py Why Simple? Because we'll just change the method name. Gf did like this little changes example: playerm2g2, chatm2g, m2netm2g .... Go UserInteface/PythonPackModule.cpp and find: Py_InitModule("pack", s_methods); And change "pack" whatever you want. I'm gonna say "examplename" Go root/system.py and find: import pack Change like this; import examplename as pack That's all. That was the simplest idea I could think of.
-
official Official Unpacked Updates Metin2 🚫 No Spam 🚫
Mali replied to pollux's topic in Guides & HowTo
[Hidden Content] -
I think if we close warnings just for mss files, it will be better: if (strFileName.find("mss") == std::string::npos) TraceError("CANNOT_FIND_PACK_FILE [%s]", strFileName.c_str());
-
fixed
-
updated
-
just write packnames without eix or epk
-
UserInterface.cpp find: bool PackInitialize(const char * c_pszFolder) change: bool PackInitialize(const char * c_pszFolder) { if (_access(c_pszFolder, 0)) return true; std::string stFolder = c_pszFolder + std::string("/"); CTextFileLoader::SetCacheMode(); #if defined(USE_RELATIVE_PATH) CEterPackManager::Instance().SetRelativePathMode(); #endif CEterPackManager::Instance().SetCacheMode(); CEterPackManager::Instance().SetSearchMode(true); CSoundData::SetPackMode(); std::vector<std::string> packlist { "icon", "locale", "uiscript", "textureset", "Map", "Property", "Sound", "Terrain", "examplepack", "ymir_pack", }; for (const auto & pack : packlist) CEterPackManager::Instance().RegisterPack((stFolder + pack).c_str(), "*"); CEterPackManager::Instance().RegisterRootPack((stFolder + std::string("root")).c_str()); return true; }
-
No doesn't needed.
-
How to remove one item from stack
Mali replied to neversayyes9981's topic in Community Support - Questions & Answers
Code is for: [Hidden Content] and your question:Yes -
How to remove one item from stack
Mali replied to neversayyes9981's topic in Community Support - Questions & Answers
//Find at char_item.cpp if (true == item->IsEquipped()) { ///Add if (item->GetCount() > 1) { AutoGiveItem(item->GetVnum(), item->GetCount() - 1, -1, false); item->SetCount(1); } For stackable rings are using USE_AFFECT. I think you should use this -
Added mini video Added psd for mini buttons
-
Yes client side can make but this is the easiest way. Why do we do the hardest? You don't like packets but you like longest and weirds codes?
-
wtf? Where do you get times?? It's not same everytime. If you open exchange or anything it will change
-
M2 Download Center Download Here ( Internal ) Download Here ( GitHub )
- 28 replies
-
- 262
-
M2 Download Center Download Here ( Internal ) Download Here ( GitHub ) Idea is from 2014 but I think this is good feature like discord. For open gui your name must start with "[" like [GM].
-
Look at your old locale and find GetVariableName and add to new file
-
New Icon:
-
[Hidden Content] Ingame example:
-
I made a tutorial for this. You don't need to install freebsd packages or etc. And I added a example source with c++2a support
-
actually I used structed bindings too. c++17 and greater required. But I created a tutorial for c++2a:
-
New meme confirmed. ?Actually little bit scary. Escape from the hell?
-
M2 Download Center Download Here ( Internal ) Download Here ( GitHub )
- 14 replies
-
- 92
-
M2 Download Center Download Here ( Internal ) Download Here ( GitHub ) Somebody asked me about auto night and day change(server time). I coded simple func and added few features. •Auto night and day change: •Auto snow mode at winter: •Reminder for special days: •Announcement every hour You can add new features like this.