Jump to content

Recommended Posts

Posted

Λοιπόν έφταξα αυτό τον Οδηγό για να βοηθήσω , γιατι βλέπω πολλοί να θέλουν βοήθεια! :

<---- Server Side ---->

 

Πρώτα πηγαίνουμε στο path C:\Server\gameserver\data\stats\weapon .

Εκεί θα δούμε τα .xml αρχεία!

Έχοντας μάθει πιο είναι το ID του Weapon που θέλουμε να Edit

π.χ. 2500 είναι τo Dark Legion's Edge (2500-2599.xml)

Ανοίγουμε το .xml και κανουμε C/P όλο το 2500 :

 

<item id='2500' name="Dark Legions Edge">

<for>

<set val='232' order='0x08' stat='pAtk'/>

<set val='114' order='0x08' stat='mAtk'/>

<set val='8' order='0x08' stat='rCrit'/>

<add val='0' order='0x10' stat='accCombat'/>

<set val='379' order='0x08' stat='pAtkSpd'/>

<enchant val='0' order='0x0C' stat='pAtk'/>

<enchant val='0' order='0x0C' stat='mAtk'/>

</for>

</item>

 

Άμα θέλουμε να κάνουμε αυτό το Weapon με ένα SA τότε κάνουμε :

 

<item id='99999' name="Dark Legions Edge Empower">

<for>

<set val='232' order='0x08' stat='pAtk'/>

<set val='600' order='0x08' stat='mAtk'/>

<set val='8' order='0x08' stat='rCrit'/>

<add val='0' order='0x10' stat='accCombat'/>

<set val='379' order='0x08' stat='pAtkSpd'/>

<enchant val='0' order='0x0C' stat='pAtk'/>

<enchant val='0' order='0x0C' stat='mAtk'/>

</for>

</item>

 

Με κόκκινο χρώμα είναι αύτα που πρέπει να αλλάξετε το κάνουμe Save 99999.xml και το βάζουμε στο φάκελο weapon

 

<---- Client Side ---->

 

Πέρνουμε ενα File Edit

Link --> http://rapidshare.com/files/204782135/L2_FileEdit_T1.5_T2.rar.html

PWD :paraskosformxc

 

Ανοίγουμε το Weaponrgp.dat

Και ψάχνουμε το 2500 :

i1b5g8q0bmp8bus3ia6o.jpg

Μετά το κάνουμε C/P στο τέλος :

width=640 height=479http://www.imageshack.gr/files/ksc5u198bo3n3w840s1a.jpg[/img]

 

Γράφουμε το ID που έχουμε βάλει π.χ. 99999

Και το κάνουμε Save :

width=640 height=478http://www.imageshack.gr/files/ayguzut6kddtg22yanh7.jpg[/img]

 

Μετά ανοίγουμε το ItemName-e.dat :

width=640 height=477http://www.imageshack.gr/files/jbsxc537resqj8hpmqnt.jpg[/img]

 

Βρίσκουμε το 2500 που είναι το Dark Legion Edge και το κάνουμε C/P στο τέλος :

 

width=640 height=476http://www.imageshack.gr/files/5llklga7k8iq1dn8s9cl.jpg[/img]

 

Αλλάζουμε το ID και το Ονομα και το κανουμε οπως το εχω κάνει στιν παραπάνω φωτογραφία

Και το κάνουμε Save :

 

width=640 height=480http://www.imageshack.gr/files/gt1e3ql2lxzuj5f38ecm.jpg[/img]

 

<---- Database Side ---->

Τώρα πρέπει να φτιάξουμε το SQL αρχείο μας.

Ανοίγουμε ενα notepad και το το γράφουμε εκει :

 

INSERT INTO `weapon` ( `item_id` , `name` , `bodypart` , `crystallizable` , `weight` , `soulshots` , `spiritshots` , `material` , `crystal_type` , `p_dam` , `rnd_dam` , `weaponType` , `critical` , `hit_modify` , `avoid_modify` , `shield_def` , `shield_def_rate` , `atk_speed` , `mp_consume` , `m_dam` , `duration` , `price` , `crystal_count` , `sellable` , `dropable` , `destroyable` , `tradeable` , `item_skill_id` , `item_skill_lvl` , `enchant4_skill_id` , `enchant4_skill_lvl` , `onCast_skill_id` , `onCast_skill_lvl` , `onCast_skill_chance` , `onCrit_skill_id` , `onCrit_skill_lvl` , `onCrit_skill_chance` )
VALUES (
'99999', 'Dark Legion's Edge Empower', 'lrhand', 'true', '2080', '1', '1', 'adamantaite', 's', '342', '10', 'dual', '10', '0.00000', '0', '0', '0', '400', '0', '0', '-1', '120000', '800', 'true', 'true', 'true', 'true', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0'
);

 

Το φτιάχνετε οπώς θέλετε εσείς το κάνετε Save As ... DLE Empower.SQL και το περνάτε στην Database.

 

Και αυτό είναι όλο!

 

Ελπίζω να βοηθάω newbie admin!

 

*Στο File Edit πάντα θα αφήνουμε μια κένη σειρά! και θα το αποθικεύουμε σε 413 Version!

 

Credit file edit : paraskos

Posted

Πολύ καλή δουλειά φίλε μπράβο!!!!

 

Link για το File Edit: http://rapidshare.com/files/204782135/L2_FileEdit_T1.5_T2.rar.html

 

 

Password για το rar του File Edit: paraskosformxc

 

file dn xreiazete se ka8e post pou kaneis na deis kai askopa link's giati to exei dosei to pedi...gia koita kalitera.. dn prokite na pareis +1 karma an to nomizeis afto me afta pou kaneis...

Posted

file dn xreiazete se ka8e post pou kaneis na deis kai askopa link's giati to exei dosei to pedi...gia koita kalitera.. dn prokite na pareis +1 karma an to nomizeis afto me afta pou kaneis...

 

Ποιός σου είπε οτι το κάνω για αυτό?Άν είχες λίγο μυαλλό θα έβλεπες οτι δέν είχε κάποιο link το παιδί γι αυτό το έδωσα εγώ!Ευχαριστώ για την παρατήρηση ορίστε και η δική μου....Μην το βλέπεις αξιωματικός εδώ μέσα επειδή έδωσες κάποια χρήματα μπορεί να το κάνει ο κάθε ένας απο εδώ μέσα!!!Ορίστε δές τον ίδιο να λέει οτι δεν είχε link....

 

to pira apo ayton to link kai to evala se mena gia na einai ola mazi...!!!

Posted

Mpravo man poli oreo guide gia niwbies :D

Sinexise etc kai ase ti leei o ka8enas p exei kavles gia kayga epeidi tn pirane PK sto L2...

 

Mia erotisi...Dn exo katalavei pos vazoume px se ena oplo na leei to "Acumen"

me ta kitrina grammata...Thnx gia ka8e apantisi...

Posted

Arketa Kalo Guide St4t1X tha boithisei arketo kosmo pou thelei na valei weapon ston server toy!

Posted

Otan grafeis to onoma patas to -> sto keybord sou...kai alazei to colum pou grafeis!!!

 

aaaa lol...To i3era ayto alla dn i3era oti to epomeno collumn itan ayto gia ayti ti douleia :P

thnx kai pl nice job...

Posted

Koita exei kai client modding alla den to vlepw etc...gt exw valei kai gia to server pack pws 8a to ftia3eis ena custom wep..kai gia to SQL...

 

alla ti enoeis..?Oti einai se la8os Section?Ama einai kanteto Move...NP...

Posted

mia erotisi...ta SQL me vasi ti ta kaneis???enow ti seira kai ola auta...

analoga me ta colums pou exei mesa sto table! egw vsk to perasa xeirokinita kai pira to code..kai to ekana post edw..!:P
Guest
This topic is now closed to further replies.


  • Posts

    • I can see that the admins arent taking any action, yet they still seem willing to share information about various other people names and IP addresses. But when it comes to scams, no one reacts.      
    • Server Info Chronicle:  Interlude                                                                                                                                    XP: 100x | SP: 100x | Drop: 50x | Adena: 75x Enchant: Safe +3 |  Max +21 Website: Website Link Discord: Discord Link   WHY? When I was a teenager I had this idea. Build my own Lineage 2 server. My own rules. My own world. I wasn't a programmer. I had no idea how any of it worked. I tried, hit a wall, and quit. But the idea never left. I came back years later. Got further. Quit again. Watched friends try similar things. The idea stayed stuck in my head for fifteen years. I'm a developer now. I finally finished it. Not because I suddenly had more time - I have a full-time job and real responsibilities. An hour before bed if I'm lucky. That's actually exactly why I finished it.   The problem I kept running into I still love this game. But every server I tried as an adult made that one hour feel worthless. Log in, kill a few mobs, make no real progress, log out frustrated. The game was designed for someone with unlimited time. That person doesn't exist in my life anymore. I looked around. Everyone I used to play with has the same problem. Same love for the game. Same lack of time. Jobs, families, maybe an hour late at night. So I stopped waiting for someone else to build it.           WHAT? Custom starting zone in Gludin (up until 2nd profession start) Talent system - rebirth at level 80 and choose your talents Bounty hunter system - daily tasks to kill random monsters to receive great reward! Potion crafting system - custom HP/MP potions and recipes Custom 1st & 2nd class quests (shorter) Scheme buffer Shop until C grade   Visit our website to get more info: Website Link   The philosophy 95% of the game is completely soloable. No clan required. No raid schedules. No guilt when you have to log off. You are the solo director of your own session. Log in, pursue your goal for an hour, log out on your own terms. When you've conquered what you wanted - you stop naturally. A new season drops with fresh Talent Tree changes and you come back to build something completely different. No endless stretched grind. No pay-to-win. No shady admin decisions. No surprise wipes. I'm one developer who built this because I love it.                                          This is the server I needed fifteen years ago. Glad I finally had the skills to build it. Come see what I made. [Forever Lineage]
    • Hello MaxCheaters community! We’ve all been there: you spend months customizing your NPCs, balancing classes, and setting up the perfect farm zones. You launch your server, the hype is real, and suddenly you hit 200 players—and the "delay" starts. The mobs stop reacting, the Olympiad matches stutter, and your players start complaining on Discord. Many "newbie" admins think the solution is just throwing more RAM at the VPS. While hardware matters, Java is a finicky beast. If you don't tune your JVM (Java Virtual Machine) and your core code, you’ll lag even on a NASA supercomputer. Today, I’m sharing a deep dive into optimizing your L2 server for maximum performance. 1. The Myth of "More RAM" The biggest mistake people make is assigning 32GB of RAM to a server that only needs 8GB. In Java, if your Heap size is too large, the "Garbage Collector" (GC) has to work much harder. When the GC runs a "Full GC" cycle on a massive heap, it performs a "Stop-the-World" event. This literally freezes your server threads for 1–3 seconds to clear memory. Recommendation: For a mid-rate server with 500 players, 6GB to 8GB of Xmx (Max Heap) is usually the sweet spot. Use G1GC (Garbage First Garbage Collector) instead of the old ParallelGC. It handles large heaps much more gracefully by breaking memory into regions. 2. JVM Startup Flags (The Secret Sauce) Don't just run java -jar l2jserver.jar. You need specific flags to ensure the CPU prioritizes the right tasks. Try adding these to your start.sh or start.bat: Bash   -Xms6G -Xmx6G -XX:+UseG1GC -XX:MaxGCPauseMillis=50 -XX:+OptimizeStringConcat -XX:+UseStringDeduplication -XX:+ParallelRefProcEnabled -XX:+TieredCompilation MaxGCPauseMillis=50: This tells Java, "Try not to freeze the server for more than 50ms at a time." It makes the gameplay feel much smoother for the end-user. 3. Geodata and Pathfinding Optimization Geodata is the biggest CPU killer in Lineage 2. Every time a mob moves or a player clicks, the server calculates "Can I see this target?" and "Is there a wall in the way?". The Fix: Use a "Pathfinding Cache." If 100 players are running from the Giran Gate to the Luxury Shop, the server shouldn't calculate that path 100 times. Check your Geodata format: Ensure you are using the .l2j or .dat formats optimized for your specific core. If your console is flooded with "Pathfind node limit reached," increase your node limit in the geo.properties file, but be prepared for higher RAM usage. 4. Database Pooling (HikariCP vs. C3P0) If your server freezes for a split second every time someone saves their character or buys an item, your Database Connection Pool is the bottleneck. Most old L2J cores use C3P0, which is outdated and slow. Switch to HikariCP: It is significantly faster and handles "dead" connections much better. Also, ensure your characters and items tables are indexed correctly in MySQL. Running a VACUUM or OPTIMIZE TABLE once a week can prevent those annoying "saving player data" spikes. 5. Network Threading In your server settings, look for "Network" or "Thread" configurations. Usually, you’ll see SelectorThreads and WorkerThreads. Selector Threads: Should be equal to the number of physical CPU cores. Worker Threads: This is where the logic happens (skills, movement). If this is too low, actions will "queue up," creating a delay even if your ping is low. 6. Community Board (BBS) Optimization On MaxCheaters, we love fancy Community Boards. However, if your Buffer or Shop script is poorly coded, it might be reloading the entire HTML from the hard drive every time a player clicks a button. The Fix: Ensure your scripts cache the HTML in the RAM. Reading from an SSD is fast, but reading from RAM is thousands of times faster. Conclusion Optimization isn't a "one-click" fix; it’s about finding the balance between your hardware and your software. Start with your JVM flags, clean up your Geodata settings, and make sure your Database isn't choking on old logs. If you found this helpful, leave a comment or a "Thank You" below! If you have specific lag issues with a certain core (aCis, L2Emu, etc.), post your server.properties and I’ll try to help you tune it.
    • Hello all, we are a small team of developers working on two servers right now. One of them is Interlude and the other Gracia Final. Both will be pride-like aiming to make the servers similar to old pride's chronicles, C6 and GF respectively. For those not familiar here's some quick info:  9300x XP / 5500x Adena 1x Drop / 1x Spoil Safe Enchant +3 Start at Level 80 Custom PvP Zones & Reward System  Reworked Buffer Classes Wondrous Cubic All-in-one Panel  For more information visit our discord: https://discord.com/invite/YmCa7kbMuG
    • Up! Can make c4 project too retail x1 if someone is interested
  • 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..