Jump to content

Recommended Posts

Posted

Hi All,

 

Is there any way to know how many users are connected to any server using the IP address of the server?

I remember a webpage a couple of years ago which one you enter the IP and the Port and show you currently users, how many with Private Store and how many was the max online.

 

Is there any other web/program available?

 

thx

Posted

Hi All,

 

Is there any way to know how many users are connected to any server using the IP address of the server?

I remember a webpage a couple of years ago which one you enter the IP and the Port and show you currently users, how many with Private Store and how many was the max online.

 

Is there any other web/program available?

 

thx

 

thats totally server side you cant just access to such data from a website without given access.

Posted

And then how can you explain this?

 

http://www.lineage2.es/misc/retail.php

 

They are able to see online counter on the retail server.

And remember another webpage that was able to do it with any server.. and the numbers were real..

 

thats official man think a bit :)

Posted

thats official man think a bit :)

 

what official fool, u can create smth like that on your server's website too

Posted

what official fool, u can create smth like that on your server's website too

 

On YOUR servers website, read again hes question and what i answered for the 1st time...jeez your annoying. And the site he linked is the only site where you can check the amount of players on NA retail.

Posted

On YOUR servers website, read again hes question and what i answered for the 1st time...jeez your annoying. And the site he linked is the only site where you can check the amount of players on NA retail.

 

yes, and the link he game is THEIR website moron

Posted

yes, and the link he game is THEIR website moron

 

i dont even go there to argue with you, you dont understand anything from this topic so feel free to rage some more. peace

Posted

i dont even go there to argue with you, you dont understand anything from this topic so feel free to rage some more. peace

++

 

Anyway here is what you ask I've found an example and you of course need to connect to the server's db. There's no alternative.

 

 

 

<?php
/**************************************************************
*  Online Players PHP Script 
*  Created By Cr1MsOn
*  For Any Bug Contact With Me
*  Email: Tasos_d3ser@hotmail.com
* *************************************************************/


/***** Variables *****/
$database_hostname = "localhost";
$database_username = "root";
$database_password = "";
$database_name= "l2jdb";
/***** Code *****/
$connect = mysql_connect("$database_hostname", "$database_username", "$database_password") or die("Could Not Connect To Database : " . mysql_error());
$database_select = mysql_select_db("$database_name") or die("Could Not Select a Database");

$onlineplayers = mysql_query("SELECT online FROM characters where online='1'") or die("Query For Online Players Failed" . mysql_error());
$online = mysql_num_rows($onlineplayers);

echo "Online Players: $online";

  /***** Mysql Close *****/
  mysql_close();
?>

 

<?php
/**************************************************************
*  Online Gm's PHP Script 
*  Created By Cr1MsOn
*  For Any Bug Contact With Me
*  Email: Tasos_d3ser@hotmail.com
* *************************************************************/

/***** Variables *****/

$database_hostname = "localhost";
$database_username = "root";
$database_password = "";
$database_name= "l2jdb";

/***** Code *****/

$connect = mysql_connect("$database_hostname", "$database_username", "$database_password") or die("Could Not Connect To Database : " . mysql_error());
$database_select = mysql_select_db("$database_name") or die("Could Not Select a Database");

$gmlist = mysql_query("SELECT accesslevel, char_name FROM characters where online='1' AND accesslevel > '1'") or die("Query For Online Gm\'s\' Failed" . mysql_error());

$online = mysql_num_rows($gmlist);
$gms = mysql_fetch_array($gmlist);
echo "Online Gm's: $online</br>";
echo $gms['char_name'];


/***** Mysql Close *****/
mysql_close()
?>

Posted

lineage2.es should be an official website, not some random l2 site

 

my point is that you can make everything on your website by just connecting it with the gameserver, but as far as I understood the author's request he wants a general website where you enter the server's IP and you check its activity, thats impossible...

Posted

my point is that you can make everything on your website by just connecting it with the gameserver, but as far as I understood the author's request he wants a general website where you enter the server's IP and you check its activity, thats impossible...

 

mnow you say its impossible yet before you flamed me for saying that...jesus christ your stupidity is epic...

Posted

mnow you say its impossible yet before you flamed me for saying that...jesus christ your stupidity is epic...

 

go read again kiddo :gtfo:

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

    • No matter what you are going to use, paid or non-paid or whatever, everything requires personal time investment and a lot of trial and error in many sectors of IT. I have used and seen (clients of mine) L2J Sunrise, Mobius, ACIS, and Lucera. Not even one was close enough to providing a decent outcome without the need for some heavy dev intervention. Even if you provide a decent pack, you will have to think about cheaters, marketing, monitoring, network protection, and the list goes on depending on the problem. Thus, I have no clue why people here debate so much about datapacks because  I remember the days when we were playing on private servers with 80% less functionality than the current Lineage 2 emulator state, and it was enough to have fun. Now the leftovers are such a toxic community that I have no idea what drives people to open projects except money.    My 2 cents choose whatever will ease your life in terms of development and your life/work/budget balance and dont spent months trying to figure out what datapack is superior over the other. You have more serious things to consider.
    • I’ve played around with similar growth setups, and what usually makes the whole thing smoother is pairing them with something steady on the side. For example, I once used famoid.com for a small boost so the main profile didn’t look empty while the Mother/Child flow warmed up. Your themed accounts idea can work nicely as long as the profiles stay active and feel human enough to spark replies.
    • I never said that, can you read? Are you going to start an argument when that isn't the main goal of this post? Or are you just used to the same old discussion mechanics?     Thank you very much for your recommendation. A few months ago, I worked on a project called 'L2Avalon' using a compiled Lucera2 (it was the only thing the project leader provided me), and based on my 20 years of experience playing Lineage 2, I feel like it's broken everywhere, unless the specific version of Lucera I was using was just old. I don't have a problem coding and fixing things, but I am looking for a solid base so I don't do unnecessary work.   Replying to the first guy: I would never discredit paid work; obviously, any paid work will be better than a free one for obvious reasons. But my reality is that I don't want to throw money away, mainly because saving up a large sum of money is a matter of several months in my current situation here in Argentina.
    • I was not expecting either system to be mentioned but to update this information  itopz is a topsite VDSystem is a server vote system   as the creator i gave the vote system free but made mandatory to use my topsite https://github.com/nightw0lv/VDSystem download free, needs an extensive configuration and all java versions to be installed so it can befully be build, but only if you plan to maintain the full solution for all projects in case you want to use only 1 project you just copy the files for example frozen https://github.com/nightw0lv/VDSystem/tree/master/Interlude/Frozen copy paste inside your project, apply the patch of call the main class to gameserver.java and done.   note for active projects minor changes will probably be required   about the latest version hopzone.eu my other topsite is also required to have a server and get an api key same reason system is free, appriciate it. there is a huge difference that also extends as example in l2j Note to the topic owner @zambog420 lucera is also an option specially if you feel coding ready with intellij  
    • good service...recommend.
  • 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..

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