[Release] Online Module For WebSite

MadBoy

New Member
Joined
Apr 27, 2008
Messages
805
Reaction score
152
Here is the Online Module for Web site Mu to swoh how player's have on server but on web site :) it's good try it!

Short description:

The script makes an image with the server overload and additional texts.
Please review the config for details.

Screen:
2223264e.jpg


Usage:

index.php can be renamed.
<img src="index.php">


Mirrors:

Mega Upload: MEGAUPLOAD - The leading online storage and file delivery service
Rapid Share: RapidShare: 1-CLICK Web hosting - Easy Filehosting
File Front: Free Game Downloads - Game Demos, Game Videos, Game Mods

Credits:

GrayWolf
 
Last edited:
  • Like
Reactions: pafa7a and diko
Начин на инсталиране:


1.Слагате на сървър
2.Създавате нов файл config.php в папката include
3.Попълвате cofing.php и правите връзка с mssql ..

Елементарен код на cofing.php

Code:
<?php
error_reporting(E_ALL ^E_NOTICE ^E_WARNING);

$host = "127.0.0.1";
$database = "MuOnline";
$user = "sa";
$password = "SQL Password";
?>
 
dude its easy.. the code will be something like this if $online >10 echo image1 ... if $on >20 echo image 2 .. etc ..etc just get the images from google with the load :D
 
dude its easy.. the code will be something like this if $online >10 echo image1 ... if $on >20 echo image 2 .. etc ..etc just get the images from google with the load :D

it can be even easier make an array
PHP:
<?php
$online_imgs = array('online0.jpg','online1.jpg','online2.jpg',....);
//the 10 can be changed to whatever you want
$image_index = round($total_online / 10);
$online_img_src = (isset($online_imgs[$image_index])) $online_imgs[$image_index] ? : 'online_max.jpg' ;

<img src="<?php echo $online_img_src; ?>" />

// NOT TESTED MAY HAVE BUGS