Jump to content
  • 0

Faction question about manual patching.


Question

Posted

Well guys.....This question is a little bit more difficult than other.

Well,i want to patch a .txt file but it made some errors due to team>apply patch etc etc.

So i do it manually.Everything was rolling perfect until after an hour when i type more than once :

 

boolean iscool()   or   private boolean iscool()

 

It says me that : Duplicate method iscool(and is noob) in type L2PcInstance

 

 

And an other error is that : The method iscool ( and isnoob) is undefined for the type L2PcInstance.

 

So now...how the hell i must solve these errors : the same errors are like 32 times. :(

Any good idea???

8 answers to this question

Recommended Posts

  • 0
Posted

declare 2 public variable in L2PcInstance like

 

public boolean _cool = false;

public boolean _noob = false;

 

create a getter and setter for them like

 

public void setCool(boolean status)
{
       _cool = status;
}

public boolean isCool()
{
       return _cool;
}

 

and the same for noob

 

than you can use activeChar.setCool(true); to set a player to cool and and activeChar.isCool() to check the status

 

everything else is just imagination

  • 0
Posted

I am not sure..if i understand all these pro things you said me,but i will try and then if i will have any problem,i will report it here.

  • 0
Posted

Intrepid can you give some more infos about how to do that you said me???

 

I tried many times but i didnt get a result...afff

 

Actually now i have less errors than before :

 

  Description                     Resource                   Path                                                                          Location     Type

_iscool cannot be resolved L2PcInstance.java /L2_GameServer/java/net/sf/l2j/gameserver/model/actor/instance line 10104 Java Problem

_isnoob cannot be resolved L2PcInstance.java /L2_GameServer/java/net/sf/l2j/gameserver/model/actor/instance line 10098 Java Problem

_isnoob cannot be resolved L2PcInstance.java /L2_GameServer/java/net/sf/l2j/gameserver/model/actor/instance line 10109 Java Problem

_iscool cannot be resolved L2PcInstance.java /L2_GameServer/java/net/sf/l2j/gameserver/model/actor/instance line 10093 Java Problem

 

 

I must write that you said me in L2PcInstance as i understand..but what exactly and where(ex. in the beggining??at last??under smth else?? ).

 

*I am sorry for the double post

  • 0
Posted

_iscool cannot be resolved  L2PcInstance.java  /L2_GameServer/java/net/sf/l2j/gameserver/model/actor/instance  line 10104  Java Problem

 

See this, instance.java cannot be resolved Lib. you must edit Instance.java

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.



×
×
  • Create New...