Jump to content
Tera

Anti Decompiling Iteminfo.Bin - Anti Mob Tweak

Recommended Posts

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 :ok:

Share this post


Link to post
Share on other sites

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...

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites
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.

  • Like 5

kong.png

a2.png

Share this post


Link to post
Share on other sites

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


Share this post


Link to post
Share on other sites

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..

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...