Pure Flattening Movement Bot

Jump to navigation Jump to search

Pure Flattening Movement Bot

Could someone direct me to a strong bot which only flattens, without surfing, or instruct on me how to change a top bot( DrussGT, Diamond, etc) so that it only uses its flattener? Thanks in advance.

Straw (talk)01:22, 31 January 2014

Sure. In Diamond, it's all in voidious/move/MoveEnemy.java. Just comment out some of these:

    addView(simple);
    addView(normal);
    addView(recent);
    addView(recent2);
    addView(recent3);
    addView(recent4);
    addView(recent5);
    addView(recent6);
    addView(lightFlattener);
    addView(flattener);
    addView(flattener2);
Voidious (talk)01:29, 31 January 2014

Oops, sorry, you'll also want to remove the hit percentage thresholds, like:

        .setPaddedHitThreshold(FLATTENER_HIT_THRESHOLD)

Flattener is only enabled at a certain hit percentage, but you want it always on.

Voidious (talk)01:32, 31 January 2014

Just making sure, this will also disable normal hit logging, so it will only dodge places its been before, not where its been hit? Will I also have to add something to its move history so it has some at the beginning?

Straw (talk)02:01, 31 January 2014

I don't think that will be a problem. I just checked and it's hard-coded to dodge head-on targeting (GF=0) when it doesn't have any stats. It doesn't pre-load the trees or anything, it's just a special case in the code.

Voidious (talk)02:32, 31 January 2014

And yep, all the data sets are configured there, hits and visits are both "first-class citizens". ;)

Voidious (talk)02:33, 31 January 2014
 
 
 

Comment out "some"?

Straw (talk)03:54, 31 January 2014

I'd leave just flattener and flattener2. The lightFlattener is pretty new and enabled at a lower hit percentage threshold, so I dunno, up to you.

Voidious (talk)04:22, 31 January 2014