Post subject: Basicbot trouble
Chamale
He/Him
Player (178)
Joined: 10/20/2006
Posts: 1352
Location: Canada
I'm having trouble figuring out Basicbot. Mostly, just the part for "goal". The instructions that come with FCEU 0.98.16 are not very clear on this point. I wrote a program that plays the final boss fight in RCR for 500 frames. I put the goal for "maximize" as -04C2 (The negative of the boss health bite) and the tiebreaker 1 as -04BD (The negative of the boss willpower bite). However, the best movie (Out of 20,000 simulations) did no damage at all to the boss. What should I be setting the goal as?
Player (120)
Joined: 2/11/2007
Posts: 1522
Well, it could be a couple of things. First of all, be sure you are using the function mem(x4C2) and not just 4C2 which it will interpret as just a constant value (or actually jibberish, since unless you precede a number with x it will be interpretted as decimal not hex). Or it could be somthing else... what are you setting A B etc. to do? also check out qFox's better instructions here if you haven't already.
I make a comic with no image files and you should read it. While there is a lower class, I am in it, and while there is a criminal element I am of it, and while there is a soul in prison, I am not free. -Eugene Debs
Joined: 4/25/2004
Posts: 615
Location: The Netherlands
There is a major bug in the bb in .16 with nesting iifs. The bug being that it can't nest iifs. As for the goals, you seem to be setting it correct. I've forgotten what the original BB looks like. Be aware that it's not goal that ends an attempt, but 'end when' (OR if it reaches 2000 frames). When an attempt ends it will compare the 'goal' and replaces the old attempt ('best attempt') if it's goal is lower then your current goal (hence you invert your scores if you want the lowest goal).
qfox.nl