Jump to content

Compile Your Own H5 Server


Recommended Posts

Well since, previous similar topics have dead links or are digged on previous pages, i'm posting this guide made by Prezicator.
One more guide, never hurted anyone, since it may cover parts that other guides didn't, and people can take advantage of them.
It is written based on l2jsunrise project, and will show you how to set up Eclipse, with automated updates from SVN and build your own server.
We are using l2jsunrise's SVN url's which are not open to everyone, for more information visit their website, however you can use other project's SVN links and the process is the same.
Enough with the talking part lets start working


 
This Guide will show you how to :
 
1.Download Java Jdk & install 
2.Download Eclipse
3.Download & install Eclispe Subversion
4.Checkout Sunrise Repositories & Build project

 
1.Download Java Jdk & install
 
Go to http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html
Accept licence agreement and chose your version 
After download instal`it ( it simple dont need tutorial )


image.jpg


 
2.Download Eclipse:
 
Go to : Http://www.eclipse.org/downloads/packages/eclipse-ide-java-developers/marsr
There chose your version and download 


image.jpg


You will download one archive with eclipse 
Extract where you want :)
 
3.Download & install Eclispe Subversion:
 
Open Eclipse 
Chose your workspace (where you whant) and hit OK


image.jpg


Close first page of eclipse


image.jpg


Go to Help > Install New Software


image.jpg


Hit Add


image.jpg


Write name (what you whant)
Paste link at location ( link : http://subeclipse.tigris.org/update_1.8.x )
Hit OK


image.jpg


Check both Subeclipse and SVNKit
Hit Next 
Hit Next
Accept Terms & Finish


image.jpgimage.jpgimage.jpg


Restart Eclipse!
 
4.Checkout Sunrise Repositories & Build project:
 
Eclipse is alerdy restertated so go to Window > Show View > Other 


image.jpg


Go to SVN
SVN Repositories


image.jpg


Now we will get Sunrise Core
Go to SVN Repositories Area , hit right click on blank area , hit New> Repository Location


image.jpg


Instert url for sunrise core and hit Finish


image.jpg


After repository is added is time to checkout our project 
Open sunrisecore repository
And chose what version you want to checkout 
Trunk links are for sql version
Brances links are for xml version
Right Click on your version , hit Checkout > Check out as a project in the workspace > Finish 


image.jpgimage.jpgimage.jpg


 
And all is done you have Core source on your eclipse 
 
In order to compile  Hit L2J_SunriseProject_Core > Right Click build > Run As > 1Ant Build


image.jpg


 
All Done, your core is now compiled and ready for use. You will need to do the same for data.
In order to get datapack you must follow same steps from "Now we will get Sunrise Core" but only url must be changed with datapack url 
 
Optional Step 
 
If you have problems compile datapack 
Close eclipse 
Download and install 
https://sliksvn.com/download/
restart pc
 
 
In rare cases that core build fails:
Once you have the JDK installation path:[/size]

  • Right-click the My Computer icon on your desktop and select Properties.
  • Click the Advanced tab, then click the Environment Variables button.
  • Under System Variables, click New.
  • Enter the variable name as JAVA_HOME.
  • Enter the variable value as the installation path for the Java Development Kit.
  • Click OK.
  • Click Apply Changes.

You might need to restart Windows.
 
https://confluence.atlassian.com/doc/setting-the-java_home-variable-in-windows-8895.html

Edited by `NeverMore
  • Upvote 5
Link to comment
Share on other sites

It's actually 'how to compile' rather than 'make your own h5 server'

True , title updated

Edited by `NeverMore
Link to comment
Share on other sites

Best guide I ever seen on this forum. +10
 

But I don't like this "SVN url's which are not open to everyone" Since we know we're all going to L2Jserver

Link to comment
Share on other sites

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
Reply to this topic...

×   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.



  • Posts

    • New locations pool! Try it and make your effency greater with Asocks.com!
    • Greetings, Adventurers! 🎉 Announcement: L2 Noxis OBT Server Launch! 🎉 Adventurers of Aden, the moment you’ve been waiting for is here! We are thrilled to announce the official launch of the L2 Noxis Open Beta Test (OBT) Server! Gear up and get ready to embark on an epic journey in the world of Lineage 2 with a plethora of new and exciting features: 🔥 Features of L2 Noxis: Path of Rogue server: Modern Auto-Hunting System: Enjoy a seamless and modern auto-hunting experience, just like in the Essence chronicle. Free To Play Structure: Earn Einhasad's Golden Coins and Tarot cards through various in-game activities, making your adventure rewarding and enjoyable. Long-Term Project: Join us in a long-term commitment to provide a stable, exciting, and evolving gaming environment. Robust Anti-Cheat System: Play with confidence knowing that we have implemented a top-notch anti-cheat system to ensure a fair and balanced gaming experience. Newest Chronicle - Lineage 2: Path of Rogue: Experience the latest chronicle with new content, challenges, and adventures. New Classes: Unleash the power of the Death Knight and the mystical abilities of the Shinemaker. Discover new skills, abilities, and strategies with these exciting classes. Enhanced Rates: Enjoy 2x experience points and 2x adena drop rate, making your progression faster and more rewarding. Join us on this incredible journey and be among the first to experience the wonders of the L2 Noxis server. Gather your friends, form alliances, and conquer the lands of Aden!   📅 Launch Date: [July 10, 2024]   Stay tuned for more updates and get ready to explore, battle, and thrive in the world of L2 Noxis! For more information and instructions how to join the OBT, visit our official website: L2Noxis.com See you in Aden, warriors! 🌟     L2 Noxis Team  
  • Topics

×
×
  • Create New...