Jump to content
  • 0

encrypt jserver lib


l2jkain

Question

Recommended Posts

  • 0

yes search for obfuscation for java but you have to read the manual, i did this with yGuard but eventually if someone wants to crack your code he will.

  • Like 1
Link to comment
Share on other sites

  • 0
3 hours ago, Nightw0lf said:

yes search for obfuscation for java but you have to read the manual, i did this with yGuard but eventually if someone wants to crack your code he will.

I have a tutorial I searched for more I found a lot of things

Link to comment
Share on other sites

  • 0

Just as a sidenote, all your errors (thrown on console or logs) will be encrypted too. There is the possibility to create a rainbow table to desobfuscate your logs, but it's a pain in the ass.

Link to comment
Share on other sites

  • 0
3 minutes ago, .Elfocrash said:

You miss the point. Obfuscation is not about making the libraries uncrackable but unreadable.

true my mistake on the word "crack" it should be unreadable as you say

 

57 minutes ago, Tryskell said:

Just as a sidenote, all your errors (thrown on console or logs) will be encrypted too. There is the possibility to create a rainbow table to desobfuscate your logs, but it's a pain in the ass.

you select what you want to encrypt and now that we bring that matter to the subject is better to avoid encrypt the main class, the system messages, gameserver, login classes (or you will find out eventually) cause nothing will be readable on the console.

 

and as elfo said this is to much for sharing.

Link to comment
Share on other sites

  • 0

You both didn't get the point of my answer, a strackTrace will be totally unreadable, since you edit all methods names (that's the point to obfuscate). The crafted log message "Failed to load {} on {}" "is like the least of your problem when your stack trace refer to ah.yyuu.iuui() method.

 

Good luck to debug it.

Edited by Tryskell
Link to comment
Share on other sites

  • 0
3 hours ago, .Elfocrash said:

I can't possible summarize everything from the top of my head but i have a settings file which includes pretty much anything needed for an l2jserver.jar library to be obfuscated and fully functional (which im not willing to share).

 

Cringe

Link to comment
Share on other sites

  • 0
3 hours ago, .Elfocrash said:

those catch clauses in acis are insanely shit anyway. I had to go through all of them and change them to something that actually makes sense and helps the admin monitoring the console.

I don't see that as a problem.

 

I added recently a special Logger, with {} feature and Exception sent in both console and logs. I'm moving each Logger to that new implementation in same time I refresh datatype organization.

Link to comment
Share on other sites

  • 0
45 minutes ago, .Elfocrash said:

 (correct me if I'm wrong as im holding back on installing 373).

 

 

You are wrong, but I stop the offtopic here. I only speak about a sidenote to remember, not my fault if you begin to speak about aCis, I didn't begin :D.

Edited by Tryskell
Link to comment
Share on other sites

  • 0
4 minutes ago, Tryskell said:

 

You are wrong.

Doesn't look like it https://pastebin.com/u9J4K6Cp

On the other hand i would never name a method with amazing self descriptive names liek log0 so, yeah.

Edited by .Elfocrash
Link to comment
Share on other sites

  • 0
1 minute ago, .Elfocrash said:

Doesn't look like it https://pastebin.com/u9J4K6Cp

 

Do a player.getClan().broadcastClanStatus() anywhere on EnterWorld and log a clanless ppl. Magic.

Edited by Tryskell
Link to comment
Share on other sites

  • 0
2 minutes ago, Tryskell said:

 

Do a player.getClan().broadcastClanStatus() anywhere on EnterWorld and log a clanless ppl. Magic.

Well i aint be moving to latest anytime soon, but i will take your word for it. after 6 years it was about time tbh.

Still doesnt explain the debug config removal tho.

Edited by .Elfocrash
Link to comment
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.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  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.



  • Posts

    • Do you think that everything on the system is loaded regardless if you use it or not ? or even worst, are they loaded even if they exist as textures/meshes but not defined on the DAT files ?
    • DISCORD : utchiha_market telegram : https://t.me/utchiha_market SELLIX STORE : https://utchihamkt.mysellix.io/ Join our server for more products : https://discord.gg/hoodservices https://campsite.bio/utchihaamkt
    • Yes, it is, it's not hard to do (if you know what you're doing); just time consuming.   To make some things clear: 1. You can not create .ukx files with animated skeletalmeshes inside, by using any of the freeshared L2Editors (basically, no support for .psa files) 2. You need a patched UT2003/UT2004. You can either get your own ut2004 and download Gildor's patch from his web, or use any of these: When you use these, you should be able to import both .psk and .psa animations > link the skeletalmesh to the psa > save as .ukx > use ut2down to convert the file to l2 format > encrypt the .ukx with standard l2 encryption (you can use mxc encdec, you can find it in the folder of the l2editor i shared). Your best bet is to use pawnviewer (aka dev mode) to test that. If you have troubles with that process then leave a reply here, otherwise, if it works correctly, you can move on to adding missing animnotify classes to you unrealed, then proper animnotifies, sounds, effects or w/e is missing from your .ukx files. Keep in mind that this is overall not difficult but a huge amount of work (unless you're good at scripting/macros) since you'd need to manually re-create every single animnotify, by hand. If you have doubts or i wasn't clear enough let me know here. (in case you don't know what an animnotify is: UDN - Two - AnimNotifies (unrealengine.com) )  
    • Welcome to JewStor Service!!!   ❖Ready-made verified wallets, exchanges, business banks and to order accounts. ❖EU/UK/US/DE Stuff: 100% Verified! Reliable financial tools for your business. ❖Popular items available include: Stripe business + Payoneer, Deutshce Bank, BBVA ES, Xapo Bank, Revolut business / personal, Santander Bank, Wallester business, Bitsa EU, Binance EU, Qonto Business, Blackcatcard EU, Shopify Payments, ICard EU, N26 EU, Naga Pay EU, Paysera EU, Mistertango Business and many others.
    • Custom = everything that is not part of my H5 client, such as Aegis skin, Death Knight skin, Constructor skin, Golden Valakas skin, an example is the pack containing 3 Golden Valakas skins+cloaks, to give you an idea, this pack consumes almost 200MB within the system, another example of custom is the Hunter Head set made by Asuki, almost 100MB within the system, every custom item added to the client, specifically within the system folder will increase the consumption of your client's virtual ram memory, the more custom added there, the faster your client will close due to critical. Around 4 to 5 custom packs that I removed from the system and made my client reach the ram virtual limit only after more than 40 hours online, in other words; It is only worth adding custom items to the system folder if it is very well compressed, maximum up to 10MB per custom pack (This pack below in the photo, only it inside your client - system consumes almost 200MB, when I removed this pack inside the system it increased the game's lifespan by almost 4h during my tests)
  • Topics

×
×
  • Create New...