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!

[Guide]Quick RANCP Installation

Status
Not open for further replies.
Newbie Spellweaver
Joined
Nov 6, 2006
Messages
83
Reaction score
43
MSSQL 2005 EXPRESS or MSSQL 2000 must be installed first and these
RanGame1
RanLog
RanShop
RanUser

databases are already attached before you proceed this setup

or in short , Making RAN Server Guide must be completed before you proceed this setup

======================================================
RanWeb Requirements:
======================================================
Install WAMP5 (Php engine is already included)


Install WAMP5 ZEND OPTIMIZER ADD ON


Cimed's RANCP


CONFIGURING WAMP5

1. After installing, Start WAMP5 server then click the icon on the tray icons
2. go to PHP settings menu > PHP extensions
ianotida - [Guide]Quick RANCP Installation - RaGEZONE Forums


3. scroll down , click the php_mssql on menu
ianotida - [Guide]Quick RANCP Installation - RaGEZONE Forums


- now WAMP5 server will automatically restart (not the PC)
- after restart now mssql is now enabled and your DONE



RANCP

Extract your rancp.zip on www folder (usually: C:\wamp\www )


CONFIGURE RANCP

Your config.php must look like this:

for Users using SQL 2005 EXPRESS
<?php
//
$CONFIG['servername'] = "IaNz Ran Online"; //Web Name
$CONFIG['dbaddress'] = "PCNAME\SQLEXPRESS"; //DB IP
$CONFIG['dbuser'] = "sa"; //DB ID
$CONFIG['dbpass'] = "1234"; //DB PASS
$CONFIG['dbdbname'] = "RanUser";
$CONFIG['dbdbname1'] = "RanGame1";
$CONFIG['dbdbname2'] = "RanShop";
$CONFIG['registration'] = "1";
$CONFIG['maxaccounts'] = "0";
$CONFIG['maxemail'] = "1";
$CONFIG['email'] = "0";
$CONFIG['emailaddress'] = "";
$CONFIG['emailsmtp'] = "";
$CONFIG['emailuser'] = "";
$CONFIG['emailpass'] = "";
?>

for Users using SQL 2000 Evaluation or SQL 2000 Enterprise Edition
<?php
//
$CONFIG['servername'] = "IaNz Ran Online"; //Web Name
$CONFIG['dbaddress'] = "PCNAME"; //DB IP
$CONFIG['dbuser'] = "sa"; //DB ID
$CONFIG['dbpass'] = "1234"; //DB PASS
$CONFIG['dbdbname'] = "RanUser";
$CONFIG['dbdbname1'] = "RanGame1";
$CONFIG['dbdbname2'] = "RanShop";
$CONFIG['registration'] = "1";
$CONFIG['maxaccounts'] = "0";
$CONFIG['maxemail'] = "1";
$CONFIG['email'] = "0";
$CONFIG['emailaddress'] = "";
$CONFIG['emailsmtp'] = "";
$CONFIG['emailuser'] = "";
$CONFIG['emailpass'] = "";
?>

After editing config.php, go to Internet explorer or Mozila Firefox
You can type localhost/rancp to see your rancp page

Note: WAMP5 automatically open all public IP available to use, so from IP 127.0.0.1 to public IP 192.xx.xx.xx whatever your IP its all set.
 

Attachments

You must be registered for see attachments list
Last edited:
Junior Spellweaver
Joined
Sep 16, 2006
Messages
123
Reaction score
3
Guys I already installed my rancp but when i buy an item the item does not appear in my item bank and here an error

Warning: mssql_query() [ ]: message: Cannot insert the value NULL into column 'PurKey', table 'RanShop.dbo.ShopPurchase'; column does not allow nulls. INSERT fails. (severity 16) in C:\wamp\www\rancp\page\annoucement.php on line 37

Warning: mssql_query() [ ]: Query failed in C:\wamp\www\rancp\page\annoucement.php on line 37
Buy Item Success!

how to fix this??

as smarkies said, look at FAQ thread.
 
Upvote 0
Newbie Spellweaver
Joined
Jul 27, 2007
Messages
35
Reaction score
0
my prob is diffrent... coz my rancp is already running but when i buy the items there is a error.. but I amsure that i already edited it in my ranshop...

Are there any setting in the data base that is needed to check...
 
Last edited:
Upvote 0
Newbie Spellweaver
Joined
Dec 25, 2007
Messages
5
Reaction score
0
mr ian..help me..
i already installed ur ran cp in my webserver..
and it works..
but i have some problem..
i want to exchange my gold with point and it doesnt work..
i dont get point..

im sorry if my english so bad..
im still learning english while try to post english in here...

thx b4..
 
Upvote 0
Status
Not open for further replies.
Back
Top