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

You do not have permission to edit this page, for the following reasons:

  • The action you have requested is limited to users in the group: Users.
  • You must confirm your email address before editing pages. Please set and validate your email address through your user preferences.

You can view and copy the source of this page.

Return to Thread:Talk:Flattener/Pure Flattening Movement Bot/reply (5).

 
 
 

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