helpme with shop please

06/24/2012 20:16 ivanosvsky#1
please helpe here with shop



[Only registered and activated users can see links. Click Here To Register...]

Uploaded with [Only registered and activated users can see links. Click Here To Register...]
06/24/2012 21:14 -ColdBloodShaiya-#2
Quote:
Originally Posted by ivanosvsky View Post
please helpe here with shop



[Only registered and activated users can see links. Click Here To Register...]

Uploaded with [Only registered and activated users can see links. Click Here To Register...]
make cash.SData.sql file and inject your game.defs in your database it then will fix it
06/24/2012 21:23 ivanosvsky#3
thank you so much my friend,, then i need this file. if you have link with this file and tuto please post.. ty!!!
06/24/2012 23:01 Philipp_#4
Open with Shaiya Data File Tool your Data.sah and extract the Cash.SData. Open this file with shStudio, click on Save and you will get a Cash.sql. This is the file you have to open and execute.
06/25/2012 01:33 ivanosvsky#5
thank you very much for your information and help, I will try to do what I say, thank you very much friend.

you're great friend, awesome. the shop is running at 100%.

a question. and edit the price of items in the shop?
06/25/2012 02:30 Philipp_#6
If I helped click the THANKS-Button and dont say it ;p
To edit the price open the Cash.SData in shStudio, double click on the Item you want to edit and you can change it in the field 'Cost'. Click Save and Import the new file with Shaiya Data File Tool. After it open the Cash.sql and execute it.
06/25/2012 07:11 ivanosvsky#7
wow excelent, 100% funtional..
Philipp_
SW▲G.
Ty so much my friend.

my friend, do you have files for register? i dont find files for web site.
i have files abrassive but i have error:

Parse error: syntax error, unexpected T_DNUMBER, expecting T_VARIABLE or '$' in C:\xampp\htdocs\db.php on line 3

and my config is: for db.config
<?php
// Verify the php_mssql libary is installed and enabled.
if(!function_exists('mssql_connect')){
echo 'You must have the php_mssql library for Apache installed and enabled to connect to an MSSQL database. Uncomment the line that says extension=php_mssql.dll in your php.ini (XAMPP/WAMP only). This requires a restart of the Apache service to take effect.'; die();
}
// Database configuration parameters
$db_host = '127.0.0.1';
$db_user = 'Shaiya';
$db_pass = 'Shaiya123';

/**
* Sanitize user input to prevent SQL injection. Use this on ALL user input!
* This function is from CodeIgniter.
* I researched other methods of doing this, and this looked the most solid to me - Abrasive
* @param string $data
* @return string
*/
function mssql_escape_string($data) {
if(!isset($data) or empty($data)) return '';
if(is_numeric($data)) return $data;
$non_displayables = array(
'/%0[0-8bcef]/', // url encoded 00-08, 11, 12, 14, 15
'/%1[0-9a-f]/', // url encoded 16-31
'/[\x00-\x08]/', // 00-08
'/\x0b/', // 11
'/\x0c/', // 12
'/[\x0e-\x1f]/' // 14-31
);
foreach($non_displayables as $regex)
$data = preg_replace($regex,'',$data);
$data = str_replace("'","''",$data);
return $data;
}
?>

and for db:
<?php
// Connect to MSSQL server - I used an @ symbol to suppress error messages here to avoid giving away the account name in the case of an error.
$conn = @mssql_connect($127.0.0.1,$Shaiya,$Shaiya123) or die('Failed to connect to MSSQL Server.');
$db = @mssql_select_db('PS_UserData',$conn) or die('Failed to select database PS_UserData.');
?>
do you know what is error?
06/25/2012 15:34 Philipp_#8
Use the search function and stay on Topic.
06/25/2012 16:32 JohnHeatz#9
Personally I don't like xamp, it always gives me all kind of errors, try getting wamp and use the same files, to be honest the files are working perfectly, maybe by changing the software it will work
06/25/2012 19:08 ivanosvsky#10
ok i try ty so much