Welcome to MaxCheaters.com

Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies to existing threads

Recommended Posts

Hello,

 

I would like to share with you some project I found on one Spanish forum.  It's MOD Engine developed by Fissban.

This engine will have a system of listeners and codes that allow us to easily design all our mods almost without modifying the core of our project, this will make it easier to update our pack and avoid programming errors.

 

SVN
https://svn.code.sf.net/p/l2devs-custom/code/
TIMELINE
https://sourceforge.net/p/l2devs-custom/code/commit_browser
WIKI
https://sourceforge.net/p/l2devs-custom/wiki/browse_pages/

 

Installation:

 

Requirements:

  • Having the latest revision or higher L2jAcis free.
  • Download the latest version of engine from repository

 

Steps:

  1. Indicate the JDK version that will use our project to compile and be programmed, it must be either within versions JDK
  2. Once downloaded right click on the project, select the "export" option in the new window look "java -> JAR-File" will ask us where we want to export and we will put the name "L2Devs_Custom.jar"
  3. We take the generated file and paste it into the "lib" folder L2jAcis project
  4. Now within the Eclipse will right click on the jar, we will go to the "Build Patch" and we will click on the "add to Build Patch" option
  5. Let the "data" folder of our repository, open the file "patch.diff" take your content and apply the patch on the draft L2jAcis
  6. Let the "dist / sql" folder and introduce the sql "engine.sql" our DB
  7. Let the "dist / game / config" folder and introduce the propertie "engine.propertie" to the folder "... \ gameserver \ config" file
  8. Now compile the project again L2 Acis and update the server with the new version.

 

Avaliable mods for now:

ColorAccordingAmountPvPorPk

EnchantAbnormalEffectArmor

SpreeKills

AubClassAcumulatives

PvPReward

AnnounceKi​​llBoss​​

PlayerStats

​SellBuff

VoteReward​

AntiBot

 

​Events:

BonusExpSP

Champions

RandomBossSpawn

​​

NPC:

NpcRanking

 

 

 

Credits to: Fissban

 

Share this post


Link to post
Share on other sites

Yeah, I like it too. I found that engine when I was looking for some StackSubclass solution. SubClassAcumulative works great, but by default it allows to stack skills from main + all 3 subclasses. Anyway, here is simple modification which leaves main skills untouched and all of subclasses gets only own skills+skills from main.

Just edit SubclassAcumulative.java and change:

// SQL
	private static final String RESTORE_SKILLS_FOR_CHAR = "SELECT skill_id,skill_level,class_index FROM character_skills WHERE char_obj_id=?";
	

to this one:

// SQL
	private static final String RESTORE_SKILLS_FOR_CHAR = "SELECT skill_id,skill_level,class_index FROM character_skills WHERE char_obj_id=? AND class_index=0";
	

​Tested, and works well! ;)

Share this post


Link to post
Share on other sites

Share this post


Link to post
Share on other sites

I will not base my engine on private versions since my work is for everyone and not only for those who paid Acis.

But even so is quite simple update my work last private versions

Edited by fissban

Share this post


Link to post
Share on other sites
  • 2 weeks later...

It seems that i miss something? Anyone willing to help us out a bit with some further instructions ? Cuz im getting a lot of errors here aplying it on rev.350

 

Thanks in advance!

what errors? show us pictures...when i put this on rev 357 work perfect on eclipse without any errors.but when i open gs i got errors from icons.

p.s rev 350 is not stable version.you should buy latest revision.

Share this post


Link to post
Share on other sites

Updated from svn and compiles successfuly! You should ad a readme file with .commands also. Great project!

 

This website requires javascript/cookies support in order to operate properly.This website requires javascript/cookies support in order to operate properly.

It is true, I have entertained so long to write the code that eh forgotten to leave instructions for those who want to use my work.

 

 

Although I check this forum so soon I do every day, if they will have to ask for support on my forum:

 

This website requires javascript/cookies support in order to operate properly.

http://l2devsadmins.com/

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