Category: Ανάπτυξη L2J

How to make a successful L2J server

By Nekys Nemia, 7 Ιουλίου 2009 08:27

This is a small guide, not much technical on how to make a successful server. You may read some things that won’t be nice, but as I administrate servers and I am paid for it or I have 1 very successful low rate server and a promising mid rate, I guess that on a big part of it, I am right.

First of all you need to finalize your idea. What kind of server do you like? This is what you will make. Forget what is famous right now or what most players do want. Do what you like as long as it doesn’t conflict with other guidelines. When you make what you really love, will last more the enjoyment of doing it. When you do it because this is what players want, sometime you will hate it or worse, players will turn to something else and you will be left with a server that is not what public wants anymore and you don’t like it too. It is better to be 10 players online and enjoy the style/type of the server than be 1000 online and don’t.

After you finalize your idea you need to make a plan on how to make it true. Usual plan is:

  1. Learn the software:
    I guess you will use L2J or some fork. Personally I don’t use L2J anymore but a private fork. My alternative would be L2J or L2JOfficial. Learn the software as much as you can. How to set the JVM Heap Sizes, how Java works, do some Googling, read carefully the config files and waste some months to L2J Forums testing patches etc. It is a must to setup and use Eclipse SDK, there is a guide about it on L2J Wiki.
  2. Avoid stupid customizations: Custom Armors, Weapons, Tattoos and things like that are supposed to be something like a curse. It is a direct mean that your server is boring as is so you need to farm for something. Lineage II is an amazing game, try to take advantage of it. Best moves I have seen on PvP servers are the Soul Crystals not to be sold but leveled by Raid Bosses and S weapons without SA or Enchant Scrolls not being sold on GM Shop and need to obtain them the normal way. Also a NPC Buffer where is needed, would be nice to have only Buffs like those in Clan Halls. Farming zones are sometimes nice depending on their purpose. If your are planning on making a PvP server and you want to add farming zones consider that it is a PvP server so Farming Area/s shouls include PvP. So make multiple teleports to the same area to avoid spawnkill, don’t set it as Peace zone and put a PvP/PK announcement mod. Best PvPs are done on Castle Sieges and Raid Bosses, take advantage of it.
  3. Learn the OS:
    I would use Linux and I suggest you do the same. Command line only! If you don’t know ho to setup Linux, use Google! A good alternative is to get a Ubuntu Server installation on your PC and experiment with commands. I suggest Ubuntu as a testing enviroment because there is a lot of documentation. Do not use Ubuntu on your server. Prefer Debian as it has better package management system (a system that installs and updates your server software through an online repository) than other distributions. My second alternative is CentOS. Linux is easy to use as long as you are chill and do’t panic. You can use VMWare for your experiments also.
    If you don’t use Linux, use Windows Server 2003 RC2, not WinXP. But still I don’t know of Windows much so I can’t help.
  4. Learn to secure:
    Learn to setup a proper firewall and permissions. A good tactic is to use different database for loginserver with different use which will be able to access only loginserver database. Also if you use account manager on your website, make another user for it, which will be able to access the server only from webhost IP address and only the loginserver database. So in case someone «hacks» your website, won’t do damage far from accounts and their usernames. So you need to learn MySQL, file permissions depending on your filesystem and OS and to setup a firewall.
  5. Choose hoster:
    As I mention before I will refer only to Linux server hosting. You can use Google to look for Dedicated Servers. Dedicated Servers are machines that are located on special rooms, cooled with static IPs (usually more than one) and good connections. A minimum is 10Mbit unmetered (without limitations to the outbound bandwidth) or 100Mbit with 1000Gb monthly bandwidth.  We are always talking about upload not download and about Dedicated Servers, not home connections (aka ADSL). I will not talk about ADSL or home connections. If you plan to host your server at home, stop here and get a life.
    1Mbit upload is about 90 players, depending on how many players are in one area (the more players near each other, the more bandwidth) and what they are doing (PvP and Raid Boss exchange more packets than farming).
    Hardware should be at least a Single Core CPU @ 2.4Ghz (not Celeron!) and 2Gb RAM. Recommended is any Dual Core CPU (not HyperThreating Single Core) with 4Gb RAM. Companies like Hetzner.de that offer only Linux OS machines, have very good offers like this:http://www.hetzner.de/de/hosting/produkte_rootserver/eq4/ which with good configuration can hold 2000 players at least. After Hetzner.de you may also check Exportal.pl
    Better avoid hosting your machine in USA even if you live there as USA is very strict against Emulators and Copyright violations. Germany and Italy are very good options for their laws against EULAs and Germany has very good and cheap companies.
  6. How to cover costs:
    First of all I belive that no server does need donations. If you have just one server, you can easily afford it. You can have a server with 1000 players online and cost bellow 100 euro per month, depending on your OS and hoster. But it is possible. If you really need to reward donations, do it so you are not restricted by them. Always make sure you can afford the cost even if you get no donations and don’t rely on donations to pay the server. If you expect to cover the costs only by donations, you server will close in 3 months maximum. A good point is to put some rewards that don’t really damage gameplay, like Masks, Blessed Scrolls, Recipes etc. A good point is to avoid any rewards of S grade or above. Note that even if you have limited donations, your server can be called «donator» server and loose players because of that. So don’t expect limited donations can be innocent. Players may think that you give «unofficial» rewards etc, as this had heppened to many servers in the past. So in any way avoid donation rewards or at least discuss them before server opening with the players.
  7. Game Masters:
    L2J has a very good access level system. Look into L2J forums about it. Give your Game Masters limited access. No enchants, Item summon, GM Shop, Give skills, Level up. Even /kill can be harmful as some GM may use it to powerlevel players. If your GMs refuse to become GMs with that much limited access, kick them! You don’t need people that can be corrupted or that don’t understand this is about server’s good. Also YOUR admin GM char should have limited access too.
  8. Forum Moderators:
    Before you open server make sure you get at least on Forum Modarator and set Modarator access level to your Game Masters. Forum members should be able to tell them from simple members so they trust their word too. Also an organized forum is a beautiful forum that may transmit respect to new players.
  9. Website:
    First and most important tip: Do NOT host your website on your gameserver! Do not forget that. There can be stability and security flaws. Make something nice and simple. Not much crap on it. Use proper english and make sure you use some Top Level Domain (.com .net) and avoid free web hosting. You can have webhosting for 2 euro per month and a TLD (Top Level Domain) for 7 euro per year. This will make your server look far more professional. A good platform to base your server is Wordpress. For forum engine you may use PhpBB or SMF but make sure you have anti-spam protection.
  10. Advertisement:
    An open, wiped Beta is the best advertisement. Must be wiped so players treat server as more serious. Should be at least 1 month long. This will give you the freedom to make any needed changes. Note that players don’t like any changes in gameplay. On every change you may use 1/10 player population which means that in 10 changes you have lost all your players if incoming players is less than outgoing. Also don’t forget to «spam» some forums before server opens to announce the future opening. This will give you time to prepare the ground and community to know what is coming so they are prepared if they choose to come to your server.

Other useful tips:

  • Learn Java or at least learn to apply patches on Eclipse SDK or any other SDK you prefer.
  • Get a Java coder on your project. Avoid «develpers» that know nothing more than some skill and HTML editing. These are not developers. Developers are those that are able to implement a feature from scratch not doing some modifications. Anyone can do modifications but very little can give birth to something new.
  • Never help players with items or whatever. Not even if they tell you that will bring you 1000 players (even if its true). NEVER do that. If you girlfriend is a Lineage II players and threatens you that if you don’t make her character top level with top gear, she won’t have anal sex with you again, just divorse her or… make her (limited) GM (so you can do anal whenever you want, what is better excuse than GM access?!). Generally giving items is like a curse. Once done, your server is doomed.
  • Never do GMs players who say that if you do so, they will bring a branch of people with them. Generally don’t make any trades with players.
  • Learn how to configure MySQL configuration. Never use default one and set MySQL on its own hard drive. This can make your server perform far better and save you from some «lag» exploits.

True love is eternal

By Nekys Nemia, 7 Απριλίου 2009 15:44

I will start with common stuff. On Sunday, RaidFight reached 947 players online. From that number 170 was offline shops. Pretty nice number!

Now to other stuff. True love is eternal and the call is clear. Sometimes you can’t hear it but it is there. I want to post some lyrics from the greek dark band Diafana Krina (Διάφανα Κρίνα) which roll in my head the last 1 month and I believe they was written for this…

ΣΤΟ ΠΛΑΪ ΣΟΥ

Κορόνα γράμματα ποντάρουμε το θάνατό μας, την ίδια κλίση παίρνουμε φλερτάροντας γκρεμούς
κι όταν δε θα ‘χουμε πια τίποτα δικό μας, ο έρωτας θα μας τσακίσει και θα μας κάνει αληθινούς.

Θα μ’ αγαπάς, θα μ’ αγαπάς – μα δε θα φτάνει
άγονη βροχή θα πέφτει πάνω μου το χάδι σου
και εγώ σαν γέρικο σκυλί μες το λιμάνι, θα πεθαίνω στο πλάι σου.

In english:

BY YOUR SIDE

Heads or tails focus our death, the same slope we get as flirting with cliffs
and when we’ve no longer something ours, love will crash us and make us real.

You will love me, you will love me – but won’t be enough
arid rain will fall on me your caress
and like a old dog at the port, I will die by your side.

For the previous post and RaidArise.

By Nekys Nemia, 30 Μαρτίου 2009 22:59

Recently I opened RaidArise. It is a retail-like x10 rates server. This server is not going to replace RaidFight. RaidFight is my diamond. It is not replaceable. Some low-minded are spreading rumors that I will close RaidFight. I won’t. RaidArise is not «mine». I just provide some of my knowledge and RaidFight’s code. The reason I promote RaidArise as mine is that I am well known of the quality my servers do have so works more like an advertisement. So RaidArise is promoted as mine as a marketing trick.

Now about my previous post you don’t have to worry. I am not in «bad mood». I just wanted to express m feelings in some way. I don’t plan to suicide or something similar. I am fine. I just miss Her.

Rewarded donations, the big joke

By Nekys Nemia, 22 Νοεμβρίου 2008 16:56

If you make a server just to be rich, that’s good. I know server owners that make over 4000 euro /month. But as every investment, needs to invest money. Nothing appears from nowhere.

What you will need:

  • 1-3 months to figure out what you want and what players want and finalize the form of the server. Leave nothing for after server opening.
  • About 50-100 euro/ month to rent a dedicated server. I won’t talk about ADSL. We talk about business not fun.
  • Advertisements: Banners on Top Lists etc. About 40 euro/ month.

So you need to spend some money to get some back. Also note that server won’t get donations from the first month. So you have to be sure that all these costs, can be covered for about 3 months and more. Most server don’t get many players before the 6th month. Its a long-term investment!

Note that:

  • Servers that got 1000 players since month 1, lost them the same fast after a while.
  • Anything that comes fast, leaves fast!
  • Don’t try to bring players by giving them items and enchants! You will make them bored and those will be the first ones that will leave your server, taking more players with them!
  • Do not make changes! Every change you do will make 1/10 of your players leave. 10 changes, all players!

You will need excellent knowledge of the game. I suggest you those 1-3 months you are going to think of what you do, go play on retail a bit. Retail account costs around 13 euro/ month and really worth to help you learn more things.

If you make a server without having any money and you expect to cover the costs by donations, I bet that you will close on the 3rd month, best case.

How to play Lineage II Gracia Part 2 from Linux

By Nekys Nemia, 20 Νοεμβρίου 2008 01:19

This method is not that hard but requires -some- knowledge.

What you will need:
Internet, a Linux with installed VGA drivers, a private server with gameguard check disabled (like RaidFight), Patience.

  1. Install Lineage 2 Gracia: Part 2, update client.
  2. Get patched system: http://www.raidfight.com/files/linux/Linux_Gracia_Part_2.tar.gz
  3. Remove/backup old system and use the one provided above.
  4. Get Tahoma font, and place it inside ~/.wine/drive_c/windows/fonts – without it you will see no text in game: http://www.raidfight.com/files/linux/tahoma.ttf.tar.gz
  5. Install Wine. I used wine from Ubuntu repositories working perfect. Try the one from Ubuntu repositories and if doesn’t work use the one from Official Wine Website: http://www.winehq.org/site/download
  6. Setup Wine, run winecfg and set compatibility mode to Windows XP (not always necessary).
  7. Open /etc/hosts as root. Enter this: 89.149.255.12 L2authd.lineage2.com
  8. Run Game

What about networking?

By Nekys Nemia, 16 Νοεμβρίου 2008 16:55

Has been a long time since I last did a post. I was a lot busy and bored to mess with my blog. I descided to make clean a issue most l2j admins ignore: Networking.

Data number one:

iface                  Rx                   Tx                Total
eth0:          33.17 KB/s          329.82 KB/s          362.99 KB/s

Data number two:

Server Status:
—>  Player Count: 141/200
+–>  Object Count: 63820
+–>      AI Count: 42967
+…. L2Item(Void): 124
+………. L2Item: 19073
+……. L2Monster: 40103
+……… Minions: 3597
+.. Minions Groups: 2404
+……….. L2Npc: 3340
+………… L2Pc: 139
+…….. L2Summon: 10
+………. L2Door: 1001
+………. L2Char: 0
—>   Ingame Time: 8:22
—> Server Uptime: 16hrs 23mins 3secs
—>      GM Count: 3
—>       Threads: 62
RAM Used: 1374

What this means?

Send: 329 KByte/ Second

Receive: 33 KByte/ Second

Players Online: 141

329 KB / 141 = 2.3KByte/ Second

33 KB / 141 = 0.23KByte/ Second

This is the connection that players «suck» from the server. These numbers are peak numbers.

Lets translate it to KBit / Second, just multiply it with 8.

Send: 18Kbit

Receive: 1.8Kbit

So, whats the failure behind the ADSL connections most servers use?

First lets make clear that we talk about the majority of the ADSL-based servers. There are ADSL-based servers with 300+ players online. We will speak about those that can’t hold more than 50.

Why ADSL connections are slower?

ADSL connection from server to client does this path:
Server ->
Router ->
Area ISP Connection ->
Town ISP Connection ->
ISP Interconnection ->
National ISP Connection ->
International Connection 1 ->
International Connection 2 ->
International Connection 3 ->
National ISP Connection ->
ISP Interconnection ->
Town ISP Connection ->
Area ISP Connection ->
Router ->
Player

Dedicated server to client do this path:
Server ->
Datacenter Router ->
Datacenter Backbone Connection ->
Backbone ->
International Connection 1 ->
International Connection 2 ->
National ISP Connection ->
ISP Interconnection ->
Town ISP Connection ->
Area ISP Connection ->
Router ->
Player

Of cource, dedicated servers have faster connection to the international backbones, more direct because they are supposed to work this way. ADSL connections are not connecting directly because they are cheaper and they are targeted to browsing/downloading usage. There is no reason for a ADSL to connect directly to international backbones. This means that even if the route till the packets reach international, in case of the ADSL, will have about 100ms of latency carrying on it, where dedicated server would have 10-20ms. This also happen because a ADSL ISP, has a 8Gbit connection that is shared to 3 million ADSL customers or even more. A dedicated server most likely to have a 100Mbit pipe to 10 servers (thats how most good dedicated server companies work). So in fact a ADSL connection is much more oversold than a dedicated server connection, causing the connection to have a lot of traffic and this results to high latency. Maybe the latency is not really visible in most cases, 20ms doesn’t mean good latency in a LAN network but means good on a ADSL line. So don’t get tricked.

I spoke about International connections. I won’t speak about National connections. I know very good that most Greek ISPs (this also apply to other countries sometimes), have bad inter-connection between them. What this means? They do take great care on high quality connections to the out world, but don’t care enough care of the connections between them. So if your server is in the same ISP as your player’s then things are fine. You can hold about 100 players with a greek ADSL. But if your server is on different ISP than your player’s things become nausty and you might not hold more than 30.

This is not happening to discurage future admins from hosting their servers on a ADSL connection. This article is written tou courage you to move to a dedicated server as soon as possible, than keep being on a ADSL. Dedicated servers can be cheap and with high quality, so cheap that a ADSL is not worth. For example a small dedicated that can hold 500 players could cost arround 50 euro / month when a Greek ADSL 10/1Mbit costs arround 20 euro / month. The cost is so low that you don’t even need donations.

No more Greek servers… Please?

By Nekys Nemia, 11 Ιουνίου 2008 16:33

Its a fact that Greece has most private server related to its population. Thats evil. I mean, what is that illness that Greek people have that makes the 99% of the private server players into «wannabe-gm». The worst part is that Greek servers are mostly highly populated. I am Greek and I own 2 private servers and I am admin into another 2. But I don’t understand some things like…

A successfull Greek private server should:

Be on a ADSL home line with dynamic IP, upload below 1024Kbit and latency over 300ms.

Be on a Home PC with Windows XP and a thousand shit running in the background. Also server admin should play from the same PC so he makes sure he is always online and when players shout «LAAAAG» he awnsers that they are noobs and he (the Admin) doesn’t lag.

Admin should have great knowledge on how the TH and Necro is played. Should also never had any Quest. Having Quests is another illness that never comes over you until you die (in real life).

Server’s skills should work 200% and usually are coming from various websites where someone that has slighly more knowledge than our server Admin (knowledge to open notepad) has edited all the PASSIVE and NOT_DONE skills and added whatever stats he wanted. Thats good. Noone of his players will ever find the difference, because never saw any skill working as Retail.

Server should be based on some serverpack which is 4-5 month (at least) old and its author claim its 100% working all of the skills, quests etc. It doesn’t matter that a Kamael character has only 10 active skills full classed up to 85 level, but the active skills that was not made, are removed from passive (as deactivated). That also has made the world famous roumor that Kamael race sucks.

Also max players on server should be not more than 30 (with lags) or 3000 with huges lags. In the second case the problem comes from the fact that server admins have put 3000 bots on their own server, so you my fellow player, believe that really has 3000 players.

DDoS every 30 minutes. Yes successfull servers are DDoSed every 30 minutes from other evil server owners that are jealous from the server’s success (the 3000 bots and 2 players). Yes there are people like these. Always believe your Admin when says that others cause the problems. He knows everything.

Bugged quests and mobs are placed by the server’s admins. They do this so they can… I don’t know, but its widely known that server admins place the bugs in purpose. Their server has no bugs at all and if some bug appears is placed by a Admin on purpose. Ask them why, I never understood.

Curse Death Link skill causes 3k damage with full HP.

Mages have disabled the Fear/ Cancel and related debuff skills because they are evil skills and ruin the game. It doesn’t matter that a Mage is 1 hit from a dwarf in such servers. Mage have to be balanced!

If server Admin doesn’t know how to disable these skills there is rule for not using these demonic skills. You will get banned account, but don’t worry, if you offer the Admin 20$ you will have your account back, but don’t bother. If you start from the begining you will have your uber-char again back in 10 minutes.

Wipe or rollback is made every week for 1 or 2 days

Restart takes 20-300 minutes.

Update takes 1-2 days downtime.

Closes after 1 month.

Players should never use pet invetories or pets because they are «bugged».

Players should wait about 2-3 month for the server to update to latest L2J revision. On new chronicles/ throne updates, that time can be made 4-5 months. Usuall excuse? New revision has many «bugs» (when you hear «bug», always remember that bug means a feature that doesn’t work at all meaning its not added. It doesn’t matter that in later revisions about 10 exploits are fixed, but that some item has not be added yet (of is available in gm panel with not right stats).

Players are following some guide to do a quest (that illness remember above?) and the guide on the website they follow, its outdated. In final these players leave because that Quest it bugged because its not working as the guide says.

Well there are more things that I can’t recall now. There rules apply to any (wannabe) successfull private server of any nationality. I just refered to Greek private server because thats the area I care about. Some of you will recongise your private server or the private server that you play on. I am not a saint and I make mistakes, but I write this down so I can remember what to do next time I will open a server. Remeber, always know less. its for your own good. Curiosity killed the cat, etc…

EDIT no1: Also has about 3000 votes and 15 maximum players online.

Panorama theme by Themocracy