WEB SYSTEM FEATURES:
- > High Speed Adodb Plug-in
- > Supports md5/non-md5 by Changing the Service Provider
- > Error Handling
- > Fast Load
- > Anti Sql Injection
- > Image Verification Code
WEB FEATURES:
- > News
- > Game Introduction
- > Member
- > Download
- > Guild Rank
- > Character Guide
- > Player Rank
- > Gallery
- > Goods
- > Service
- > Link
WEB FUNCTION FEATURES:
- > Logout
- > Buy Records
- > Reset Password
- > Login
- > Register
- > Find Password
- > Reborn
- > Reset Stats
- > Add Stats
- > Reset PK
- > Transexual
- > Earn Point
- > Edit 2nd Password
- > Reset School
- > Bingo Game
===============================================
CH_PARAM SERVICE PROVIDER INFO:
- > MD5 Encrypt
- > Security Passcode
DEFAULT OR GLOBAL SERVICE PROVIDER INFO:
- > NON-MD5 Encrypt
- > NO Security Passcode
===============================================
WEB REQUIREMENTS:
- > PHP GD
- > Microsoft SQL Server Lib
WEB TESTED IN THE FOLLOWING WEB SERVER:
WEB SERVER INSTALLATION:
RANNEWS DATABASE INSTALLATION:
- > Create New Database and Name it RanNews
- > Create New Query on RanNews DB, Copy/Paste and Execute SQL Script:
- > RanNews_sql_db.txt
HOW TO SET THE CONNECTION SETTING?
- > Go to CFG folder and Open config.cfg
Code:
//////////////////////////////////////////////////////////////////////////////
//cfg file
//////////////////////////////////////////////////////////////////////////////
server_version 1
patch_version 1
server_max_client 100
server_ip .\SQLEXPRESS
service_provider 3 //CHINA = 3
// ////////////////////////////////////////////////////////////////////////////
// user database setting value
user_odbc_user sa
user_odbc_pass 1234
user_odbc_database RanUser
// ////////////////////////////////////////////////////////////////////////////
// game database setting value
game_odbc_user sa
game_odbc_pass 1234
game_odbc_database RanGame1
// ////////////////////////////////////////////////////////////////////////////
// Shop database setting value
shop_odbc_user sa
shop_odbc_pass 1234
shop_odbc_database RanShop
// ////////////////////////////////////////////////////////////////////////////
// Board database setting value
board_odbc_user sa
board_odbc_pass 1234
board_odbc_database RanNews
- > RANPARAM.PHP found in lib/MfcExLib/
PHP Code:
<?php//EM_SERVICE_TYPE define('EM_SERVICE_DEFAULT',0); //NON - MD5define('EM_SERVICE_KOREA',1); //NON - MD5define('EM_SERVICE_FEYA',2); //NON - MD5define('EM_SERVICE_MALAYSIA_CN',3); //NON - MD5define('EM_SERVICE_MALAYSIA_EN',4); //NON - MD5define('EM_SERVICE_JAPAN',5); //NON - MD5define('EM_SERVICE_THAILAND',6); //NON - MD5define('EM_SERVICE_CHINA',7); //MD5 define('EM_SERVICE_INDONESIA',8); //NON - MD5define('EM_SERVICE_PHILIPPINES',9); //NON - MD5define('EM_SERVICE_VIETNAM',10); //NON - MD5define('EM_SERVICE_GLOBAL',11); //NON - MD5class RANPARAM{
///////////////////////////////////////////////////////////////////////////////////////////
// SERVICE SETTING
// Service Here must equal to the service of the Agent Server in cfg/config.cfg e.g service_provider 0 <= EM_SERVICE_DEFAULT
const emSERVICE_TYPE = EM_SERVICE_CHINA; //CHINA = 3
// Already Have UserInfo in DB?
const bIsDBNew = true;
// Captcha Validation?
const bImgValidation = true;
///////////////////////////////////////////////////////////////////////////////////////////
// WEB SETTINGS
// Basic Web information
const strWebName = "RAN ONLINE";
const strWebDescription = "RAN ONLINE";
const strWebKeywords = "RAN ONLINE,RAN ONLINE,RAN ONLINE,RAN ONLINE";
const strWebContent = "RAN ONLINE,RAN ONLINE,RAN ONLINE,RAN ONLINE";
const strWebURL = "http://127.0.0.1/";
const strForumURL = "http://127.0.0.1/";
const strLanguage = "en"; //en = English
const strWebPrivacyURL = "http://127.0.0.1/";
const strWebContactURL = "http://127.0.0.1/";
// Twitter share button settings
const strTweetDataURL = "http://twitter.com/ran_online";
const strTweetDataText = "RAN ONLINE";
const strTweetDataVia = "ran_online";
// Fb Button Count
const strFbDataURL = "http://www.facebook.com/ranpinas";
const strFbPageURL = "http://www.facebook.com/pages/Ran-Online-ph/339121313757";
// GOOGLE +
const strGoogleShareURL = "http://www.facebook.com/ranpinas";
// Player Rank And Guild Rank Hide GM?
const bHideGM = false;
///////////////////////////////////////////////////////////////////////////////////////////
// FUNCTION SETTINGS;
// Reset Stats Setting
const nResetStatsPay = 100; // Point
// PK setting
const nResetPKPay = 230; // UserPoint Pay
const nResetPKAddBright = 20; // PK Value to reduce the pk
// Transexual
const nTransexualPay = 500; // UserPoint Pay
// GameTime
const nGameTimePay = 120; // Time, 120 minutes
const nGameTimeAddPoint = 1; // 120 minutes online in game = 1 user point
// Reborn
const nRebornLevel = 100; // 100 Level
const nRebornMax = 100; // 100 REBRON
const nRebornPay = 100000; // GOLD
const nRebornAddStats = 1; // Reborn*1
// Edit Safe Password
const nSafePasswordPay = 500; // 500 points
//Change School
const nChangeSchoolPay = 1100; // 1100 points
// Bingo Settings
const nBingoPay = 20; // Point
const nBingoItem1 = 13; // Item Productnum
const nBingoItem2 = 14; // Item Productnum
const nBingoItem3 = 15; // Item Productnum
const nBingoItem4 = 16; // Item Productnum
const nBingoItem5 = 17; // Item Productnum
const nBingoItem6 = 18; // Item Productnum
const nBingoItem7 = 19; // Item Productnum
const nBingoItem8 = 20; // Item Productnum
}?>
SCREENSHOT:
===============================================
===============================================
===============================================
===============================================
===============================================
NOTE: Images are not Updated.
===============================================
CANNOT LOGIN?
- > Check if the config.cfg Service Provider is EQUAL to RANPARAM.php Service Provider.
===============================================
Version 2
> Fixed Captcha.
> Added Enable/Disable Captcha Settings.
> Added DBOld/DBNew Settings. <---- For those people who already have UserInfo in their db to fix Login problems.
> Fixed Goods/ItemMall Display
===============================================
WEB DOWNLOAD:
Lahat copy paste !
ReplyDeleteYou have defined the whole thing in a very organized way. This information will really help beginners to make ran private server website. However, this process requires a bit of understanding and knowledge about some basic things regarding coding languages. Instead of going in this way, beginners can make their own website on platforms like WordPress by simply following the tutorials of ewebtalk.com. You can easily customize your own website by adding free themes and plugins present easily over the internet.
ReplyDelete