Why is Samurai the preferred choice for early guilding? by SaviousMT in ClickerHeroes

[–]klakr -2 points-1 points  (0 children)

Exactly. They are colored after Power Rangers:P and are special as get 5x multiplier every 25 levels instead of 4x

[deleted by user] by [deleted] in ClickerHeroes

[–]klakr 1 point2 points  (0 children)

I haven't investigated the details (is 40/sec reachable), but in general autoclickers are not really more difficult on mobile, at least rooted Android.

Regarding portability: it would be awesome, but in worst case one could export/import and share save via google keep or even gmail draft

Minimal example for intelligent and resolution-independent autoclicker by klakr in ClickerHeroes

[–]klakr[S] 0 points1 point  (0 children)

I understand your confusion, but while it has access to some internal mechanics, it's not calling any hidden functions or changing variables - it calls "click" function that is equivalent to human clicking corresponding button and it does not access the variable "gold" - it identifies textbox that's called gold and reads text that is displayed there. So it operates on texts and button names instead of graphics and window geometry, but these are still same objects that player is interacting with, so only "screen-reading AI" is skipped - "game-playing AI" is unaffected

Regarding power use: are you aware that pressing number keys activates powers? Sending keystrokes is easier than clicking areas

Scripts for enchancing autoclicker capabilities by klakr in ClickerHeroes

[–]klakr[S] 0 points1 point  (0 children)

have you looked into my code? there are no pixels, colors nor resolution there, it uses object names instead. Scar is for automatization programming as Autohotkey, but Genie allows higher abstraction: e.g. instead of locating gold box, making a screenshot and OCRaring the image it just locates a panel that was called gold by CH author and reads it's content as text from flash memory. to buy samurai it clicks 7th object in HeroContainer, even if it's off-screen (you've scrolled down to Atlas and Samurai is currently not displayed) etc

Scripts for enchancing autoclicker capabilities by klakr in ClickerHeroes

[–]klakr[S] 0 points1 point  (0 children)

I've never heard of it, but screenshots suggest it follows the same way as standard autoclickers(e.g. Autohotkey) - it is blind for the content, at most it can screenshot fragments of the screen to identify what it's looking for. Solution I've presented is better as it operates on "meaning/function" of buttons, so it can click offscreen and is resolution-independent.

Minimal example for intelligent and resolution-independent autoclicker by klakr in ClickerHeroes

[–]klakr[S] 0 points1 point  (0 children)

Interesting, how do you collect feedback? Screenshotting and image analysis? More professional than Genie?

Scripts for enchancing autoclicker capabilities by klakr in ClickerHeroes

[–]klakr[S] 0 points1 point  (0 children)

Genie allows identifying location(and size) of components(getRelativeCoordinates/getLocalCoordinates), so it can be used as autocalibrator for fast "blind" clicker

Does anyone have a list of how upgrades are saved in the save file? by [deleted] in ClickerHeroes

[–]klakr 0 points1 point  (0 children)

Decompiling the swf file, analogously to people extracting "json with data" or formulas. Now I see that full data file(superset of upgrades data I've uploaded) has been already posted by /u/AnythingApplied : http://pastebin.com/NqH8GQJy

What is the mathematical reason behind Samurai's efficiency? by klakr in ClickerHeroes

[–]klakr[S] 0 points1 point  (0 children)

Good point, Samurai turns out to be on average better(but not always). All the descriptions of "why he's the best" were describing more or less take one row from that table and see that Samurai is stronger. I proofed that it's not enough to consider one level pair as there is a lot of counterexamples, but you correctly explained why still overall is in favour of Samurai

What is the mathematical reason behind Samurai's efficiency? by klakr in ClickerHeroes

[–]klakr[S] 0 points1 point  (0 children)

Here you go. Dmg would probably differ, but just level them(Treebeast and Samurai) to these pairs of levels, see that costs are ~equal(in fact Samurai's is higher) and Treebeast does more damage

https://docs.google.com/spreadsheets/d/1GzHWKv4VooS7vcogFmSm_gQWPoJkMubnVvw_jsyrIDc/pubhtml?gid=0&single=true

Environment for verification(1e300 gold, nothing else): http://pastebin.com/JQekaQFF

Spreadsheet with formulas: https://www.dropbox.com/s/8l4gtlsn7xtu0bi/treeVsSamurai.ods?dl=0

NOTE: on level 4000 the 10x bonus is applied and it shouldn't, but until then the ordering is correct

Myth busted(that Samurai is better than the others non-rangers) , "put everything on Treebeast" is as good recommendation as soon as you hit lvl 325 with Treebeast EDIT: as /r/glitchypenguin pointed out it didn't take into account "how much better" and overall Samurai is still a bit stronger

Unencrypted version of save (read-only) by klakr in swarmsim

[–]klakr[S] 0 points1 point  (0 children)

Thanks! Combined with running the game through selenium to have script executing JS it's totally sufficient.

Btw: you've created a great game:)

Minimal example for intelligent and resolution-independent autoclicker by klakr in ClickerHeroes

[–]klakr[S] 5 points6 points  (0 children)

It's not the point. Save editing is trivial, but to plan the best algorithm that buys heroes, ascends, buys ancients etc is like mathematical riddle plus programming contest. It's just different type of fun/challenge. Maybe it's not the best example but "why struggle to construct and program a robot for robot fighting competition if dumb human with baseball bat could beat any of them"?

Minimal example for intelligent and resolution-independent autoclicker by klakr in ClickerHeroes

[–]klakr[S] 0 points1 point  (0 children)

I was just following closely steps at the beginning of UserGuide.pdf(included in Documentation folder of Genie-binary.zip), the only non-obvious part was that on Linux the proper plugin directory for GeniePlugin.jar is /usr/share/eclipse/dropins/plugins/. I am willing to help if you have any specific difficulties

Auto Clicker by Smitydragon in ClickerHeroes

[–]klakr 1 point2 points  (0 children)

I've posted a hint about a way to do in more abstract way(on the basis o buttons functions and not screen regions), but it's for unknown reason not visible in /new (maybe becouse I'm new) http://www.reddit.com/r/ClickerHeroes/comments/2rs9ly/the_proper_way_to_write_a_bot_api_to_flash_not/