Register for your free account! | Forgot your password?

Go Back   elitepvpers > Popular Games > Silkroad Online > SRO Private Server
You last visited: Today at 21:55

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

Advertisement



SuperReward postback and auto reward silk to user ...

Discussion on SuperReward postback and auto reward silk to user ... within the SRO Private Server forum part of the Silkroad Online category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Apr 2010
Posts: 21
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 ?

thanks
hellspawn800 is offline  
Old 05/30/2016, 16:23   #2
 
elmagico321's Avatar
 
elite*gold: 0
Join Date: Oct 2013
Posts: 663
Received Thanks: 209
you can use vote4silk system and change on it like you want
elmagico321 is offline  
Thanks
1 User
Old 06/30/2016, 07:03   #3
 
elite*gold: 0
Join Date: Apr 2010
Posts: 21
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: 328
Received Thanks: 32
contact me at skype zizoelnigm4
zizoelnigm is offline  
Old 07/01/2016, 15:52   #5
 
SMT Blue's Avatar
 
elite*gold: 0
Join Date: Apr 2016
Posts: 50
Received Thanks: 71
Do the mssql_connect part urself.
PHP Code:
<?php
#--- Error reporting ---#
    
error_reporting(-1);
    
#--- Timezone status ---#
    
date_default_timezone_set("Europe/Stockholm");
    
$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"
  exit;
}
// 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);
            
#--- INSERT SILK, NEW METHOD MAKAVELI PROZ0R ---#
    
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) 
    VALUES('
$clean_sql', '$new_currency', '$date')");
            
log("User $clean_sql purchased $new_currency coins using $offer_id (txn: $transaction_id)\n");
echo 
"1\n";
?>
SMT Blue is offline  
Reply


Similar Threads Similar Threads
Postback-URL
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 Private Server - 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 - 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 +2. The time now is 21:55.


Powered by vBulletin®
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2024 elitepvpers All Rights Reserved.