Page 1 of 1

Faction patch error.

Posted: Mon Aug 10, 2009 8:47 pm
by takamouris
If you want to receive support we need this info to help you properly.
Ā» Find Revision
L2J Revision Number:3392
L2JDP Revision Number:

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()[/b]

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. Sad
Any good idea???

Re: Faction patch error.

Posted: Tue Aug 11, 2009 8:45 am
by takamouris
Come on guys........Someone to help me :/// plz.

Re: Faction patch error.

Posted: Tue Aug 11, 2009 8:49 am
by janiii
without the code we cant know where the problem is.

but you can try to refresh, clean and build your workspace projects in eclipse.

Re: Faction patch error.

Posted: Tue Aug 11, 2009 9:00 am
by takamouris
HMM what you need exactly to say you in order to understand me?
Actually I did it in eclipse but this i said happen. :(
Want to upload the .txt ?

Re: Faction patch error.

Posted: Tue Aug 11, 2009 9:13 am
by janiii
do you have build automatically enabled? if not, do the eclipse build manually.

and did you try this after applying the patch manually?
janiii wrote:but you can try to refresh, clean and build your workspace projects in eclipse.

Re: Faction patch error.

Posted: Tue Aug 11, 2009 9:29 am
by takamouris
Well i am not really pro in all this..so plz a little patience :).
1)i didnt build (i mean though ant) after the patch because i think is no need to do it as i have errors in patch.
2)how i can do that? --> refresh, clean and build your workspace projects in eclipse.

Re: Faction patch error.

Posted: Tue Aug 11, 2009 9:41 am
by janiii
after applying the patch manually (with the errors):
1. right-click on the project and select refresh
2. check if you have checked the option Build Automatically on main menu Project
3. in main menu -> Project -> Clean.. -> select the project to clean (eclipse only deletes his own build directory)
3. after the clean, eclipse should automatically do a eclipse build


do you use latest sources of l2j? you could make a patch from what you have applied manually, and maybe someone could look at it then. (to make a patch, right-click the project, Team, Create Patch, select files to export to the patch, finish the patch and then paste here)

Re: Faction patch error.

Posted: Tue Aug 11, 2009 10:05 am
by takamouris
I folloow your steps but then i dont know if eclpise make a build because i go to my files and i dont find any file named build and so on while from the panel i have clicked the auto build.

Re: Faction patch error.

Posted: Tue Aug 11, 2009 10:08 am
by janiii
just check if it helped your error (one time it says the method is missing, one time it says the method is already there) - if one of the errors is fine.

Re: Faction patch error.

Posted: Tue Aug 11, 2009 10:25 am
by takamouris
Hm i try to build now(build-->ant) and it shows me less errors than before.
Before i had 32 errors and now i have 16.
Here is what it says me :

***Edit 12/08/2009 I solved most of them.

BUILD FAILED
C:\eclipse\L2_GameServer\build.xml:76: Compile failed; see the compiler error output for details.

Re: Faction patch error.

Posted: Tue Aug 11, 2009 6:54 pm
by takamouris
I wonder if you can help me via teamviewer? :) Because i am in mess here .Actually for once to understand it...Nevermind...any ideas???

Re: Faction patch error.

Posted: Wed Aug 12, 2009 3:21 pm
by takamouris
Ok guys i am trying to solve smth things....Now remain 4 errors which is similar almost errors :

Code: Select all

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Ā