Jump to content

Recommended Posts

Posted

O Λόγος του compile είναι για να κατεβάσουμε τον κώδικα του server (Στην δική μας περίπτωση java γι αυτό λέγεται L2J, υπάρχει και L2Off πάνω σε C++), και να μπορούμε να τον προσαρμόσουμε στις δικές μας προδιαγραφές και προσδοκίες. Με αυτό τον τρόπο θα σας δείξω πως γίνεται να κάνουμε download τα αρχεία αυτά απο διάφορα projects και να φτιάξουμε τον server μας σε καθαρό pack μαζί με τον κώδικα (source code) και να μπορείτε να τον επεξεργαστείτε όποτε θέλετε!

 

 

 

 

 

 

Compile ή αλλιώς συντάσουμε είναι η μετατροπή μιάς υψηλού επιπέδου γλώσσας (Στην περίπτωση μας java) σε object code ή αλλιώς κώδικας αντικειμένου. Οι προγραμματιστές γράφουν προγράμματα σε μία φόρμα που αποκαλείται source code ή αλλιώς πηγαίος κώδικας.Ο πηγαίος κώδικας πρέπει να περάσει από διάφορα στάδια, προτού τεθεί σε ένα εκτελέσιμο πρόγραμμα. Το πρώτο βήμα είναι να περάσει τον πηγαίο κώδικα μέσω ενός μεταγλωττιστή, το οποίο μεταφράζει τις εντολές υψηλού επιπέδου γλώσσα σε αντικειμενικό κώδικα. Το τελικό βήμα για να παραχθεί το πρόγραμμα είναι να περάσει το κωδικό αντικείμενο μέσω ενός προγράμματος σύνδεσης. Το πρόγραμμα σύνδεσης συνδυάζει ενότητες και δίνει πραγματικές τιμές σε όλες τις συμβολικές διευθύνσεις, με αποτέλεσμα να παράγουν τον κώδικα. Με λίγα λόγια οι προγραμματιστές φτιάχνουν μία φόρμα που λέγεται source code και μέσω αυτής της φόρμας γίνεται η μεταγλώτιση στα αρχεία που θα κατεβάσουμε. Εμείς μπορούμε να "πειράξουμε" η αλλιώς να αλλάξουμε κάποιους απο αυτούς τους κώδικες ωστε να φτιάξουμε ένα καινούργιο με το οποιο μπορούμε να βάλουμε προστασία η κάτι παραπάνω που λείπει απο τον κώδικα αυτο. Τι μας προσφέρει? Στην περίπτωση μας που χρησιμοποιούμε την γλώσσα java για να φτιάξουμε τον L2J Server μας μπορούμε να πειράξουμε και να αλλάξουμε καποιο source code με αποτέλεσμα να αλλάξει κάτι στον server που μας προσφέρει κάτι παραπάνω. ας πουμε ένα java mod που μας λέει το πόσοι players είναι online στον server. Φτιάχνουμε τον κώδικα και τον προσθέτουμε στο pack μας.

Πώς κάνουμε compile? κοιτάξτε πιο κάτω.

 

Πρώτα απο όλα θα χρειαστείτε το eclipse. link για να το κατεβασετε:

 

Για Windows | Για Mac Carbon 32bit

Για Mac Conoa 32bit | 64bit

Για Linux 32bit | 64bit

Μετα θα χρειαστείτε το Java JDK. Εγώ χρησιμοποιώ αυτό εδώ (Κάντε κλικ), μπορείτε να κατεβάσετε το τελευταίο version απο την

ιστοσελίδα τους [Μήν ξεχάσετε να διαλέξετε το platform πριν το κατεβάσετε, γιατι μπορεί να έχετε προβλήματα.]

 

Εδώ είναι ο οδηγός για να εγκαταστήσετε το Java.

 

μετα που θα πατήσετε στην ιστοσελίδα για το JDK πιο πάνω επιλέξτε το σύστημα σας.

 

1nsn.png

 

Κάντε κλικ στο "I agree" και πατήστε το κουμπί continue και κατεβάστε το αρχείο

 

width=1024 height=640http://www.aedes.us/i4/2ipi.png[/img]

 

Πατήστε Next

 

4shs.png

 

Μετά Next (Δεν χρειάζεται να αλάξετε τίποτα)

 

5.png

 

Περιμένετε μέχρι να τελειόσει η εγκατάσταση

 

Αμα εγκαταστάθηκε με επιτυχία τότε θα σας δείξει αυτό το μήνυμα:

 

6eqe.png

 

Αν όχι τότε έχετε εγκαταστήσει μια νεότερη έκδοση.

 

Κάντε Extract το Eclipse στο σκληρό δίσκο (Εγω το έβαλα κατευθείαν στο C:// για απόδοση)

 

Μετά κάντε ένα καινουργιο φάκελο με όνομα workspace.

 

Ανοίξτε το Eclipse και βρείτε τον φάκελο workspace που μόλις φτιάξατε

 

7.png

 

Κλείστε το παράθυρο Welcome μόλις ανοίξει το Eclipse.

 

width=1024 height=768http://www.aedes.us/i4/8kjk.png[/img]

 

Πατήστε στο  Help > Install new software.

 

9wyw.png

 

Βάλτε το λίνκ που δίνω μετα στο "work with" όπως το έχω εγώ

http://subclipse.tigris.org/update_1.4.x

 

10xnx.png

 

11.png

 

12viv.png

 

Πατήστε Enter και επιλέξτε όλλα τα αρχεία που θα βγούν.

 

Πατήστε Next, θα πάρει λίγο ώρα. εξαρτάται απο την ταχύτητα του υπολογιστή.

 

Μετά πατήστε στο Window > Preferences.

 

15brb.png

 

Κάντε expand το Java > Installed JREs

 

16.png

 

Πατήστε search και ψάξτε τον φάκελο Java απο τα program files.

 

17vrv.png

 

Θα πάρει λίγο ώρα (όχι πολύ) και μετά επιλέξτε το πιο καινούργιο update που έχει (τα άλλα δεν τα χρειαζεστε, μπορείτε να τα σβήσετε)

 

18.png

 

Μετά πατήστε ΟΚ και έχετε τελειόσει με το JRes.

 

Πατήστε στο Window > Show View > Other.

 

19ehe.png

 

Μετά SVN > SVN Repositories

 

20bgb.png

 

και πατήστε οκ.

 

πατήστε στο SVN repositories δεξί κλίκ > New > repository location.

 

width=1024 height=640http://www.aedes.us/i4/21.png[/img]

 


Click here for live projects


 

Βάλτε το στο URL και πατήστε Finish. (Εγώ το έχω σβήσει γιατί είναι private project)

 

22.png

 

Ανοίξτε τον φάκελο και μετα ανοίξτε τον φάκελο trunk, Και επιλέξτε τα απαραίτητα (DP|Game|Login)

 

23ror.png

 

Δεξί κλίκ και checkout

 

Θα ανοίξει ένα παράθυρο, δεν χρειαζεται να πειράξετε τίποτα, απλα πατήστε στο Finish

 

24vmv.png

 

Μετά το μόνο πράγμα που έμεινε απο το Eclipse είναι να ανοιξετε τους φακελους ενα ενα, να πατήσετε δεξί κλικ στο build.xml > Run as > Ant Build.

 

width=940 height=768http://www.aedes.us/i4/1dld.png[/img]

 

Θα πάρει λίγο χρόνο γιατι είναι πολλά αρχεία.

 

Κλείστε το Eclipse, δεν το χρειαζόμαστε άλλο.

 

 

 

<--! Alert! Τα παρακάτω αρχεία δεν τα αλάζω γιατί αυτά δεν έχουν σβηστεί, άρα δεν χρειάζεται να ξανα βγάλω εικόνες. !-->

 

Ανοίξτε τον φάκελο Workspace, θα φενεται κάπως έτσι:

 

314cadv.jpg

 

Ανοίξτε τον φάκελο DataPack και θα βρείτε ένα φάκελο με όνομα build. Ανοίξτε τον.

 

16j0qdz.jpg

 

Μέσα στον φάκελο έχει ένα .rar αρχείο. Φτιάξτε ένα φάκελο με ότι όνομα θέλετε και καντε extract τα αρχεία στον καινούργιο φάκελο σας

 

726jhe.jpg

 

2v1t3za.jpg

 

Μετά πηγένετε στον φάκελο Login και κάντε τα ίδια βήματα με τα παραπάνω. Παρα είναι εύκολο να τα κάνετε για να βάλω κιάλες εικόνες :)

 

Κάνετε extract και το 2ο rar αρχείο που βρίσκεται στο Login στον ίδιο φάκελο που κάνατε και το άλλο rar αρχειο που βαλατε.

 

Είσαστε έτοιμοι! ο server είναι στον φακελο που κανατε extract τα 2 rar αρχεία.


Για L2JArchid:

Εδώ πρέπει να κάνετε extract 3 φακέλους οι οποίοι βρίσκονται στο:

C:\workspace\Archid-Data\build

C:\workspace\Archid-Login\target

C:\workspace\Archid-Game\target

Extract, και έτοιμοι!

 

 

 

Updated! Εβαλα και βίντεο, Δεν εχω βαλει στο βίντεο το java install..το θεόρησα πολύ εύκολο για να βάλω ενα install στο βίντεο. και το πρόβλημα είναι πως στο τέλος μου το έκοψε λίγο και φένεται μόνο το 1 extract. Δεν νομιζω να υπαρχει κανένα πρόβλημα..

 

 

Τα έκανα και upload αμα τα θέλετε:

Download Link:    RapidShare | 4Shared

 

Το βίντεο το έφτιαξα με Camtasia Studio 6. δεν δίνω λινκ γιατι ειναι cracked=warez..αμα το θέλετε search στο google.

 

 

 

Guest
This topic is now closed to further replies.


  • Posts

    • So dont plat that waste time&money server.   GM promises pie in the sky, but does nothing. It's all about money, money, money. And wipe.   SCAM server!
    • I'm looking for someone to remove GameGuard from a game that uses XTRAP. The game no longer uses XTRAP. I have a game server. But the client is kicked from the game after a few minutes of logging in. If I try to remove XTRAP (just by deleting it), the game opens and closes quickly.   Send me a PM. The game is Audition, a dance game.
    • 🎉 L2Dead StuckSub - GRAND OPENING 14 February 2026🎉 After beta, testing, mistakes, laughs and a lot of PvP, the moment has finally come. L2Dead StuckSub is officially opening its gates on 14 February 2026.   ⚔️What to expect: ✦Main Class +6 Stuck Sub system ✦Balanced PvP & custom party farm areas ✦Custom events, bosses and strong rewards ✦Competitive clan scene with castle rewards   📌Until the opening: ✦Create your clans and register them in the Clan-Register channel ✦Invite your friends / old parties / CPs ✦Stay tuned for more information (rates, events, siege times, etc.)   Get your setups ready, prepare your macros and your Discord/voice. On 14 February 2026 20:00 GMT+2, we write the first chapter of L2Dead together. 🔥 https://www.l2dead.com/ https://discord.gg/TGnATuZmdt
    • Here’s the **clean, L2jAcis-style way** to make **Auto Loot work ONLY for Premium players** on **Interlude**.   I’ll give you **two options** — pick what fits your server philosophy.   ---   ## ✅ OPTION 1 (BEST PRACTICE): Premium-Only Auto Loot (Code-based)   ### 🔹 Step 1: Add config option   **`config/Premium.properties`**   ```properties # Enable auto loot only for premium players PremiumAutoLoot = True ```   ---   ### 🔹 Step 2: Read config   **`Config.java`**   ```java public static boolean PREMIUM_AUTO_LOOT; ```   Load it:   ```java PREMIUM_AUTO_LOOT = Premium.getProperty("PremiumAutoLoot", false); ```   ---   ### 🔹 Step 3: Modify drop handling   **File:**   ``` net.sf.l2j.gameserver.model.actor.instance.L2MonsterInstance ```   Find **dropItems()** or **doItemDrop()** Replace / modify logic like this:   ```java if (player != null && player.isPremium() && Config.PREMIUM_AUTO_LOOT) {     for (ItemInstance item : items)         player.getInventory().addItem("AutoLoot", item, player, this); } else {     for (ItemInstance item : items)         dropItem(player, item); } ```   ✅ Result:   * **Premium players** → instant loot * **Normal players** → loot on ground   ---   ## ✅ OPTION 2: Auto Loot via Character Variable (More Flexible)   Useful if you want **GM control** per character.   ### 🔹 Premium activation   When premium is added:   ```java player.setVar("AUTO_LOOT", "1"); ```   ### 🔹 Drop check   ```java if (player != null && player.getVarB("AUTO_LOOT")) {     player.addItem("AutoLoot", item, player, true); } else {     dropItem(player, item); } ```   ---   ## 🎯 BONUS (Recommended Add-Ons)   ### 🔸 Adena always auto-loot (even non-premium)   ```java if (item.getItemId() == 57) {     player.addAdena("Loot", item.getCount(), this, true);     continue; } ```   ### 🔸 Party check (premium leader only)   ```java player.isInParty() && player.getParty().getLeader().isPremium() ```   ---   ## ⚠️ Notes (Interlude Safe)   ✔ Compatible with **L2jAcis Interlude** ✔ No client-side changes ✔ No exploit risk ✔ Retail-like behavior   ---      
    • 🎮 L2J aCis 409 Premium System – Official Showcase Elevate Your Server Experience with Tiered Premium Accounts 🌟 Overview Introducing the L2J aCis 409 Premium System — a fully integrated, plug-and-play solution designed for private Lineage 2 Interlude servers. This system enhances player engagement and monetization by offering tiered premium accounts, daily rewards, auto-renew, and customizable buffs. Designed for server owners who want to add value and retain players, it’s compatible with the latest aCis 409 revision. 🎯 Key Features 1️⃣ Tiered Premium Accounts Silver, Gold, Diamond tiers Configurable EXP, SP, and Adena rates Enchant bonuses for each tier Optional buffs applied automatically via PremiumManager Fully customizable duration and costs per tier 2️⃣ Daily Rewards Claim once every 24 hours Rewards include Adena, items, or special VIP bonuses Logs all claims for auditing HTML panel shows status and cooldown 3️⃣ Auto-Renew System Automatically renews Premium accounts using coins Configurable item ID and renewal interval Works online and offline Notifies players when auto-renew triggers 4️⃣ HWID Security Lock Limits account sharing with HWID verification Maximum HWID changes configurable (default 3) Alerts players on HWID updates 5️⃣ Premium Shop Players can buy Silver/Gold/Diamond tiers using premium coins Integrated HTML shop panel and voice commands Instant updates to buffs and rates on purchase 🖥️ Core System Overview The Premium System core is modular and easy to integrate: File Purpose PlayerPremiumPatch.java Adds Premium fields, HWID, reward timers to Player.java PremiumManager.java Handles rates, buffs, rewards, and auto-renew logic PremiumLogger.java Logs all Premium actions AdminPremium.java Admin commands for tier assignment and days addition PremiumDaily.java Voice command .daily for daily rewards PremiumShop.java Voice/HTML shop command .premiumshop Configuration is fully managed via Premium.properties — no need to modify code for changes in rewards or tiers. 🗂️ Data Pack & HTML Panels Premium Status Panel: shows tier, multipliers, enchant bonus, days left, auto-renew info Daily Reward Panel: claim button, cooldown timer, item rewards Premium Shop Panel: tier purchase buttons with coin costs All panels are fully customizable with your server’s style and branding. 📸 Live Previews In-Game UI Screenshot: Status, Daily Reward, and Shop panels visible Silver tier active with EXP/SP/Adena rates and buffs Animated GIF Preview: 3-frame sequence showing Status, Daily reward claim, and Shop interaction Includes chat notifications for rewards and auto-renew events ⚙️ Installation & Integration Place Java core files in custom/premium/ and compile. Merge PlayerPremiumPatch.java fields into Player.java. Place HTML panels in data/html/premium/. Place Premium.properties in config/. Register voice handlers (PremiumDaily, PremiumShop) and admin commands (AdminPremium). Initialize auto-renew scheduler in server startup. Test Silver tier first, then Gold/Diamond. ✅ Benefits for Server Owners Increase player retention with engaging Premium content Monetize safely with auto-renew and coin shop Flexible and configurable without touching core server code Secure HWID enforcement prevents account abuse Professional and ready-to-deploy solution 💼 What’s Included Ready-to-use ZIP package with all core Java, HTML, config, and tutorial Screenshots and GIF previews of the system in-game Documentation for installation and customization 🛒 Pricing & Licensing Single-server license available for purchase Customization services available for branding or adding new tiers Support for installation and configuration included 🎬 Live Demo / Showcase Screenshot and GIF previews included in the package Shows real in-game usage of Status panel, Daily rewards, and Shop Upgrade your server today with the L2J aCis 409 Premium System! Fully integrated, secure, and designed to enhance the player experience while boosting server revenue.    
  • 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..