MeVsYou Posted August 10, 2009 Posted August 10, 2009 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???
0 Intrepid Posted August 11, 2009 Posted August 11, 2009 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 MeVsYou Posted August 11, 2009 Author Posted August 11, 2009 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 MeVsYou Posted August 12, 2009 Author Posted August 12, 2009 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 hoangnhan Posted August 13, 2009 Posted August 13, 2009 See this /L2_GameServer/java/net/sf/l2j/gameserver/model/actor/instance . I think set enviroment patch for instance.java for lib L2PCinstance.java
0 MeVsYou Posted August 13, 2009 Author Posted August 13, 2009 WHat you mean when you say "jet"?? and what exactly to do mate? :/ Don't get that.
0 zunix Posted August 13, 2009 Posted August 13, 2009 i think he means "set" and use more logic, if u patching your source
0 hoangnhan Posted August 14, 2009 Posted August 14, 2009 _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
0 MeVsYou Posted August 14, 2009 Author Posted August 14, 2009 Ok...And how i set this enviroment Patch in L2PcInstance?????
Question
MeVsYou
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
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 accountSign in
Already have an account? Sign in here.
Sign In Now