Replay Rewrite

By pabst Last update Nov 19, 2011 — Installed 40,499 times.

Noticed the new AI Tester buttons

in
Subscribe to Noticed the new AI Tester buttons 9 posts, 6 voices



Enkidu98 User

Is this still a work in progress? Presently it only shows me one option in the drop down box for testing the AI.

 
pabst Script's Author

Yes. It's supposed to read owned & gm'd teams when you load your home page and put them in the dropdown box. It doesn't check to see if you actually have AI access for those teams however. From what's on your home page, you'll eventually have 5 options. Which option is actually showing and does the script put any errors in the error log when you view your home page?

I'm guessing it's only showing the last team.
*Edit: screw the instructions. I updated the script instead.

I'm not completely sure if it gets all the options right either. So if something looks screwy, you can see the options it used for the AI check by looking at the error console.

 
SeattleNiner Scriptwright

This isn't working at all for my offensive AI - says "no matching inputs" on every play. It does work for the D however. I know that's not much help...sorry!

 
Enkidu98 User

Previously all I could see was the last team that I was made a GM of. Now I show all my teams but I am told it has no matching outputs when I use the test. I'm really not a script guy so is there something I should look for specifically in the error log?

 
Otter Scriptwright

Every time I attempt to use the Tester it seems to pull info from the wrong side of the field. Maybe field position is off? It's obvious by the playcall that the tester is pulling wrong info. Please advise, thanks pabst!

 
pabst Script's Author

When you hit the button, it should print out the situation information to the error console. You can see that by pressing control-shift-J and scrolling around a bit.

It'll look something like this: quarter=4&time_remaining=388&spot_who=own&spot=20&down=3&etc&etc&etc

It's always possible the script is getting something wrong, but putting that information in the AI tester should yield the same result.

 
Stizz User
FirefoxWindows

agree, it appears that the ball spot is reversed. For example, when I look at the AI tester when we are on the opponent's 3 yard line, the results show my AI called "Backed up", which apply when we are inside our own 5. This same error seems to be consistent (reversed) on any part of the field. Thanks for your hard work pabst, this one script is absolute gold.

 
pabst Script's Author
X11

I must have unswapped the own/opp modifiers at some point. Probably a copy/paste gone wrong. Try now.

 
Gustoon Scriptwright
FirefoxWindows

Thats a really great script Pabst :) Love it. Thanks.

Cross
Presentational HTML allowed.
Use <code> for inline code and <pre> for code blocks. Use &lt; and &gt; for literal < and >.
We help break paragraphs and link your links.
or cancel