Tera 26 Report post Posted June 1, 2017 I have a question someone knows how to protect iteminfo.bin so it can not decompile, I knew a server called Kingdom Pirates Online where it could not be decompiled, someone knows how it could be done, it is to avoid mobs tweaks. Thank you for help Quote Share this post Link to post Share on other sites
Faller 93 Report post Posted June 1, 2017 Hello! I don't have the solution for your problem, but, I can affirmatively tell you that this ain't the solution. Players can still modify the models folders and do w/e they want... Quote Share this post Link to post Share on other sites
wowo 13 Report post Posted June 1, 2017 A better alternative is to check files when starting client. That doesn't fix the problem completely, as there will be still people who could bypass that. Still it is a good fix for the majority of players. Quote Share this post Link to post Share on other sites
MonkeyCode 453 Report post Posted June 1, 2017 protection = encryption; encrypted_tables = true; if encrypted_tables == true then game.exe_must_decrypt(); end function game.exe_must_decrypt() key = 513223; end what we can learn from the codes above: - if the bins are encrypted then game.exe must decrypt it - if game.exe must decrypt it then game.exe must also have the key - if game.exe have the key, then the key is available for the user - if the key is available for the user, then the user can decrypt it. - if the user decrypts it, then there's no point. - if there's no point, then there's really no point. 5 Quote Share this post Link to post Share on other sites
V3ct0r 2,117 Report post Posted June 1, 2017 Helo, @Tera! We can decrypt any .bin: As an option, make the auto-update program, which will check important files (.bin tables, Game.exe) every time and start downloading them if they have been changed. You also need to make sure that the game can not be started bypassing this program. As @wowo suggested Quote Some useful links / Полезные ссылки Tips for making a topic in 'Questions & Help' / Рекомендации по созданию тем в разделе "Помощь" Server Advertising Section Rules / Правила раздела "Реклама серверов" Available e-mail domains for registration / Допустимые e-mail домены для регистрации User groups / Группы пользователей User ranks / Звания пользователей "Broken" pictures on the forum / "Битые" изображения на форуме Beware of scammers! / Осторожно, мошенники! My developments / Мои разработки Mods for client and server / Моды для клиента и сервера PKOdev.NET website for Tales of Pirates Server / PKOdev.NET веб-обвязка для сервера Пиратии I do not provide any help in private messages and outside the forum. Use 'Questions & Help' section please. Thank you for understanding! Я не оказываю какую-либо помощь в личных сообщениях и вне форума. Пожалуйста, используйте раздел "Пиратия: Помощь". Благодарю за понимание! Share this post Link to post Share on other sites
Ultrasoth 1 Report post Posted June 3, 2017 Kingdom Pirates only uses a "bait" to fool the actual iteminfo.bin. If you are careful you will notice that the file called "objevent2.bin" is the actual iteminfo, and the one that comes by name iteminfo is a file encrypted with a key that the majority can not decompile. If you try to decompile objevent2 you will realize it.. Quote Share this post Link to post Share on other sites