huh? Fish? Who's got bait?
sir if you are not getting items..config your server "IDX" in config.php.. post back..
huh? Fish? Who's got bait?
sir if you are not getting items..config your server "IDX" in config.php.. post back..
it done... it works..im using it
now give me a thanks in advanced :D (joke)
Warning: mssql_connect() [function.mssql-connect]: Unable to connect to server: 37.138.39.155 in C:\AppServ\www\index.php on line 26
Could not connect to MSSQL database. !?
how to fix this..
Fatal error: Call to undefined function mssql_connect() in C:\xampp\htdocs\index.php on line 26
my setting on config.default.php is this
<?php
// General options for both reg page and cash shop
// Title shown at the top of pages
define('PAGE_TITLE','My Cabal Server');
// Link to website or patch
define('LINK_WSITE','http://www.mywebs.com');
// Text to display for link
define('NAME_WSITE','My Website Name');
// Link to forums
define('LINK_FORUM','http://mywebs.com/forums');
// Text to display for link
define('NAME_FORUM','My Forum Name');
// MSSQL server connection details
// Database server
define('DB_ADDR','192.168.56.1');
// Database login
define('DB_USER','sa');
// Database password
define('DB_PASS','jeromelim1109');
// In case you have a different db names
define('DB_ACC','ACCOUNT');
define('DB_GAM','GAMEDB');
define('DB_CCA','CABALCASH');
define('DB_CSH','CASHSHOP');
// ServerIdx MUST match the one in WorldSvr_XX_YY.ini or cash items
// Will not get delivered correctly.
define('SVR_IDX','24');
// Category names for cash shop admin panel
$cats=array(1=>'Costumes',2=>'Gear',3=>'Pets',4=>'Consumables',5=>'Items');
// Print debug info at the top of the cash shop pages
define('TESTMODE',true);
// Maintenance mode, open to GMs only.
define('MAINTMODE',false);
// Uses LastIp validation as well as UserNum and AuthKey
// Can cause problems
define('IPVALIDATION',true);
// Allow transfer of Alz from warehoue to the bank
// Set to false if you don't want to use Alz for cash items
define('ALLOW_BANK',true);
?>
i Use xampp 1.7.1 tnx..
define('DB_ADDR','192.168.56.1,1433');
try this way :)
a bug..
if u keep clicking in "yes" button to confirm purchase or keep alot hiting F5 after click in YES button to confirm, you'll get alot itens
I've installed this cashshop and can't login.
Registration works and I can login ingame. But it won't work at this Cashshop, any solutions or suggestions?
Hello guys, Someone can help to find web address in a 374 cabalmain version? .. just cant find it (I used ollyDBG and PE explorer).. nothing . Ty and very apreciate your answer!
Solved: i was searching in a wrong place! :S
Last edited by in2ruder; 02-09-13 at 01:18 PM.
Is it possible that only listed accounts can access the webshop admin?
all accounts with nation =3 characters, will be able to access admin page, but you can change it if you know code php
how to connect this to my game?
how about I change from Alz to Cash/eCoin?
There is a bug in the original files .. it wouldnt send the items bought to the character ... to fix this open buy.php..
search for
Replace withCode:$r=query_db("exec ".DB_CCA.".dbo.up_AddMyCashItem '".$v1."','1','".SVR_IDX."','".$itemidx."','".$itemopt."','".$durationidx."'");
Code:$r=query_db("exec ".DB_CCA.".dbo.up_AddMyCashItemByItem '".$v1."','1','".SVR_IDX."','".$itemidx."','".$itemopt."','".$durationidx."'");
Please note that anyone who intent to use this webshop and stuff, you will need to update all php language to support the new php version. Otherwise it will not work.