Jump to content

[Guide]Decompile Preconf Packs


Recommended Posts

So i know preconf packs are useless (preconf pack= w/o source)

what you will learn from this guide??

if you have a good preconf pack you will able to take the source!!!

 

Make a folder with name decompile

 

then copy  your pack (preconf) and paste it into folder

 

now download the ''dj java programm'' http://www.4shared.com/file/93411430/4d34741f/dj_java.html

 

install it and open it

 

unrar your pack

 

now go to dj java programm

 

press ''file'' then ''open''

 

from ''java compiled files'' make it to ''java archive files'' (.jar)

 

now choose l2j.jar or your project name... (remember .jar file)

 

a window will appear with all java files

 

now press crtl+a (all files are selected)

 

now press Decompile  near the print image

 

wait until it finish and ... you will have your fresh source!

 

Creadits: 1nf0

 

 

 

 

 

 

 

 

 

 

Link to comment
Share on other sites

Nice guide but preconfigured pack's are crapy since have lots of extra bugs, hardcode, very unstable, 0 security, and many more that's why MxC community forbidden them.

Link to comment
Share on other sites

Nice guide but preconfigured pack's are crapy since have lots of extra bugs, hardcode, very unstable, 0 security, and many more that's why MxC community forbidden them.

 

preconf=w/o source

 

with my guide you will have the source

 

then you will import the codes and fix bugs easy

Link to comment
Share on other sites

Yes but, what's the point to extract source since lots of them are outdated, you need a lot of work and java knowledge to bring up to date some features, code, etc.

Anyway nice guide  ;)

Link to comment
Share on other sites

Yes but, what's the point to extract source since lots of them are outdated, you need a lot of work and java knowledge to bring up to date some features, code, etc.

Anyway nice guide  ;)

 

+1

Link to comment
Share on other sites

W-O-W!

That's crazy share.I haven;t seen sth like that , i think that you deserver karma!

 

Also

now choose l2j.jar or your project name... (remember .jar file)

[/quote

Yeah i aggree , but ... the mmocore or the commons are important too.So They must to decompile them too  , to have the whole souce code!{??}

 

 

Again gj from me.

Link to comment
Share on other sites

You will not take full source thats for sure!!You will have many "holes" in java codes!

 

That.

 

It's only good to "steal" "locked" content, or features.

 

Don't hope you have nothing to do except a decompile and recompile action, lol.

Link to comment
Share on other sites

Yeah, you will be able to decompiled it (anyway, you won't get all of the files), but you really won't be able to add your edits to the compiled .jar again, so it's kinda useless, unless for stealing some codes as Tryskell said.

Link to comment
Share on other sites

That.

 

It's only good to "steal" "locked" content, or features.

 

Don't hope you have nothing to do except a decompile and recompile action, lol.

 

Yes you can recompile..

 

Btw i use a program like this some years 2-3 to decompile jars.

Thanks 4 share and this.

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.

Guest
Reply to this topic...

×   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

    • You have to create the "voiced" handler in the core too, or at the very least make sure that the delimiter is underscore and not an empty space. Alternatively, you can try changing all references of the strings below to start with "voiced_", or remove the "voiced_" portion from the button bypass.   private static final String[] VOICED_COMMANDS = { "siege", "siege_gludio", "siege_dion", "siege_giran", "siege_oren", "siege_aden", "siege_innadril", "siege_goddard", "siege_rune", "siege_schuttgart" };
    • Hi maxcheaters, I recently added some code to my l2jacis revision and everything works fine with the .siege commands but when I click on the html options to open the registry I don't succeed!   registerHandler(new Castles());   package net.sf.l2j.gameserver.handler.voicedcommandhandlers;   import net.sf.l2j.Config; import net.sf.l2j.gameserver.handler.IVoicedCommandHandler; import net.sf.l2j.gameserver.data.manager.CastleManager; import net.sf.l2j.gameserver.model.actor.Player; import net.sf.l2j.gameserver.model.entity.Castle; import net.sf.l2j.gameserver.network.SystemMessageId; import net.sf.l2j.gameserver.network.serverpackets.NpcHtmlMessage; import net.sf.l2j.gameserver.network.serverpackets.SiegeInfo;   public class Castles implements IVoicedCommandHandler { private static final String[] VOICED_COMMANDS = { "siege", "siege_gludio", "siege_dion", "siege_giran", "siege_oren", "siege_aden", "siege_innadril", "siege_goddard", "siege_rune", "siege_schuttgart" };   @Override public boolean useVoicedCommand(String command, Player player, String target) { if (command.equals("siege") && Config.ENABLE_MENU) showHtm(player); else if (command.startsWith("siege_")) { if (player.getClan() != null && !player.isClanLeader()) { player.sendPacket(SystemMessageId.YOU_ARE_NOT_AUTHORIZED_TO_DO_THAT); return false; }   int castleId = 0; if (command.startsWith("siege_gludio") && Config.SIEGE_GLUDIO) castleId = 1; else if (command.startsWith("siege_dion") && Config.SIEGE_DION) castleId = 2; else if (command.startsWith("siege_giran") && Config.SIEGE_GIRAN) castleId = 3; else if (command.startsWith("siege_oren") && Config.SIEGE_OREN) castleId = 4; else if (command.startsWith("siege_aden") && Config.SIEGE_ADEN) castleId = 5; else if (command.startsWith("siege_innadril") && Config.SIEGE_INNADRIL) castleId = 6; else if (command.startsWith("siege_goddard") && Config.SIEGE_GODDARD) castleId = 7; else if (command.startsWith("siege_rune") && Config.SIEGE_RUNE) castleId = 8; else if (command.startsWith("siege_schuttgart") && Config.SIEGE_SCHUT) castleId = 9; else player.sendMessage("This Castle has been disabled");   Castle castle = CastleManager.getInstance().getCastleById(castleId); if ((castle != null) && (castleId != 0)) player.sendPacket(new SiegeInfo(castle)); } return true; }   private static void showHtm(Player player) { NpcHtmlMessage htm = new NpcHtmlMessage(0); htm.setFile(player.isLang() + "mods/menu/CastleManager.htm"); player.sendPacket(htm); }   @Override public String[] getVoicedCommandList() { return VOICED_COMMANDS; } }     <button value="Giran" action="bypass voiced_siege_giran" width=75 height=22 back="L2UI_ch3.Btn1_normalOn" fore="L2UI_ch3.Btn1_normal">
    • totally agree, the problem started with professionals who made easy to open a server, specially interlude has been abused unstoppably since you can open a server with few clicks now days making fewer players for many servers, while back in time when "compile" was a secret and opening a server was going max players but true things are changing and this has become a job but dont lie everyone knows what is going on, lying is showing desperation, better go and work. i've worked with lots of people with kids that invest huge amounts of money into this and fail while they needed the money its an addiction.
  • Topics

×
×
  • Create New...