Problem compiling last revision of server (SOLVED)

Support for the latest build of L2J Server, get help here with installations, upgrades, problems.
Do not post bugs reports here, use viewforum.php?f=77 instead.
There is no support for other server builds than the official provided by l2jserver.com
Forum rules
READ NOW: L2j Forums Rules of Conduct
Locked
bomberoloco24
Posts: 23
Joined: Sun May 15, 2011 3:51 pm

Problem compiling last revision of server (SOLVED)

Post by bomberoloco24 »

If you want to receive support we need this info to help you properly.
» Find Revision
L2J Revision LAST:
L2JDP Revision LAST:

Hello, first of all, im new in l2j, and in java so, sorry for all the noobish things im about to post.

I downloaded the nightly build like 1 week ago, and i got to run the server with little or no trouble.

I Found that paliaka injured dragon was not there, so i searched the forum and found a patch, that was tested and worked around, so i downloaded that patch, and i found, besides de xml files of the quest, 2 archives : .patch : core and DP.

No idea how to apply them, so i come to do some reading on the forum, and i understand that i had to apply patch to the non compiled server, that i didnt had, after some much more reading, i downloaded eclipse, subclipse and all that i found in the wiki page to compile, java jdk to.

I conected to the svn server, made the first check, it downloaded all the data, then i syncronized again just in case.
I did this with server and datapack.

I run across some obstacles, but i got the whole packet running.

Now, im ready to compile the l2jserver build.xml

After some more errors ... like not finding javac .. and things like that, founded solutions in forum and finally i got it starting compiling, but now .... i have 7 compile errors that i just cant get around them.

Im posting the console so someone can give some direction of where to look for the problem .. or wtf im doing wrong ... Lots of thanks in advance !

PD: i didnt apply the paliaka patch or any other files, just as eclipse finished downloading all the server and datapack, and after sincronizing, i tryed compile with only that, no intervention at all.

Code: Select all

Buildfile: C:\Users\Juan\Desktop\l2 project\L2J_Server\build.xmlclean:   [delete] Deleting directory C:\Users\Juan\Desktop\l2 project\L2J_Server\buildverifyRequirements:init:    [mkdir] Created dir: C:\Users\Juan\Desktop\l2 project\L2J_Server\build    [mkdir] Created dir: C:\Users\Juan\Desktop\l2 project\L2J_Server\build\classes    [mkdir] Created dir: C:\Users\Juan\Desktop\l2 project\L2J_Server\build\dist    [mkdir] Created dir: C:\Users\Juan\Desktop\l2 project\L2J_Server\build\dist\login    [mkdir] Created dir: C:\Users\Juan\Desktop\l2 project\L2J_Server\build\dist\gameserverversion:compile:    [javac] Compiling 1523 source files to C:\Users\Juan\Desktop\l2 project\L2J_Server\build\classes    [javac] C:\Users\Juan\Desktop\l2 project\L2J_Server\java\com\l2jserver\gameserver\model\L2Skill.java:403: cannot find symbol    [javac] symbol  : variable _negateCasterId    [javac] location: class com.l2jserver.gameserver.model.L2Skill    [javac]             _negateCasterId = new int[valuesSplit.length];    [javac]             ^    [javac] C:\Users\Juan\Desktop\l2 project\L2J_Server\java\com\l2jserver\gameserver\model\L2Skill.java:406: cannot find symbol    [javac] symbol  : variable _negateCasterId    [javac] location: class com.l2jserver.gameserver.model.L2Skill    [javac]                 _negateCasterId[i] = Integer.parseInt(valuesSplit[i]);    [javac]                 ^    [javac] C:\Users\Juan\Desktop\l2 project\L2J_Server\java\com\l2jserver\gameserver\model\L2Skill.java:410: cannot find symbol    [javac] symbol  : variable _negateCasterId    [javac] location: class com.l2jserver.gameserver.model.L2Skill    [javac]             _negateCasterId = new int[0];    [javac]             ^    [javac] C:\Users\Juan\Desktop\l2 project\L2J_Server\java\com\l2jserver\gameserver\model\L2Skill.java:717: cannot find symbol    [javac] symbol  : variable _negateCasterId    [javac] location: class com.l2jserver.gameserver.model.L2Skill    [javac]         return _negateCasterId;    [javac]                ^    [javac] C:\Users\Juan\Desktop\l2 project\L2J_Server\java\com\l2jserver\gameserver\templates\item\L2Weapon.java:203: cannot find symbol    [javac] symbol  : variable _unequipSkill    [javac] location: class com.l2jserver.gameserver.templates.item.L2Weapon    [javac]                     _unequipSkill = new SkillHolder(id, level);    [javac]                     ^    [javac] C:\Users\Juan\Desktop\l2 project\L2J_Server\java\com\l2jserver\gameserver\templates\item\L2Weapon.java:291: cannot find symbol    [javac] symbol  : variable _unequipSkill    [javac] location: class com.l2jserver.gameserver.templates.item.L2Weapon    [javac]         return _unequipSkill == null ? null : _unequipSkill.getSkill();    [javac]                ^    [javac] C:\Users\Juan\Desktop\l2 project\L2J_Server\java\com\l2jserver\gameserver\templates\item\L2Weapon.java:291: cannot find symbol    [javac] symbol  : variable _unequipSkill    [javac] location: class com.l2jserver.gameserver.templates.item.L2Weapon    [javac]         return _unequipSkill == null ? null : _unequipSkill.getSkill();    [javac]                                               ^    [javac] 7 errors BUILD FAILEDC:\Users\Juan\Desktop\l2 project\L2J_Server\build.xml:63: Compile failed; see the compiler error output for details. Total time: 4 seconds
Last edited by bomberoloco24 on Tue May 24, 2011 5:56 pm, edited 2 times in total.
User avatar
Zoey76
L2j Inner Circle
L2j Inner Circle
Posts: 7008
Joined: Tue Aug 11, 2009 3:36 am

Re: Problem compiling last revision of server

Post by Zoey76 »

First I recommend you to read from our wiki: http://trac.l2jserver.com/wiki/Eclipse or very short version: http://l2jserver.com/wiki/Setup_Eclipse_and_SVN
After that this is another recommended reading: http://l2jserver.com/wiki/How_to_Apply_a_Patch

Also I'd recommend you to try first to compile a clean server revision to see if everything is correctly setup, then apply any patch you want. :wink:

If you have errors after applying a patch from a user contribution, go to that thread and request support there.

By the way last or latest aren't revision numbers, you need to specify the right number of core and datapack you are using or trying to use, otherwise we won't be able to help you in proper way.
Powered by Eclipse 4.34 🌌 | Eclipse Temurin 21 ☕ | MariaDB 11.3.2 🗃️ | L2J Server 2.6.3.0 - High Five 🚀

🔗 Join our Discord! 🎮💬
bomberoloco24
Posts: 23
Joined: Sun May 15, 2011 3:51 pm

Re: Problem compiling last revision of server

Post by bomberoloco24 »

1.- Thansk for the ultra fasta answer :D
2.- i forgot to say that i didnt apply that patch, im trying to compile the server clean as it comes from the repository.
3.- that link u posted me, is the guide i used to download all the stuff, and try to make the compile.
4.- Im doing a new checkout and eclipse is downloading l2jserver as im posting, im going to try again.
5.- Question , do i have to do something with the datapack, before y try to compile server ? or i have to compile them apart ?

ill post any news

SERVER REVISION: 4632
DATAPACK REVISION: 8021
PD. sorry for my bad english.
bomberoloco24
Posts: 23
Joined: Sun May 15, 2011 3:51 pm

Re: Problem compiling last revision of server

Post by bomberoloco24 »

Ok. Sorry for double post.

I cleaned all the first downloaded from repository.

Then i did a new checkout, and this time i didnt syncronize with the svn.

Compiled with no errors at all, server and datapack.

Thanks for all, now im going to start playing with patches and others :D
hope
Posts: 1160
Joined: Thu Aug 30, 2007 5:17 pm

Re: Problem compiling last revision of server (SOLVED)

Post by hope »

It is nice to see someone putting the effort into trying to fix things themselves most others give up long before this and never try doing it themselves.

I take my hat of to you Sir well done
Last edited by hope on Wed May 25, 2011 7:23 am, edited 1 time in total.
bomberoloco24
Posts: 23
Joined: Sun May 15, 2011 3:51 pm

Re: Problem compiling last revision of server (SOLVED)

Post by bomberoloco24 »

thanks, i was since yesterday trying to compile, and i hated me couse i had all the isntructions and even like that i couldnt do it.

Thats why i posted.

Btw i was able to install the paliaka patch, with no problems either. it works very well.

I hope soon i can start helping with the dev of this project, i still need to learn so much :D
howdoyouturn69
Posts: 38
Joined: Mon Apr 18, 2011 5:04 am

Re: Problem compiling last revision of server (SOLVED)

Post by howdoyouturn69 »

Hi, could you please post the link of the Pailaka Patch? I've search around without any answer :S...

Tnks in advance ^_^!...
Locked