Jump to content

Recommended Posts

Posted

Since TDU2 servers are down for updates and i cant play the game that i paid 50 euros to just play online, ill try to make time fly by posting a guide regarding how and what to code when having a goal to open a server.

 

Defining the problems:

 

There are countless of problems when you are opening a server regarding the code you use. The lack of security, optimization, base retail gameplay, custom features are some of them. A pack usually, has one or many of the previous aspects missing or incomplete. Your work as a server owner/developer is to start tackling those issues by spending your manpower equally or not in some or all of those features. The thing that most users ( even advanced ones ) in this forum are doing, is tackling the wrong problem.

 

Defining your goal:

 

When you open a server, you always have a specific setup in your mind. Will it be a retail lowrate, or a custom highrate ? Will i aim for 400 people or for 2000 ? How long do i plan to keep the server ? How fast do i want to get rewards ? What type of players do i attract and where do i advertise ? What chronicle am i going to use ? All those questions and others too, will help you define your goal. What exactly you wanna do. The goal of your server, is the one that will define what problems you will need to tackle.

 

Combining them together:

 

There is no ultime guideline on how to spend your coding time based on your goal. The main idea, is that you code , for what will bring you the greatest reward. For instance, lets say you can spend 40 hours coding, and it can either be server optimization or implementation of new features. If you code for optimization, then you may be able to get the same performance with a cheaper machine, saving some money from the server rent. But if you spend those hours coding for new features, you may attract new players to the server and have higher donations. The profit you will get by higher donations may be much bigger than the money you will cut down from server budget buy having code that can run in a cheaper machine. I hope you get the idea ;)

 

Here are some bad examples:

 

1) I see high class server owners in this forum, that are posting optimization guides for mysql when their servers have about 30 people online. When you get such a low population count, you do not care about optimization. What you should focus, is making your server interesting.

 

2) An optimized pack isnt always the best pack. Default optimization can give you up to 1000 players in a 120 euro/month machine given that you spend some time coding something that attracts the players. On the other hand, fully optimized server, without any interesting in it, will get you zero players, but just the bragging rights to call your pack more stable in a forum fight.

 

 

Personal opinion:

 

Optimize, only when its needed. The year is 2011, an i7 and a couple of GB's of ram is something very common. You will be astonished to imagine how fast an i7 is. So before you go optimize , always think if its needed. Cause you may end up wasting your time in something that wont attract players, wont save you a penny, players wont even understand its impact in a 100 players server.

 

Players judge features by their existence. But they only judge optimization, by its effects. They will complain about missing features, but they wont complain about missing optimization, if its consequences are not visible ( lag ).

 

Have a nice day :)

Posted

I agree in some parts... but is only discus and not an guide for me, no one have the time to spend at last 20 sec to read your or mine bla bla guide... they want facts.

 

 

Posted

2) An optimized pack isnt always the best pack. Default optimization can give you up to 1000 players in a 120 euro/month machine given that you spend some time coding something that attracts the players. On the other hand, fully optimized server, without any interesting in it, will get you zero players, but just the bragging rights to call your pack more stable in a forum fight.

 

Thats actually true BUT optimization is always different and always for the better its not only to get more players but its for stability too.

 

For example take memory...usually ppl have a pc with 8gigs which is more than enough for quit some time BUT the memory leaks and stuff still make the pack unstable he just dont notice it until a certain amount of player when hes at a point where he cant allow such freezes or shutdowns to happen.

 

Or lets take a cpu optimalization doesnt matter how strong cpu you have it still matters so it always necessary.

 

In my opinion optimalisations are must do things as far as any pack goes if you want to know why look into the "proud to be shit" aionemu and than look into l2j and than l2emu :)

 

PS.: There can be really big differences beetwen packs if you watch only l2j you cant see it but even aion which was like 1gb at boot for memory footprint can be so fats with proper reworks to use under 300mb(the private pack of mrpoke currently use under 200mb) :)

 

Posted

When your server starts lagging due to tenured generation getting full in one day, then that would be an indication that your server succeeded and its time to optimize ;) But if you never reach the point of lagging in a good machine, you should know that your population count is bellow the excepted one.

Posted

There is all time one thing to optimize (code speaking), and code optimized = more players with same machine, or better use of hardware ressources. Stability is essential aswell, who cares your server can go 2 weeks if it crashes alone/voluntarly by evil ppl.

 

So improving code, whatever level it is, can :

- help to have more players using same computer specs.

- give a better/smoother quality of play if you had already a good computer (and avoid, for exemple, to reboot every day but every week).

 

Personally, I think you have to code anytime you can in order to optimize. One little + one little + one little... 2mo + 3mo + 1mo ram saved... As Intrepid said, there can have huge differences between packs. I won't begin on IL differences, but just know there is a difference of 200 mo between the heaviest and the lightest (which is the lightest :D It's easy, else I won't talk about :)).

 

It's the same for any chronicle, ad basically, 200mo saved it's a lot of new players, or ram used for internal program.

 

Ofc at one moment, you optimized all.... This is only during this time you can take a break IMO.

 

----

 

Another part of optimize is about configs themselves, and about hardware/softwares. I'm not in fond of this part, so I will just let my turn. I just point the fact even the code is essential, it doesn't do all. Take a shitty hardware, and you got same result than using a crappy pack (and even worse).

 

Well, thread is about coding so :).

Posted

great reflection, I managed after little more or less 80 hours to make use of ottimizzazzione high rate pvp server to my 600 megs of ram and only 2 virtual cores, holds 50 people comfortably without any lag. so I wonder why people who have super server with 2 i7 and 8gigs of ram is not concerned about optimizing your emulator to make additions without being useless? sorry for the bad English I'm using google translator

Posted
so I wonder why people who have super server with 2 i7 and 8gigs of ram is not concerned about optimizing your emulator

Simple.

 

The time it takes to optimize your server to save 40 euro/month rent by buying a cheaper machine, during that time, you can code custom things that will attract more people and bring more donations.

 

Its all about the money at the end. Code what brings you more money :)

Posted

repeat im using very bad server , vps with 600mb ram and 2 virtual cpu optimized at max no unecessary script etcetc and server max player withiut lag is 50-55 can make pvp

 

with doble of ram can reach 100 char simply? (ps pay 10€ for this hardware and i can delete donation)

Posted

hardware i know but is connection speed the problem italy was into 200° into nation adsl speed (need d a lot a € for 10/1 down up )  and for student is  big problem pay hosting society

Posted

hardware i know but is connection speed the problem italy was into 200° into nation adsl speed (need d a lot a € for 10/1 down up )  and for student is  big problem pay hosting society

 

Well network is a problem indeed but you can get a really cheap VPS easily so...

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

    • ⚔️ WELCOME TO L2EPICFAIL ⚔️ Server developed by gamers, for gamers! ❄️ WINTER SEASON #8 ❄️ OPEN BETA — 15 NOVEMBER 2026 GRAND OPENING — 20 NOVEMBER 2026, 18:30 GMT+0 Website: https://l2epic.fail/ Discord: https://discord.gg/6hwhrkrHBG ━━━━━━━━━━━━━━━━━━━━━━━━━━ ⚔️ SERVER FEATURES & RATES EXP — 10x SP — 9x Adena — 6x Drop — 3x Spoil — 3x Seal Stones — 3x Epic Raid Boss Drop — 1x Regular Raid Boss — EXP 5x / SP 5x / Drop 4x Quest Drop — 1x (selected quests 2–3x) Quest Rewards — 1x (Adena / EXP / SP 3x) ━━━━━━━━━━━━━━━━━━━━━━━━━━ ★ PREMIUM ACCOUNT EXP +20% SP +20% Adena +20% Drop +20% Spoil +20% Quest Rewards +20% Available through voting, Epic Coins or donations. World Chat — 60 messages per day using "&" Buff Book usable outside towns. Premium applies to all characters on the account. ━━━━━━━━━━━━━━━━━━━━━━━━━━ ✨ SPECIAL FEATURES Classic Interface Active Anticheat Vote System Daily Missions Attendance Rewards Masterwork Items Brooches & Diamonds Kamaloka Autofarm Epic Auctioneer Epic Market Price Search No Carrier Protection Raid Rank System PvP Events ━━━━━━━━━━━━━━━━━━━━━━━━━━ 🐉 EPIC BOSSES & RESPAWNS All times GMT+0. Spawn windows visible through .epic. QUEEN ANT — LVL 80 Every day except Wednesday and Sunday 18:00–18:30 Maximum C-grade equipment Boosted HP / Drop Chance 49% CORE — LVL 80 Monday and Friday 20:00–20:15 Maximum B-grade equipment Boosted HP / Drop Chance 60% Core Ring: +1 STR, +1 DEX ORFEN — LVL 80 Tuesday, Thursday and Saturday 20:00–20:15 Maximum B-grade equipment Boosted HP / Drop Chance 60% Orfen Earring: +1 WIT, +1 INT ZAKEN — LVL 80 Monday and Friday 19:00–19:30 Maximum A-grade equipment Automatic PvP Zone BAIUM Every Sunday 18:00–19:00 Automatic PvP Zone / Regular HP FRINTEZZA Tuesday and Thursday 19:00–20:00 Minimum 2 parties / Maximum 5 parties Minimum character level 74 Automatic PvP Zone ANTHARAS Every two weeks on Saturday 19:00–19:30 Automatic PvP Zone VALAKAS Every two weeks on Saturday 19:00–19:30 Automatic PvP Zone Antharas and Valakas spawn on alternating weeks. Epic Bosses drop Epic Medals equal to their level × 10. ━━━━━━━━━━━━━━━━━━━━━━━━━━ 🏆 RAID RANK Clans earn Raid Rank points by killing Raid Bosses level 30+. Raid Bosses level 75+ award 150 points. Rankings reset every Monday morning. Weekly Rewards: 1st Place — 50 RRR Coins 2nd Place — 40 RRR Coins 3rd Place — 30 RRR Coins 4th Place — 20 RRR Coins 5th Place — 13 RRR Coins RRR Coins can be exchanged for Epic Jewelry. ━━━━━━━━━━━━━━━━━━━━━━━━━━ ⚒️ ENCHANT SYSTEM Safe Enchant — +3 Maximum Enchant — +16 Regular Enchant Chance — 60% Blessed Enchant Chance — 66% Enchant chances progressively decrease after +10. ━━━━━━━━━━━━━━━━━━━━━━━━━━ 💎 BROOCHES & DIAMONDS Maximum Level — +10 Brooch Compound Chance — 25% Diamond Compound Chance — 35% Requires two items of the same type and level. On failure, one item remains in inventory. Disabled during Olympiad. ━━━━━━━━━━━━━━━━━━━━━━━━━━ ✨ MASTERWORK ITEMS Masterwork Crafting Chance — 2% A-grade — Armors & Jewelry S-grade — Weapons, Armors & Jewelry ━━━━━━━━━━━━━━━━━━━━━━━━━━ ⚔️ REGULAR RAID BOSSES All regular Raid Bosses have boosted HP. Slightly increased M.Def to give fighters an advantage. Respawn — 24–30 hours Epic Medal Drops — Equal to Raid Boss level Raid Boss status can be checked on the map. ━━━━━━━━━━━━━━━━━━━━━━━━━━ 🏅 OLYMPIAD Weekly Period Thursday–Saturday, 16:00–22:00 GMT+0 Maximum Equipment Enchant — +7 (progressive) Minimum Non-Class Participants — 5 Minimum Class-Based Participants — 10 ━━━━━━━━━━━━━━━━━━━━━━━━━━ 📜 CLASS TRANSFER 1st Class — 50k Adena 2nd Class — 500k Adena 3rd Class — 25kk Adena + 700 Halisha Marks Halisha Marks are tradeable and drop in Shrine of Loyalty. ━━━━━━━━━━━━━━━━━━━━━━━━━━ 👑 NOBLESSE QUEST Retail-style Noblesse Quest with boosted quest drops. Alternative Method — No Barakiel Kill Required Collect 100 Noble Ants Feeler from Wailing of Splendor in Valley of Saints. Drop Chance — 4% Barakiel Respawn — 10–14 hours Barakiel's Chest provides 10 Noble Ants Feeler when the relevant quest is active. ━━━━━━━━━━━━━━━━━━━━━━━━━━ 📖 SUBCLASS QUEST Minimum Main Class Level — 75 Start the Reorin Quest in Giran. Obtain the required item from Cabrio's Chest first. Collect items from Hallate, Kernon and Golkonda. Return to Reorin and complete the remaining quest requirements. Maximum Subclasses — 5 Cabrio Respawn — 6–8 hours Tower of Insolence Raid Bosses — 8–10 hours ━━━━━━━━━━━━━━━━━━━━━━━━━━ 🔮 SKILLS & AUGMENTS Mass Sweep — All Bounty Hunters level 40+ Block Buff — All characters, toggle Escape — 20 seconds, no Scroll of Escape required Automatic Skill Learning Skill Loss After 16 Levels of Delevel Maximum Buffs — 24 + 4 with books Augmentation Skill Chances: Normal Life Stone — 4% Mid-grade Life Stone — 5% High-grade Life Stone — 7% Top-grade Life Stone — 6% Fast Augmentation by double-clicking Life Stones. ━━━━━━━━━━━━━━━━━━━━━━━━━━ 🛒 GM SHOP Weapons, Armors and Jewelry — Up to C-grade Soulshots / Spiritshots — Up to C-grade Mana Potions — 500 MP / 5 seconds ━━━━━━━━━━━━━━━━━━━━━━━━━━ ✨ NPC BUFFER All Buffs, Songs and Dances Third Class Buffs and Resists Buff Duration — 1 Hour Buff Book available to every character. ━━━━━━━━━━━━━━━━━━━━━━━━━━ 🌍 GLOBAL GATEKEEPER All Towns Catacombs and Necropolises Tower of Insolence — Floors 3 / 5 / 7 / 10 ━━━━━━━━━━━━━━━━━━━━━━━━━━ 🛡️ CLANS & PVP Maximum Main Clan Members — 80 Maximum Alliance Clans — 3 Clan Leave / Dismiss Penalty — 12 Hours Epic PvP Zone Limit — 4 CPs / 36 Players Clan skills apply to all members without requiring titles. ━━━━━━━━━━━━━━━━━━━━━━━━━━ ⚙️ AUTOFARM Available to Everyone After the First Week Maximum 1 Active Window per HWID Maximum 1 Hour at a Time Requires Autofarm Tickets purchased with Epic Coins and Adena. Activate using .autofarm Disabled While PvP Flagged Third-Party Bot Software Is Prohibited ━━━━━━━━━━━━━━━━━━━━━━━━━━ 📌 ADDITIONAL FEATURES Maximum 3 Windows per HWID Only 1 Window Allowed in PvP Zones Teleport Protection — 20 Seconds Weight Limit — 10x Stackable Enchant Scrolls and Life Stones Blue Champions — 5x HP Minimum Trade Level — 40 Minimum Chat Level — 20 Arrows and Spellbook Drops Disabled Blacksmith of Mammon and Merchant of Mammon in Towns Alt+Click Buff Removal 19-Level Party EXP Difference No Carrier Disconnect Protection Payback System ━━━━━━━━━━━━━━━━━━━━━━━━━━
    • They're just jealous because I'm better at prompting than all of them combined. There's all working on L2jPromptius and can't even manage to open a single private server with it in like 10 years, and now they're nervous because I'm sharing tools they've been gatekeeping from the community so they can't profit anymore. Truly shameless behavior from them  They're losing business opportunities with every free share, they literally live from the game, just a bunch of unemployed dudes 
    • I don't understand the hate at all? Why are people getting mad at 911reg for sharing an already free tool but improved? Right now the competition is not in dev ability but in creativity and vision. 
  • 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..