Benoit is possible to remove negative resources in Monster Legends?
Seriously?In my country is 20.00 BGN - for 2 days work to get this money.What will say,that some users payed for nothing and losed money which can afford them water and food.Quote:
Let him work, i already pay the tool but im glad to pay again to suport him, the tool is very cheap i encourage people to support him and dont be so annoying asking for free gems and demand instant updates because is a hard work to do.
Oh , Curl get database from server , Can you guide me ? I put it on server but i can't runQuote:
Code:<?php /** * @author benoitanastay * */ class dragoncmd { var $count; //Number of sent commands var $userkey; //The user session key var $user_agent; //The user agent used to request var $ginfo; //Object of game_info var $msgarr = array (); var $key = "RGhXbiy4xEeDnSNX1oBG"; //Encryption key var $mass; //if set do a barch command var $massnum; //The max number of commands to send by request default 100 var $uid; //Player info var $map; //Map object var $jinfo; //Player Infos objects var $cb; // Couchbase object var $user_key; //The user session key var $result; //Result pf a request var $result_state = false; //The state of the request /** * @return boolean */ function reinit() { $ch = curl_init (); curl_setopt ( $ch, CURLOPT_URL, "http://dynamicdc.socialpointgames.com/dragoncity/web/srv/get_user_session.php?secret=zoltan3287&id=" . $this->uid ); curl_setopt ( $ch, CURLOPT_USERAGENT, $this->user_agent ); curl_setopt ( $ch, CURLOPT_SSL_VERIFYPEER, false ); curl_setopt ( $ch, CURLOPT_HEADER, false ); curl_setopt ( $ch, CURLOPT_NOBODY, false ); curl_setopt ( $ch, CURLOPT_RETURNTRANSFER, true ); curl_setopt ( $ch, CURLOPT_CONNECTTIMEOUT, 5 ); curl_setopt ( $ch, CURLOPT_TIMEOUT, 10 ); $this->user_key = curl_exec ( $ch ); $ch = curl_init (); curl_setopt ( $ch, CURLOPT_URL, 'http://dynamicdc.socialpointgames.com/dragoncity/web/srv/get_player_info.php?USERID=' . $this->uid . '&user_key=' . $this->user_key ); curl_setopt ( $ch, CURLOPT_USERAGENT, $this->user_agent ); curl_setopt ( $ch, CURLOPT_SSL_VERIFYPEER, false ); curl_setopt ( $ch, CURLOPT_HEADER, false ); curl_setopt ( $ch, CURLOPT_NOBODY, false ); curl_setopt ( $ch, CURLOPT_RETURNTRANSFER, true ); curl_setopt ( $ch, CURLOPT_CONNECTTIMEOUT, 5 ); curl_setopt ( $ch, CURLOPT_TIMEOUT, 10 ); $result = curl_exec ( $ch ); $result = explode ( ';', $result ); $this->jinfo = $result [1]; $json = json_decode ( $this->jinfo ); if (isset ( $json->result )) { if (! $json->result) return false; } return true; } /** * @param jsonstring $cmd * @param unixtime $time * @return number */ function send($cmd, $time) { if (! isset ( $this->massnum )) $this->massnum = 100; if ($this->mass == "on") { if ($cmd == "send") $this->massnum = $this->count - 1; if (count ( $this->msgarr ) < $this->massnum && $cmd != "send") { $this->msgarr [$this->count] = $cmd; $this->count ++; return 0; } $cmd = implode ( ",", $this->msgarr ); $this->msgarr = array (); $fst = $this->count - $this->massnum; } else { $fst = $this->count; } $ch = curl_init (); curl_setopt ( $ch, CURLOPT_URL, 'http://dynamicdc.socialpointgames.com/dragoncity/web/srv/packet.php?USERID=' . $this->uid . '&user_key=' . $this->user_key ); curl_setopt ( $ch, CURLOPT_POST, 1 ); $data = '{"flashVersion":"0.3.27","commands":[' . $cmd . '],"first_number":' . $fst . ',"ts":' . $time . ',"publishActions":0,"tries":1}'; $data = hash_hmac ( 'sha256', $data, $this->key ) . ';' . $data; curl_setopt ( $ch, CURLOPT_POSTFIELDS, 'id=' . $this->uid . '&data=' . $data ); curl_setopt ( $ch, CURLOPT_USERAGENT, $this->user_agent ); curl_setopt ( $ch, CURLOPT_SSL_VERIFYPEER, false ); curl_setopt ( $ch, CURLOPT_HEADER, false ); curl_setopt ( $ch, CURLOPT_NOBODY, false ); curl_setopt ( $ch, CURLOPT_RETURNTRANSFER, true ); curl_setopt ( $ch, CURLOPT_CONNECTTIMEOUT, 5 ); curl_setopt ( $ch, CURLOPT_TIMEOUT, 10 ); $result = curl_exec ( $ch ); $result = explode ( ';', $result ); $player = json_decode ( $this->jinfo ); $json = json_decode ( $result [1] ); if (isset ( $json->response [0]->resources->pu->c )) { $this->result_state = true; $cn = $player->playerInfo->cash + $json->response [0]->resources->pu->c; $c = $json->response [0]->resources->pu->c; } else { $cn = $player->playerInfo->cash; $c = 0; } if (isset ( $json->response [0]->resources->pu->g )) { $this->result_state = true; $gn = $player->playerInfo->gold + $json->response [0]->resources->pu->g; $g = $json->response [0]->resources->pu->g; } else { $gn = $player->playerInfo->gold; $g = 0; } if (isset ( $json->response [0]->resources->pu->f )) { $this->result_state = true; $fn = $player->playerInfo->food + $json->response [0]->resources->pu->f; $f = $json->response [0]->resources->pu->f; } else { $fn = $player->playerInfo->food; $f = 0; } if (isset ( $json->response [0]->resources->pu->x )) { $xn = $player->playerInfo->xp + $json->response [0]->resources->pu->x; $x = $json->response [0]->resources->pu->x; } else { $xn = $player->playerInfo->xp; $x = 0; } $this->result = "<pre> ======================= >>>Dragon City AFTER<<< ======================= ID = " . $player->playerInfo->pid . " Name = " . $player->playerInfo->name . " Gems = " . $cn . " (+" . $c . ") Food = " . $fn . " (+" . $f . ") Gold = " . $gn . " (+" . $g . ") Level = " . $player->playerInfo->level . " Exp = " . $xn . " (+" . $x . ") ======================= </pre>"; } function cb_get() { $ch = curl_init (); curl_setopt ( $ch, CURLOPT_URL, 'https://dynamicdc.socialpointgames.com/dragoncity/web/admin/packet_cb' ); curl_setopt ( $ch, CURLOPT_POST, 1 ); curl_setopt ( $ch, CURLOPT_POSTFIELDS, 'type=get&key=u%2F' . $this->uid . '%2Fpu&value=%7B%7D&secret=zoltan3287' ); curl_setopt ( $ch, CURLOPT_USERAGENT, $this->user_agent ); curl_setopt ( $ch, CURLOPT_SSL_VERIFYPEER, false ); curl_setopt ( $ch, CURLOPT_HEADER, false ); curl_setopt ( $ch, CURLOPT_NOBODY, false ); curl_setopt ( $ch, CURLOPT_RETURNTRANSFER, true ); curl_setopt ( $ch, CURLOPT_TIMEOUT, 10 ); $result = curl_exec ( $ch ); // var_dump($result); preg_match ( '#C:52:"SP\\\\Bundle\\\\SocialDragonsBundle\\\\Domain\\\\UserPublicState":[0-9]+:{(.*)}#', $result, $matches ); // var_dump($matches); $this->cb = json_decode ( $matches [1], true ); } function cb_send() { $ch = curl_init (); if (! isset ( $this->cb ["pid"] )) die ( 'Error' ); $json = json_encode ( $this->cb ); $set = 'C:52:"SP\Bundle\SocialDragonsBundle\Domain\UserPublicState":' . strlen ( $json ) . ':{' . $json . '}'; curl_setopt ( $ch, CURLOPT_URL, 'https://dynamicdc.socialpointgames.com/dragoncity/web/admin/packet_cb' ); curl_setopt ( $ch, CURLOPT_POST, 1 ); curl_setopt ( $ch, CURLOPT_POSTFIELDS, 'type=set&key=u%2F' . $this->uid . '%2Fpu&value=' . urlencode ( $set ) . '&secret=zoltan3287' ); curl_setopt ( $ch, CURLOPT_USERAGENT, $this->user_agent ); curl_setopt ( $ch, CURLOPT_SSL_VERIFYPEER, false ); curl_setopt ( $ch, CURLOPT_HEADER, false ); curl_setopt ( $ch, CURLOPT_NOBODY, false ); curl_setopt ( $ch, CURLOPT_RETURNTRANSFER, true ); curl_setopt ( $ch, CURLOPT_TIMEOUT, 10 ); curl_exec ( $ch ); } function map_get() { $ch = curl_init (); curl_setopt ( $ch, CURLOPT_URL, 'https://dynamicdc.socialpointgames.com/dragoncity/web/admin/packet_cb' ); curl_setopt ( $ch, CURLOPT_POST, 1 ); curl_setopt ( $ch, CURLOPT_POSTFIELDS, 'type=get&key=u%2F' . $this->uid . '%2Fm1&value=%7B%7D&secret=zoltan3287' ); curl_setopt ( $ch, CURLOPT_USERAGENT, $this->user_agent ); curl_setopt ( $ch, CURLOPT_SSL_VERIFYPEER, false ); curl_setopt ( $ch, CURLOPT_HEADER, false ); curl_setopt ( $ch, CURLOPT_NOBODY, false ); curl_setopt ( $ch, CURLOPT_RETURNTRANSFER, true ); curl_setopt ( $ch, CURLOPT_TIMEOUT, 10 ); $result = curl_exec ( $ch ); // var_dump($result); preg_match ( '#C:44:"SP\\\\Bundle\\\\SocialDragonsBundle\\\\Domain\\\\UserMap":[0-9]+:{(.*)}#', $result, $matches ); // var_dump($matches); $this->map = json_decode ( $matches [1], true ); } function map_send() { $ch = curl_init (); $json = json_encode ( $this->map ); // var_dump($json); $set = 'C:44:"SP\Bundle\SocialDragonsBundle\Domain\UserMap":' . strlen ( $json ) . ':{' . $json . '}'; // var_dump ($set); curl_setopt ( $ch, CURLOPT_URL, 'https://dynamicdc.socialpointgames.com/dragoncity/web/admin/packet_cb' ); curl_setopt ( $ch, CURLOPT_POST, 1 ); curl_setopt ( $ch, CURLOPT_POSTFIELDS, 'type=set&key=u%2F' . $this->uid . '%2Fm1&value=' . urlencode ( $set ) . '&secret=zoltan3287' ); curl_setopt ( $ch, CURLOPT_USERAGENT, $this->user_agent ); curl_setopt ( $ch, CURLOPT_SSL_VERIFYPEER, false ); curl_setopt ( $ch, CURLOPT_HEADER, false ); curl_setopt ( $ch, CURLOPT_NOBODY, false ); curl_setopt ( $ch, CURLOPT_RETURNTRANSFER, true ); curl_setopt ( $ch, CURLOPT_TIMEOUT, 10 ); curl_exec ( $ch ); } } ?>
is a very long time for a hack
Quote:
<!DOCTYPE html>
<html>
<head>
<title>DCHI :: Dragon Cheatin Indonesia</title>
<link rel="stylesheet" type="text/css" href="static/dchi.css">
</head>
<body class="hasLeftCol fbx">
<div id="blueBarHolder" class="slim">
<div id="blueBar" class="fixed_elem">
<div id="pageHead" class="clearfix">
<h1 id="pageLogo"><a href="#">DCHI</a></h1>
<div class="clearfix" id="headNav">
<div class="rfloat">
<ul id="pageNav" class="clearfix">
<li class="navItem middleItem"><a id="saldoCoin" class="navLink bigPadding" href="#">0</a></li>
<li id="setAccount" class="navItem middleItem"><a class="navLink bigPadding" href="#">Account Setting</a></li>
<li class="navItem middleItem"><a class="navLink bigPadding" href="http://fb.dchi.asia/logout">Logout</a></li>
</ul>
</div>
</div>
</div>
</div>
</div>
<div id="globalContainer" class="uiContextualLayerParent"><div id="content" class="fb_content clearfix">
<div id="mainContainer" >
<div id="leftCol">
<div class="clearfix fbxWelcomeBox"><a class="fbxWelcomeBoxBlock _8o _8s lfloat" href="https://www.facebook.com/100002584588230"><img class="_s0 fbxWelcomeBoxImg _rw img" src="http://graph.facebook.com/100002584588230/picture" alt=""></a>
<div class="_8m _42ef"><div class="_6a prs"><div class="_6a _6b"><a class="fbxWelcomeBoxName" href="https://www.facebook.com/100002584588230">Wahyu Rizky</a><div>Guest</div></div></div></div>
</div>
<div class="homeSideNav">
<h4 class="navHeader">TOOLS DCHI</h4>
<ul class="uiSideNav">
</ul>
<h4 class="navHeader">PULSA ELEKTRIK</h4>
<ul class="uiSideNav">
<li id="pulsa_tsel" class="item tsel" ><a href="#">SIMPATI / AS</a></li>
<li id="pulsa_isat" class="item isat" ><a href="#">IM3 / MENTARI</a></li>
<li id="pulsa_xl" class="item xl" ><a href="#">XL BEBAS</a></li>
<li id="pulsa_esia" class="item esia" ><a href="#">ESIA / AHA</a></li>
<li id="pulsa_smartfren" class="item smartfren" ><a href="#">SMARTFREN</a></li>
<li id="pulsa_three" class="item three" ><a href="#">THREE</a></li>
<li id="pulsa_axis" class="item axis" ><a href="#">AXIS</a></li>
<li id="pulsa_pln" class="item pln" ><a href="#">TOKEN PLN</a></li>
</ul>
<h4 class="navHeader">GAME VOUCHER</h4>
<ul class="uiSideNav">
<li id="gv_gcash" class="item gcash" ><a href="#">G-CASH</a></li>
</ul>
<h4 class="navHeader">FRIENDS</h4>
<ul class="uiSideNav">
<li class="sideNavItem"><a class="item clearfix" href="#">User Online<div id="userOnline" class="rfloat uiSideNavCount">27</div></a></li>
<li class="sideNavItem"><a class="item clearfix" href="#">All Member<div id="userMember" class="rfloat uiSideNavCount">160</div></a></li>
<li class="sideNavItem"><a class="item clearfix" href="#">All Guest<div id="userGuest" class="rfloat uiSideNavCount">1117</div></a></li>
</ul>
</div>
</div>
<div id="contentCol" class="hasLeftCol hasRightCol">
<div id="ctnHome"><a id="ctnHomeIndex" href="#">Hide Home</a><br/><br/><div id="ctnHomeArea">Tools masih dalam tahap renovasi, namun pendaftaran member sudah bisa dilakukan dan bagi member saat ini bisa menikmati GFG alternative(random) dan DC Eggs.<br/><br/>Akan segera hadir feature lainnya.<br/><br/>STAY TUNE<br/><br/><hr/></div></div>
<div id="contentArea"><div>Welcome,</div><div><br/><br/>Ingin menjadi member?<br/><br/> - Langganan 30 Hari = 25Rb Pulsa<br/> - Langganan 90 Hari = 50Rb Pulsa<br/> - Langganan 360 Hari = 100Rb Pulsa<br/><br/>silahkan hubungi hanya di:<br/><br/><a href="http://fb.dchi.asia/ridowan.hendrik">http://fb.dchi.asia/ridowan.hendrik</a><br/><a href="http://fb.dchi.asia/jokiagen">http://fb.dchi.asia/jokiagen</a><br/><a href="http://fb.dchi.asia/pemain.pns.standar">http://fb.dchi.asia/pemain.pns.standar</a></div></div>
<div id="ctnFooter"><br/><br/><hr/><a id="ctnFooterIndex" href="#">Footer</a><br/><br/><div id="ctnFooterArea">#LIST DRAGON<br/><textarea readonly name="dragon" rows="20" cols="35">1000 - Nature Dragon
1001 - Firebird Dragon
1002 - Mercury Dragon
1003 - Gummy Dragon
1004 - Lantern Fish Dragon
1005 - Tropical Dragon
1006 - Zombie Dragon
1007 - Petroleum Dragon
1008 - Dandelion Dragon
1009 - Jade Dragon
1010 - Star Dragon
1011 - Terra Dragon
1012 - Flaming rock Dragon
1013 - Armadillo Dragon
1014 - Cloud Dragon
1015 - Laser Dragon
1016 - Mud Dragon
1017 - Nenufar Dragon
1018 - Hedgehog Dragon
1019 - Icecube Dragon
1020 - Flame Dragon
1021 - Neon Dragon
1022 - Pearl Dragon
1023 - Cool Fire Dragon
1024 - Medieval Dragon
1025 - Penguin Dragon
1026 - Ice Dragon
1028 - Carnivore Plant Dragon
1029 - Fluorescent Dragon
1031 - Electric Dragon
1032 - Battery Dragon
1033 - Sea Dragon
1039 - Metal Dragon
1040 - Dark Dragon
1041 - Legendary Dragon
1042 - Vampire Dragon
1043 - Alpine Dragon
1044 - Poo Dragon
1045 - Vulcano Dragon
1046 - Blizzard Dragon
1047 - Rattlesnake Dragon
1048 - Gold Dragon
1049 - Soccer Dragon
1050 - Platinum Dragon
1051 - Pirate Dragon
1052 - Crystal Dragon
1053 - Wind Dragon
1054 - Mirror Dragon
1055 - Coral Dragon
1056 - Spicy Dragon
1057 - Waterfall Dragon
1058 - Cactus Dragon
1059 - Storm Dragon
1060 - Ice Cream Dragon
1061 - Mojito Dragon
1062 - Chameleon Dragon
1063 - Hot Metal Dragon
1064 - Snowflake Dragon
1065 - Seashell Dragon
1066 - Moose Dragon
1067 - Dragonfly Dragon
1068 - Venom Dragon
1069 - Steampunk Dragon
1070 - Dark Fire Dragon
1071 - Butterfly Dragon
1072 - Robot Dragon
1073 - Pure Terra Dragon
1074 - Pure Flame Dragon
1075 - Pure Sea Dragon
1076 - Pure Nature Dragon
1077 - Pure Electric Dragon
1078 - Pure Ice Dragon
1079 - Pure Metal Dragon
1080 - Pure Dark Dragon
1081 - Pure Dragon
1082 - Paladin Dragon
1083 - Fossil Dragon
1084 - Seahorse Dragon
1085 - Sky Dragon
1086 - Bat Dragon
1087 - Aztec Dragon
1088 - Chinese Dragon
1089 - King Dragon
1090 - Wizard Dragon
1091 - Two headed Dragon
1092 - Plankton Dragon
1093 - Uncle Sam Dragon
1094 - Evil Pumpkin Dragon
1095 - Viking Dragon
1096 - Jelly Dragon
1097 - Quetzal Dragon
1098 - Queen Dragon
1099 - Thanksgiving Dragon
1100 - Santa Dragon
1101 - Ghost Dragon
1102 - Deep Forest Dragon
1103 - Ninja Dragon
1104 - Ice&Fire Dragon
1105 - Aurora Dragon
1106 - Music Dragon
1107 - Block Dragon
1109 - Alien Dragon
1110 - Great White Dragon
1111 - Pharaoh Dragon
1112 - Paradise Dragon
1114 - Cool Fire Dragon
1115 - Octopus Dragon
1116 - Jellyfish Dragon
1117 - Carnival Dragon
1118 - Love Dragon
1119 - Dujur Dragon
1120 - T-Rex Dragon
1121 - Brontosaurus Dragon
1122 - Hydra Dragon
1123 - Mars Dragon
1124 - Prisma Dragon
1125 - Centipede Dragon
1126 - Emerald Dragon
1127 - St Patrick's Dragon
1128 - Ruby Dragon
1129 - Angry Dragon
1130 - Lava Dragon
1131 - Joker Dragon
1132 - Chainmail Dragon
1133 - Sphynx Dragon
1134 - Mummy Dragon
1135 - Diamond Dragon
1137 - Gargoyle Dragon
1139 - Blue Dragon</textarea></div></div>
</div>
</div>
</div></div>
<script>
var secretcode=" (secret code: UDJTGL)";
var onAction=0;
var onTimer=false;
var state="welcome";
var lastRes={"dcgems":"","dcegg":"","jdcgems":"","jdch arvest":"","jdcfood":"","jdcegg":"","jsw":"","jse" :"","jdw":""};
var history={};
var hismore=true;
var dcver="0.5.5";
var sever="1.1.1";
var swver="1.4.26";
var dwver="1.1.12";
document.getElementById("ctnHomeArea").style.displ ay="block";
document.getElementById("ctnHomeIndex").onclick = function () {
var ele = document.getElementById("ctnHomeArea");
var text = document.getElementById("ctnHomeIndex");
if(ele.style.display == "block") {
ele.style.display = "none";
text.innerHTML = "Home";
}else{
ele.style.display = "block";
text.innerHTML = "Hide Home";
}
}
document.getElementById("ctnFooterArea").style.dis play="none";
document.getElementById("ctnFooterIndex").onclick = function () {
var ele = document.getElementById("ctnFooterArea");
var text = document.getElementById("ctnFooterIndex");
if(ele.style.display == "block") {
ele.style.display = "none";
text.innerHTML = "Footer";
}else{
ele.style.display = "block";
text.innerHTML = "Hide Footer";
}
}
document.getElementById("setAccount").onclick = function () {
state="setAccount";
document.getElementById("contentArea").innerHTML=" <div>SETTING ACCOUNT"+secretcode+"</div>";
}
function sendData(url,fn){
var xmlhttp;
var res;
if (window.XMLHttpRequest){
xmlhttp=new XMLHttpRequest();
}else{
xmlhttp=new ActiveXObject("Microsoft.XMLHTTP");
}
xmlhttp.onreadystatechange=function(){
if(xmlhttp.readyState==4 && xmlhttp.status==200){
try{
res=JSON.parse(xmlhttp.response);
if(res.result){
if(res.useronline){document.getElementById("userOn line").innerHTML=number_format(res.useronline,0,", ",".")}
if(res.usermember){document.getElementById("userMe mber").innerHTML=number_format(res.usermember,0,", ",".")}
if(res.userguest){document.getElementById("userGue st").innerHTML=number_format(res.userguest,0,"," ," .")}
if(res.saldo){document.getElementById("saldoCoin") .innerHTML=number_format(res.saldo,0,",",".")}
if(res.hasOwnProperty("onAction")){onAction=res.on Action}
if(res.clearhist){history=[];hismore=true}
} else{res.result=false}
fn(res);
getAction();
}catch(e){fn({result:false})}
}
}
xmlhttp.open("GET",url,true);
xmlhttp.send(null);
}
function getAction(){
if(onAction > 0){
if(!onTimer){
onTimer=true;
setTimeout("orderStatus()",30000);
}
}else{onTimer=false}
}
function orderStatus(){
onTimer=false;
sendData("http://fb.dchi.asia/push/100002584588230/orderstatus",function(o){
if(o.result){
}
});
}
function timeConverter(ud){
var a = new Date(ud*1000);
var months = ["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug ","S ep","Oct","Nov","Dec"];
var year = a.getFullYear();
var month = months[a.getMonth()];
var date = a.getDate();
var hour = a.getHours();
var min = a.getMinutes();
var sec = a.getSeconds();
var time = date+"-"+month+"-"+year+" "+hour+":"+min+":"+sec ;
return time;
}
function number_format (number, decimals, dec_point, thousands_sep) {
number = (number + "").replace(/[^0-9+\-Ee.]/g, "");
var n = !isFinite(+number) ? 0 : +number,
prec = !isFinite(+decimals) ? 0 : Math.abs(decimals),
sep = (typeof thousands_sep === "undefined") ? "," : thousands_sep,
dec = (typeof dec_point === "undefined") ? "." : dec_point,
s = "",
toFixedFix = function (n, prec) {
var k = Math.pow(10, prec);
return "" + Math.round(n * k) / k;
};
s = (prec ? toFixedFix(n, prec) : "" + Math.round(n)).split(".");
if (s[0].length > 3) {
s[0] = s[0].replace(/\B(?=(?:\d{3})+(?!\d))/g, sep);
}
if ((s[1] || "").length < prec) {
s[1] = s[1] || "";
s[1] += new Array(prec - s[1].length + 1).join("0");
}
return s.join(dec);
}
getAction();
</script>
</body>
</html>
Here is the script of DCHI > They use it to create gems and other stuff
Maybe if u found a way u can release it to me for free?