[Request]Need Script

08/20/2012 20:26 adilwac#1
Hello to all

I need script shows the number of accounts ,and the number of characters. And the number of online, for inclusion in a Web page or launcher

Waiting for answer
08/20/2012 20:46 Arthas2012#2
[Only registered and activated users can see links. Click Here To Register...]
This is for top 100 and who is online
Source: rappelz download center
08/20/2012 20:53 adilwac#3
Quote:
Originally Posted by Arthas2012 View Post
[Only registered and activated users can see links. Click Here To Register...]
This is for top 100 and who is online
Source: rappelz download center
thx ..but i already have this

i need only script shows number of accounts ,characters,and number of online not (who is online)

Waiting for more answer
08/20/2012 21:01 Tofrum#4
yeah, would be good, might ask to add to the above resource ;]
08/20/2012 21:44 adilwac#5
up up

waiting for answer .....:(

:facepalm:
08/21/2012 09:01 mongreldogg#6
<?php
$host="127.0.0.1";//server IP
$user = "username"; //username
$pw = "pass"; //password
$db = "Telecaster";

$connect = mssql_connect($host,$user,$pw)
or die("Can't connect to the datebase.");

mssql_select_db($db,$connect)
or die("Can't select the datebase");
mssql_select_db($db,$connect);

$Query="SELECT COUNT(*) FROM TELECASTER.DBO.CHARACTER
WHERE login_time>logout_time";

$Result = mssql_query($Query);
echo "$Result"

?>



this is php script for how much chars is online. I think it doesn't matter to write full html code of page, you just can edit whosonline page or made it by urself
08/21/2012 15:59 TheSuperKiller#7
Quote:
Originally Posted by mongreldogg View Post
<?php
$host="127.0.0.1";//server IP
$user = "username"; //username
$pw = "pass"; //password
$db = "Telecaster";

$connect = mssql_connect($host,$user,$pw)
or die("Can't connect to the datebase.");

mssql_select_db($db,$connect)
or die("Can't select the datebase");
mssql_select_db($db,$connect);

$Query="SELECT COUNT(*) FROM TELECASTER.DBO.CHARACTER
WHERE login_time>logout_time";

$Result = mssql_query($Query);
echo "$Result"

?>



this is php script for how much chars is online. I think it doesn't matter to write full html code of page, you just can edit whosonline page or made it by urself
now you'll see 99% of servers have it on their pages ,,
why ??
simply leeching without producing ,, or even thinking for 2 mins to make one like the above ... so simple but to them its godlike .
08/21/2012 16:46 adilwac#8
Quote:
Originally Posted by mongreldogg View Post
<?php
$host="127.0.0.1";//server IP
$user = "username"; //username
$pw = "pass"; //password
$db = "Telecaster";

$connect = mssql_connect($host,$user,$pw)
or die("Can't connect to the datebase.");

mssql_select_db($db,$connect)
or die("Can't select the datebase");
mssql_select_db($db,$connect);

$Query="SELECT COUNT(*) FROM TELECASTER.DBO.CHARACTER
WHERE login_time>logout_time";

$Result = mssql_query($Query);
echo "$Result"

?>



this is php script for how much chars is online. I think it doesn't matter to write full html code of page, you just can edit whosonline page or made it by urself
Did not work :(
Is show Only this Result in web ' Resource id #3 ' always
08/21/2012 17:17 mongreldogg#9
Quote:
Originally Posted by adilwac View Post
Did not work :(
Is show Only this Result in web ' Resource id #3 ' always
-_-
Edit it and fix errors, especially in row where "echo"
I can do mistakes because i'm not guru in PHP)

Quote:
Originally Posted by TheSuperKiller View Post
now you'll see 99% of servers have it on their pages ,,
why ??
simply leeching without producing ,, or even thinking for 2 mins to make one like the above ... so simple but to them its godlike .
Do you mean I'd better release this on closed forums?)
Come on. this is just a lil shit that can't make a noob's servers so cool=)
08/21/2012 18:21 adilwac#10
Quote:
Originally Posted by mongreldogg View Post
-_-
Edit it and fix errors, especially in row where "echo"
I can do mistakes because i'm not guru in PHP)


Do you mean I'd better release this on closed forums?)
Come on. this is just a lil shit that can't make a noob's servers so cool=)
Did not work in all attempts :(

Waiting for complete answer
08/21/2012 20:50 TheSuperKiller#11
did you see what I mean ?
08/21/2012 21:20 Tekknoid#12
Quote:
Originally Posted by TheSuperKiller View Post
did you see what I mean ?
See it right, but not all in e-pvp are stupid leechers, for this guy dont understand, they should google.. first lesson in php is connect to a db.
your simple pastet script have some eklatant security reasons.. every stupid noob can read out your logins... for me we work only with config files seperate an cloak this with many reasons.

think its time to say this com in english how to secure your fucking windoofs;
Thread will be online in some days.

mfg


/edit: and no domt be stupid iam working with linux a longe time, Apache isnt bad only under wínplöd
08/21/2012 23:47 adilwac#13
up up
08/22/2012 05:37 marekrndr#14
How much leecher can you get moar?
08/22/2012 06:36 Tekknoid#15
Quote:
Originally Posted by adilwac View Post
up up

[Only registered and activated users can see links. Click Here To Register...]