Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

OptimuS WebSite

Status
Not open for further replies.
Newbie Spellweaver
Joined
Aug 3, 2009
Messages
69
Reaction score
6
Hello guys, i was bored lately then i start to build a ordinary website...
As i said its ordinary website, for peoples who like simple things.

I'm using 2 Scripts from peoples of RaGEZONE,
1st - Simple Registration Page
2st - Normal Ranking [ By Level ]


You will need only change 6 things for it work 100% for you.

The First:
In Each page have a little PHP Code for Online/Offline Server
U Just Need to Change the IP, For you server IP
PHP:
<?php
	function GetServerStatus($site, $port)
	{
	$status = array("<span style='color:#FF2700;'>OFFLINE</span> <img src='styles/img/status-offline.jpg' />", "<b><span style='color:#4D9C00;'>ONLINE</span> <img src='styles/img/status-online.jpg' />");
	$fp = @fsockopen($site, $port, $errno, $errstr, 2);
	if (!$fp) {
		return $status[0];
	} else
	  { return $status[1];}
	}
	$site = "HERE IP";
	$port = "15779";
	print "O Servidor Está:";
	print GetServerStatus($site, $port);
?>

The Second:
at ranking.php search for
PHP:
<?php
    $server_name = "Server Name";                //Server name
    $host          = "NAME\SQLExpress";           // SQL server name for example PC-NAME\SQLEXPRESS
    $user          = "sa";                  // SQL username
    $pass         = "password;              // SQL password
    $db           = "SRO_VT_SHARD";      // SQL Database;
    $show         = "20";               //Show top 10 for example
?>
and edit with u settings

The Third:
at reg.php search for:
PHP:
<?php
	session_start();
	$server_name = "SERVER NAME";              // Server name;
	$host 		 = "NAME\SQLEXPRESS";              // SQL server name for example PC-NAME\SQLEXPRESS
	$user 		 = "sa";                  // SQL username
	$pass		 = "password";               // SQL password
	$db  		 = "SRO_VT_ACCOUNT";    // SQL Database
	$sh			 = "SRO_VT_SHARD";	   //
	$home		 = "/";                // If you want to reditect after register write your hame page link here if not keep it empty.
	$silk 		 = "200";           // Start silk amount.
	$gold		 = "500000000";		// User start gold on storage
	$az			 = 1;			   // A-Z a-z Only ? 1 = yes 0 = no
	$em 		 = 1;			  // Allow using more than one E-Mail? 1 = yes 0 = no
	$cp			 = 1;			 //	IP LIMIT 1 = yes 0 = no
	$li			 = 5;			// IP LIMIT number
	@$ip 		 = $_SERVER['REMOTE_ADDR']; // Don't change it
	@$connect = odbc_connect("Driver={SQL Server};Server={".$host."}; Database={".$db."}", "".$user."", "".$pass."") or die("<center><b style=\"border:1px dashed #FF0000;\">".str_replace("[Microsoft][ODBC SQL Server Driver][SQL Server]", "", odbc_errormsg())."</b></center>");
?>
and edit using u setting.
Obs. You will need to translate it to english, i change somethings to portuguese-br

And Also, it come with vBulletin v373 and with PHPMyADMIN in root (www), i will not teach to config it because its easy, and u can search in internet how to use PHPMyADMIN.
Ps. You Will Need MySQL server for PHPMyADMIN Work

Few Images for u check before download it
Select Click here to view the original image of 800x736px. at the image to see the image in the original size.
I_Satelite_I - OptimuS WebSite - RaGEZONE Forums

I_Satelite_I - OptimuS WebSite - RaGEZONE Forums

I_Satelite_I - OptimuS WebSite - RaGEZONE Forums


Version 2 WebSite - Screen Shot for Changes.
I_Satelite_I - OptimuS WebSite - RaGEZONE Forums

Added Fortress War Owners and Online Players Count ( Both Automatic Query - Just Setup it with you default settings -- HOW TO ADDED Down the Thread

Last Infos:
Well, as i said i get 2 scripts for this website here at RaGEZONE.
The Reg Page and the Ranking. Later i will put the credits for it, because i need to search posts and check name. ( If someone know the owners post right here to i add ).
But i will give anyway here my thanks for the both pages, are really goods and usefull :p.
---------------
I Said before but, i will say it again.. the website root come with vBulletin v373 and PHPMyADMIN To host the forum, u will need to setup it by yourself, because its not hard.

Now Download & SCANs

SCAN - Virus Total

SCAN VIRUS TOTAL - WEBSITE V1



SCAN VIRUS TOTAL - WEBSITE V2



DOWNLOAD - Media Fire



DOWNLOAD v2 - Media Fire


How to Config new Stuffs [ optimus website version 2 ]↓
How To: Fortress War Owner Guild
Go to modules/include and search for config.php,
At Config.php, config it using u default settings
PHP:
<?php
	$serverIp 	= "NAME-PC\SQLEXPRESS";
	$userName 	= "sa";
	$password 	= "password";
	$dbName1  	= "SRO_VT_ACCOUNT";
	$dbName2  	= "SRO_VT_SHARD";
?>

How To: Online Players Count
in each page search for this following quote
PHP:
<?php
            $sql_host = "NAME-PC\SQLEXPRESS";
            $sql_user = "sa";
            $sql_pass = "password";
            $sql_db = "SRO_VT_ACCOUNT";
            $sqlLink = mssql_connect($sql_host,$sql_user,$sql_pass);
            if(!$sqlLink) die("MSSQL server is not accessable, why should we try to select database ?");
                else {
                    mssql_select_db($sql_db,$sqlLink);
                }
And setup it using you default settings

ChangeLog at folder and down spoiler
#Added Update - v2
Added some security stuffs
Added Online players count
Addded Fortress War Owner Place



Check It for Next Updates
I'm not 100% sure, but if i get good ratings about this website, i will keep trying to upgrade it. adding new stuffs, updating security things, changing the style of page to one better. so, if you guys like it, rate here and tell me what i can change to make it better.

CHECK IT ( little bug in version 1 ) ↓↓
in version1 of website theres one error at the page: reg.php, theres is wrong name at the link who redirect u to main page (inicio/index), u should change it from index.html to index.php

Thread Update
25/07 added WebSite version 1
25/07 addded how to
26/07 added Website Version 2
26/07 added VirusTotal Scan, due to some issues with few users on thread
 
Last edited:
Experienced Elementalist
Joined
Apr 3, 2012
Messages
239
Reaction score
20
i bet you if someone will download this site
 
Newbie Spellweaver
Joined
Aug 3, 2009
Messages
69
Reaction score
6
it's more like you who just leeched & released, it's all from ready-to-use sources.. you just copy pasta & feel kral.

lol, do u know what u talking about ? i create it since html and changing it, using my preffers...

The only things i "leeched" and i said here, and i can say it again w/o problem is: i take 2 scripts here at ragezone... Register and Ranking, but all the others was builded by me. since design, to functions and others...

SeeYa
 
Newbie Spellweaver
Joined
Oct 17, 2008
Messages
21
Reaction score
87
#Closed

I don't like virus scan.
 
Status
Not open for further replies.
Back
Top