bACKYARD MONSTER SHINY CHEAT

07/10/2011 00:56 napakatamez03#16
good working drive skull someday you will be a good hacker ,keep it up :)
07/10/2011 01:06 Driveskull#17
thanks ;] just fooling around its easy but it my first time with swf
07/10/2011 15:37 Driveskull#18
public static function Pick(param1:BFOUNDATION) : Boolean
{
;
_loc_4--;
_loc_9++;
var _loc_4:* = null << _loc_2;
var _loc_5:int = 0;
var _loc_6:int = 0;
var _loc_7:* = undefined;
var _loc_8:int = 0;
var _loc_2:* = param1._id;
var _loc_3:String = "";
if (BASE._pendingPurchase.length > 0)
{
return false;
}
if (param1.RecycleC())
{
_loc_4 = new Rndm(int(param1.x * param1.y));
_loc_5 = 0;
_loc_6 = 0;
var _loc_9:* = QUESTS._global;
var _loc_10:* = QUESTS._global.mushroomspicked + 1;
_loc_9.mushroomspicked = _loc_10;
if (int(_loc_4.random() * 4) == 0)
{
var _loc_9:* = QUESTS._global;
var _loc_10:* = QUESTS._global.goldmushroomspicked + 1;
_loc_9.goldmushroomspicked = _loc_10;
_loc_5 = Math.random() * 3 + 1;
if (_loc_5 == 3)
{
_loc_5 = 1;
}
;
_loc_8++;
_loc_9--;
_loc_9++;
_loc_6++;
null.Purchase(BASE, "MUSHROOM" + _loc_5[-1], "MUSHROOMS");
_loc_6 = 3;
if (_loc_5 == 2)
{
_loc_6 = 8;
}
_loc_3 = KEYS.Get("pop_mushroom_msg1", {v1:_loc_6});
_loc_7 = new popup_mushroomshiny();
_loc_7.tTitle.htmlText = "<b>" + KEYS.Get("pop_goldenmushroom_title") + "</b>";
_loc_7.tMessage.htmlText = "You\'ve picked a golden mushroom worth " + _loc_6 + " Shiny. <b>Mushrooms grow back every day.</b>";
POPUPS.Push(_loc_7, null, null, "chaching", "goldmushroom.png");
}
else
{
_loc_8 = int(Math.random() * 3);
if (_loc_8 == 0)
{
_loc_3 = KEYS.Get("pop_mushroom_msg2");
}
else if (_loc_8 == 1)
{
_loc_3 = KEYS.Get("pop_mushroom_msg3");
}
else if (_loc_8 == 2)
{
_loc_3 = KEYS.Get("pop_mushroom_msg4");
}
BASE.Save();
}
LOGGER.Stat([34, _loc_6]);
QUESTS.Check();
;
_loc_4++;
_loc_3--;
_loc_6--;
_loc_9--;
null.Say(null is WORKERS * _loc_3, QUEUE.Remove("mushroom" + _loc_2, true), 3000);
}
return true;
}// end function






look what i found ;] code for spawning mushrooms
07/10/2011 15:42 deniskaftan#19
cool but how to change it?
07/10/2011 15:43 jengskie#20
nice1...
07/10/2011 15:43 Mr.Incredible#21
can you Compile it! so we can Use it! =)
07/10/2011 15:44 Driveskull#22
now nothing its just code which i need to compile but when i find time i will make swf file for fidler ;]
07/10/2011 16:15 adlyn16#23
nice one driveskull
07/10/2011 16:33 Avenger2011#24
oooh may i Help You?
07/10/2011 17:35 rqsl#25
Change this line:

if (int(_loc_4.random() * 4) == 0)

to the following:

if (int(_loc_4.random() * 0) == 0)

Or in AS3 bytecode, 24 04 a2 46 03 01 24 00 -> 24 00 a2 46 03 01 24 00

This makes mushrooms always give shiny. There's some error-detection code that prevents altering the amount, so that'll be more complicated.
07/10/2011 18:20 Driveskull#26
i found that this is server sided , we need to alter the time of spawning someone already posted code for timescale but i think it needed to be current time for mushrooms it will be difficult if every yard have a different spawn time .
07/10/2011 18:41 Driveskull#27
and i afraid that changing this line will not give shiny there can be problem that mushroom will be empty with this so better to
because command is typicaly random
if (int(_loc_4.random() * 2) == 0)
then it gives 50% gaining shiny .
it
07/10/2011 19:42 Fucybers#28
Quote:
Originally Posted by Driveskull View Post
HEY I STARTED TO MODIFY SWF FILE OF BACKYARD MONSTER UNTIL NOW I RELOCATED PART OF SWF THAT IS RESPONSIBILE FOR SHINY IN BACKYARD MONSTERS I WILL GIVE PART OF CODE AND LOOKING FOR REAL HACKERS THAT KNOW SOMETHING ABOUT PROGRAMING TO REWRITE IT SO HERE I GO
WHAT I WROTE IS WORKING WITH MUSHROOMS , NEED TO WRITE NEW SPAWN TIME FOR MUSHROOMS
see,
It edits from me
07/10/2011 20:04 Driveskull#29
what you edited its plain my version only saved as file
07/10/2011 20:26 jengskie#30
Quote:
Originally Posted by Fucybers View Post
see,
It edits from me
its stuck at 100% loading...