|
You last visited: Today at 11:25
Advertisement
Script Dragon City Gold
Discussion on Script Dragon City Gold within the Dragon City forum part of the Facebook category.
|
#1
|
elite*gold: 0
Join Date: Aug 2013
Posts: 71
Received Thanks: 129
|
Script Dragon City Gold
i just share script dc gold
<center><Dragon City Gold</center>
<form name="myform" method="post">
<p>
<label>FBID</label>
<input type="text" value="<?PHP echo $_POST['fbid'] ;?>" name="fbid" placeholder="FB_ID"/>
</p>
<p>
<label>User_Key</label>
<input type="text" value="<?PHP echo $_POST['ukey']; ?>" name="ukey" placeholder="User_Key"/>
</p>
<p>
<label>Paket</label>
<select value="<?PHP echo $_POST['jumlah']; ?>" name="jumlah">
<option VALUE="10">10M</option>
<option VALUE="20">20M</option>
<option VALUE="50">50M</option>
</select>
<small>Minimal level 7 dan Mempunyai Travern..</small>
</p>
<input type="hidden" name="kirim" id="kirim" >
<p>
<button name="proces" type="submit">Submit</button>
<button type="reset" > Reset</button> </p>
</form>
<?PHP
if(isset($_POST['kirim'])){
$playerinfo=ambilplayerinfo($_POST['fbid'],$_POST['ukey']);
$data.='======================
';
$data.= "FBID : ".$_POST['fbid']."
";
$data.='=======SEBELUM=======
';
$data.=infodcfreegold($playerinfo);
$data.='=======SESUDAH=======
';
$data.=dcfreegold($_POST['fbid'],$_POST['ukey'],$_POST['jumlah'],$playerinfo);
$data.='======================
';
echo $data;
}
function ambilkodedc($kode,$playerinfo){
foreach ($playerinfo['map']['items'] as $kode => $isi) {
if ($isi[0]==81){
return $kode;
}
}
}
function ambilplayerinfo($id,$ukey){
$result=sendPost("http://dc-canvas.socialpointgames.com/dragoncity/web/srv/get_player_info.php?USERID=".$id."&user_key=".$uke y."&spdebug=1",null);
$result = explode(";",$result);
$result = json_decode($result[1],true);
return $result;
}
function sendPost($url,$data=null){
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
// curl_setopt($ch, CURLOPT_TIMEOUT_MS, 2000);
// curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1);
// curl_setopt($ch, CURLOPT_HTTPPROXYTUNNEL, 0);
// curl_setopt($ch, CURLOPT_PROXY, '23.23.166.15:9231');
if($data!=null){
curl_setopt($ch, CURLOPT_POST, 1);
curl_setopt($ch, CURLOPT_POSTFIELDS,http_build_query($data));
}
$result = curl_exec ($ch);
curl_close ($ch);
return $result;
}
function infodcfreegold($data){
$return.= 'GEMS :'.number_format($data['playerInfo']['cash'],0,',','.').'
';
$return.= 'GOLD :'.number_format($data['playerInfo']['gold'],0,',','.').'
';
$return.= 'FOOD :'.number_format($data['playerInfo']['food'],0,',','.').'
';
$return.= 'XP :'.number_format($data['playerInfo']['xp'],0,',','.').'
';
$return.= 'LEVEL :'.$data['playerInfo']['level'].'
';
return $return;
}
function kirimperintah($id,$ukey,$cmd,$num){
$cmd = json_encode(array('publishActions'=>0,'commands'=> $cmd,'flashVersion'=>'0.7.7','first_number'=>$num, 'tries'=>1,'ts'=>time()));
$hash = hash_hmac('sha256',$cmd,'RGhXbiy4xEeDnSNX1oBG');
$cmd=array('data'=>$hash.';'.$cmd,'id'=>$id);
$result=sendPost("http://dc-canvas.socialpointgames.com/dragoncity/web/srv/packet.php?USERID=".$id."&user_key=".$ukey."&spdeb ug=1",$cmd) ;
$result = explode(";",$result);
$result = json_decode($result[1],true);
return $result;
}
function ambil1mgold($kodetavern,$jum){
$cmd=array();
$i=1;
$num=20*$jum;
for($i=1;$i<=$num;$i++){
$cmd[]=array('number'=>1,'time'=>time(),'args'=>array($k odetavern,0),'cmd'=>'finish_si');
$i++;
$cmd[]=array('number'=>1,'time'=>time(),'args'=>array(11 51,0,0),'cmd'=>'sell_stored_dragon');
}
return $cmd;
}
function dcfreegold($id,$ukey,$jum,$playerinfo){
$kodetavern=ambilkodedc(81,$playerinfo);
$result=array();
$cmd=array();
$i=1;
$num=1;
if($jum==10){
$cmd=ambil1mgold($kodetavern,5);
$result=kirimperintah($id,$ukey,$cmd,$num);
$num=$num+count($cmd);
$result=kirimperintah($id,$ukey,$cmd,$num);
}elseif($jum==20){
$cmd=ambil1mgold($kodetavern,9);
$result=kirimperintah($id,$ukey,$cmd,1);
$num=$num+count($cmd);
$cmd=ambil1mgold($kodetavern,9);
$result=kirimperintah($id,$ukey,$cmd,$num);
$num=$num+count($cmd);
$cmd=ambil1mgold($kodetavern,2);
$result=kirimperintah($id,$ukey,$cmd,$num);
}elseif($jum==50){
$cmd=ambil1mgold($kodetavern,9);
$result=kirimperintah($id,$ukey,$cmd,1);
$num=$num+count($cmd);
$cmd=ambil1mgold($kodetavern,9);
$result=kirimperintah($id,$ukey,$cmd,$num);
$num=$num+count($cmd);
$cmd=ambil1mgold($kodetavern,9);
$result=kirimperintah($id,$ukey,$cmd,$num);
$num=$num+count($cmd);
$cmd=ambil1mgold($kodetavern,9);
$result=kirimperintah($id,$ukey,$cmd,$num);
$num=$num+count($cmd);
$cmd=ambil1mgold($kodetavern,9);
$result=kirimperintah($id,$ukey,$cmd,$num);
$num=$num+count($cmd);
$cmd=ambil1mgold($kodetavern,5);
$result=kirimperintah($id,$ukey,$cmd,$num);
}
/*$ret='';
$cmd=array('args'=>array(3131,17,10,15,1,0),'cmd'= >'buy','number'=>1,'time'=>time());
$result=kirimperintah($id,$ukey,$cmd,1);*/
$ret='';
if($result['result']==true){
$data=ambilplayerinfo($id,$ukey);
$ret.=infodcfreegold($data);
}else{
$ret.='ERROR : '.$result['error'].'
';
}
return $ret;
}
?>
*u must have crystal dragon if u want script work!!
Please Press Thanks If I Help U
|
|
|
|
#2
|
elite*gold: 0
Join Date: Jun 2012
Posts: 136
Received Thanks: 44
|
how to use ?!
|
|
|
|
#3
|
elite*gold: 0
Join Date: Jan 2014
Posts: 20
Received Thanks: 2
|
How to use it ?
|
|
|
|
#4
|
elite*gold: 0
Join Date: Jan 2013
Posts: 1,018
Received Thanks: 424
|
WTH You thinking want to patched it?
|
|
|
|
#5
|
elite*gold: 0
Join Date: Jan 2014
Posts: 32
Received Thanks: 1
|
MACAM MNA NAK BUAT iNi
|
|
|
|
#6
|
elite*gold: 0
Join Date: Feb 2014
Posts: 4
Received Thanks: 0
|
how to use it ?
|
|
|
|
#7
|
elite*gold: 2070
Join Date: Dec 2012
Posts: 13,044
Received Thanks: 8,252
|
Quote:
Originally Posted by ahmedkrash87
how to use ?!
|
Quote:
Originally Posted by rudranil
How to use it ?
|
Quote:
Originally Posted by rdn_001
how to use it ?
|
You need a webspace which supports PHP.
Create a index.php there and paste this script.
And then just open the link of your webspace in browser.
|
|
|
|
#8
|
elite*gold: 0
Join Date: Feb 2014
Posts: 4
Received Thanks: 0
|
can you help me ?
|
|
|
|
#9
|
elite*gold: 0
Join Date: Aug 2013
Posts: 7
Received Thanks: 1
|
not work white screen ^_^
|
|
|
|
#10
|
elite*gold: 0
Join Date: Aug 2013
Posts: 71
Received Thanks: 129
|
Get PATCH If You Want, U Can By With ME .. PM ME
|
|
|
|
#11
|
elite*gold: 0
Join Date: Feb 2014
Posts: 117
Received Thanks: 147
|
LooooooooooooooooL
I Have Script Dc 1 B GolD
|
|
|
|
#12
|
elite*gold: 0
Join Date: Jan 2013
Posts: 69
Received Thanks: 11
|
Quote:
Originally Posted by Heshamkong
LooooooooooooooooL
I Have Script Dc 1 B GolD 
|
you have gems script?
|
|
|
|
#13
|
elite*gold: 0
Join Date: Jun 2008
Posts: 166
Received Thanks: 31
|
here for eggs
need only to update new eggs  simple
<?php
require_once(dirname(__DIR__)."/phpclass/dragoncity.class.php");
$versi="";
if(file_exists(__DIR__."/versi.txt")) $versi=file_get_contents(__DIR__."/versi.txt");
$str = '<html><head><title>DRAGON CITY - EGGS</title></head><body>
<form action="egg.php" method="post">
DC Versi:<br/>
<input name="versi" value="'.$versi.'"/><br/>
ID FB:<br/>
<input name="fbid" /><br/>
User Key:<br/>
<input name="ukey" /><br/>
egg code:<br/>
<input name="egg" size="68"/><br/>
<input type="submit" value="Submit" />
</form>';
if(isset($_POST['fbid']) && isset($_POST['ukey']) && isset($_POST['versi']) && isset($_POST['egg'])){
$dragon = explode(",",$_POST['egg']);
$dra=count($dragon);
if($dra>10) diex($str."<hr/>max 10 dragon each process.");
$dc=new DragonCity($_POST['fbid'],$_POST['ukey'],$_POST['versi']);
if(!$dc->getInfo()) infoError($str);
$str .= $dc->html();
$cost = $dra*25;
if($dc->info['cash']<$cost) diex($str."<hr/>You need ".$cost." gems to process.");
$num=1;
$cmd=array();
$time=$dc->ts+1;
$listdragon=array(1,2,3,4,5,6,7,8,9,10,11,12,14,15 ,16,17,18,19,20,21,22,24,25,26,27,28,29,30,31,32,3 3,34,35,36,37,38,39,40,45,46,47,48,49,50,54,55,56, 57,58,59,60,61,62,63,64,65,66,67,68,69,72,73,74,75 ,76,77,79,80,81,82,83,84,85,86,87,88,89,90,101,102 ,103,104,105,106,110,111,112,113,114,115,116,117,1 18,119,120,121,122,124,125,126,127,128,129,130,131 ,132,133,134,135,136,137,138,139,140,141,142,143,1 44,145,146,147,148,149,150,151,152,153,154,155,156 ,157,158,159,160,161,162,2000,5000,5001,1000,1001, 1002,1003,1004,1005,1006,1007,1008,1009,1010,1011, 1012,1013,1014,1015,1016,1017,1018,1019,1020,1021, 1022,1023,1024,1025,1026,1028,1029,1031,1032,1033, 1039,1040,1041,1042,1043,1044,1045,1046,1047,1048, 1049,1050,1051,1052,1053,1054,1055,1056,1057,1058, 1059,1060,1061,1062,1063,1064,1065,1066,1067,1068, 1069,1070,1071,1072,1073,1074,1075,1076,1077,1078, 1079,1080,1081,1082,1083,1084,1085,1086,1087,1088, 1089,1090,1091,1092,1093,1094,1095,1096,1097,1098, 1099,1100,1101,1102,1103,1104,1105,1106,1107,1108, 1109,1110,1111,1112,1113,1114,1115,1116,1117,1118, 1119,1120,1121,1122,1123,1124,1125,1126,1127,1128, 1129,1130,1131,1132,1133,1134,1135,1136,1137,1138, 1139,1140,1141,1142,1143,1144,1145,1146,1147,1148, 1149,1150,1151,1152,1153,1154,1155,1156,1157,1158, 1159,1160,1161,1162,1163,1164,1165,1166,1167,1168, 1169,1170,1171,1172,1173,1174,1175,1176,1177,1178, 1179,1180,1182,1183,1184,1187,1190,1196,1197,1194, 1195);
for($i=0;$i<$dra;$i++){
if(in_array($dragon[$i],$listdragon)){
$cmd[]=array('number'=>$num,'time'=>$time,'args'=>array( 2,(integer)$dragon[$i]),'cmd'=>'buy_offer_pack');
$num++;
}
}
if(count($cmd)<1) diex($str."empty dragon for process.");
$res = $dc->sendCommand($cmd);
if($res===false) diex($str."<hr/>ERROR.");
//$str .= "<hr/>".json_encode($res);
if(!$dc->getInfo()) infoError($str);
diex($str.$dc->html());
}else die($str."</body></html>");
function infoError($str){
die($str."<hr/>Get Info Error.</body></html>");
}
function diex($str){
die($str."</body></html>");
}
?>
|
|
|
|
#14
|
elite*gold: 0
Join Date: Dec 2013
Posts: 35
Received Thanks: 37
|
@Flystal : Indonesia : Gan ada script DC yang 1B gold ga?
English : Sir, do you have Script 1Billion DC Gold?
|
|
|
|
#15
|
elite*gold: 0
Join Date: Jan 2013
Posts: 1,018
Received Thanks: 424
|
Quote:
Originally Posted by magierhauck
here for eggs
need only to update new eggs  simple
<?php
require_once(dirname(__DIR__)."/phpclass/dragoncity.class.php");
$versi="";
if(file_exists(__DIR__."/versi.txt")) $versi=file_get_contents(__DIR__."/versi.txt");
$str = '<html><head><title>DRAGON CITY - EGGS</title></head><body>
<form action="egg.php" method="post">
DC Versi:<br/>
<input name="versi" value="'.$versi.'"/><br/>
ID FB:<br/>
<input name="fbid" /><br/>
User Key:<br/>
<input name="ukey" /><br/>
egg code:<br/>
<input name="egg" size="68"/><br/>
<input type="submit" value="Submit" />
</form>';
if(isset($_POST['fbid']) && isset($_POST['ukey']) && isset($_POST['versi']) && isset($_POST['egg'])){
$dragon = explode(",",$_POST['egg']);
$dra=count($dragon);
if($dra>10) diex($str."<hr/>max 10 dragon each process.");
$dc=new DragonCity($_POST['fbid'],$_POST['ukey'],$_POST['versi']);
if(!$dc->getInfo()) infoError($str);
$str .= $dc->html();
$cost = $dra*25;
if($dc->info['cash']<$cost) diex($str."<hr/>You need ".$cost." gems to process.");
$num=1;
$cmd=array();
$time=$dc->ts+1;
$listdragon=array(1,2,3,4,5,6,7,8,9,10,11,12,14,15 ,16,17,18,19,20,21,22,24,25,26,27,28,29,30,31,32,3 3,34,35,36,37,38,39,40,45,46,47,48,49,50,54,55,56, 57,58,59,60,61,62,63,64,65,66,67,68,69,72,73,74,75 ,76,77,79,80,81,82,83,84,85,86,87,88,89,90,101,102 ,103,104,105,106,110,111,112,113,114,115,116,117,1 18,119,120,121,122,124,125,126,127,128,129,130,131 ,132,133,134,135,136,137,138,139,140,141,142,143,1 44,145,146,147,148,149,150,151,152,153,154,155,156 ,157,158,159,160,161,162,2000,5000,5001,1000,1001, 1002,1003,1004,1005,1006,1007,1008,1009,1010,1011, 1012,1013,1014,1015,1016,1017,1018,1019,1020,1021, 1022,1023,1024,1025,1026,1028,1029,1031,1032,1033, 1039,1040,1041,1042,1043,1044,1045,1046,1047,1048, 1049,1050,1051,1052,1053,1054,1055,1056,1057,1058, 1059,1060,1061,1062,1063,1064,1065,1066,1067,1068, 1069,1070,1071,1072,1073,1074,1075,1076,1077,1078, 1079,1080,1081,1082,1083,1084,1085,1086,1087,1088, 1089,1090,1091,1092,1093,1094,1095,1096,1097,1098, 1099,1100,1101,1102,1103,1104,1105,1106,1107,1108, 1109,1110,1111,1112,1113,1114,1115,1116,1117,1118, 1119,1120,1121,1122,1123,1124,1125,1126,1127,1128, 1129,1130,1131,1132,1133,1134,1135,1136,1137,1138, 1139,1140,1141,1142,1143,1144,1145,1146,1147,1148, 1149,1150,1151,1152,1153,1154,1155,1156,1157,1158, 1159,1160,1161,1162,1163,1164,1165,1166,1167,1168, 1169,1170,1171,1172,1173,1174,1175,1176,1177,1178, 1179,1180,1182,1183,1184,1187,1190,1196,1197,1194, 1195);
for($i=0;$i<$dra;$i++){
if(in_array($dragon[$i],$listdragon)){
$cmd[]=array('number'=>$num,'time'=>$time,'args'=>array( 2,(integer)$dragon[$i]),'cmd'=>'buy_offer_pack');
$num++;
}
}
if(count($cmd)<1) diex($str."empty dragon for process.");
$res = $dc->sendCommand($cmd);
if($res===false) diex($str."<hr/>ERROR.");
//$str .= "<hr/>".json_encode($res);
if(!$dc->getInfo()) infoError($str);
diex($str.$dc->html());
}else die($str."</body></html>");
function infoError($str){
die($str."<hr/>Get Info Error.</body></html>");
}
function diex($str){
die($str."</body></html>");
}
?>
|
WTF Your sharing the script without dragoncity.class.php?
ZzzzzzZz
|
|
|
Similar Threads
|
[Release] Dragon City GOLD Script.
01/29/2014 - Dragon City - 6 Replies
Hello Today I will release Dragon City Gold Hack Script.
10M Gold
20M Gold
50M Gold
100M Gold
View the Script : <title>Dragon City Gold Hack By Sarthak</title>
</script></center></center>< /body>
<b>Developed by:</b> <a href="https://www.facebook.com/f123456789f&qu ot;>Sarthak Sharma</a>
<b>From</b> <a
|
All times are GMT +2. The time now is 11:26.
|
|