Jump to content
  • 0

How to add reborn system? (HF)


Question

12 answers to this question

Recommended Posts

  • 0
Posted
6 minutes ago, ThelwHelpRePaidia said:

Here you can see and get an idea on how to import codes in your sources

Thanks for the reply, I'll try tomorrow

  • 0
Posted
2 hours ago, ThelwHelpRePaidia said:

Here you can see and get an idea on how to import codes in your sources

I made these videos 9 years ago. I didn't know people still watch them.

  • Haha 1
  • 0
Posted (edited)

I followed the video but no luck, build failed. This is the source Im using, but the source for the npc seems to be written for another pack so thats what makes it little harder. 

 

https://drive.google.com/file/d/1XYLLDbhYDBNxNHqgcmzS3bkLTW_sjpuS/view?usp=sharing

Edited by 77upup
  • 0
Posted

I did try but there is so much differences inside the code that I got lost, I found and imported all the correct classes via eclipse search, put the lines inside the right lines, changed references, like for example this code :

import l2r.L2DatabaseFactory;
import l2r.RebirthEngineConfigs;
import l2r.gameserver.data.xml.impl.ExperienceData;
import l2r.gameserver.model.actor.templates.L2NpcTemplate;
import l2r.gameserver.model.items.instance.L2ItemInstance;
import l2r.gameserver.model.skills.L2Skill;
import l2r.gameserver.network.SystemMessageId;
import l2r.gameserver.network.serverpackets.ActionFailed;
import l2r.gameserver.network.serverpackets.ExShowScreenMessage;
import l2r.gameserver.network.serverpackets.MagicSkillUse;
import l2r.gameserver.network.serverpackets.NpcHtmlMessage;
import l2r.gameserver.network.serverpackets.SocialAction;
import l2r.gameserver.network.serverpackets.StatusUpdate;
import l2r.gameserver.network.serverpackets.SystemMessage;

to this :

import org.l2jmobius.RebirthEngineConfigs;
import org.l2jmobius.commons.database.DatabaseFactory;
import org.l2jmobius.gameserver.data.xml.ExperienceData;
import org.l2jmobius.gameserver.model.actor.Player;
import org.l2jmobius.gameserver.model.actor.templates.NpcTemplate;
import org.l2jmobius.gameserver.model.item.instance.Item;
import org.l2jmobius.gameserver.model.skill.Skill;
import org.l2jmobius.gameserver.network.SystemMessageId;
import org.l2jmobius.gameserver.network.serverpackets.ActionFailed;
import org.l2jmobius.gameserver.network.serverpackets.ExShowScreenMessage;
import org.l2jmobius.gameserver.network.serverpackets.MagicSkillUse;
import org.l2jmobius.gameserver.network.serverpackets.NpcHtmlMessage;
import org.l2jmobius.gameserver.network.serverpackets.SocialAction;
import org.l2jmobius.gameserver.network.serverpackets.StatusUpdate;
import org.l2jmobius.gameserver.network.serverpackets.SystemMessage;

 

replaced all the variables, classes, methods according to observation, search and eclipse help proposals, and the server did compile without errors, but I can't even tell if It works, cause the npc doesn't show the html message it is supposed to(even though I linked it via L2RebirthInstance.java, I'll pay for help and a little guide on patching/adopting.

  • 0
Posted

If anyone is still around here, i would much apreciate if i could get some help. I have implemented all, but when i start the game server i get  " WARN: SkillTreesData: Unknown Skill Tree type: rebirthSkillTree : rebirthSkillTree "  ... and ive tryed all, i ve looked at all .. i just can t find they fix. No errors in java, etc

 

Thank you

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×
×
  • Create New...

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..