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!

[Share] Babyran Complete Web PHP No Admin Panel

Joined
Dec 22, 2008
Messages
701
Reaction score
224
Requirement:
  • Web Server
  • Fresh Database


Web System Features:

  • Uses ADOdb Lite, a very small, fast ADOdb-compatible database abstraction library written in PHP
  • Debug/Debug Console
  • Md5/Non-Md5
  • Ajax
  • Maintenance
  • Anti Sql inject
  • Verification Code
  • Hide/Show GM in Rankings


Web Function Features:
News:
  • News
  • Event

Agent:
  • Agent

Download:
  • Full Client
  • Patch

Mall
  • ItemMall
  • Consume Record
  • Buy Record

Member:
  • Ranking
  • Publicity
  • Register
  • Reset Password
  • Vote
  • Bingo Game
  • Reset 2nd Pass
  • Find Password
  • Logout

Character Function:
  • Rebirth
  • Item Upgrade
  • Reset Stats
  • Add Stats
  • Reset PK
  • Transsexual
  • Earn Point
  • Publicity
  • Mix-Class
  • Delete Items

lib/Config.inc.php

Page Title:
PHP:
define('PAGE_TITLE','RAN,USA,RANONLINE,RAN private server,EP7, Yong Online');

Event Title:
PHP:
define('EVENT_TITLE','Welcome to RAN Online!');

Set true to Maintenance:
PHP:
define('MAINTENANCE_MODE',false);

Forum Config:
PHP:
define('LINK_FORUM','http://127.0.0.1/');	
define('NAME_FORUM','http://127.0.0.1/');

System Name and Copyright:
PHP:
$_config['SystemName'] = "RAN Online";
$_config['Copyright'] = "RAN Online";

SQL Sever Name or Address:
PHP:
$_config['ServerName'] = "COMPUTERNAME\SQLEXPRESS";

SQL Sever User:
PHP:
$_config['Login'] = "sa";

SQL Sever Pass:
PHP:
$_config['Password'] = "1234";

RanUser Database:
PHP:
$_config['DbRanUser'] = "RanUser";

Enable Debug? Will Display Query's in Page:
PHP:
$_config['DbDebug'] = false;

Console Debugging? Will Popup a window and display query's:
PHP:
$_config['DbDebugConsole'] = false;

Administrator Log Name:
PHP:
$_config['AdminLogs'] = "userLogs";

Language:
PHP:
$_config['Language'] = "English";

Administrator Login Name:
PHP:
$_config['Admins'] = array('admin');

CW Guild List Name:
PHP:
$_config['GuildRegion'] = array(
1 => "SG", 
2 => "MP", 
3 => "Phoenix", 
4 => "Trading",
5 => "Seige"
);

Character Class Number And Name:
PHP:
$_config['ChaClass'] = array(
1	=>  "Brawler(Boy)",
2	=>  "Swordsman(Boy)",	
4	=>  "Archer(Girl)",	
8	=>  "Shaman(Girl)",
16	=>  "Extreme(Boy)",
32	=>  "Extreme(Girl)",
64	=>  "Brawler(Girl)",		
128	=>  "Swordsman(Girl)",	
256	=>  "Archer(Boy)",
512	=>  "Shaman(Boy)"
);

Character School Number And Name:
PHP:
$_config['ChaSchool'] = array(
0 => "SG", 
1 => "MP", 
2 => "Phoenix", 
);

Hide/Show GM's in the Ranking:
PHP:
$_config['HideGM'] = true;

Rank Limit:
PHP:
$_config['RankLimit'] = 100;

Rank Per Page:
PHP:
$_config['RankPerPage'] = 25;

News Per Page:
PHP:
$_config['NewsListPerPage'] = 12;

Case Sensitive in Login and Registration:
PHP:
$_config['FormatExpCheck'] = true;

Md5 or Non-Md5:
PHP:
$_config['Md5Encrypt'] = true;

Ajax Mode:
PHP:
$_config['AjaxMode'] = true;

Set True if your Ranshop Purkey is using Identity Specification:
PHP:
$_config['ShopPurKeyIdentity'] = false;

Open Registration?:
PHP:
$_config['RegisterOpen'] = true;

Add Points After Registration:
PHP:
$_config['RegisterAddPoint'] = 0;

MAX Users to Register:
PHP:
$_config['RegisterMaxUser'] = 10000;

Registration AutoFill Info:
PHP:
$_config['RegisterAutoFillForm'] = array(
"Gender" => "1", //0 = Female , 1 = Male
"FirstName" => "Null",
"LastName" => "Null",
"BirthYear" => "1990",
"BirthMonth" => "1",
"BirthDay" => "2",
"Telephone" => "0",
"Mobile" => "0",
"City"  => "Null",
"Province" => "Null",
"Post" => "0",
"Address" => "Null"
);


Add Stats Limiter Config:
PHP:
$_config['AddStatsLimit'] = array("ChaPower"  => 19000,
				  "ChaStrong" => 19000,
				  "ChaStrength" => 19000,
				  "ChaSpirit"  => 19000,
				  "ChaDex"  => 19000
				  );



Delete Items Pay:
PHP:
$_config['DeleteItemsPay']= 40;

Bingo Pay:
PHP:
$_config['BingoPay'] = 100;

Bingo Product List:
PHP:
$_config['BingoItemList'] = array('ProductNumList'=> array( 
7251,
7097,
3751,
3764,
4530,
4528,
3766,
8216
));

Allow Advertisement in Vote Window?:
PHP:
$_config['VoteAllowAds'] = false;

Vote Time Limit in Hours:
PHP:
$_config['VoteTimeLimit']  = 12;

Vote Add Points Per Voting Site Link:
PHP:
$_config['VoteAddPoint']  = 25;

Vote Links, Max is 4:
PHP:
$_config['VoteLinks'] = array( 
'1' => array(
'Link'	=>'http://www.gtop100.com/in.php?site=48094',
'BtnLink'=>'http://www.gtop100.com/images/votebutton.jpg',
'TitleName' =>'GTop 100'),
'2' => array(
'Link'=>'http://www.jagtoplist.com/in.php?site=21',
'BtnLink'=>'http://www.jagtoplist.com/images/vbtn88x55.jpg',
'TitleName' =>'JAGToplist'),
'3'=> array(
'Link' =>'http://www.mmorpgtop200.com/in.php?site=8571',
'BtnLink'=>'http://www.mmorpgtop200.com/votenew.jpg',
'TitleName' =>'mmorpgtop200'),
'4' => array(
'Link'	=>'http://www.gamesites100.net/in.php?site=16690',
'BtnLink'=>'http://www.Gamesites100.net/images/votebutton.jpg',
'TitleName' =>'Gamesites100'
));

Edit 2nd Password Pay:
PHP:
$_config['EditSafePasswordPay'] = 500;

GameTime Earn Points Requestime and Addpoint:
PHP:
$_config['GameTimeEarnPoint']= array(
'RequestTime' => 120,
'AddPoint' => 1
);

Transexual Pay:
PHP:
$_config['TranssexualPay'] = 500;

ItemUpgrade Item Filter:
PHP:
$_config['InventoryFilter'] = "default";//all, default

Web Warehouse Max Storage for item:
PHP:
$_config['WebWarehouseMaxStorage'] = 10;

ItemUpgrade Attack Config:
PHP:
$_config['ItemUpgradeAtk']= array(
'Range' => array( 
1 => array(0, 15, 'Rate'  => '100%'),
2 => array(16,30, 'Rate'  => '60%')), 
'MaxGrade'  => 30, 
'Addval' 	=> 1, 
'Pay' 	 	=> 100,
'AddonName' => 'Attack'
);

Code:
'Range' => array( 
1 => array([COLOR="Red"]0, 15[/COLOR], 'Rate'  => '100%'),
2 => array(([COLOR="Red"]16,30[/COLOR], 'Rate'  => '60%')), 

[COLOR="#5899c6"][B]Color Code:[/B][/COLOR] 
[COLOR="Red"]Item Plus +0 ~ +15 the Rate is 100%[/COLOR] 

MaxGrade = [COLOR="#5899c6"]Item Max Grade or Plus[/COLOR] 
Addval = [COLOR="#5899c6"]Add Value Per Upgrade[/COLOR] 
Pay = [COLOR="#5899c6"]Pay per ItemUpgrade[/COLOR] 
AddonName = [COLOR="#5899c6"] Addon Name[/COLOR]



ItemUpgrade AttackRate Config:
PHP:
$_config['ItemUpgradeAtkRate'] = array(
'Range' => array( 
1 => array(0, 25, 'Rate'  => '100%'),
2 => array(26,50, 'Rate'  => '60%')), 
'MaxGrade' 	=> 50, 
'Addval' 	=> 1, 
'Pay' 	 	=> 150,
'AddonName' => 'Attack Rate'
);

ItemUpgrade Defense Config:
PHP:
$_config['ItemUpgradeDef'] = array(
'Range' => array( 
1 => array(0, 25, 'Rate'  => '100%'),
2 => array(26,65, 'Rate'  => '40%')), 
'MaxGrade' 	=> 25, 
'Addval' 	=> 1, 
'Pay' 	 	=> 100,
'AddonName'   => 'Defense'
);

ItemUpgrade Defense Rate Config:
PHP:
$_config['ItemUpgradeDefRate']	= array(
'Range' => array( 
1 => array(0, 20, 'Rate'  => '100%'),
2 => array(21,30, 'Rate'  => '40%')), 
'MaxGrade' 	=> 30, 
'Addval' 	=> 1, 
'Pay' 	 	=> 150,
'AddonName' => 'Defense Rate'
);

ItemUpgrade HP Config:
PHP:
$_config['ItemUpgradeHP'] = array(
'Range' => array( 
1 => array(0,1000,    'Rate'  => '100%'),
2 => array(1001,2000, 'Rate'  => '60%')), 
'MaxGrade' 	=> 2000, 
'Addval' 	=> 100, 
'Pay' 	 	=> 300,
'AddonName' => 'HP'
);

ItemUpgrade HP+MP+SP Rate Config:
PHP:
$_config['ItemUpgradeHMSRate']	= array(
'Range' => array( 
1 => array(0,10,  'Rate'  => '100%'),
2 => array(11,20, 'Rate'  => '40%')), 
'MaxGrade' 	=> 20, 
'Addval' 	=> 1, 
'Pay' 	 	=> 300,
'AddonName' => 'Recovery rate'
);

ItemUpgrade Hit Rate Config:
PHP:
$_config['ItemUpgradeHitRate']	= array(
'Range' => array( 
1 => array(0,50,  'Rate'  => '100%'),
2 => array(51,100, 'Rate'  => '40%')), 
'MaxGrade' 	=> 100, 
'Addval' 	=> 1, 
'Pay' 	 	=> 150,
'AddonName' => 'Hit rate'
);

Publicity Reborn Requirement:
PHP:
$_config['PublicityRbRequest'] = 30;

Publicity Add Point:
PHP:
$_config['PublicityAddPoint'] = 1000;

Max Reborn:
PHP:
$_config['RebornLimit'] = 35;

Reborn Save Map, Market is only Available:
PHP:
$_config['RebornSaveMap'] = "Market";

Reborn Range:
PHP:
$_config['RebornRange'] = array(
"Junior"   => array(1, 10), 
"Middle"   => array(11, 35),
"Advanced" => array(35, 35)
);

Reborn Standard Config:
PHP:
$_config['RebornStandard'] = array(
"Junior"   => array("Lvl" => "110", "Pay" => "15000000"), 
"Middle"   => array("Lvl" => "190", "Pay" => "25000000"),
"Advanced" => array("Lvl" => "280", "Pay" => "35000000"), 
"AddStats" => "25"
);

Reborn Vip Config:
PHP:
$_config['RebornVip'] = array(
"Junior"   => array("Lvl" => "80",  "Pay"  => "250"), 
"Middle"   => array("Lvl" => "150", "Pay"  => "350"),
"Advanced" => array("Lvl" => "250", "Pay"  => "550"), 
"AddStats" => "50"
);

ItemMall Category List:
PHP:
$_config['ProductCategory']= array(
'1' => "Weapon",
'2' => "Weapon (Leasing)",
'3' => "Armor (Suit)",
'4' => "Armor (Single)",
'5' => "Jewelry",
'6' => "Pet Item",
'8' => "Accessories"
);

Reset Stats Point Pay:
PHP:
$_config['ResetStatsPointPay'] = 10000000000;	//Gold

Reset PK Config:
PHP:
$_config['ResetPK'] = array(
"AddValue" => 20,
"Pay"   => 500
);

Change Class Check if already Change Class:
PHP:
$_config['ChangeClassCheck'] = true;

Change Class Pay:
PHP:
$_config['ChangeClassPay'] = 2000;

Character Skills List:
PHP:
$_config['ClassSkillsList'] = array(
'Brawler' => //Male ,Female Brawler
array(array(
'Main'=>0,'Sub'=>array(0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24)),array(
'Main'=>1,'Sub'=>array(0,1,2,3,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26)),array(
'Main'=>2,'Sub'=>array(0,1,2,3,4,5,6,8,9,11,12,13,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29)), 
array(
'Main'=>3,'Sub'=>array(0,2,3,4,5,6,7,8,9,10))
),
						
'Swordsman' => //Male ,Female Swordsman
array(array(
'Main'=>4,'Sub'=>array(0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23)), 
array(
'Main'=>5,'Sub'=>array(0,1,2,3,4,5,6,7,8,9,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26)),array(
'Main'=>6,'Sub'=>array(0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23)), 
array(
'Main'=>7,'Sub'=>array(0,3,4,5,6,7,8,9,10))
),
'Archer' => //Male ,Female Archer
array(array(
'Main'=>8,'Sub'=>array(0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24)),array(
'Main'=>9,'Sub'=>array(0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25)),array(
'Main'=>10,'Sub'=>array(0,1,2,3,5,6,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28)),array(
'Main'=>11,'Sub'=>array(0,1,3,4,6,7,8,9,10,11))),
							
'Shaman' => //Male ,Female Shamanarray(
array(
'Main'=>12,'Sub'=>array(0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25)), array(
'Main'=>13,'Sub'=>array(0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25)), array(
'Main'=>14,'Sub'=>array(0,1,2,3,4,5,6,7,8,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30)),array(
'Main'=>15,'Sub'=>array(2,3,4,5,6,7,8))
),
'Extreme' => //Male ,Female Extreme
array(array(
'Main'=>30,'Sub'=>array(0,1,2,3,4,5,6,7,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,29,30,31,32,34,36,37,39)), 
array(
'Main'=>31,'Sub'=>array(0,1,2,3,4,5,6,7,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,28,30,31,32,33,37,38,39)), 
array(
'Main'=>32,'Sub'=>array(0,1,2,3,4,5,6,7,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,28,31,32,36,37,38,39)), 
array(
'Main'=>33,'Sub'=>array(0,1,2,3,4,5,6,7,8,10,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,31,32,35,37)), 
),
'SkillLevel' => 0					
);

Code:
Main = [COLOR="Red"]Skill Main Number[/COLOR]
Sub = [COLOR="Red"]Skill Sub Number[/COLOR]
SkillLevel = [COLOR="Red"]Skill Lvl of all Skills if ChangeClass[/COLOR]

Open Read me first!! Folder on How to Install...

Launcher News Link:

Credits:

  • Bk's GMC for ItemUpgrade Function..
  • Google for searching stuff...
  • Seifer for suggesting some ideas...
  • jericogarcia for Programming the Web..






 

Attachments

You must be registered for see attachments list
Last edited:
Initiate Mage
Joined
Aug 27, 2011
Messages
3
Reaction score
0
Re: Babyran Complete Web PHP No Admin Panel

@jericogarcia

wow! this is great. bingo system is 100% full functional and working?. and the item upgrade it is also 100% full functional and working as well?

by the way, thank you very for this ranCP,
 
StoP Callin me MentaL
Loyal Member
Joined
Dec 26, 2008
Messages
3,228
Reaction score
1,017
Re: Babyran Complete Web PHP No Admin Panel

Register page like this...

...
 
Last edited:
Joined
Dec 22, 2008
Messages
701
Reaction score
224
Re: Babyran Complete Web PHP No Admin Panel

It triggers Error and stop the script if somethings wrong with the insertion of the data in userinfo, fulluserinfo, vote, referrer, tables in Ranuser Database.

What web server r u using bro?
 
StoP Callin me MentaL
Loyal Member
Joined
Dec 26, 2008
Messages
3,228
Reaction score
1,017
Re: Babyran Complete Web PHP No Admin Panel

xampp 1.6 that sir bianx's guide.
 
StoP Callin me MentaL
Loyal Member
Joined
Dec 26, 2008
Messages
3,228
Reaction score
1,017
Re: Babyran Complete Web PHP No Admin Panel

nitro+ - [Share] Babyran Complete Web PHP No Admin Panel - RaGEZONE Forums
 

Attachments

You must be registered for see attachments list
Joined
Dec 22, 2008
Messages
701
Reaction score
224
Re: Babyran Complete Web PHP No Admin Panel

Its working for me Bro just download this xampp and do a regular install...

 

Attachments

You must be registered for see attachments list
StoP Callin me MentaL
Loyal Member
Joined
Dec 26, 2008
Messages
3,228
Reaction score
1,017
Re: Babyran Complete Web PHP No Admin Panel

I do the same thing with you why i can't see the reg page?
 
StoP Callin me MentaL
Loyal Member
Joined
Dec 26, 2008
Messages
3,228
Reaction score
1,017
Re: Babyran Complete Web PHP No Admin Panel

ya...
 
Joined
Sep 27, 2010
Messages
491
Reaction score
121
Re: Babyran Complete Web PHP No Admin Panel

I got errors on the reborn system..
Warning: array_slice() [function.array-slice]: The first argument should be an array in C:\xampp\htdocs\lib\logic\ChaReborn.php on line 23
And it took all the stats..^.^
 
Back
Top