Jump to content

Recommended Posts

Posted

Here is a system tweak and some java tweaks so as your players are gonna have less lag (but watch out, not less lag caused by the server's connection, but less caused by the server's PC.

 

The first tweak is simple, and has really nice affects on your server when you have lots of people logged in. Let's say that you have about 4GB of physical memory (it is really good for a server PC) but you have lag... lot's of lag! Why don't you try to set off your page file system? If you use less than the 4GB of the physical ram, you have a good connection and too much lag, turn off the page file system of your OS (that's why i suggest linux for your server, it has a clever ram management system, not like w$). More about this on microsoft's site. (It is on the advanced tab of your PC properties, on performance setttings). Don't forget that, if you go up to 4GB your PC will lack of RAM and pouf, server is down ;D Suggested only if the rest of the ram is free. Do not forget to set the restart time of the server on less than 6 hours, as after that time your RAM usage is getting bigger and bigger.

 

Another tweak is a java tweak on the startgameserver.bat. Totally three. Take a look, and pay attention.

 

The first tweak is the RAM usage. Let's say that you have 2GB physical RAM (as i do). Look inside the .bat file, there is a row which is starting with...

 

java -Xmx512m -cp

 

This tells java not to go over that value, but use it as it wishes. You can change it in steps of 256mb. REMEMBER NOT TO EXCEED THE 60% OF YOUR PHYSICAL RAM.

 

You can also put in front of this value this command -Xms512m and it tells java that IT WILL USE always 512mb. It almost elimates your memory (always that memory usage is a high amount) but it helps a lot. It should look like this:

 

java -Xms512m -Xmx512m -cp

 

The last code is about the memory that java uses for getting rid of the bad code... what do i mean...? Every program running for some time, makes tons of garbage, which it doesn't need, and java makes a f*cking great amount of useless code. We can add this command: -Xmn128m in our code, so it will kick the bad code every some minutes, and will use 128mb for this job. Try it:

 

java -Xmn128m -Xms512m -Xmx512m -cp

 

Remember not to exceed the 25% of the next value (in this case the 512, so 25% of 512 is 128).

 

Another tweak (that is know) is to set java priority to high, or real time (only if it is a dedicated server PC) which greatly increases your server's performance, but needs to be automated to restart every 6 hours (because CPU usage after 6 hours of realtime or high priority gets over 95%, sometimes even 100%). To set it to real time or high priority, use the task manager, go to threads manager and find the java thread, right click, priority settings. If you want it to be setted auto by the machine priority to realtime, open your startgameserver.bat file and add before java: start/realtime/wait

So, it seems like this now:

@echo off

:start

echo Starting L2J Game Server.

echo.

start/realtime/wait java -Xmx512m -cp ./config/;commons..................................................

 

The last tweak, is a dirty trick, huhuhu. If you want to make your players to think that server is running on a powerful machine without any bit of lag, or whatever, give 20% more running speed to all chars from your db (yes, set it as the default, so any new char gets instead of the official speed +20% more). Now they think they fly, but in the reality it is just a trick. Nobody will note it.

 

Have fun ;) Tested on my hlapex server (if you played there huh ;D).

 

*Collected from some old .txt files of my c3-c4 packs collection. The guide is mine ;) But i got the basic idea from there :P

Guest Thanos47
Posted

i think for the last guides he need +1,2 karma ;)

  • 3 weeks later...
Posted

To the templates, let's say a class has 110 speed... change it to 130 for example... Do the same for all the classes. I had a SQL command for this, but i'm not to my PC.

Posted

killer_007 i bored all your shares ... all of those shares are copy paste bliah and u dont give any credits omg and then you call me spammer or sthin like that ...

 

but  i  cant say u found a good site to copy paste :D

Posted

Yeah? Do you have evidence? At least, i respect the people who write some things, because i do write guides and shares, and i always give proper credits where needed, so if you don't have proof, if you don't like me, if you don't know what i do share, if you can't explain how i know some things that you do not know (because you are egoist, or because of immaturity) IN YOUR LIFE YOU CAN NEVER - EVER accuse somebody if you don't have EVIDENCE. Is that clear? Instead of being so useless, try helping some people and not just go around and say <<omfg noob, come on i can do it, you thief!>>. I learned these things from somewhere, and that doesn't mean i don't respect the people who were teaching for my 3 years of knowledge in l2j, i learned all these things i share with you from those people, i respect their work and their face, but as i respect them i want some people to respect me for my work.

Posted

killer_007 i bored all your shares ... all of those shares are copy paste bliah and u dont give any credits omg and then you call me spammer or sthin like that ...

 

but  i  cant say u found a good site to copy paste :D

and if they are copy paste? He IS MAGAS and not bored to do the copy paste (in case that is copy paste) And he knows the answer in problems that happen in these "copy paste" as you say so??? Even If they are copy paste he knows what the copy paste he done is For And he's not a Noob that only copy  pastes!!! Anyway Killer You Rock for me and i dont care iF they are a Copy  paste something i dont believe I care only for the topic maker's Name And name is Killer_007!!!! nice m8 ;)

Posted

killer_007 i bored all your shares ... all of those shares are copy paste bliah and u dont give any credits omg and then you call me spammer or sthin like that ...

 

but  i  cant say u found a good site to copy paste :D

and if they are copy paste? He IS MAGAS and not bored to do the copy paste (in case that is copy paste) And he knows the answer in problems that happen in these "copy paste" as you say so??? Even If they are copy paste he knows what the copy paste he done is For And he's not a Noob that only copy  pastes!!! Anyway Killer You Rock for me and i dont care iF they are a Copy  paste something i dont believe I care only for the topic maker's Name And name is Killer_007!!!! nice m8 ;)

killer_007 i bored all your shares ... all of those shares are copy paste bliah and u dont give any credits omg and then you call me spammer or sthin like that ...

 

but  i  cant say u found a good site to copy paste :D

and if they are copy paste? He IS MAGAS and not bored to do the copy paste (in case that is copy paste) And he knows the answer in problems that happen in these "copy paste" as you say so??? Even If they are copy paste he knows what the copy paste he done is For And he's not a Noob that only copy  pastes!!! Anyway Killer You Rock for me and i dont care iF they are a Copy  paste something i dont believe I care only for the topic maker's Name And name is Killer_007!!!! nice m8 ;)

 

+6456465423168453185

i agree completely!!!

with their logic from the first time sth is said anywhere it can never be repeated there or at any other place.....

read the gpl ppl.....

 

PS: tnxvm killer_007

Posted

copy paste but if i copy paste he shares in onother site he goona eat me so ...

 

killer_007 i found a cool site to share your shares

 

die in a car of fire

  • 5 years later...
Guest
This topic is now closed to further replies.
  • Posts

    • @Mobius I only asked you one question! All your previous versions are sh*t and the last version is the best ? Because this is what you said.
    • Close that LOLserver. And change name to L2Wipe&Money.
    • Open Beta January 17th & 21:00 UTC +2 Launch Date January 24th & 21:00 UTC +2 Click Here to Explore Vanilla Gracia Final Low-Rate Server. Join our Discord Community     Following the success of our Vanilla project, we decided to launch it again as Last PlayINERA’s Server! Core Settings *Vanilla will have Strict Botting & Client Limitation Rules and Chronicle Progression from Gracia Final to Gracia Epilogue to H5 in Long term! XP: x4 SP: x4 Adena: x2 Drop: x2 Spoil: x3 Manor: x0.4 (60% reduction) - Festive sweeper enabled! Seal Stones: x2 Herbs: x1 Safe Enchant: +3 Maximum Enchant: Retail Enchant Rate: Dynamic General Settings Auto-loot Can be toggled Buffs Adventurer Guide buffs are free, retail level limit removed. Buff Slots: 20 (+ 4) Summon buffs will remain on re-summoning & on death while Noblesse blessing is applied! (Olympiad excluded) Pet buffs will be saved on relog but not during summon/unsummon. Event Buffer [NEW] Event Buffer is enabled and will spawn randomly between 18:00 ~ 23:00 in Giran for 10 minutes, it will apply Farm Only buffs that are cancelled in PvP, Siege / Epic PvP zones & while in a chaotic state! Duration: 1-hour! Territory Wars every two weeks on Saturday. Castle sieges every two weeks on Sunday Class Transfer 1st Class Transfer: Available for purchase with either Adena or iCoin 2nd Class Transfer: Available for purchase with either Adena or iCoin 3rd Class Transfer: Quest or iCoin (the 3rd class transfer will become available for purchase with iCoin as soon as someone has entered the Hall of Fame for completing the 3rd class transfer quest for the class in question) Hellbound Hellbound Lv. 0-6: ATOD x1 Hellbound Lv. 7-12: ATOD x2 Tiat & Ekimus will become available at Stage 12 Hellbound can only be leveled up by killing monsters. No quests or raids are needed To open Hellbound, a party must kill Baylor in the Crystal Caverns The following items are now tradable: Ancient Tome of the Demon  Hidden First Page  Hidden Second Page  Demon Contract Fragment INERA Hub Library Clan Recruitment System Options Services Milestone Rewards Earn rewards for reaching various daily/one-time goals Client Limit: 1 (+1 with Standard Premium) Shift + Click Information on Monsters SP are required to learn new skills Offline shops Lasts for 15 days Olympiad Olympiad period: 1st and 15th day of the month (14th & Last day of month is the last day) 3 Vs. 3 match disabled Class-based matches will be held over the weekends One registration per HWID (PC) Minimum participants: 9 Party Matching System Earn bonuses for finding a group via the Party Matching system Vote Reward System World Chat No limits for first day! Available from level 20 Raid Bosses Epic Raid Boss zones will turn into a PvP zone while the Epic Raid Boss is alive ( + means Random) Server will start with all grand raids dead. Normal Raids: 12h (+6 hours random). Subclass raids, respawn 12h (+6 hours random). Noblesse Barakiel 12h (+6 hours random, PvP zone). Anakim & Lilith are static 24 hours respawn. Queen Ant: 24 hours (+2 hours random). Core: 40 hours (+2 hours random). Orfen: 32 hours (+2 hours random). Antharas Respawn: 8 Days. Randomly spawns at 19:00 ~ 21:00 Boosted to level 83 on Hellbound stage 7. Valakas Respawn: 10 Days. Randomly spawns at 19:00 ~ 21:00 Baium Respawn: 5 Days. Randomly spawns at 21:00 ~ 23:00 Boosted to level 83 on Hellbound stage 7. Frintezza Respawn: 2 Days. Randomly spawns at 21:00 ~ 23:00 Instanced Zaken Zaken (Day): Monday, Wednesday, Friday at 6:30. Zaken (Day): 9 players, LvL 55-65, 1hr max. Zaken (Night): Wednesday at 6:30 Zaken (Night): 18-45 players, LvL 55-65, 6hr max. Tiat: Saturday at 6:30, 18-36 players, 2 hrs max. Boosted to level 85. Ekimus: 24h at 6:30, 18-27 players, 1hr max. Tully’s Workshop (Darion & Tully): 24h +-1h. Tower of Naia (Beleth): 5 days, 18 min. & 36 max.
  • Topics

×
×
  • Create New...