Skip to content

Processed Tower Defense (HTML5)

-migrated-

15 posts

Processed Tower Defense (HTML5)

Posted Apr 9, 2010 5:23 pm

Decided to look into hacking HTML5 games, in the possible eventuality that it replaces Flash. Processed tower defense (Link) is a pretty simple tower defence game.

Values are *2 + 1, so if you have 200 gold you search for 401. Applies to all the values I tried. AoBs in the same sense as Flash are presumably not possible, but the game can be edited using auto assembler (and AoBs in that sense are possible).

Re: Processed Tower Defense (HTML5)

Posted Apr 9, 2010 7:39 pm
Quote from: "KongregateHack"
(broken image removed)



So you can just modify everything you want with just Firebug?

Re: Processed Tower Defense (HTML5)

Posted Apr 9, 2010 7:52 pm

Or just go to address bar and type

Code: [Select]

javascript: SET.nukes=99999;
javascript: SET.gold=99999;

or simply this one line will do both at once. paste it into address bar and press enter

Code: [Select]

javascript: SET.nukes=99999; SET.gold=99999;

(broken image removed)

Re: Processed Tower Defense (HTML5)

Posted Apr 9, 2010 8:14 pm
Quote from: "pkedpker"
Or just go to address bar and type

Code: [Select]
javascript: SET.nukes=99999;
javascript: SET.gold=99999;

or simply this one line will do both at once. paste it into address bar and press enter

Code: [Select]
javascript: SET.nukes=99999; SET.gold=99999;

(broken image removed)

I guess that only works in Chrome? Whenever I type that and hit enter it will change for a split second, but then go to a blank page with 99999 on the screen. (For Firefox)

Re: Processed Tower Defense (HTML5)

Posted Apr 9, 2010 8:30 pm

yeah, i get the blank screen too. but firebug does work. How would they protect these games from hackers if it can be so easily hacked? If html5 does replace flash, I hope the developers find a method to make our lives a little more challenging.

Re: Processed Tower Defense (HTML5)

Posted Apr 9, 2010 8:31 pm

Strange it should work for all browsers that support javascript or else the game won't even run..

try doing one at a time and don't forget the javascript: tag in front..

tested IE7 and chrome works perfectly.
Don't have firefox installed.
Firefox has greasemonkey which works of this trick lol it should work.

in firefox it's probably more controlled you would have to probably do this below!

Code: [Select]

javascript:window.SET.gold = 9999;

Re: Processed Tower Defense (HTML5)

Posted Apr 9, 2010 8:43 pm
Quote from: "pkedpker"
Strange it should work for all browsers that support javascript or else the game won't even run..

try doing one at a time and don't forget the javascript: tag in front..

tested IE7 and chrome works perfectly.
Don't have firefox installed.
Firefox has greasemonkey which works of this trick lol it should work.

in firefox it's probably more controlled you would have to probably do this below!

Code: [Select]
javascript:window.SET.gold = 9999;

nope, still giving the same screen. shouldn't all browsers handle java the same way?

Re: Processed Tower Defense (HTML5)

Posted Apr 9, 2010 8:47 pm

they should and they do.. just some have different ways they handle the same commands in terms of speed.

have no idea why you get white screen. look at firebug log and tell me what it says anything about being undefined?


Oo forgot about document try

Code: [Select]

javascript:document.SET.gold = 999999;

maybe in your case you need to add buttons
viewtopic.php?f=11&t=289&start=30#p3809

look at what deity wrote

Re: Processed Tower Defense (HTML5)

Posted Apr 9, 2010 8:57 pm
Quote from: "pkedpker"
they should and they do.. just some have different ways they handle the same commands in terms of speed.

have no idea why you get white screen. look at firebug log and tell me what it says anything about being undefined?


Oo forgot about document try

Code: [Select]
javascript:document.SET.gold = 999999;

maybe in your case you need to add buttons
viewtopic.php?f=11&t=289&start=30#p3809

look at what deity wrote

document doesn't give the white screen, but it doesn't do anything either. I'll take a look at the buttons when I have the time.

Re: Processed Tower Defense (HTML5)

Posted Apr 10, 2010 1:41 am
Quote from: "KongregateHack"
Try this:
Code: [Select]
javascript:function setVariables(){ SET.nukes = 99999; SET.gold = 99999; }; setVariables();

thx KH. that line of code seems to work.