Jump to content

Recommended Posts

Posted

FULL LINUX SCREEN GUIDE (L2J)

 

OK after some days  on LINUX Debian OS  i found something better than all know till now

 

OK lets start 

 

First i try to show  you how to  watch you Gameserver and Loginserver  window status ! 

 

First open the terminal and install Screen typing :


apt-get install screen

ok when the instaletion in done! open the  terminal and

 

 

LOGINSERVER

Type


screen

 

press  enter and then type

 


screen -K LOGIN

 

then press ctrl + a+d

 

so  now you created a screen  for  the LOGINSERVER

 

then type


screen -r LOGIN

will take you at the dir that you was  when you pressed ctrl + a+d

so now  go to the  dir of your loginserver:

type:


cd "/home/YOUSERVER/LOGINSERVER"

now  you are  in the dir  of the LOGINSERVER

so you now open it

type:


java -Djava.util.logging.manager=com.l2jserver.util.L2LogManager -Xms1024m -Xmx1024m -cp ./../libs/*:l2jserver.jar com.l2jserver.loginserver.L2LoginServer

done the server is open now. press ctrl + a+d  and  to exit

NOTE:change the com.l2jserver  if you dont use this source

 

LOGINSERVER

 

screen -r 

you will see how  many windows are open this time

so you will see something like this:


1275.LOGIN (03/25/2010 08:22:04 PM) (Attached)
1270.SERVER (03/25/2010 08:21:57 PM)        (Detached)

if you dont see that that  mean your server is off

 

GAMESERVER

 


screen

 

press  enter and then type

 


screen -K SERVER

 

then press ctrl + a+d

 

so  now you created a screen  for  the GAMESERVER

 

then type


screen -r SERVER

will take you at the dir that you was  when you pressed ctrl + a+d

so now  go to the  dir of your gameserver:

type:


cd "/home/YOUSERVER/GAMESERVER"

now  you are  in the dir  of the GAMESERVER

so you now open it

type:


java -Djava.util.logging.manager=com.l2jserver.util.L2LogManager -Xms1024m -Xmx1024m -cp ./../libs/*:l2jserver.jar com.l2jserver.gameserver.GameServer

done the gameserver is open now. press ctrl + a+d  and  to exit

NOTE:change the com.l2jserver  if you dont use this source

 

HOW TO USE IT

 

so now you have done with the screens

ill show you more selections now:

 

to watch  your screen list type


screen -r

NOTE:if you have only 1 screen will take  you to it

 

to watch a screen session type:


screen -r THENAMEOFSCREEN

so you will type:


screen -r LOGIN

or


screen -r SERVER

NOTE: every time you exit from the session press  ctrl + a+d

 

to cloce a session use CTRL + c  when you are in the  session and then CTRL + a+d

with this your loginserver or your gameserver will be OFFLINE

 

to make your loginserver or the gameserver again ONLINE type:


screen -r THENAMEOFSCREEN

Press the (UP ARROW) up_arrow.gif

then ENTER and then CTRL + a+d

done now the loginserver or the gameserver is online  :)

 

 

thats all if you need any help tell me :)

Thanks for reading

 

[move]

credits to me

credits to me

credits to me

[/move]

 

  • 10 months later...
Posted

Another way of moitoring your server is:

What ever server would output to the screen it also outpoots it into the file gameserver/log/stdout.log and login/log/stdout.log. So what you need to do is go to your log folder and type:

tail -f stdout.log 

This will read the file stdout.log and display its contents on the screen every time the server outputs anything to it.

Result similar, but no need to install anything.

Posted

Another way of moitoring your server is:

What ever server would output to the screen it also outpoots it into the file gameserver/log/stdout.log and login/log/stdout.log. So what you need to do is go to your log folder and type:

tail -f stdout.log 

This will read the file stdout.log and display its contents on the screen every time the server outputs anything to it.

Result similar, but no need to install anything.

i dont recomment it  ... server  will be more laggy

i recomment to use java as less  you can ;) . i mean  dont let  java to do all things .. here are more things  like (xml etc )

Posted

i dont recomment it  ... server  will be more laggy

i recomment to use java as less  you can ;) . i mean  dont let  java to do all things .. here are more things  like (xml etc )

 

This has nothing to do with java. Server is outputing everything to stdout.log anyway.

That command that I wrote will use internal linux tool to monitor that file and display its content on the screen. I'm quite sure that a tool that is implemented inside linux core is more stable and less lagy, then some external app.

Posted

This has nothing to do with java. Server is outputing everything to stdout.log anyway.

That command that I wrote will use internal linux tool to monitor that file and display its content on the screen. I'm quite sure that a tool that is implemented inside linux core is more stable and less lagy, then some external app.

this have not do with java?  are you sure?

check the l2j source plz

Posted

this have not do with java?  are you sure?

check the l2j source plz

Dudde...

L2j server outputs everything to stdout.log if you want it or not.... It just writes everything to that file.

Now we are talking about the tool to monitor it. And that tool has nothing to do with java...

That tool that you sugested works prety much same way, it reads server output, like tail -f does. Just instead of reading it from file it reads directly from script. There's more java in your example. Stop arguing about something that you dont understand.

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

    • wtf is your website lol ai slop
    • who have this files? or info about cached packets?
    • Hi maxcheaters, i am trying to bring back an old server ( L2Revenge) but with my own ideas, i only liked how it was and made the gameplay based on that just putting my own ideas.   So practicly is a PTS C6 with an extender that i work lately    Exp / SP is x45 adena is x200 and drops x5  so safe is +3 , max is unlimited and rate is 65% for both mage and fighter weapons I created a system that you can get on the levels the gear you need based on farm but for S grade theres a little farm to get some armor Tokens to unseal them. As you remember L2Revenge had olympiad / Tournament gear. So people abused them and had S grades that way just couldnt enchant them. So i made to be wearable only if u are nobless. That way i cancel this "exploit".  The server gives opportunity to solo and clans , epic gear ( epic weapons) or armors can be bought with raid tokens and you can craft them or get them with various ways Regarding Buffs: 24 buff slots no changes asked. Cov/Pony/Cat , siren - renewal - champion out of buffer , if u make the char as main roll u can use them or use the offline buffer system to sell them and get adenas. their time is 20 mins so that way we see again the " 1kk for rene/siren" or rec = song  Regarding armors: they are dropped ( parts ) from 3 only raids , rest lvl 76+ raids drop recipes , so crafting takes place (so if u are solo u can craft them )  there are 3 armors each armor have its purpose: Revenge Armors - Example for light ( its a glass cannon , high damage , less atk speed and less pdef ) - they mostly modify your base stats, so useable on sieges or off tank chars Titanium Armors - A little bit of balanced of all  Epic Armor - Daggers/Enchanters/Healers mostly but u can always combine your build    Regarding weapons: can be dropped from Monastery of Silence monsters or get them from NPC with Raid Tokens its like a 5% better than S grades and the S/A Activates at +4  Regarding retail gear: you need to unseal only S grades for a great amount of armor tokens all weapons on any grade need Soul crystals that are sold for adenas  stage 13 crystals are expensive or dropped from raids Regarding fun: There is a squash event a Fortress vs Fortress pvp event an RB Event at weekends and from Monday - Wednesday Tournament ( Olympiad is closed monday/tuesday/wednesday)  at tournament you can practice 1vs1 like olympiad but pots/ss allowed , gear allowed is only olympiad or tournament , each win of match gives u 5 glits at 100 glits u can be hero till restart Olympiad works the same way regarding gear allowance but works only thursday to friday and you win monthly hero Auction with Raid Tokens is activated Event medals from events can be exchanged for various items i try to make the oldschool with a little bit of new school systems Not planing to open it anytime soon as i still develop and make corrections to extender , looking forward to meet people that actually played this and are hyped to help on testing / development   P.S is c5 into interlude ( theres no akamanah / nor PI aswell , no lifestones) forgot to mention
  • Topics

×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock