Hello everybody, as you know, i made some hack for dragon city, but i will stop now. And before, i will share all my knowledges with you.. It is not much but perhaps that it will help you.
It will be a long post.
The first thing that i found was the dragoncity test servers, the devs of the app used some test server and we found the urls.. Unfortunately they cut off access to the largest in the night...
(All urls will be reduced to avoid google indexations)
-http://bit.ly/13yjifg it was this one now, forbbiden access... (Use the google cache fast if you want to see it)
-http://bit.ly/1cslo7f another one, less big and cut this night too (use google cache to access it)
-http://bit.ly/15y4kZD and the last, also cut this night.
Yesterday, when the links were still active, i copy the list of all actuals commands that you can still use.
-http://bit.ly/11x3xrp For use them, you need to add "_" after each words: exemple for AssistNeighbor.php -> "assist_neighbor" will be the command.
I also copy yesterday, the list of all items id, there will be some new dragons: id 1181 to 1193 with loki dragon & thor dragons
Here is the link:
The items id's are very usefull in commands...
Now for try & launch commands, you need a script. Ballot made one very usefull. Just copy the data into a .php file. Install xampp, and put the php file in the htdocs folder of xampp, you will be able to access to the script through this url:
-http://bit.ly/1aZ50tf here is the script.
And the last thing that i want to share, is the .swf hack.
It is thanks to this that i found the Monstruous dragon egg hack, so do not overlook the power of this tool.
With this tool, you can extract .swf data. I speak about this tool:
On this page, all the steps for extract a .swf and To assemble the .asasm files back, and update the SWF file.
Here is the link of the last update of the .swf file of dragon city.
-http://bit.ly/18UbnAX
I don't know if this .swf is already integrated in the facebook hack.
That's it! It is here that i stop. Please i have only one request, if you found something, like me, make it FREE, and use this tools to avoid server overloading...
Thank to all for your support !
Edit: i forgot to say one thing: The commands need to be type like this in the script that i share:
{"commands":[{"args":[putyourargshere],"number":1,"cmd":"commandenamehere","time":137284 4166}]}
Added UID finding:
You can get the uid's here. Just replace "yourfbid" in the url by a fb id. If you curl this url, you will receive a lot of json data. For use them with php, you will need to make some things.
Exemple:
$data = curl_exec ($ch);
You launch the curl url. And receive the data of it in the var called $data
curl_close ($ch);
You close the curl connexion
$data=substr($data,65);
You need to delete the hash that is in the first. (65 character deleted on the string)
$data=json_decode($data,1);
After this, you can launch the json decode command. You will get an array that contain all the json data.
If you are on chrome and that you want to see how the json is written.
-Launch the url that i gave to u in your browser.
-Copy all data in a .txt file (except the first 65 character (the hash) ).
-Rename the file in data.json
-Install this on chromehttps://chrome.google.com/webstore/detail/jsonview/chklaanhfefbnpoihckbnefhakgolnmc
-And drag and Drop the file in chrome, you will see how it's made.
If you want to use the json data that you receive in the $data var. You need to know how work the array in php.
I will give u an exemple. For sell a dragon you need his id, you can find this id in the json data.
First of all, you need to understand where you will search and with what you will search.
I choose to search with an dragon id (like 1000 for the terra dragon).
As you can see, the json file is divided in big part.
The first is PlayeInfo, the second is privateState and the third is map.
As you can see, what we want to search is in map:
Therefore, we search with a dragon id. As you can see, the dragon id is in "type" and the uid of the dragon (the uid is the id of the dragon in YOUR game
& in the socialpoint database, it is with it that you can sell a dragon) is on a higger level.
So for get the uid, make like this:
-$data contains the json data that you receive with the curl.
-['map']['dragons'] is the level where you search and $id contains the $id of the dragons
that you search (ex 1000 if you search terra)
-$k will contains the dragon uid if you have a terra dragon in your dragoncity
foreach($data['map']['dragons'] as $k => $v)
{
if(is_array($v) && $id==$v['type'])
{
return $k;
}
}
After this you can sell the dragon with command sell_dragon and with the $k var in the arg.
Good evening