Not a member yet? Register for your free account!


Go Back   elitepvpers > Other Online Games > Browsergames > Facebook
You last visited: Today at 08:46

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

 

the script DRAGON CITY. PHP

This is a discussion on the script DRAGON CITY. PHP within the Facebook forum part of the Browsergames category; please help for script dragon city. php I need this wrote to this forum...

Reply
 
Thread Tools
Old 07-17-2013, 16:52   #1
Junior Member
 
Join Date: Jul 2013
Posts: 5
Received Thanks: 0
Smile the script DRAGON CITY. PHP


please help for script dragon city. php
I need this
wrote to this forum

__________________

arie2406 is offline  
Old 07-17-2013, 17:25   #2
Member
 
Join Date: Apr 2011
Posts: 77
Received Thanks: 53
I have script for exp and gold,
Spike1996 is offline  
Thanks
1 User
Jkmkkm (07-17-2013)
Old 07-17-2013, 17:25   #3
Member
 
Join Date: Jul 2010
Posts: 44
Received Thanks: 583
PHP Code:
<?php
//die("will be updated soon"); 
ini_set('magic_quotes_gpc''off');
ini_set('display_errors''on');
$hcx '';

function 
fakeip()
{
    return 
long2ip(mt_rand(065537) * mt_rand(065535));
}

function 
arasi($a$b$data)
{
    
$x  explode($a$data);
    
$z  explode($b$x[1]);
    
$oh $z[0];
    if (
$x && $z) {
        return 
$oh;
    } else {
        return 
false;
    }
}

function 
komut($komut$num)
{
    
$data komutyolla($komut$num);
    
    if (
stristr($data'bad command number: expected')) {
        
$yeninum arasi('bad command number: expected '','$data);
        
$data    komutyolla($komut$yeninum);
        return 
substr($data65);
    } else {
        return 
substr($data65);
    }
}

function 
komutyolla($komut$num)
{
    global 
$fbid$user;
    
$ch curl_init();
    
curl_setopt($chCURLOPT_URL"http://dynamicdc.socialpointgames.com/dragoncity/web/srv/packet.php?USERID=$fbid&user_key=$user&language=tr");
    
curl_setopt($chCURLOPT_POST1);
    
curl_setopt($chCURLOPT_POSTFIELDShttp_build_query(array(
        
"id" => "$fbid",
        
"data" => hashla($komut$num)
    )));
    
curl_setopt($chCURLOPT_RETURNTRANSFERtrue);
    
//curl_setopt($ch, CURLOPT_HTTPHEADER, array("REMOTE_ADDR: ".fakeip(),"X-Client-IP: ".fakeip(),"Client-IP: ".fakeip(),"HTTP_X_FORWARDED_FOR: ".fakeip(),"X-Forwarded-For: ".fakeip()));
    
curl_setopt($chCURLOPT_ENCODING"gzip");
    
//curl_setopt($ch, CURLOPT_PROXY, "127.0.0.1:8888");
    
$data curl_exec($ch);
    
curl_close($ch);
    return 
$data;
}

function 
userkey($fbid)
{
    
    
$ch curl_init();
    
curl_setopt($chCURLOPT_URL"http://dynamicdc.socialpointgames.com/dragoncity/web/srv/get_user_session.php?secret=zoltan3287&id=" $fbid);
    
curl_setopt($chCURLOPT_USERAGENT"Mozilla/5.0 (Windows NT 6.2; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/27.0.1453.116 Safari/537.36");
    
curl_setopt($chCURLOPT_SSL_VERIFYPEERfalse);
    
curl_setopt($chCURLOPT_HEADERfalse);
    
//curl_setopt($ch, CURLOPT_PROXY, "127.0.0.1:8888");
    
curl_setopt($chCURLOPT_NOBODYfalse);
    
curl_setopt($chCURLOPT_ENCODING"gzip");
    
curl_setopt($chCURLOPT_RETURNTRANSFERtrue);
    
curl_setopt($chCURLOPT_CONNECTTIMEOUT5);
    
curl_setopt($chCURLOPT_TIMEOUT10);
    
$userkey curl_exec($ch);
    
$ch  curl_init();
    
curl_setopt($chCURLOPT_URL'http://dynamicdc.socialpointgames.com/dragoncity/web/srv/get_game_config.php?USERID=' $fbid '&user_key=' $userkey "&language=tr");
    
curl_setopt($chCURLOPT_USERAGENT"Mozilla/5.0 (Windows NT 6.2; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/27.0.1453.116 Safari/537.36");
    
curl_setopt($chCURLOPT_SSL_VERIFYPEERfalse);
    
curl_setopt($chCURLOPT_HEADERfalse);
    
curl_setopt($chCURLOPT_ENCODING"gzip");
    
curl_setopt($chCURLOPT_NOBODYfalse);
    
//curl_setopt($ch, CURLOPT_PROXY, "127.0.0.1:8888");
    
curl_setopt($chCURLOPT_RETURNTRANSFERtrue);
    
curl_setopt($chCURLOPT_CONNECTTIMEOUT5);
    
curl_setopt($chCURLOPT_TIMEOUT10);
    
$result curl_exec($ch);
    
curl_setopt($chCURLOPT_URL'http://dynamicdc.socialpointgames.com/dragoncity/web/srv/get_player_info.php?USERID=' $fbid '&user_key=' $userkey "&language=tr");
    
curl_setopt($chCURLOPT_USERAGENT"Mozilla/5.0 (Windows NT 6.2; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/27.0.1453.116 Safari/537.36");
    
curl_setopt($chCURLOPT_SSL_VERIFYPEERfalse);
    
curl_setopt($chCURLOPT_HEADERfalse);
    
curl_setopt($chCURLOPT_NOBODYfalse);
    
curl_setopt($chCURLOPT_ENCODING"gzip");
    
//curl_setopt ( $ch, CURLOPT_PROXY, "127.0.0.1:8888");
    
curl_setopt($chCURLOPT_RETURNTRANSFERtrue);
    
curl_setopt($chCURLOPT_CONNECTTIMEOUT5);
    
curl_setopt($chCURLOPT_TIMEOUT10);
    
$result curl_exec($ch);
    return 
$userkey;
}

function 
hashla($komut$n)
{
    
$ar = array(
        
"first_number" => $n,
        
"publishActions" => 0,
        
"tries" => 1,
        
"flashVersion" => "0.5.19",
        
"ts" => time()
    );
    
$x  'RGhXbiy4xEeDnSNX1oBG';
    
$sonkod str_replace(" """str_replace('}'',' $komut '}'json_encode($ar)));
    return 
hash_hmac('sha256'$sonkod$x) . ';' $sonkod;
}

if (isset(
$_POST["fbid"]) && (isset($_POST["recaptcha_response_field"]))) {
    
    require_once(
'recaptchalib.php');
    
$publickey  "6LeMfOQSAAAAAOMKScABjPEjfpCxTDCsXWkVofPF";
    
$privatekey "6LeMfOQSAAAAAL17ckxW9DMzBg7LVXxBZEOkNC3y";
    
$resp   null;
    
$error  null;
    
$resp   recaptcha_check_answer($privatekey$_SERVER["REMOTE_ADDR"], $_POST["recaptcha_challenge_field"], $_POST["recaptcha_response_field"]);
    
    if (
$resp->is_valid) {
        
$fbid $_POST['fbid'];
        
$user userkey($fbid);
        if (
$_POST["mode"] == 1) {
            
$cachefile './cache/' md5($_POST['mode'] . $fbid) . '.txt';
            if (
file_Exists($cachefile)) {
                
$filelastmodified filemtime($cachefile);
                
$sure         24 3550;
                
$suredoldumu  time() - $filelastmodified $sure;
            } else {
                
$suredoldumu true;
            }
            if (
$suredoldumu) {
                unset(
$hc$hcx);
                
$hcx '';
                for (
$i 1$i 6000$i $i 2) {
                    
$ik $i 1;
                    
$hcx .= '{"args":[1],"number":' $i ',"cmd":"change_init_data","time":1372771201},{"number":' $ik ',"cmd":"buy_treasure_new","time":1373655058,"args":[7]},';
                }
                
$hcx substr($hcx0, -1);
                
$hc  '{"commands":[' $hcx ']}';
                
$hc  json_decode($hc1);
                
$num 1;
                for (
$i 0$i count($hc['commands']); $i++) {
                    
$hc['commands'][$i]['time'] = time();
                }
                
$hc   substr(substr(str_replace(" """json_encode($hc)), 0, -1), 1);
                
$sucb json_decode(komut($hc$num), 1);
            } else {
                
$sucb = array(
                    
"error" => "Your 1 week time limit is not over & 1 haftalik limitin dolmadı daha sonra dene",
                    
"result" => false
                
);
            }
        } elseif (
$_POST["mode"] == 2) {
            
$cachefile './cache/' md5($_POST['mode'] . $fbid) . '.txt';
            if (
file_Exists($cachefile)) {
                
$filelastmodified filemtime($cachefile);
                
$sure         24 3550;
                
$suredoldumu  time() - $filelastmodified $sure;
            } else {
                
$suredoldumu true;
            }
            if (
$suredoldumu) {
                unset(
$hc$hcx);
                
$hcx '';
                for (
$i 1$i 1000$i $i 2) {
                    
$ik $i 1;
                    
$hcx .= '{"args":[1],"number":' $i ',"cmd":"change_init_data","time":1372771201},{"number":' $ik ',"cmd":"buy_treasure_new","time":1373655058,"args":[3]},';
                }
                
$hcx substr($hcx0, -1);
                
$hc  '{"commands":[' $hcx ']}';
                
$hc  json_decode($hc1);
                
$num 1;
                for (
$i 0$i count($hc['commands']); $i++) {
                    
$hc['commands'][$i]['time'] = time();
                }
                
$hc   substr(substr(str_replace(" """json_encode($hc)), 0, -1), 1);
                
$sucb json_decode(komut($hc$num), 1);
            } else {
                
$sucb = array(
                    
"error" => "Your 1 week time limit is not over & 1 haftalik limitin dolmadı daha sonra dene",
                    
"result" => false
                
);
            }
        } else {
            
$nocache true;
            unset(
$hc$hcx);
            
$hcx '';
            
$hcx '{"args":[1],"number":1,"cmd":"change_init_data","time":1372771201}';
            
$hc  '{"commands":[' $hcx ']}';
            
$hc  json_decode($hc1);
            
$num 1;
            for (
$i 0$i count($hc['commands']); $i++) {
                
$hc['commands'][$i]['time'] = time();
            }
            
$hc   substr(substr(str_replace(" """json_encode($hc)), 0, -1), 1);
            
$sucb json_decode(komut($hc$num), 1);
        }
        unset(
$sucb['response'][0]['cmd']);
        unset(
$sucb['response'][0]['number']);
        if (
$sucb['result'] == false) {
            echo 
"<center><h1>Failure</h1>";
            
print_r($sucb);
        } else {
            if (isset(
$sucb['response'][0]['error'])) {
                echo 
"<center><h1>Failure</h1>";
                
print_r($sucb);
            } else {
                if (!isset(
$nocache)) {
                    
touch($cachefile);
                }
                echo 
"<center><h1>Success</h1>";
            }
        }
    } else {
        echo 
"<center><h1>Security Question :(</h1>";
    }
}
?><meta charset="utf-8" /><center>
<form method="POST">
fbid : <input type=text name="fbid" value=<?
if (isset($_POST["fbid"])) {
    echo 
htmlspecialchars($_POST["fbid"]);
} else {
    echo 
"1000000123542";
}
?>><br><br>
<select name="mode">
    <option value="1">200m Food</option>
    <option value="2">1000m gold</option>
    <option value="3">100 gems</option>
</select><br><br>
<?php
require_once('recaptchalib.php');
$publickey  "6LeMfOQSAAAAAOMKScABjPEjfpCxTDCsXWkVofPF";
$privatekey "6LeMfOQSAAAAAL17ckxW9DMzBg7LVXxBZEOkNC3y";
$resp   null;
$error  null;
echo 
recaptcha_get_html($publickey$error);
?>
<br><input type=submit value="Party hard">
</form>
<br><a href="http://findmyfacebookid.com/">(face idsini ÷ğrenmek išin)</a>
<br><i>(÷nce oyuna gir sonra hileyi aš)</i>
<br><i>gems => if u have more than 100 gems you wont receive anything its limitless u can repeat it and make your gems 100 again</i>
<br><i>gems => değerli taşlar sınırsız fakat 100 veya daha fazla taşınız varsa bişi gelmiycek</i>
<br><i>gold & food => its limited to 1 acc for 1 week if u applied it come back after a week</i>
<br><i>altın & yemek => her hesap haftada 1 sefer kullanabilir</i>
ballot is offline  
Thanks
7 Users
Hep (08-31-2013), huytkcl (07-23-2013), INDONESIAN_MAN (07-17-2013), Njaluk (08-05-2013), nmtan (07-17-2013), packrat (09-19-2013), tiger1925 (07-17-2013)
Old 07-17-2013, 17:34   #4
Member
 
Join Date: Jul 2013
Posts: 87
Received Thanks: 20
thank for share.

Last edited by vnprincesfrog; 07-17-2013 at 17:43.
vnprincesfrog is offline  
Old 07-17-2013, 17:55   #5
Member
 
Join Date: Jul 2013
Posts: 48
Received Thanks: 89
Quote:
Originally Posted by ballot View Post
PHP Code:
<?php
//die("will be updated soon"); 
ini_set('magic_quotes_gpc''off');
ini_set('display_errors''on');
$hcx '';

function 
fakeip()
{
    return 
long2ip(mt_rand(065537) * mt_rand(065535));
}

function 
arasi($a$b$data)
{
    
$x  explode($a$data);
    
$z  explode($b$x[1]);
    
$oh $z[0];
    if (
$x && $z) {
        return 
$oh;
    } else {
        return 
false;
    }
}

function 
komut($komut$num)
{
    
$data komutyolla($komut$num);
    
    if (
stristr($data'bad command number: expected')) {
        
$yeninum arasi('bad command number: expected '','$data);
        
$data    komutyolla($komut$yeninum);
        return 
substr($data65);
    } else {
        return 
substr($data65);
    }
}

function 
komutyolla($komut$num)
{
    global 
$fbid$user;
    
$ch curl_init();
    
curl_setopt($chCURLOPT_URL"http://dynamicdc.socialpointgames.com/dragoncity/web/srv/packet.php?USERID=$fbid&user_key=$user&language=tr");
    
curl_setopt($chCURLOPT_POST1);
    
curl_setopt($chCURLOPT_POSTFIELDShttp_build_query(array(
        
"id" => "$fbid",
        
"data" => hashla($komut$num)
    )));
    
curl_setopt($chCURLOPT_RETURNTRANSFERtrue);
    
//curl_setopt($ch, CURLOPT_HTTPHEADER, array("REMOTE_ADDR: ".fakeip(),"X-Client-IP: ".fakeip(),"Client-IP: ".fakeip(),"HTTP_X_FORWARDED_FOR: ".fakeip(),"X-Forwarded-For: ".fakeip()));
    
curl_setopt($chCURLOPT_ENCODING"gzip");
    
//curl_setopt($ch, CURLOPT_PROXY, "127.0.0.1:8888");
    
$data curl_exec($ch);
    
curl_close($ch);
    return 
$data;
}

function 
userkey($fbid)
{
    
    
$ch curl_init();
    
curl_setopt($chCURLOPT_URL"http://dynamicdc.socialpointgames.com/dragoncity/web/srv/get_user_session.php?secret=zoltan3287&id=" $fbid);
    
curl_setopt($chCURLOPT_USERAGENT"Mozilla/5.0 (Windows NT 6.2; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/27.0.1453.116 Safari/537.36");
    
curl_setopt($chCURLOPT_SSL_VERIFYPEERfalse);
    
curl_setopt($chCURLOPT_HEADERfalse);
    
//curl_setopt($ch, CURLOPT_PROXY, "127.0.0.1:8888");
    
curl_setopt($chCURLOPT_NOBODYfalse);
    
curl_setopt($chCURLOPT_ENCODING"gzip");
    
curl_setopt($chCURLOPT_RETURNTRANSFERtrue);
    
curl_setopt($chCURLOPT_CONNECTTIMEOUT5);
    
curl_setopt($chCURLOPT_TIMEOUT10);
    
$userkey curl_exec($ch);
    
$ch  curl_init();
    
curl_setopt($chCURLOPT_URL'http://dynamicdc.socialpointgames.com/dragoncity/web/srv/get_game_config.php?USERID=' $fbid '&user_key=' $userkey "&language=tr");
    
curl_setopt($chCURLOPT_USERAGENT"Mozilla/5.0 (Windows NT 6.2; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/27.0.1453.116 Safari/537.36");
    
curl_setopt($chCURLOPT_SSL_VERIFYPEERfalse);
    
curl_setopt($chCURLOPT_HEADERfalse);
    
curl_setopt($chCURLOPT_ENCODING"gzip");
    
curl_setopt($chCURLOPT_NOBODYfalse);
    
//curl_setopt($ch, CURLOPT_PROXY, "127.0.0.1:8888");
    
curl_setopt($chCURLOPT_RETURNTRANSFERtrue);
    
curl_setopt($chCURLOPT_CONNECTTIMEOUT5);
    
curl_setopt($chCURLOPT_TIMEOUT10);
    
$result curl_exec($ch);
    
curl_setopt($chCURLOPT_URL'http://dynamicdc.socialpointgames.com/dragoncity/web/srv/get_player_info.php?USERID=' $fbid '&user_key=' $userkey "&language=tr");
    
curl_setopt($chCURLOPT_USERAGENT"Mozilla/5.0 (Windows NT 6.2; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/27.0.1453.116 Safari/537.36");
    
curl_setopt($chCURLOPT_SSL_VERIFYPEERfalse);
    
curl_setopt($chCURLOPT_HEADERfalse);
    
curl_setopt($chCURLOPT_NOBODYfalse);
    
curl_setopt($chCURLOPT_ENCODING"gzip");
    
//curl_setopt ( $ch, CURLOPT_PROXY, "127.0.0.1:8888");
    
curl_setopt($chCURLOPT_RETURNTRANSFERtrue);
    
curl_setopt($chCURLOPT_CONNECTTIMEOUT5);
    
curl_setopt($chCURLOPT_TIMEOUT10);
    
$result curl_exec($ch);
    return 
$userkey;
}

function 
hashla($komut$n)
{
    
$ar = array(
        
"first_number" => $n,
        
"publishActions" => 0,
        
"tries" => 1,
        
"flashVersion" => "0.5.19",
        
"ts" => time()
    );
    
$x  'RGhXbiy4xEeDnSNX1oBG';
    
$sonkod str_replace(" """str_replace('}'',' $komut '}'json_encode($ar)));
    return 
hash_hmac('sha256'$sonkod$x) . ';' $sonkod;
}

if (isset(
$_POST["fbid"]) && (isset($_POST["recaptcha_response_field"]))) {
    
    require_once(
'recaptchalib.php');
    
$publickey  "6LeMfOQSAAAAAOMKScABjPEjfpCxTDCsXWkVofPF";
    
$privatekey "6LeMfOQSAAAAAL17ckxW9DMzBg7LVXxBZEOkNC3y";
    
$resp   null;
    
$error  null;
    
$resp   recaptcha_check_answer($privatekey$_SERVER["REMOTE_ADDR"], $_POST["recaptcha_challenge_field"], $_POST["recaptcha_response_field"]);
    
    if (
$resp->is_valid) {
        
$fbid $_POST['fbid'];
        
$user userkey($fbid);
        if (
$_POST["mode"] == 1) {
            
$cachefile './cache/' md5($_POST['mode'] . $fbid) . '.txt';
            if (
file_Exists($cachefile)) {
                
$filelastmodified filemtime($cachefile);
                
$sure         24 3550;
                
$suredoldumu  time() - $filelastmodified $sure;
            } else {
                
$suredoldumu true;
            }
            if (
$suredoldumu) {
                unset(
$hc$hcx);
                
$hcx '';
                for (
$i 1$i 6000$i $i 2) {
                    
$ik $i 1;
                    
$hcx .= '{"args":[1],"number":' $i ',"cmd":"change_init_data","time":1372771201},{"number":' $ik ',"cmd":"buy_treasure_new","time":1373655058,"args":[7]},';
                }
                
$hcx substr($hcx0, -1);
                
$hc  '{"commands":[' $hcx ']}';
                
$hc  json_decode($hc1);
                
$num 1;
                for (
$i 0$i count($hc['commands']); $i++) {
                    
$hc['commands'][$i]['time'] = time();
                }
                
$hc   substr(substr(str_replace(" """json_encode($hc)), 0, -1), 1);
                
$sucb json_decode(komut($hc$num), 1);
            } else {
                
$sucb = array(
                    
"error" => "Your 1 week time limit is not over & 1 haftalik limitin dolmadı daha sonra dene",
                    
"result" => false
                
);
            }
        } elseif (
$_POST["mode"] == 2) {
            
$cachefile './cache/' md5($_POST['mode'] . $fbid) . '.txt';
            if (
file_Exists($cachefile)) {
                
$filelastmodified filemtime($cachefile);
                
$sure         24 3550;
                
$suredoldumu  time() - $filelastmodified $sure;
            } else {
                
$suredoldumu true;
            }
            if (
$suredoldumu) {
                unset(
$hc$hcx);
                
$hcx '';
                for (
$i 1$i 1000$i $i 2) {
                    
$ik $i 1;
                    
$hcx .= '{"args":[1],"number":' $i ',"cmd":"change_init_data","time":1372771201},{"number":' $ik ',"cmd":"buy_treasure_new","time":1373655058,"args":[3]},';
                }
                
$hcx substr($hcx0, -1);
                
$hc  '{"commands":[' $hcx ']}';
                
$hc  json_decode($hc1);
                
$num 1;
                for (
$i 0$i count($hc['commands']); $i++) {
                    
$hc['commands'][$i]['time'] = time();
                }
                
$hc   substr(substr(str_replace(" """json_encode($hc)), 0, -1), 1);
                
$sucb json_decode(komut($hc$num), 1);
            } else {
                
$sucb = array(
                    
"error" => "Your 1 week time limit is not over & 1 haftalik limitin dolmadı daha sonra dene",
                    
"result" => false
                
);
            }
        } else {
            
$nocache true;
            unset(
$hc$hcx);
            
$hcx '';
            
$hcx '{"args":[1],"number":1,"cmd":"change_init_data","time":1372771201}';
            
$hc  '{"commands":[' $hcx ']}';
            
$hc  json_decode($hc1);
            
$num 1;
            for (
$i 0$i count($hc['commands']); $i++) {
                
$hc['commands'][$i]['time'] = time();
            }
            
$hc   substr(substr(str_replace(" """json_encode($hc)), 0, -1), 1);
            
$sucb json_decode(komut($hc$num), 1);
        }
        unset(
$sucb['response'][0]['cmd']);
        unset(
$sucb['response'][0]['number']);
        if (
$sucb['result'] == false) {
            echo 
"<center><h1>Failure</h1>";
            
print_r($sucb);
        } else {
            if (isset(
$sucb['response'][0]['error'])) {
                echo 
"<center><h1>Failure</h1>";
                
print_r($sucb);
            } else {
                if (!isset(
$nocache)) {
                    
touch($cachefile);
                }
                echo 
"<center><h1>Success</h1>";
            }
        }
    } else {
        echo 
"<center><h1>Security Question :(</h1>";
    }
}
?><meta charset="utf-8" /><center>
<form method="POST">
fbid : <input type=text name="fbid" value=<?
if (isset($_POST["fbid"])) {
    echo 
htmlspecialchars($_POST["fbid"]);
} else {
    echo 
"1000000123542";
}
?>><br><br>
<select name="mode">
    <option value="1">200m Food</option>
    <option value="2">1000m gold</option>
    <option value="3">100 gems</option>
</select><br><br>
<?php
require_once('recaptchalib.php');
$publickey  "6LeMfOQSAAAAAOMKScABjPEjfpCxTDCsXWkVofPF";
$privatekey "6LeMfOQSAAAAAL17ckxW9DMzBg7LVXxBZEOkNC3y";
$resp   null;
$error  null;
echo 
recaptcha_get_html($publickey$error);
?>
<br><input type=submit value="Party hard">
</form>
<br><a href="http://findmyfacebookid.com/">(face idsini ÷ğrenmek išin)</a>
<br><i>(÷nce oyuna gir sonra hileyi aš)</i>
<br><i>gems => if u have more than 100 gems you wont receive anything its limitless u can repeat it and make your gems 100 again</i>
<br><i>gems => değerli taşlar sınırsız fakat 100 veya daha fazla taşınız varsa bişi gelmiycek</i>
<br><i>gold & food => its limited to 1 acc for 1 week if u applied it come back after a week</i>
<br><i>altın & yemek => her hesap haftada 1 sefer kullanabilir</i>
This script is working ?

Quote:
Originally Posted by ballot View Post
PHP Code:
<?php
//die("will be updated soon"); 
ini_set('magic_quotes_gpc''off');
ini_set('display_errors''on');
$hcx '';

function 
fakeip()
{
    return 
long2ip(mt_rand(065537) * mt_rand(065535));
}

function 
arasi($a$b$data)
{
    
$x  explode($a$data);
    
$z  explode($b$x[1]);
    
$oh $z[0];
    if (
$x && $z) {
        return 
$oh;
    } else {
        return 
false;
    }
}

function 
komut($komut$num)
{
    
$data komutyolla($komut$num);
    
    if (
stristr($data'bad command number: expected')) {
        
$yeninum arasi('bad command number: expected '','$data);
        
$data    komutyolla($komut$yeninum);
        return 
substr($data65);
    } else {
        return 
substr($data65);
    }
}

function 
komutyolla($komut$num)
{
    global 
$fbid$user;
    
$ch curl_init();
    
curl_setopt($chCURLOPT_URL"http://dynamicdc.socialpointgames.com/dragoncity/web/srv/packet.php?USERID=$fbid&user_key=$user&language=tr");
    
curl_setopt($chCURLOPT_POST1);
    
curl_setopt($chCURLOPT_POSTFIELDShttp_build_query(array(
        
"id" => "$fbid",
        
"data" => hashla($komut$num)
    )));
    
curl_setopt($chCURLOPT_RETURNTRANSFERtrue);
    
//curl_setopt($ch, CURLOPT_HTTPHEADER, array("REMOTE_ADDR: ".fakeip(),"X-Client-IP: ".fakeip(),"Client-IP: ".fakeip(),"HTTP_X_FORWARDED_FOR: ".fakeip(),"X-Forwarded-For: ".fakeip()));
    
curl_setopt($chCURLOPT_ENCODING"gzip");
    
//curl_setopt($ch, CURLOPT_PROXY, "127.0.0.1:8888");
    
$data curl_exec($ch);
    
curl_close($ch);
    return 
$data;
}

function 
userkey($fbid)
{
    
    
$ch curl_init();
    
curl_setopt($chCURLOPT_URL"http://dynamicdc.socialpointgames.com/dragoncity/web/srv/get_user_session.php?secret=zoltan3287&id=" $fbid);
    
curl_setopt($chCURLOPT_USERAGENT"Mozilla/5.0 (Windows NT 6.2; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/27.0.1453.116 Safari/537.36");
    
curl_setopt($chCURLOPT_SSL_VERIFYPEERfalse);
    
curl_setopt($chCURLOPT_HEADERfalse);
    
//curl_setopt($ch, CURLOPT_PROXY, "127.0.0.1:8888");
    
curl_setopt($chCURLOPT_NOBODYfalse);
    
curl_setopt($chCURLOPT_ENCODING"gzip");
    
curl_setopt($chCURLOPT_RETURNTRANSFERtrue);
    
curl_setopt($chCURLOPT_CONNECTTIMEOUT5);
    
curl_setopt($chCURLOPT_TIMEOUT10);
    
$userkey curl_exec($ch);
    
$ch  curl_init();
    
curl_setopt($chCURLOPT_URL'http://dynamicdc.socialpointgames.com/dragoncity/web/srv/get_game_config.php?USERID=' $fbid '&user_key=' $userkey "&language=tr");
    
curl_setopt($chCURLOPT_USERAGENT"Mozilla/5.0 (Windows NT 6.2; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/27.0.1453.116 Safari/537.36");
    
curl_setopt($chCURLOPT_SSL_VERIFYPEERfalse);
    
curl_setopt($chCURLOPT_HEADERfalse);
    
curl_setopt($chCURLOPT_ENCODING"gzip");
    
curl_setopt($chCURLOPT_NOBODYfalse);
    
//curl_setopt($ch, CURLOPT_PROXY, "127.0.0.1:8888");
    
curl_setopt($chCURLOPT_RETURNTRANSFERtrue);
    
curl_setopt($chCURLOPT_CONNECTTIMEOUT5);
    
curl_setopt($chCURLOPT_TIMEOUT10);
    
$result curl_exec($ch);
    
curl_setopt($chCURLOPT_URL'http://dynamicdc.socialpointgames.com/dragoncity/web/srv/get_player_info.php?USERID=' $fbid '&user_key=' $userkey "&language=tr");
    
curl_setopt($chCURLOPT_USERAGENT"Mozilla/5.0 (Windows NT 6.2; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/27.0.1453.116 Safari/537.36");
    
curl_setopt($chCURLOPT_SSL_VERIFYPEERfalse);
    
curl_setopt($chCURLOPT_HEADERfalse);
    
curl_setopt($chCURLOPT_NOBODYfalse);
    
curl_setopt($chCURLOPT_ENCODING"gzip");
    
//curl_setopt ( $ch, CURLOPT_PROXY, "127.0.0.1:8888");
    
curl_setopt($chCURLOPT_RETURNTRANSFERtrue);
    
curl_setopt($chCURLOPT_CONNECTTIMEOUT5);
    
curl_setopt($chCURLOPT_TIMEOUT10);
    
$result curl_exec($ch);
    return 
$userkey;
}

function 
hashla($komut$n)
{
    
$ar = array(
        
"first_number" => $n,
        
"publishActions" => 0,
        
"tries" => 1,
        
"flashVersion" => "0.5.19",
        
"ts" => time()
    );
    
$x  'RGhXbiy4xEeDnSNX1oBG';
    
$sonkod str_replace(" """str_replace('}'',' $komut '}'json_encode($ar)));
    return 
hash_hmac('sha256'$sonkod$x) . ';' $sonkod;
}

if (isset(
$_POST["fbid"]) && (isset($_POST["recaptcha_response_field"]))) {
    
    require_once(
'recaptchalib.php');
    
$publickey  "6LeMfOQSAAAAAOMKScABjPEjfpCxTDCsXWkVofPF";
    
$privatekey "6LeMfOQSAAAAAL17ckxW9DMzBg7LVXxBZEOkNC3y";
    
$resp   null;
    
$error  null;
    
$resp   recaptcha_check_answer($privatekey$_SERVER["REMOTE_ADDR"], $_POST["recaptcha_challenge_field"], $_POST["recaptcha_response_field"]);
    
    if (
$resp->is_valid) {
        
$fbid $_POST['fbid'];
        
$user userkey($fbid);
        if (
$_POST["mode"] == 1) {
            
$cachefile './cache/' md5($_POST['mode'] . $fbid) . '.txt';
            if (
file_Exists($cachefile)) {
                
$filelastmodified filemtime($cachefile);
                
$sure         24 3550;
                
$suredoldumu  time() - $filelastmodified $sure;
            } else {
                
$suredoldumu true;
            }
            if (
$suredoldumu) {
                unset(
$hc$hcx);
                
$hcx '';
                for (
$i 1$i 6000$i $i 2) {
                    
$ik $i 1;
                    
$hcx .= '{"args":[1],"number":' $i ',"cmd":"change_init_data","time":1372771201},{"number":' $ik ',"cmd":"buy_treasure_new","time":1373655058,"args":[7]},';
                }
                
$hcx substr($hcx0, -1);
                
$hc  '{"commands":[' $hcx ']}';
                
$hc  json_decode($hc1);
                
$num 1;
                for (
$i 0$i count($hc['commands']); $i++) {
                    
$hc['commands'][$i]['time'] = time();
                }
                
$hc   substr(substr(str_replace(" """json_encode($hc)), 0, -1), 1);
                
$sucb json_decode(komut($hc$num), 1);
            } else {
                
$sucb = array(
                    
"error" => "Your 1 week time limit is not over & 1 haftalik limitin dolmadı daha sonra dene",
                    
"result" => false
                
);
            }
        } elseif (
$_POST["mode"] == 2) {
            
$cachefile './cache/' md5($_POST['mode'] . $fbid) . '.txt';
            if (
file_Exists($cachefile)) {
                
$filelastmodified filemtime($cachefile);
                
$sure         24 3550;
                
$suredoldumu  time() - $filelastmodified $sure;
            } else {
                
$suredoldumu true;
            }
            if (
$suredoldumu) {
                unset(
$hc$hcx);
                
$hcx '';
                for (
$i 1$i 1000$i $i 2) {
                    
$ik $i 1;
                    
$hcx .= '{"args":[1],"number":' $i ',"cmd":"change_init_data","time":1372771201},{"number":' $ik ',"cmd":"buy_treasure_new","time":1373655058,"args":[3]},';
                }
                
$hcx substr($hcx0, -1);
                
$hc  '{"commands":[' $hcx ']}';
                
$hc  json_decode($hc1);
                
$num 1;
                for (
$i 0$i count($hc['commands']); $i++) {
                    
$hc['commands'][$i]['time'] = time();
                }
                
$hc   substr(substr(str_replace(" """json_encode($hc)), 0, -1), 1);
                
$sucb json_decode(komut($hc$num), 1);
            } else {
                
$sucb = array(
                    
"error" => "Your 1 week time limit is not over & 1 haftalik limitin dolmadı daha sonra dene",
                    
"result" => false
                
);
            }
        } else {
            
$nocache true;
            unset(
$hc$hcx);
            
$hcx '';
            
$hcx '{"args":[1],"number":1,"cmd":"change_init_data","time":1372771201}';
            
$hc  '{"commands":[' $hcx ']}';
            
$hc  json_decode($hc1);
            
$num 1;
            for (
$i 0$i count($hc['commands']); $i++) {
                
$hc['commands'][$i]['time'] = time();
            }
            
$hc   substr(substr(str_replace(" """json_encode($hc)), 0, -1), 1);
            
$sucb json_decode(komut($hc$num), 1);
        }
        unset(
$sucb['response'][0]['cmd']);
        unset(
$sucb['response'][0]['number']);
        if (
$sucb['result'] == false) {
            echo 
"<center><h1>Failure</h1>";
            
print_r($sucb);
        } else {
            if (isset(
$sucb['response'][0]['error'])) {
                echo 
"<center><h1>Failure</h1>";
                
print_r($sucb);
            } else {
                if (!isset(
$nocache)) {
                    
touch($cachefile);
                }
                echo 
"<center><h1>Success</h1>";
            }
        }
    } else {
        echo 
"<center><h1>Security Question :(</h1>";
    }
}
?><meta charset="utf-8" /><center>
<form method="POST">
fbid : <input type=text name="fbid" value=<?
if (isset($_POST["fbid"])) {
    echo 
htmlspecialchars($_POST["fbid"]);
} else {
    echo 
"1000000123542";
}
?>><br><br>
<select name="mode">
    <option value="1">200m Food</option>
    <option value="2">1000m gold</option>
    <option value="3">100 gems</option>
</select><br><br>
<?php
require_once('recaptchalib.php');
$publickey  "6LeMfOQSAAAAAOMKScABjPEjfpCxTDCsXWkVofPF";
$privatekey "6LeMfOQSAAAAAL17ckxW9DMzBg7LVXxBZEOkNC3y";
$resp   null;
$error  null;
echo 
recaptcha_get_html($publickey$error);
?>
<br><input type=submit value="Party hard">
</form>
<br><a href="http://findmyfacebookid.com/">(face idsini ÷ğrenmek išin)</a>
<br><i>(÷nce oyuna gir sonra hileyi aš)</i>
<br><i>gems => if u have more than 100 gems you wont receive anything its limitless u can repeat it and make your gems 100 again</i>
<br><i>gems => değerli taşlar sınırsız fakat 100 veya daha fazla taşınız varsa bişi gelmiycek</i>
<br><i>gold & food => its limited to 1 acc for 1 week if u applied it come back after a week</i>
<br><i>altın & yemek => her hesap haftada 1 sefer kullanabilir</i>
This script is working ?

Quote:
Originally Posted by Spike1996 View Post
I have script for exp and gold,
I need <3
lolnames is offline  
Old 07-17-2013, 17:58   #6
Junior Member
 
Join Date: Jul 2013
Posts: 9
Received Thanks: 4
Please fix does not work

log : Failure
Array ( [result] => 1 [response] => Array ( [0] => Array ( [resources] => Array ( ) [result] => [error] => Command change_init_data not found ) ) [error] => )
maraz444 is offline  
Old 07-17-2013, 18:08   #7
Member
 
Join Date: Aug 2012
Posts: 53
Received Thanks: 3
How to use this?
Jkmkkm is offline  
Old 07-17-2013, 18:12   #8
Havocxz
 
Join Date: Jun 2013
Posts: 32
Received Thanks: 5
how to use ? using host ?
JohnMactavish is offline  
Old 07-17-2013, 18:21   #9
Junior Member
 
Join Date: Jul 2013
Posts: 9
Received Thanks: 4
zz.mu

maraz444 is offline  
Old 07-17-2013, 18:22   #10
Member
 
Join Date: Jul 2013
Posts: 87
Received Thanks: 20
This code before DC update. Work don't fixed
vnprincesfrog is offline  
Thanks
3 Users
gautrucchina (07-17-2013), Jkmkkm (07-17-2013), maraz444 (07-17-2013)
Reply

Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
Dragon City 250 gems +Blue Dragon+Ultra Tree sandrila Facebook 1 05-07-2013 22:00



All times are GMT +2. The time now is 08:46.


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