Page 2 of 3

Re: Can't download datapack and server

Posted: Sun Jan 19, 2020 1:13 pm
by Geemo
I am getting an error so when I try to run build.xml as 1 ant build.

1-I downloaded the source file using git clone.
2-Right click in Pakage Explorer/import/General/Existing Projects into Workspace/l2j-server-datapack
3-Right click in Pakage Explorer/import/General/Existing Projects into Workspace/l2j-server-game
4-Changed jdk to 1.6


5-L2J_Datapack/build.xml/right click/Run As/1 Ant Build
I get the following error: "The archive: C:/Program%20Files/Java/jdk1.6.0/lib/tools.jar which is referenced by the classpath, does not exist."

6-L2J_Server/build.xml/right click/Run As/1 Ant Build
I get the following error: "Could not find the main class. Program will exit."


The file C:/Program%20Files/Java/jdk1.6.0/lib/tools.jar does exist.

Re: Can't download datapack and server

Posted: Sun Jan 19, 2020 10:52 pm
by Geemo
I know that everyone is busy, but could someone please give me a hand? I feel so close, yet so far.

Re: Can't download datapack and server

Posted: Mon Jan 20, 2020 1:08 pm
by Mantosh
Did you try following the guide? https://l2jserver.com/windows.html

Re: Can't download datapack and server

Posted: Tue Jan 21, 2020 12:19 am
by Zoey76
Mantosh wrote: Mon Jan 20, 2020 1:08 pm Did you try following the guide? https://l2jserver.com/windows.html
This is for High Five version, he is using an older version.

Re: Can't download datapack and server

Posted: Tue Jan 21, 2020 6:27 pm
by Geemo
I hope that if I bump this once a day, it doesn't bother anyone. I really want to get this going. Any help or idea of what should I do will be much apreciated. Thanks for your patience and happy Tuesday.

Re: Can't download datapack and server

Posted: Tue Jan 21, 2020 8:14 pm
by JMD
For Epilogue you need Eclipse LUNA and java 1.6

Re: Can't download datapack and server

Posted: Tue Jan 21, 2020 10:34 pm
by Geemo
JMD wrote: Tue Jan 21, 2020 8:14 pm For Epilogue you need Eclipse LUNA and java 1.6
Thanks for the answer, will do that tonight.

Re: Can't download datapack and server

Posted: Wed Jan 22, 2020 1:15 am
by Geemo
Ok, So I downloaded luna from:
https://www.eclipse.org/downloads/packa ... e/luna/sr2
I am using jdk1.6.0
After that I clone using git and imported to eclipse luna l2j-server-datapack and l2j-server-game.
right click server/build.xml/run as/ 1 Ant Build

datapack error

Code: Select all

Buildfile: C:\Users\GEROtheHERO\git\epilogue\l2j-server-datapack\L2J_DataPack\build.xml
init:
version:
     [exec] Execute failed: java.io.IOException: Cannot run program "svnversion": CreateProcess error=2, The system cannot find the file specified
   [concat] C:\Users\GEROtheHERO\git\epilogue\l2j-server-datapack\L2J_DataPack\.svn\entries does not exist.
export:
distclean:
   [delete] Deleting: C:\Users\GEROtheHERO\git\epilogue\l2j-server-datapack\L2J_DataPack\build\L2J_DataPack.zip
dist:
      [zip] Building zip: C:\Users\GEROtheHERO\git\epilogue\l2j-server-datapack\L2J_DataPack\build\L2J_DataPack.zip
BUILD SUCCESSFUL
Total time: 13 seconds
sever error

Code: Select all

Buildfile: C:\Users\GEROtheHERO\git\epilogue\l2j-server-game\L2J_Server\build.xml
clean:
   [delete] Deleting directory C:\Users\GEROtheHERO\git\epilogue\l2j-server-game\L2J_Server\build
verifyRequirements:
init:
    [mkdir] Created dir: C:\Users\GEROtheHERO\git\epilogue\l2j-server-game\L2J_Server\build
    [mkdir] Created dir: C:\Users\GEROtheHERO\git\epilogue\l2j-server-game\L2J_Server\build\classes
    [mkdir] Created dir: C:\Users\GEROtheHERO\git\epilogue\l2j-server-game\L2J_Server\build\dist
    [mkdir] Created dir: C:\Users\GEROtheHERO\git\epilogue\l2j-server-game\L2J_Server\build\dist\login
    [mkdir] Created dir: C:\Users\GEROtheHERO\git\epilogue\l2j-server-game\L2J_Server\build\dist\gameserver
version:
     [exec] Execute failed: java.io.IOException: Cannot run program "svnversion": CreateProcess error=2, The system cannot find the file specified
   [concat] C:\Users\GEROtheHERO\git\epilogue\l2j-server-game\L2J_Server\.svn\entries does not exist.
compile:
    [javac] C:\Users\GEROtheHERO\git\epilogue\l2j-server-game\L2J_Server\build.xml:62: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
    [javac] Compiling 1461 source files to C:\Users\GEROtheHERO\git\epilogue\l2j-server-game\L2J_Server\build\classes
jar:
      [jar] Building jar: C:\Users\GEROtheHERO\git\epilogue\l2j-server-game\L2J_Server\build\l2jserver.jar
      [jar] Building jar: C:\Users\GEROtheHERO\git\epilogue\l2j-server-game\L2J_Server\build\l2jlogin.jar
     [copy] Copying 1 file to C:\Users\GEROtheHERO\git\epilogue\l2j-server-game\L2J_Server\build\dist\login
     [copy] Copying 1 file to C:\Users\GEROtheHERO\git\epilogue\l2j-server-game\L2J_Server\build\dist\gameserver
dist:
     [copy] Copying 3 files to C:\Users\GEROtheHERO\git\epilogue\l2j-server-game\L2J_Server\build\dist\login
     [copy] Copying 2 files to C:\Users\GEROtheHERO\git\epilogue\l2j-server-game\L2J_Server\build\dist\gameserver
     [copy] Copying 12 files to C:\Users\GEROtheHERO\git\epilogue\l2j-server-game\L2J_Server\build\dist\libs
     [copy] Copying 2 files to C:\Users\GEROtheHERO\git\epilogue\l2j-server-game\L2J_Server\build\dist\languages
     [copy] Copying 5 files to C:\Users\GEROtheHERO\git\epilogue\l2j-server-game\L2J_Server\build\dist\images
     [copy] Copying 9 files to C:\Users\GEROtheHERO\git\epilogue\l2j-server-game\L2J_Server\build\dist\doc
     [copy] Copying 10 files to C:\Users\GEROtheHERO\git\epilogue\l2j-server-game\L2J_Server\build\dist\login
     [copy] Copying 5 files to C:\Users\GEROtheHERO\git\epilogue\l2j-server-game\L2J_Server\build\dist\gameserver
    [mkdir] Created dir: C:\Users\GEROtheHERO\git\epilogue\l2j-server-game\L2J_Server\build\dist\gameserver\log
    [mkdir] Created dir: C:\Users\GEROtheHERO\git\epilogue\l2j-server-game\L2J_Server\build\dist\login\log
    [mkdir] Created dir: C:\Users\GEROtheHERO\git\epilogue\l2j-server-game\L2J_Server\build\dist\login\config
     [copy] Copying 20 files to C:\Users\GEROtheHERO\git\epilogue\l2j-server-game\L2J_Server\build\dist\gameserver\config
     [copy] Copying 3 files to C:\Users\GEROtheHERO\git\epilogue\l2j-server-game\L2J_Server\build\dist\login\config
    [mkdir] Created dir: C:\Users\GEROtheHERO\git\epilogue\l2j-server-game\L2J_Server\build\dist\gameserver\data
     [copy] Copying 1 file to C:\Users\GEROtheHERO\git\epilogue\l2j-server-game\L2J_Server\build\dist\gameserver\data
    [mkdir] Created dir: C:\Users\GEROtheHERO\git\epilogue\l2j-server-game\L2J_Server\build\dist\gameserver\data\geodata
     [copy] Copying 1 file to C:\Users\GEROtheHERO\git\epilogue\l2j-server-game\L2J_Server\build\dist\gameserver\data\geodata
    [mkdir] Created dir: C:\Users\GEROtheHERO\git\epilogue\l2j-server-game\L2J_Server\build\dist\gameserver\data\pathnode
     [copy] Copying 1 file to C:\Users\GEROtheHERO\git\epilogue\l2j-server-game\L2J_Server\build\dist\gameserver\data\pathnode
      [zip] Building zip: C:\Users\GEROtheHERO\git\epilogue\l2j-server-game\L2J_Server\build\L2J_Server.zip
BUILD SUCCESSFUL
Total time: 25 seconds

Re: Can't download datapack and server

Posted: Wed Jan 22, 2020 1:55 pm
by JMD
Geemo wrote: Wed Jan 22, 2020 1:15 am Ok, So I downloaded luna from:
https://www.eclipse.org/downloads/packa ... e/luna/sr2
I am using jdk1.6.0
After that I clone using git and imported to eclipse luna l2j-server-datapack and l2j-server-game.
right click server/build.xml/run as/ 1 Ant Build

datapack error

Code: Select all

Buildfile: C:\Users\GEROtheHERO\git\epilogue\l2j-server-datapack\L2J_DataPack\build.xml
init:
version:
     [exec] Execute failed: java.io.IOException: Cannot run program "svnversion": CreateProcess error=2, The system cannot find the file specified
   [concat] C:\Users\GEROtheHERO\git\epilogue\l2j-server-datapack\L2J_DataPack\.svn\entries does not exist.
export:
distclean:
   [delete] Deleting: C:\Users\GEROtheHERO\git\epilogue\l2j-server-datapack\L2J_DataPack\build\L2J_DataPack.zip
dist:
      [zip] Building zip: C:\Users\GEROtheHERO\git\epilogue\l2j-server-datapack\L2J_DataPack\build\L2J_DataPack.zip
BUILD SUCCESSFUL
Total time: 13 seconds
sever error

Code: Select all

Buildfile: C:\Users\GEROtheHERO\git\epilogue\l2j-server-game\L2J_Server\build.xml
clean:
   [delete] Deleting directory C:\Users\GEROtheHERO\git\epilogue\l2j-server-game\L2J_Server\build
verifyRequirements:
init:
    [mkdir] Created dir: C:\Users\GEROtheHERO\git\epilogue\l2j-server-game\L2J_Server\build
    [mkdir] Created dir: C:\Users\GEROtheHERO\git\epilogue\l2j-server-game\L2J_Server\build\classes
    [mkdir] Created dir: C:\Users\GEROtheHERO\git\epilogue\l2j-server-game\L2J_Server\build\dist
    [mkdir] Created dir: C:\Users\GEROtheHERO\git\epilogue\l2j-server-game\L2J_Server\build\dist\login
    [mkdir] Created dir: C:\Users\GEROtheHERO\git\epilogue\l2j-server-game\L2J_Server\build\dist\gameserver
version:
     [exec] Execute failed: java.io.IOException: Cannot run program "svnversion": CreateProcess error=2, The system cannot find the file specified
   [concat] C:\Users\GEROtheHERO\git\epilogue\l2j-server-game\L2J_Server\.svn\entries does not exist.
compile:
    [javac] C:\Users\GEROtheHERO\git\epilogue\l2j-server-game\L2J_Server\build.xml:62: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
    [javac] Compiling 1461 source files to C:\Users\GEROtheHERO\git\epilogue\l2j-server-game\L2J_Server\build\classes
jar:
      [jar] Building jar: C:\Users\GEROtheHERO\git\epilogue\l2j-server-game\L2J_Server\build\l2jserver.jar
      [jar] Building jar: C:\Users\GEROtheHERO\git\epilogue\l2j-server-game\L2J_Server\build\l2jlogin.jar
     [copy] Copying 1 file to C:\Users\GEROtheHERO\git\epilogue\l2j-server-game\L2J_Server\build\dist\login
     [copy] Copying 1 file to C:\Users\GEROtheHERO\git\epilogue\l2j-server-game\L2J_Server\build\dist\gameserver
dist:
     [copy] Copying 3 files to C:\Users\GEROtheHERO\git\epilogue\l2j-server-game\L2J_Server\build\dist\login
     [copy] Copying 2 files to C:\Users\GEROtheHERO\git\epilogue\l2j-server-game\L2J_Server\build\dist\gameserver
     [copy] Copying 12 files to C:\Users\GEROtheHERO\git\epilogue\l2j-server-game\L2J_Server\build\dist\libs
     [copy] Copying 2 files to C:\Users\GEROtheHERO\git\epilogue\l2j-server-game\L2J_Server\build\dist\languages
     [copy] Copying 5 files to C:\Users\GEROtheHERO\git\epilogue\l2j-server-game\L2J_Server\build\dist\images
     [copy] Copying 9 files to C:\Users\GEROtheHERO\git\epilogue\l2j-server-game\L2J_Server\build\dist\doc
     [copy] Copying 10 files to C:\Users\GEROtheHERO\git\epilogue\l2j-server-game\L2J_Server\build\dist\login
     [copy] Copying 5 files to C:\Users\GEROtheHERO\git\epilogue\l2j-server-game\L2J_Server\build\dist\gameserver
    [mkdir] Created dir: C:\Users\GEROtheHERO\git\epilogue\l2j-server-game\L2J_Server\build\dist\gameserver\log
    [mkdir] Created dir: C:\Users\GEROtheHERO\git\epilogue\l2j-server-game\L2J_Server\build\dist\login\log
    [mkdir] Created dir: C:\Users\GEROtheHERO\git\epilogue\l2j-server-game\L2J_Server\build\dist\login\config
     [copy] Copying 20 files to C:\Users\GEROtheHERO\git\epilogue\l2j-server-game\L2J_Server\build\dist\gameserver\config
     [copy] Copying 3 files to C:\Users\GEROtheHERO\git\epilogue\l2j-server-game\L2J_Server\build\dist\login\config
    [mkdir] Created dir: C:\Users\GEROtheHERO\git\epilogue\l2j-server-game\L2J_Server\build\dist\gameserver\data
     [copy] Copying 1 file to C:\Users\GEROtheHERO\git\epilogue\l2j-server-game\L2J_Server\build\dist\gameserver\data
    [mkdir] Created dir: C:\Users\GEROtheHERO\git\epilogue\l2j-server-game\L2J_Server\build\dist\gameserver\data\geodata
     [copy] Copying 1 file to C:\Users\GEROtheHERO\git\epilogue\l2j-server-game\L2J_Server\build\dist\gameserver\data\geodata
    [mkdir] Created dir: C:\Users\GEROtheHERO\git\epilogue\l2j-server-game\L2J_Server\build\dist\gameserver\data\pathnode
     [copy] Copying 1 file to C:\Users\GEROtheHERO\git\epilogue\l2j-server-game\L2J_Server\build\dist\gameserver\data\pathnode
      [zip] Building zip: C:\Users\GEROtheHERO\git\epilogue\l2j-server-game\L2J_Server\build\L2J_Server.zip
BUILD SUCCESSFUL
Total time: 25 seconds
oh yea you also need this to get rid of those errors https://sourceforge.net/projects/win32svn/
However as long as you get the zips you can use the files no problem.

Re: Can't download datapack and server

Posted: Thu Jan 23, 2020 7:56 am
by Geemo
Thanks for helping me, Today I am tired and going to sleep but tomorrow I will continue.

Re: Can't download datapack and server

Posted: Tue Jan 28, 2020 2:01 pm
by Geemo
Hey, I installed.
Setup-Subversion-1.8.17 for apache 2.2 but I still get the errors.

Re: Can't download datapack and server

Posted: Wed Jan 29, 2020 5:43 am
by Geemo
Thanks all, the game is working and I am able to log in.

Especially to JMD, Thanks man. I have been trying to log in for some time now. I am trully thankful.

I have a couple of questions.
1- What issues may I find if I don't use: https://sourceforge.net/projects/win32svn/ and I keep the errors.

2-What do you think it will take to upgrade this project from java 1.6 to java 1.8?

Re: Can't download datapack and server

Posted: Mon Feb 10, 2020 3:05 pm
by Geemo
Hi all,

I have been trying to modify a simple quest. The quest I have chosen is 1_LettersOfLove1

The starting NPC is Darin = 30048

The htm for the first talk = 30048.htm

How does l2j knows where to place the npc?

I was also trying to find info about this npc but I haven't been able to find an xml file with information about the npc.

Maybe I am thinking wrongly.

Re: Can't download datapack and server

Posted: Tue Feb 11, 2020 3:49 pm
by JMD
Geemo wrote: Wed Jan 29, 2020 5:43 am Thanks all, the game is working and I am able to log in.

Especially to JMD, Thanks man. I have been trying to log in for some time now. I am trully thankful.

I have a couple of questions.
1- What issues may I find if I don't use: https://sourceforge.net/projects/win32svn/ and I keep the errors.

2-What do you think it will take to upgrade this project from java 1.6 to java 1.8?
1. None you can ignore those errors and uninstall it if you dont need that.

2. I havent tried something like that yet. However from the little i looked into it, you will have to update all database connection methods in the core because they have changed among other things. Maybe if its not a ton of work someone from the team can do it.

Re: Can't download datapack and server

Posted: Sat Feb 15, 2020 10:57 pm
by Geemo
JMD wrote: Tue Feb 11, 2020 3:49 pm 2. I havent tried something like that yet. However from the little i looked into it, you will have to update all database connection methods in the core because they have changed among other things. Maybe if its not a ton of work someone from the team can do it.
Maybe we can do it!