Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Eudemons Online > EO PServer Hosting
You last visited: Today at 00:32

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



[REQUEST] online players script

Discussion on [REQUEST] online players script within the EO PServer Hosting forum part of the Eudemons Online category.

Reply
 
Old   #1

 
PowerChaos's Avatar
 
elite*gold: 90
Join Date: Feb 2008
Posts: 1,112
Received Thanks: 642
Lightbulb [REQUEST] online players script

hi all ,

i think that the titel says enouf of what i want to aks , but to be shure i goin write a little more ^^

i aim looking for a script whit a few things
  • server offline
    server online
    players online

if posseble it need to be in php :S

i searched the forum already for it and coulnd find it

Thank you for your help and
Greets From The Crasher
PowerChaos is offline  
Old 10/03/2008, 19:22   #2


 
elite*gold: 0
Join Date: Apr 2008
Posts: 8,636
Received Thanks: 1,582
its status.php
Rawsteeey is offline  
Old 10/03/2008, 21:25   #3
 
elite*gold: 0
Join Date: May 2007
Posts: 87
Received Thanks: 40
Way to go, netlog_stefan, way to go. :P

Those files are, most recently, included in There are a handful of other useful things in there too, as our friend NecroN has kindly broken the non-release barrier.

I attached a copy of it, as well as the config.php file you'll need to edit to make it work.

I obtained the files from NecroN collection above, but I don't know for sure who wrote the original.
Attached Files
File Type: rar www.rar (1.1 KB, 239 views)
Kradel is offline  
Old 10/03/2008, 21:47   #4
 
elite*gold: 0
Join Date: Sep 2008
Posts: 806
Received Thanks: 321
Quote:
Originally Posted by Kradel View Post
Way to go, netlog_stefan, way to go. :P

Those files are, most recently, included in There are a handful of other useful things in there too, as our friend NecroN has kindly broken the non-release barrier.

I attached a copy of it, as well as the config.php file you'll need to edit to make it work.

I obtained the files from NecroN collection above, but I don't know for sure who wrote the original.
I tried them alot but they say Online Players : 0 and dont increase
Spy520 is offline  
Old 10/03/2008, 23:12   #5

 
PowerChaos's Avatar
 
elite*gold: 90
Join Date: Feb 2008
Posts: 1,112
Received Thanks: 642
Thank you for helping me

but he is right , i got a few players online and it shows 0 players online

i got a few accounts and it shows 2 accounts

but for the rest it seems to be working (i downloaded the other release , some bugs are there fixed )

i think i figured out where the problem is
from the moment i takes a look at the script then i saw that the table where he is looking is missing by me ( table "online" )

Thank you again

Greets From The Crasher
PowerChaos is offline  
Old 10/03/2008, 23:29   #6
 
elite*gold: 0
Join Date: Sep 2008
Posts: 806
Received Thanks: 321
Quote:
Originally Posted by The Crasher View Post
Thank you for helping me

but he is right , i got a few players online and it shows 0 players online

i got a few accounts and it shows 2 accounts

but for the rest it seems to be working (i downloaded the other release , some bugs are there fixed )

i think i figured out where the problem is
from the moment i takes a look at the script then i saw that the table where he is looking is missing by me ( table "online" )

Thank you again

Greets From The Crasher
Hey dude online players dont need any table Forecer told me before that i have to run a program called netstat but idk how to fix it :S
Spy520 is offline  
Old 10/03/2008, 23:53   #7
 
elite*gold: 0
Join Date: Sep 2008
Posts: 806
Received Thanks: 321
I got the way from forcer
1st open run ---> cmd ---> type in cmd
netstat -a -n |find "5816" |find "ESTABLISHED" /c
then see the status page it will count the online players if it failed so type in cmd
netstat -a -n |find "9988" |find "ESTABLISHED" /c
or
netstat -a -n |find "8899" |find "ESTABLISHED" /c
If you wana thank me so you must thank Forcer 1st
Spy520 is offline  
Old 10/04/2008, 00:23   #8
 
forcer's Avatar
 
elite*gold: 20
Join Date: Aug 2007
Posts: 606
Received Thanks: 563
Quote:
Originally Posted by Spy520 View Post
I got the way from forcer
1st open run ---> cmd ---> type in cmd
netstat -a -n |find "5816" |find "ESTABLISHED" /c
then see the status page it will count the online players if it failed so type in cmd
netstat -a -n |find "9988" |find "ESTABLISHED" /c
or
netstat -a -n |find "8899" |find "ESTABLISHED" /c
If you wana thank me so you must thank Forcer 1st
this will not update any pages. you will need to exec this code and read output like this:

PHP Code:
Online Players: <b><?php echo (exec('netstat -a -n |find "5816"  |find "ESTABLISHED" /c')-2); ?></b><br />
adding this to your index.php should show Online players.

and message for ACE guys: stop being a copy & paste morons and invent something. I'm sick of your constant copying of everything from acme
forcer is offline  
Thanks
3 Users
Old 10/04/2008, 00:55   #9
 
elite*gold: 0
Join Date: Sep 2008
Posts: 806
Received Thanks: 321
Cool

Quote:
Originally Posted by forcer View Post
this will not update any pages. you will need to exec this code and read output like this:

PHP Code:
Online Players: <b><?php echo (exec('netstat -a -n |find "5816"  |find "ESTABLISHED" /c')-2); ?></b><br />
adding this to your index.php should show Online players.

and message for ACE guys: stop being a copy & paste morons and invent something. I'm sick of your constant copying of everything from acme
And if you failed this is small example

Code:
<? 
require("config.php");
?>
<STYLE type='text/css'>
body
{
	FONT: 13px Arial;
}
td
{
	FONT: 13px Arial;
}
.Label1 {
	TEXT-ALIGN: right
}
.Label {
	PADDING-LEFT: 5px
}
.Label1 {
	PADDING-LEFT: 5px
}
.Label {
	PADDING-BOTTOM: 16px; FONT: 13px Arial; VERTICAL-ALIGN: top! important; WIDTH: 100px; COLOR: #000; WHITE-SPACE: nowrap
}
.it {
	WIDTH: 160px
}
#ipassword {
	WIDTH: 160px
}
#ipassword2 {
	WIDTH: 160px
}
.it3 {
	VERTICAL-ALIGN: top; WIDTH: 160px
}
.it1 {	WIDTH: 160px
}
.Butt {
	BORDER-RIGHT: #2854a7 1px solid; BORDER-TOP: #7cbaff 1px solid; FONT: bold 12px Arial, Helvetica, sans-serif; BORDER-LEFT: #7cbaff 1px solid; COLOR: #ffffff; BORDER-BOTTOM: #2854a7 1px solid; BACKGROUND-COLOR: #3366cc
}
</STYLE>
<td align="left"><p><?php
			mysql_select_db();
			 = mysql_query("SELECT count(*) FROM account;");
			 = mysql_fetch_array();
			echo "Total Accounts: ".."<br />";
			
			mysql_select_db();
			 = mysql_query("SELECT count(*) FROM cq_user;");
			 = mysql_fetch_array();
			echo "Total Characters: ".."<br />";



			
			echo "Server Status: ";
			 = @fsockopen(, , , , 1);
			if (!) {
				echo "<font style='color: #FF3300'><B>Offline</B></font></br>";
			}
			else
			{
				echo "<font style='color: #009933'><B>Online</B></font></br>";
				fclose();
			}
			?>
Online Players: <b><?php echo (exec('netstat -a -n |find "5816"  |find "ESTABLISHED" /c')-2); ?></b><br />
Spy520 is offline  
Old 10/04/2008, 01:17   #10
 
elite*gold: 0
Join Date: May 2007
Posts: 87
Received Thanks: 40
Quote:
Originally Posted by forcer View Post
and message for ACE guys: stop being a copy & paste morons and invent something. I'm sick of your constant copying of everything from acme
Are you talking about me? :\
Kradel is offline  
Old 10/04/2008, 03:06   #11

 
PowerChaos's Avatar
 
elite*gold: 90
Join Date: Feb 2008
Posts: 1,112
Received Thanks: 642
Thank you forcer , it works now
PowerChaos is offline  
Old 10/04/2008, 04:39   #12
 
elite*gold: 0
Join Date: Mar 2008
Posts: 74
Received Thanks: 9
Quote:
Originally Posted by Spy520 View Post
And if you failed this is small example

Code:
<? 
require("config.php");
?>
<STYLE type='text/css'>
body
{
	FONT: 13px Arial;
}
td
{
	FONT: 13px Arial;
}
.Label1 {
	TEXT-ALIGN: right
}
.Label {
	PADDING-LEFT: 5px
}
.Label1 {
	PADDING-LEFT: 5px
}
.Label {
	PADDING-BOTTOM: 16px; FONT: 13px Arial; VERTICAL-ALIGN: top! important; WIDTH: 100px; COLOR: #000; WHITE-SPACE: nowrap
}
.it {
	WIDTH: 160px
}
#ipassword {
	WIDTH: 160px
}
#ipassword2 {
	WIDTH: 160px
}
.it3 {
	VERTICAL-ALIGN: top; WIDTH: 160px
}
.it1 {	WIDTH: 160px
}
.Butt {
	BORDER-RIGHT: #2854a7 1px solid; BORDER-TOP: #7cbaff 1px solid; FONT: bold 12px Arial, Helvetica, sans-serif; BORDER-LEFT: #7cbaff 1px solid; COLOR: #ffffff; BORDER-BOTTOM: #2854a7 1px solid; BACKGROUND-COLOR: #3366cc
}
</STYLE>
<td align="left"><p><?php
			mysql_select_db();
			 = mysql_query("SELECT count(*) FROM account;");
			 = mysql_fetch_array();
			echo "Total Accounts: ".."<br />";
			
			mysql_select_db();
			 = mysql_query("SELECT count(*) FROM cq_user;");
			 = mysql_fetch_array();
			echo "Total Characters: ".."<br />";



			
			echo "Server Status: ";
			 = @fsockopen(, , , , 1);
			if (!) {
				echo "<font style='color: #FF3300'><B>Offline</B></font></br>";
			}
			else
			{
				echo "<font style='color: #009933'><B>Online</B></font></br>";
				fclose();
			}
			?>
Online Players: <b><?php echo (exec('netstat -a -n |find "5816"  |find "ESTABLISHED" /c')-2); ?></b><br />

Bad example.
People can flood with those useless queries.
And css part? Copy & paste?
Don't put all queries in same page.

No hard feelings, but try to separate them.
Just_Me99999 is offline  
Old 10/05/2008, 01:45   #13

 
PowerChaos's Avatar
 
elite*gold: 90
Join Date: Feb 2008
Posts: 1,112
Received Thanks: 642
hehe
i just needed the basic of it to let the online players to showing
becosue i aim making my own kind of script (or let me say , i aim editing the script so its better to what i want ^^ )

to see a previeuw so far, then go to

Thank you all so far from helping me out
all credits goes to the providers of the scripts (and the persones who i got the codes from becouse most of them are from them

Greets From The Crasher
PowerChaos is offline  
Old 10/05/2008, 03:32   #14
 
elite*gold: 0
Join Date: Mar 2008
Posts: 74
Received Thanks: 9
Quote:
Originally Posted by The Crasher View Post
hehe
i just needed the basic of it to let the online players to showing
becosue i aim making my own kind of script (or let me say , i aim editing the script so its better to what i want ^^ )

to see a previeuw so far, then go to

Thank you all so far from helping me out
all credits goes to the providers of the scripts (and the persones who i got the codes from becouse most of them are from them

Greets From The Crasher
Nice!
Cut off list about max 50 (less stress to your server)
Remove PMs from list...its not fair to players to show how much PMs own Eps.
Just_Me99999 is offline  
Old 10/05/2008, 04:33   #15

 
PowerChaos's Avatar
 
elite*gold: 90
Join Date: Feb 2008
Posts: 1,112
Received Thanks: 642
hmm , i aim now buzzy whit inplenting the legion members and so on , but if i can find a way to remove the pm out of it then i will do it

but i cant find a way at this moment to do it (dont know how to start whit it :S )

then a small update , the pm you see on top need to be deleted :P its just a test account ^^

Greets From The Crasher
PowerChaos is offline  
Reply


Similar Threads Similar Threads
[RELEASE] Script - Number of Players Online
11/05/2013 - Shaiya PServer Guides & Releases - 47 Replies
Updated Script showing how many players are online, with distinction by race. Instructions: Note that for it to work, you need to alter two procedures in PS_GameData and add one colum in PS_GameData.dbo.Chars, LoginStatus. Files with sql code are included. What it does?
[HP]Server script incl REGI FULL IS RANK TOP 10 PLAYERS TOP 10 GUILD ADMIN ADD COINS
03/03/2013 - Metin2 PServer Guides & Strategies - 36 Replies
VER HI-FI ver 2 (FAST SERVER) updated and translated screenshots: http://img411.imageshack.us/img411/8049/20327240. jpg http://img683.imageshack.us/img683/6581/30641525. jpg http://img697.imageshack.us/img697/93/29191941.jp g http://img3.imageshack.us/img3/406/96803128.jpg http://img412.imageshack.us/img412/9854/51065306. jpg download: http://www.speedyshare.com/files/21438828/wlasny- ver2.rar
[HELP]SCRIPT PHP PLAYERS ONLINE
04/12/2011 - Dekaron Private Server - 12 Replies
Not know much about PHP I'M WITH A DOUBT AS AGENT IN AN ONLINE PLAYERS SYNTAX WHAT IT IN TIME FOR YOU TO READ THE DATABASE NOT READ NAMES OF FILES CONTAINING ", ... BELOW IS THE FILE: <style type="text/css"> <!-- body,td,th { font-family: Verdana, Geneva, sans-serif; color: #FFFF00; font-weight: bold; } body {
[Request] Script to look at Chat logs or Players IP?
09/11/2010 - Shaiya Private Server - 1 Replies
Is there any script to look at the chat logs or players IPs? My database has that stuff empty.. so... any help would be appreciated. So please, post the script if you have it :p share summm luv.
[REQUEST] Simple Online PhP Script
03/27/2010 - Shaiya - 0 Replies
Hi, My php skills are horrible and I ask for someone to give me a simple php online script for shaiya.. The code for the one released is wrong in some spots because the php is not connecting to sql. Here is what I look for. Simple Script that displays the total number of Users; If can do that for me I will really appreciate alot. If can be more fancy and have time to add more things I will be more appreciate it. Thank you guys.



All times are GMT +1. The time now is 00:32.


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2026 elitepvpers All Rights Reserved.