Register for your free account! | Forgot your password?

Go Back   elitepvpers > Silkroad Online > SRO PServer - Discussions / Questions > SRO PServer Ask the Experts
You last visited: Today at 15:18

  • Please register to post and access all features, it's quick, easy and FREE!

SuperReward postback and auto reward silk to user ...

Old   #1
elite*gold: 0
Join Date: Apr 2010
Posts: 20
Received Thanks: 1
Lightbulb SuperReward postback and auto reward silk to user ...

im searching for a postback script using mssql command to integrate SuperReward to my website and add silk to user automatic.

someone can help me ?


hellspawn800 is offline  
Old 05/30/2016, 16:23   #2
elite*gold: 0
Join Date: Oct 2013
Posts: 540
Received Thanks: 165
you can use vote4silk system and change on it like you want

elmagico321 is offline  
1 User
Old 06/30/2016, 07:03   #3
elite*gold: 0
Join Date: Apr 2010
Posts: 20
Received Thanks: 1
i tried but im not good enough .. can you help me ?
hellspawn800 is offline  
Old 06/30/2016, 08:19   #4
elite*gold: 0
Join Date: Dec 2010
Posts: 326
Received Thanks: 32
contact me at skype zizoelnigm4

zizoelnigm is offline  
Old 07/01/2016, 15:52   #5
elite*gold: 0
Join Date: Apr 2016
Posts: 50
Received Thanks: 71
Do the mssql_connect part urself.
PHP Code:
#--- Error reporting ---#
#--- Timezone status ---#
$SECRET_KEY     ""// secret for my app
$transaction_id $_REQUEST['id'];
$user_id        $_REQUEST['uid'];
$offer_id       $_REQUEST['oid']; // completed offer or payment method
$new_currency   $_REQUEST['new'];
$hash_signature $_REQUEST['sig'];

$hash md5($transaction_id.':'.$new_currency.':'.$user_id.':'.$SECRET_KEY);
if (
$hash != $hash_signature) {
// signature doesn't match, respond with a failure
echo "0\n"
// all good!  
#--- Database connection ---#
mssql_connect($serverIp$userName$password) or die("0\n");
#--- Select Database ---#
mssql_select_db($dbName1) or die("0\n");
#--- Filter ---#
$clean_html htmlspecialchars($user_id);
$clean_sql str_replace("'"""$clean_html);
mssql_query("exec CGI.CGI_WebPurchaseSilk 0,'$clean_sql',0,'$new_currency',0") or die("0\n");
#--- Log payment ---#
mssql_select_db($dbName5) or die("0\n");
mssql_query("INSERT INTO _SuperRewards (StrUserID, Silk, date) 
$clean_sql', '$new_currency', '$date')");
log("User $clean_sql purchased $new_currency coins using $offer_id (txn: $transaction_id)\n");

SMT Blue is offline  

« Auto events src | anyone can give me ip and port for game (ELECTUS and zszc ) »

Similar Threads
08/18/2015 - General Coding - 5 Replies
Hallo, suche jemanden der sich damit etwas auskennt und mir helfen kann dabei , evtl. springt sogar Geld raus.Skype Addy lautet openssh1337 Grüße
Beta tester needed | Reward:Silk
02/13/2014 - SRO PServer - Discussions / Questions - 4 Replies
Hey folk, i need around ~20 Beta testers for a new silkroad Server. We just want to test some events/functions of the server. Test will start in around 2~3 hours Testers will get silk if they want to play on the server when its released PM me if you want to become a tester
Burning Sun 80cap / Reborn System / Silk Reward
02/11/2013 - SRO PServer Advertising - 3 Replies
Hey Guys, if u search for a very good oldscool server this is ur chance. Its a very nice Server with awesome gms tons of special items and always nice events. Some information: Client Version: 1.188 Exp Rate: 25x Party Exp Rate: 30x Gold Drop Rate: 10x
MocaSRO 110 EGY Server just 2 days on hamachi 5k silk reward
03/30/2012 - SRO PServer Advertising - 21 Replies
First of all you must Join Hamachi! Hamachi adresses ! 1.Mocaboss 2.Mocaboss1 3.Mocaboss2 4.Mocaboss3 5.Mocaboss4 Password for all adreses is 1 !
SuperReward oder SponsorPay?
02/02/2011 - Metin2 Main - Discussions / Questions - 3 Replies
Hallo Leute, wollte mal fragen welches der beiden besser ist: SuperReward oder SponsorPay? ( Sind die Sachen wo man sich Dr verdienen kann D: ). Erzählt von euren Erfahrungen. Muss jetzt ins Bett deswegen schaue ich morgen vorbei. Danke

All times are GMT +1. The time now is 15:18.

Powered by vBulletin®
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Abuse
Copyright ©2018 elitepvpers All Rights Reserved.