-
Posts
39 -
Joined
-
Last visited
-
Feedback
0%
About Thorek
Informations
-
Gender
Male
-
Country
Poland
-
Nationality
Polish
Development
- Github
Social Networks
-
Discord
Thorek#6265
Recent Profile Visitors
1030 profile views
Thorek's Achievements
-
Take Niemiec, which forum is mine? Yes, I can't write in Python because Python is crap, and I don't like this language. Even if he started his adventure, he could have looked for this addition before he published it. I appreciate every work, but honestly - why would we need topics like this when we have tons of them? But yes - my first comment may be a little toxic, and I want to apologize for this.
-
Thorek started following cannot convert bool to const char* , [C++]Shop price same in all Kingdoms , (Better json) Fishing Load Renewal and 4 others
-
We have the answer to the question of why 90% of Metin2 „developers” won't ever do anything useful, sadge
-
Thorek changed their profile photo
-
You can check if ifstream is open instead of using the filesystem library (which comes from C++17): std::ifstream file(LocaleService_GetBasePath() + "/fishing.json"); if (!file.is_open() return; // ... Also you should remove #include <fmt/core.h> to avoid compilation errors.
-
Instead of using #define and (int)NEW_CHECK_VERSION (wtf?) you can use constexpr int.
-
After every item in JSON array, you must put a comma (except for the last one). For example, if you have: [ 1800, 1800, 1800,180 1800 ] Server not booting because after 180 comma wasn't found.
-
Wops, sorry - contains function comes from C++20. Change return in CBlendItem::Find to return items.find(item) != items.end();
-
Ah yes, change to FN_get_apply_type.
-
You should fix all your systems to comments my topics!!! Thanks, fixed.
-
Download Another Download : M2DL Link BlendItemRenewal Completely new and fresh approach to load blend items using JSON. Better than previous versions? I suppose so. The source file for this version has only about 50 lines so it is very slim. I have decided to adhere to the YMIR coding style, so there are no classes or structures. So - how to install this „system”? Make sure the compiler you are using supports (at least) C++11. Install JSON parser. Replace blend_item.h and blend_item.cpp with the old ones, and that is it. If you want hot-reloading the JSON file, you can add the cmd_gm.cpp part (recommended). Example blend.json file content below. { "50821": { "type": "CRITICAL_PCT", "value": [ 8, 10, 12, 15, 20 ], "duration": [ 60, 120, 180, 300, 600 ] }, "50822": { "type": "PENETRATE_PCT", "value": [ 8, 10, 12, 15, 20 ], "duration": [ 60, 120, 180, 300, 600 ] }, "50823": { "type": "ATTACK_SPEED", "value": [ 2, 3, 4, 5, 8 ], "duration": [ 60, 120, 180, 300, 600 ] }, "50824": { "type": "RESIST_MAGIC", "value": [ 8, 10, 12, 15, 20 ], "duration": [ 60, 120, 180, 300, 600 ] }, "50825": { "type": "ATT_BONUS", "value": [ 30, 50, 70, 90, 120 ], "duration": [ 60, 120, 180, 300, 600 ] }, "50826": { "type": "DEF_BONUS", "value": [ 40, 70, 100, 150, 200 ], "duration": [ 60, 120, 180, 300, 600 ] }, "51002": { "type": "ENERGY", "value": [ 1, 3, 5, 7, 10 ], "duration": 1800 // It is possible to use only one duration (and value). } }
-
I released new version with thread support and some fixes. Generally, cleaning process now should be shorter. Scan Download
- 3 replies
-
- 34
-
Maybe it's false positive. If you check file on VirusTotal, you'll see that tool doesn't have any viruses.
-
Download Alternative download links → Mega (2.0.0) or VirusScan (2.0.0) Hi! By this tool you can remove unused lines from locale_game and locale_interface text files in fast & easily way. Is faster than script created by dracaryS. How to use? Just move root directory to downloaded file and wait for cleaned files. 30.01.23 -> I released new version so check it out!
- 3 replies
-
- 66
-
cannot convert bool to const char*
Thorek replied to josehdelaro's topic in Community Support - Questions & Answers
Just remove first argument from SendNotice call. Learn to read with comprehension...- 1 reply
-
- 1