Jump to content

Recommended Posts

Posted

Tutorial : Downoad, edit sources and compile an l2jfree project with NetBeans.

(Windows XP version)

 

Notes :

 

      - This is the procedure I've followed for installing everything on my Asus Eee netbook, with standard Windows XP installation.

      Hopefully this will be clean enough and standard enough for anyone with the same OS to follow these simple steps. And maybe other OS's too, but I wouldn't guarantee it

 

      - In a few months I'll probably do this tutorial again for Windows Seven, if anything should be different.

 

      - If you want to compile on an UNIX-based system, I enjoin you to follow this link, where it is clearly exposed how to do so. (FIXME: LINK IS MISSING)

 

 

Step 1 : JDK.

 

      - Follow this link : http://java.sun.com/javase/downloads/index.jsp

      - Choose the JDK 6 Update 16 (or any newer version that you may find at the time you read this tutorial) by clicking on the orange "Download" button.

      - Choose Windows in the "platform" list. If you use Windows XP 64 of course, you should choose "Windows x64".

      - Click on the checkbox and then "continue"

      - On this page, click on the ".exe" link and download. Then install it as you would normally do with any windows program.

 

 

Step 2 : NetBeans

 

      - Go on this page : http://www.netbeans.org/downloads/

      - Choose the "download" button in the first column. You don't need extra stuff if you just want to mess with the l2jfree project. However, feel free to look around if you're interested in working with netBeans on other projects or languages.

      - Launch the install of the executable file you have just downloaded. At some point in the installation you will be asked to indicate the path to the JDK. If it isn't filled automatically by the installer, enter the path you have chosen in step 1 to install the JDK.

      - Launch the application and do all the suggested updates.

 

 

Step 3 : Subversion

 

      - Go there : http://www.open.collab.net/downloads/netbeans/

      - Choose the CollabNet Subversion Command Line Client v1.5.5 (for Windows)

      - Click on the orange download button, create an account and get the .exe file.

      - Install it

      - Open your command line (cmd.exe). Type "svn --version" and then enter. If you get an error message, do the following :

            - Go to Configuration panel->System->Advanced->Environment variables

            - In the system variables, Modify the path variable and add at the end the following :

            ";C:\Program Files\CollabNet Subversion Client" without the quotes. If you have installed subversion somewhere else, of course, enter the corresponding path in place of this one.

            - Check if it works by relaunching cmd.exe and typing svn --version again.

 

 

Step 4 : Checkout !

 

      - Restart NetBeans. All the updates should be done by now.

      - In the team menu, choose Subversion -> Checkout...

      - The repository URL is : http://svn.l2jfree.com/svn/l2j-free/

      - Browse the repository folders. The unstable but most up-to-date version is the one contained in trunk. Stable versions are in archive (last stable for each chronicle/throne) and tags (each version of login/gameserver)

      - Choose the local folder in which all the sources will be extracted.

      - Click on finish.

      - A project should have appeared in your left sidebar, called l2jfree-main something. Extend it, then choose module, and you should see the different parts : l2jfree-core, l2jfree-login, etc.

      - Open them all by right-clicking and choosing "Open Project".

 

 

Step 5 : Maven

 

      - Well, now you've got all your sources, you can edit them as you like, but you might want to compile now.

      - You need to download maven http://www.apache.org/dyn/closer.cgi/maven/source/apache-maven-2.2.1-bin.zip

      - Unzip it wherever you like but remember the path !

      - In NetBeans, open the Tools menu and select Options.

      - Click on the "Miscellaneous" icon.

      - Click on "Maven"

      - In the "External maven home" textbox, enter the path I asked you to remember earlier.

      - In the "global options definition" field, write "-Dmaven.test.skip=true" (without quotes of course)

 

 

Step 6 : Finally, compile !

 

      - Now right click on an opened project (first you need to compile l2j-commons and mmocore in order to make it work for login and core) and choose Custom -> Goals...

      - There, in the "Goals" field, just write "assembly:assembly" and then click "OK". Compilation should start.

      - If you get an error saying something like "Java heap space / out of resources", you need to go to your Maven directory, in the "bin" subdir, and edit the mvn.bat file :

            - Find the line beginning by the following string : "%MAVEN_JAVA_EXE% %MAVEN_OPTS% -classpath %CLASSWORLDS_JAR%"

            - Replace it with "%MAVEN_JAVA_EXE% %MAVEN_OPTS% -Xmx1024m -classpath %CLASSWORLDS_JAR%"

            - If you have 1 Go of RAM or less, you might want to write "-Xmx512m" instead, because your system won't be ale to allocate 1 Go for the heap.

            - Retry compiling.

      - Your server is now compiled and ready to be run.

 

all credits go to shinzer0

Posted

Thnx for the guide Serk maybe i will check it later but as Matim says Eclipse is better anyway, ty

Posted

Why eclipse is better ? I think netbeans is faster and it have easy interface :) Ty

 

Because of coding amenities.

  • 2 months later...
Posted
Step 3 : Subversion

 

      - Go there : http://www.open.collab.net/downloads/netbeans/

      - Choose the CollabNet Subversion Command Line Client v1.5.5 (for Windows)

      - Click on the orange download button, create an account and get the .exe file.

      - Install it

      - Open your command line (cmd.exe). Type "svn --version" and then enter. If you get an error message, do the following :

            - Go to Configuration panel->System->Advanced->Environment variables

            - In the system variables, Modify the path variable and add at the end the following :

            ";C:\Program Files\CollabNet Subversion Client" without the quotes. If you have installed subversion somewhere else, of course, enter the corresponding path in place of this one.

i don this all but in CMD i have error

 

C:\Documents and Settings\Leki>svn --version
svn: warning: cannot set LC_CTYPE locale
svn: warning: environment variable LANG is not set
svn: warning: please check that your locale name is correct
svn, version 1.6.12 (r955767)
compiled Jun 21 2010, 16:00:59

 

what is problem?

            - Check if it works by relaunching cmd.exe and typing svn --version again.[/quote

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


  • Posts

    • Back to Full Operating Mode ▪ As of January 16, Mustang Service is back to its regular workflow. › What this means: → we accept both standard and complex cases → turnaround times are back to normal → no holiday-related limitations ▪ If you postponed a task “until after the holidays” — now is the right time to get back to it. Message us — we’ll review your case and suggest the optimal way forward. › TG: @mustang_service ( https:// t.me/ mustang_service ) › Channel: Mustang Service ( https:// t.me/ +6RAKokIn5ItmYjEx ) #drawing #verification #documents #KYC #backtowork
    • General Trackers :   IPTorrents invite IPTorrents account 1 tb TorrentLeech invite Torrentleech account 1 tb buffer  InTheShaDow ( ITS ) account Acid-lounge invite Torrentday invite Crnaberza account Abn.Lol account Limit-of-eden account Norbits account Xspeeds account Xspeeds invite Bemaniso invite Wigornot account Bithumen invite Filelist account Funfile invite AvistaZ invite Potuk.net invite ResurrectThe.Net invite GrabThe.Info invite Greek-Team invite LinkoManija invite Fano.in account tracker.czech-server.com Speed.cd invite Arab-torrents.net account Arabscene.me account Scenetime account 4thd.xyz invite Btarg.com.ar account Dedbit invite Estone.cc account Speedapp invite Finvip invite Fluxzone account GigaTorrents account Gimmepeers account Haidan.video invite Mojblink account Mycarpathians invite Newinsane.info account Oscarworld.xyz account Peers.FM invite Pt.msg.vg account Ransackedcrew account Redemption invite Scene-rush account Seedfile.io invite Teracod invite Torrent.ai account Torrentmasters invite Ttsweb invite X-files invite X-ite invite Ncore account TorrentHR account Rptorrents account BwTorrents account Superbits invite Krazyzone account Immortalseed account Tntracker invite Pt.eastgame.org account Bitturk account Rstorrent account Tracker.btnext invite Torrent-turk.de account BeiTai.PT account Pt.keepfrds account 52pt.site account Pthome account Torrentseeds account Aystorrent account Blues-brothers.biz invite Divteam account Thesceneplace invite CinemaMovies.pl account Brasiltracker account Patiodebutacas account Newheaven.nl account  Swarmazon.club invite Bc-reloaded account Crazyspirits account Silentground invite Omg.wtftrackr invite Milkie.cc invite Breathetheword invite Madsrevolution account Chilebt account Yubraca account Uniongang.tv account Frboard account Exvagos account Diablotorrent account Microbit account Carp-hunter.hu account Majomparade.eu account Theshinning.me account Youiv.info account Dragonworld-reloaded account Sharewood.tv account Partis.si account Digitalcore.club invite Fuzer.me account R3vuk.wtf invite Ztracker account 1 tb buffer 3changtrai account Best-core.info account Bitsite.us account Eliteunitedcrew invite Exitorrent.org account Tophos invite Torrent.lt account Sktorrent.eu account Oshen account Blackhattorrent account Pirata.digital account Esharenet account Ohmenarikgi.la Pirate-share account Immortuos account Kiesbits account Cliente.amigos-share.club account Broadcity invite Ilovetorzz account Torrentbytes account Polishsource account Portugas invite Shareisland account ArabaFenice account Hudbt.hust.edu.cn account Audiences account Nanyangpt account Pt.sjtu.edu.cn account Pt.zhixing.bjtu.edu.cn account Byr.pt invite Ptfiles invite Red-bits account Pt.hdpost.top account Irrenhaus.dyndns.dk (NewPropaganda) account Mnvv2.info (MaxNewVision V2) account 1ptba.com account Spidertk.top account Film-paleis account Generation-free account Aftershock-tracker account Twilightsdreams account Back-ups.me invite Sor-next.tk ( Spirit Of Revolution ) account Tfa.tf ( The Falling Angels ) account Hdmayi account S-f-p.dyndns.dk ( Share Friends Projekt ) account Unlimitz.biz account Pttime account St-tracker.eu account New-retro.eu account Zbbit account Tigers-dl.net account Jptvts.us account Lat-team account Club.hares.top account Falkonvision-team account Concen account Drugari account T.ceskeforum account Peeratiko.org account Zamunda.se account Central-torrent.eu account h-o-d.org account Torrentleech.pl account Demonoid invite Lst.gg account Fakedoor.store account LaidBackManor account Vrbsharezone.co.uk invite Torrenteros account Arenaelite account Datascene account Tracker.0day.community Tapochek.net invite Ptchina invite Lesaloon account Exyusubs account Therebels.tv account Ubits.club invite Zmpt.cc account Turktorrent.us account Dasunerwarte account Hawke.uno account Monikadesign account Fearnopeer account Alpharatio account Wukongwendao.top account Chinapyg account Azusa.wiki account Yggtorrent.top account Torrentdd account Cyanbug.net invite Hhanclub.top account Wintersakura.net account Xthor account Tctg.pm account Finelite invite Agsvpt.com account Pt.0ff.cc invite Qingwapt.com account Xingtan.one account Ptcafe.club invite Theoldschool.cc account W-o-t.pro account Coastal-crew.bounceme.net account Darkpeers.org account Pianyuan.org account Seedpool.org  account Tempelbox account Pt.itzmx.com account Capybarabr.com account Itatorrents.xyz  account Letseed.org account The-new-fun.com  account Malayabits.cc account Trellas.me account Yu-scene.net account Futuretorrent.org account Bitpt.cn account Tocashare.biz  account Videoteka.org  account White-angel.hu account   Movies Trackers :   Anthelion account Pixelhd account Cinemageddon account DVDSeed account Cinemageddon account Cinemaz account Retroflix account Classix-unlimited - invite Movie-Torrentz (m2g.link) invite Punck-tracker.net account Tmghub account Tb-asian account Cathode-ray.tube account Greatposterwall account Telly account Arabicsource.net account Upload.cx account Crabpt.vip invite Onlyencodes.cc account Exyusubs account Hellashut.net invite Nordichd.sytes.net invite Locadora.cc account   HD Trackers :   Blutopia buffered account Hd-olimpo buffered account Hdf.world account Torrentland.li account HdSky account Hdchina account Chdbits account Totheglory account Hdroute account Hdhome account TorrentCCF aka et8.org account 3DTorrents invite HD-Torrents account Bit-HDTV account HDME.eu invite Hdarea.co account Asiancinema.me account JoyHD invite HDSpace invite CrazyHD invite Bluebird-hd invite Htpt.cc account Hdtime invite Ourbits.club account Hd4fans account Siambit account Privatehd account Springsunday account Tjupt account Hdcity.leniter invite Ccfbits account Discfan account Pt.btschool.club account Ptsbao.club invite Hdzone.me invite Danishbytes account Zonaq.pw account Tracker.tekno3d account Arabp2p account Hd-united account Reelflix.xyz account Hdatmos.club account Anasch.cc invite Tigris-t account Nethd.org account Hd.ai invite Hitpt.com account Hdmonkey account Dragonhd.xyz account Hdclub.eu account Forum.bluraycd.com account Carpt account Hdfun.me invite Pt.hdupt invite Puntotorrent account Ultrahd account Rousi.zip account Bearbit account Hdturk.club account Asiandvdclub account Star-space.net account Nordicq.org account Hdkyl.in account Utp.to account   Music Trackers :   Dicmusic account Music-Vid account Open.cd account LzTr account ProAudioTorrents invite Jpopsuki invite TranceTraffic invite Audionews invite Kraytracker invite Libble.me invite Losslessclub invite Indietorrents.com invite Dimeadozen account Funkytorrents invite Karaokedl account zombtracker.the-zomb account Concertos account Sugoimusic account Satclubbing.club invite Metal.iplay invite Psyreactor invite Panda.cd account Adamsfile account Freehardmusic account Tracker.hqmusic.vn accouunt Twilightzoom account 3 tb buffer Hiresmusic account Metalguru account Musictorrents.org account Musebootlegs.com invite Zappateers.com account Jungleland.dnsalias.com account Naftamusic account   E-Learning Trackers :   Thevault account BitSpyder invite Brsociety account Learnbits invite Myanonamouse account Libranet account 420Project account Learnflakes account Pt.soulvoice.club account P2pelite account Aaaaarg.fail invite Ebooks-shares.org account Abtorrents account Pt.tu88.men invite Docspedia.world invite   TV-Trackers : Skipthecommericals Cryptichaven account TV-Vault invite Shazbat.TV account Myspleen account Tasmanit.es invite Tvstore.me account Tvchaosuk account Jptv.club account Tvroad.info   XXX - Porn Trackers :   FemdomCult account Pornbay account Pussytorrents account Adult-cinema-network account Bootytape account 1 Tb buffer Exoticaz account Bitporn account Kufirc account Gaytorrent.ru invite Nicept account Gay-torrents.org invite Ourgtn account Pt.hdbd.us account BitSexy account Happyfappy.org account Kamept.com account Lesbians4u.org account   Gaming Trackers :   Mteam.fr account BitGamer invite Retrowithin invite Gamegamept account   Cartoon/Anime/Comic Trackers :   Animeworld account Oldtoons.world account U2.dmhy account CartoonChaos invite Animetorrents account Mononoke account Totallykids.tv account Bakabt.me invite Revanime account Ansktracker account Tracker.shakaw.com.br invite Bt.mdan.org account Skyey2.com account Animetracker.cc Adbt.it.cx invite Tracker.uniotaku.com account Mousebits.com account   Sports Trackers :   MMA-Tracker invite T3nnis.tv invite AcrossTheTasman account RacingForMe invite Sportscult invite Ultimatewrestlingtorrents account Worldboxingvideoarchive invite CyclingTorrents account Xtremewrestlingtorrents account Tc-boxing invite Mma-torrents account Aussierul invite Xwt-classics account Racing4everyone account Talk.tenyardtracker account Stalker.societyglitch invite Extremebits invite Rgfootball.net account F1carreras.xyz account   Software/Apps Trackers :   Brokenstones account Appzuniverse invite Teamos.xyz account Macbb.org account   Graphics Trackers:   Forum.Cgpersia account Gfxpeers account Forum.gfxdomain account   Documentary Trackers:   Forums.mvgroup account   Others   Fora.snahp.eu account Board4all.biz account Filewarez.tv account Makingoff.org/forum account Xrel.to account Undergunz.su account Corebay account Endoftheinter.net ( EOTI ) account Thismight.be invite Skull.facefromouter.space account Avxhm.se (AvaxHome) account Ssdforum account Notfake.vip account Intotheinter.net account Tildes.net invite Thetoonz account Usinavirtual account Hdclasico invite HispaShare account Valentine.wtf account Adit-hd account Forum-andr.net account Warezforums account Justanothermusic.site account Forbiddenlibrary.moe account Senturion.to account Movieparadise account Militaryzone account Dcdnet.ru account Sftdevils.net account Heavy-r.com account New-team.org account Ddl.tv account Filewarez.club account Hispamula.org account Hubwarez.tv account   NZB :   Ninjacentral.co.za account Tabula-rasa.pw account Drunkenslug account Drunkenslug invite Usenet-4all account Brothers-of-Usenet account Dognzb.cr invite Kleverig account Nzb.cat account Nzbplanet.net invite Ng4you.com account Nzbsa.co.za account Bd25.eu account NZB.to account Samuraiplace account Abhdtv.net account Abook.link account Comix.pw account House-of-usenet Secretbinaries.net account Vnext.to account Stockboxx.top account Prices start from 3 $ to 100 $ Payment methods: Crypto, Neteller, Webmoney, Revolut If you want to buy something send me a pm or contact me on:   Email: morrison2102@gmail.com   Discord: LFC4LIFE#4173   Telegram: https://t.me/LFC4LIFE4173   Skype: morrison2102@hotmail.com
    • [BETA] L2 Exay OPENING – February 1st   L2Exay Website   If you don’t want to try the Beta, you can still register and we will notify you when the server officially opens.   Basic Information     Chronicle H5 No donations – nothing can be bought with real money, everything is obtained by playing. High dynamic rates (starts from x30 Sp/Exp) Adena x60 Drop x10– rates increase at higher levels for smooth, linear progression. Focused on PvP, Raids, Events and Clans. Maximum 2 clients per player. Maximum enchant +25 Safe +3. Offline Trade Commands: .online .deposit .withdraw .premium .changepassword Shift + Click (NPC Stats / Drop View)   Features   Scheme Buffer: configure different buff setups for your character. Global Gatekeeper: access all zones from a single location. GM Shop: buy almost anything (up to S grade only). Premium Shop (Community Board) Fame Shop (Community Board) Reputation Shop (Clan leaders only – Community Board) Community Board with utilities and special shops for easy access. Multiple custom zones: Boss Combo, Adena Farm, Coin Farm. Multiple custom items designed to extend gameplay progression (does not end at S84). Multiple boss spawns. Community Board features: Deleveling, Drop Search, Premium Manager, Basic Gatekeeper, Noblesse/Heal, Premium Shop. Premium Account is purchased using VIP Coins, obtained by voting for the server. Premium significantly increases special coin drops and also grants PcCafe Points just for being online. PcCafe Points can be used in the Premium Shop (CB) or Prime Shop. Automatic Events: Team vs Team, Deathmatch, Capture the Flag, Invasion, Treasure Chests. Events reward not only winners but also participants simply for taking part.   Custom Items   Experience boost scrolls. Drop boost scrolls. Experience Locker. NPC Spawn Scrolls: spawn your own Buffer, GM Shop or Global Gatekeeper anywhere. Boss Spawn Scrolls: every day you can claim VIP Coins from the website and receive 3 random boss scrolls to summon your own bosses and farm their drops. Elite Pet Items: powerful pet gear for players who enjoy solo gameplay, giving your pet a meaningful role. Elite Items: extremely powerful items that greatly enhance their owners and extend gameplay. Endgame Items: very powerful but hard to obtain. Lucky Boxes: sometimes you win, sometimes you lose. Treasure Sacks & Gear Boxes: RNG taken to the next level. Bosses drop different types of gear boxes that can grant random equipment, or you can exchange boss coins for specific gear. Economy is not based only on Adena – there are multiple custom coins with different values, while Adena still plays an important role. Manor Seeds have been redesigned to be more flexible and less restricted by zones or levels. A wide variety of consumables: from self-resurrection items to title color changers. PvP is no longer just about gear and reaction speed, but also about how you combine consumables strategically.   Many Ways to Farm   As mentioned before, there are multiple shops, each with its own currency. One thing I personally never liked about most Lineage 2 servers (and MMORPGs in general, except maybe Guild Wars 2) is monotonous farming: killing the same monsters or repeating the same quest for days, weeks, months or even years. We wanted to change that, so we focused on a more varied farming system.   Adena farming zone (classic, unavoidable). Coin farming zone (also classic). General farming zones. Spoil is highly profitable (not so typical). Boss zones with fast respawn, boss combos, boss summon scrolls. Elite monsters with higher coin drops. Champion monsters: low-rank boss-like enemies with good drops. Passive farming with Premium: earn special currency just by being online. Automatic events have been reworked: more rewarding, improved logic, and rewards for losing teams and participants. Clan gameplay: Fame and Reputation are used as currency in some shops. Fortress and Castle dungeon systems have been redesigned to be far more profitable. Manor system is also very beneficial for clans, plus exclusive perks like Clan Shop and Premium Buffer for clans owning a Clan Hall, Fortress or Castle. Manor System Redesign: Farming seeds and selling crops to castle owners now grants large amounts of materials that can be exchanged for coins. Low-level seeds have been redesigned: for example, a level 85 character can plant a level 20 seed on a level 60 monster. Rates are reduced, but not drastically.   What Else Can You Do?   Go fishing – extremely profitable on this server, yielding large amounts of Adena and coins. PvP – earn special coins for each PvP kill and use them to buy items, some of them exclusive and tradable.   New Player Support   Yes! Every new character receives starter packs and initial equipment so you can focus on playing. In addition to NG and D-grade gear, you will receive consumables such as: Silver EXP Scroll Golden EXP Scrolls Premium Drop Scrolls Chocolate Cookies (Vitality)   That’s everything for now. I hope to see you in-game, and any feedback or suggestions are more than welcome. Sorry for the long post!
  • Topics

×
×
  • Create New...

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..

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