Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Rohan
You last visited: Today at 07:22

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

Advertisement



Anyone Share User Online Script Web

Discussion on Anyone Share User Online Script Web within the Rohan forum part of the MMORPGs category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Jul 2016
Posts: 32
Received Thanks: 0
Arrow Anyone Share User Online Script Web

Share me User Online Script Web my lord im just hoping if there's one can share
mrzev is offline  
Old 05/08/2017, 07:21   #2
 
oziel235's Avatar
 
elite*gold: 0
Join Date: May 2009
Posts: 697
Received Thanks: 250
Quote:
Originally Posted by mrzev View Post
Share me User Online Script Web my lord im just hoping if there's one can share
PHP Code:
<?php
error_reporting
(0);
$selected mssql_fetch_array(mssql_query("SELECT * FROM RohanGame.dbo.TCharacterLogin WHERE login = WHERE ConnectStat = '1'"));
if (empty(
$selected)) { echo "<center>Currently there are no online characters.</center>" ;}
else
{
echo 
'
<table cellspacing="0" cellpadding="0" border="0" width="100%" class="list">
  <tbody>
  <tr>
    <td width="30">#</td>
    <td>Name</td>    
    <td>Class</td>
    <td align="center">Level</td>
    <td align="center">Resets</td>
    <td align="center">Online From</td>
  </tr>'
;

$select mssql_query("SELECT char_id, FROM RohanGame.dbo.TCharacterLogin WHERE login = '1' order by char_id desc");
for(
$i=0;$i mssql_num_rows($select);++$i)
{
$row mssql_fetch_row($select);
$rank $i+1;
$querychar mssql_query("Select name From RohanGame.dbo.TCharacter where id ='".$row['0']."'");
$accchar mssql_fetch_row($querychar);
$querychar1 mssql_query("Select Name,Class,MapNumber,clevel,resets From Character where Name='".$accchar[0]."'");
$charr mssql_fetch_row($querychar1);
if (empty(
$charr['3'])) { $charr['3'] = "0" ;} 
if (empty(
$charr['4'])) { $charr['4'] = "0" ;}
if (empty(
$row['1'])) { $row['1'] = "-" ;}
echo
'
    <tr class="top">
    <td><strong>'
.$rank.'</strong></td>
    <td>'
.character($accchar[0]).'</td>
    <td align="center">'
.charclass($accchar[0]).'</td>
    <td align="center">'
.$charr[3].'</td>
    <td align="center">'
.$charr[4].'</td>
    <td><span onmouseover=\'return overlib("Connected: '
.howlongago($row['1'],true).' ago");\' onmouseout=\'return nd();\'>'.$row[1].'</td>
    
    
  </tr>'
;
}
echo 
'</tbody></table>';
}
?>
oziel235 is offline  
Old 05/08/2017, 08:39   #3
 
elite*gold: 0
Join Date: Jul 2016
Posts: 32
Received Thanks: 0
Thanks my lord but how to pop-up that counting online user into website, i already put inside the online.php at htdocs then i refresh nothing happend, no words display. sorry for asking again because im not really good at html/php.
mrzev is offline  
Old 05/08/2017, 22:06   #4
 
oziel235's Avatar
 
elite*gold: 0
Join Date: May 2009
Posts: 697
Received Thanks: 250
Quote:
Originally Posted by mrzev View Post
Thanks my lord but how to pop-up that counting online user into website, i already put inside the online.php at htdocs then i refresh nothing happend, no words display. sorry for asking again because im not really good at html/php.

You need add a "include" with file responsible for making the connection to the database. Try use the file (RohanAuth/include/dbconn.php)

PHP Code:
<?php 
error_reporting
(0); 


include 
'dbconn.php';
Do not forget to append this code above in your online.php file and put in the same folder the file dbconn.php
oziel235 is offline  
Reply


Similar Threads Similar Threads
EXTAZY WEB PANEL SCRIPT + IMG PART5 MARSİS WEB PANEL
08/30/2014 - Metin2 PServer Designs, Websites & Scripts - 5 Replies
#removed
[S] PSN-Share [B] egold, PSN-Share [S] PSN-Share [B] egold, PSN-Share
05/24/2012 - elite*gold Trading - 0 Replies
Hallo, ich suche nach den PS-Spielen: Red Dead Redemption(+ alle dlc's) + Dark Souls Bieten kann ich egold und diverse PS-Titel im Gegenzug. Kontakt per PN oder Skype
anyone wanna share their bot script?
03/08/2008 - Dekaron - 0 Replies
help me ive made my own scripts but my character dont do anything after i run the 2moonbot?



All times are GMT +1. The time now is 07:23.


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.