Jump to content
  • 0

[Request]Help - Import problem


Question

13 answers to this question

Recommended Posts

  • 0
Posted

Yes, right click on your svn link (from eclipse for example) and there should be window where you can put rev number.

  • 0
Posted

ok tnx dude :)

now lest learn how to import someting :)

 

--------------------------------------------------

now i have other problem

i try import it in my server

 

http://www.maxcheaters.com/forum/index.php?topic=121108.0

 

but i have this problem ...

what i need change from original code to work in my server

 

My code + image problem

 

Index: /trunk/l2joff-GS/java/net/l2off/gameserver/model/actor/instance/L2PcInstance.java
===================================================================
--- /trunk/l2joff-GS/java/net/l2off/gameserver/model/actor/instance/L2PcInstance.java (revision 86)
+++ /trunk/l2joff-GS/java/net/l2off/gameserver/model/actor/instance/L2PcInstance.java (revision 86)
@@ -8425,4 +8425,6 @@
public boolean addSubClass(int classId, int classIndex)
{
+ L2PcInstance player = getClient().getActiveChar();
+ 
if (getTotalSubClasses() == 3 || classIndex == 0)
return false;
@@ -8430,4 +8432,8 @@
if (getSubClasses().containsKey(classIndex))
return false;
+ 
+ player.startAbnormalEffect(L2Character.ABNORMAL_EFFECT_HOLD_1);
+ player.setIsParalyzed(true);
+ player.sendMessage("You are paralized untill your subclass load.");

// Note: Never change _classIndex in any method other than setActiveClass().
@@ -8492,4 +8498,8 @@
if (Config.DEBUG)
_log.info(getName() + " was given " + getAllSkills().length + " skills for their new sub class.");
+ 
+ player.setIsParalyzed(false);
+ player.stopAbnormalEffect(L2Character.ABNORMAL_EFFECT_HOLD_1);
+ player.sendMessage("You are unparalized.");

return true;

 

95481800.jpg

 

  • 0
Posted
--- /trunk/l2joff-GS/java/net/l2off/gameserver/model/actor/instance/L2PcInstance.java (revision 86)

+++ /trunk/l2joff-GS/java/net/l2off/gameserver/model/actor/instance/L2PcInstance.java (revision 86)

 

You have to correct these patches.

 

And faster way (this is only few lines diff so..) add it manualy, diff is some kind of "map"

 

with hints where  You should put code.

  • 0
Posted

ok tnx i read guide but i have more one question

 

 

so i need import this is L2PcInstance.java

but my code need like this ?

 

 

@@ -8425,4 +8425,6 @@

public boolean addSubClass(int classId, int classIndex)

{

+ L2PcInstance player = getClient().getActiveChar();

+

if (getTotalSubClasses() == 3 || classIndex == 0)

return false;

@@ -8430,4 +8432,8 @@

if (getSubClasses().containsKey(classIndex))

return false;

+

+ player.startAbnormalEffect(L2Character.ABNORMAL_EFFECT_HOLD_1);

+ player.setIsParalyzed(true);

+ player.sendMessage("You are paralized untill your subclass load.");

 

// Note: Never change _classIndex in any method other than setActiveClass().

@@ -8492,4 +8498,8 @@

if (Config.DEBUG)

_log.info(getName() + " was given " + getAllSkills().length + " skills for their new sub class.");

+

+ player.setIsParalyzed(false);

+ player.stopAbnormalEffect(L2Character.ABNORMAL_EFFECT_HOLD_1);

+ player.sendMessage("You are unparalized.");

 

return true;

 

 

or need like this  :

 

public boolean addSubClass(int classId, int classIndex)
{
+ L2PcInstance player = getClient().getActiveChar();
+ 
if (getTotalSubClasses() == 3 || classIndex == 0)
return false;
@@ -8430,4 +8432,8 @@
if (getSubClasses().containsKey(classIndex))
return false;
+ 
+ player.startAbnormalEffect(L2Character.ABNORMAL_EFFECT_HOLD_1);
+ player.setIsParalyzed(true);
+ player.sendMessage("You are paralized untill your subclass load.");

// Note: Never change _classIndex in any method other than setActiveClass().
@@ -8492,4 +8498,8 @@
if (Config.DEBUG)
_log.info(getName() + " was given " + getAllSkills().length + " skills for their new sub class.");
+ 
+ player.setIsParalyzed(false);
+ player.stopAbnormalEffect(L2Character.ABNORMAL_EFFECT_HOLD_1);
+ player.sendMessage("You are unparalized.");

return true;

  • 0
Posted

you use interlude ?

and is realy easy to add that.

just serch for :

if (getSubClasses().containsKey(classIndex))
return false;

and add below :

player.startAbnormalEffect(L2Character.ABNORMAL_EFFECT_HOLD_1);
player.setIsParalyzed(true);
player.sendMessage("You are paralized untill your subclass load.");

 

then serch for :

_log.info(getName() + " was given " + getAllSkills().length + " skills for their new sub class.");

and add below :

player.setIsParalyzed(false);
player.stopAbnormalEffect(L2Character.ABNORMAL_EFFECT_HOLD_1);
player.sendMessage("You are unparalized.");

 

  • 0
Posted

you use interlude ?

and is realy easy to add that.

just serch for :

if (getSubClasses().containsKey(classIndex))
return false;

and add below :

player.startAbnormalEffect(L2Character.ABNORMAL_EFFECT_HOLD_1);
player.setIsParalyzed(true);
player.sendMessage("You are paralized untill your subclass load.");

 

then serch for :

_log.info(getName() + " was given " + getAllSkills().length + " skills for their new sub class.");

and add below :

player.setIsParalyzed(false);
player.stopAbnormalEffect(L2Character.ABNORMAL_EFFECT_HOLD_1);
player.sendMessage("You are unparalized.");

 

 

yes i use Interlude l2joff

btw tnx for help but i want to know how to impoert and other code from mxc

  • 0
Posted

btw tnx for help but i want to know how to impoert and other code from mxc

 

I really don't know what are You talking about.

Guest
This topic is now closed to further replies.


  • Posts

    • LF the following chars / items on chronos   Elf - with class Aeore's Shillen Saint - this is possible if you had done a class change with a ticket in the past. Dwarf - with class Mystic Muse - same as above   Any greater jewels / Radiant Circle Grace or Foresight +5 and above Cloak      
    • First, you need to understand what you're doing and what you want to achieve. You have to choose a server core. After that, decide what you want your server to include, code it, modify the client to fit your server, go public, and drink champagne.   If you know how to code, creating a server is relatively easy — a few months of work and you can make it happen. Modifying the client is a completely different story. There’s a lack of tutorials, tools, and source materials. I’m currently working on the client myself, and I’ve already spent over three weeks just trying to get started due to the lack of information. If you don’t have the knowledge and experience, you’ll need a team and a bag of money — but realistically, it just won’t succeed.
    • The server has been online and stable for over 2 months now, and we’re still going strong! No wipes, no shortcuts ~ just continuous work, daily fixes, events, and improvements to ensure the best possible experience.   Great News! 🔥 CHAPTER II IS COMING — GRACIA FINAL 🔥 On February 16, L2Elixir enters a new era. The server will be officially updated to Gracia Final, opening Chapter II of our journey. Expect new content, improvements, and surprises that will refresh the gameplay while keeping the classic Gracia Final spirit alive.   More challenges, more competition, and more reasons to log in.   📅 Update Date: February 16 ⚔️ Chapter II: Gracia Final This is not a reset. This is evolution.   Prepare yourselves — Chapter II begins soon.   Website: https://l2elixir.org/ Discord: https://discord.gg/5ydPHvhbxs    
    • Server owners, Top.MaxCheaters.com is now live and accepting Lineage 2 server listings. There is no voting, no rankings manipulation, and no paid advantages. Visibility is clean and equal, and early listings naturally appear at the top while the platform grows. If your server is active, it should already be listed. Submit here 👉https://Top.MaxCheaters.com This platform is part of the MaxCheaters.com network and is being built as a long-term reference point for the Lineage 2 community. — MaxCheaters.com Team
  • Topics

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