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.

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

    • Hello everyone, I am excited to announce the launch of my new Lineage 2 High Five server! If you're a fan of Lineage 2, you won't want to miss out on the action that my server has to offer. With a High Five chronicle, you can expect a truly unique and immersive gaming experience. My server offers a variety of exciting features, including a balanced economy, custom NPCs, and a friendly and active community. One of the standout features of my server is the focus on PvP. Whether you're a seasoned veteran or a newcomer to the world of Lineage 2, you'll find plenty of opportunities to engage in thrilling battles with other players. With our custom PvP system and unique events, you'll never run out of challenges to overcome. But that's not all - my server also offers a range of custom content and quests that will keep you engaged and entertained for hours on end. With regular updates and a dedicated team of developers, you can expect a high-quality and enjoyable gaming experience every time you log in. So what are you waiting for? Join the action on my Lineage 2 High Five server today and experience the thrill of a truly epic adventure!     Cronica High Five Rates: XP x30 SP x30 Adena x10 Drop x10 Spoil x 10 Seal Stone  x10 RateQuestsReward x5 RateQuestsAdenaReward x 5 RateRaidBoss x5 RateQuestsDrop x5 RateSiegeGuard x 1 RateSiegeGuardPA x1 RateManor x 5 Features Server: Free subb class Free class transfer Gm shop grade S Gk global Quest certification :on Siegue castle  monthly :on Olympiad  monthly :on Seven sings free :on 2 HOUR buffs Olympiad max enchant +6 Safe enchant normal 50% Safe enchant blessed 50% EnchantAttributeChance  50% EnchantAttributeCrystalChance =30%     "We are in beta phase."   L2EUROLATIN HIGH FIVE X30
    • He respondido su mensaje saludos.
    • I agree. I hope to help those who need it and can't afford it.   Thanks ♥
  • Topics

×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock