Page 1 of 1

Troubles with "run natively" option of the simulat

Posted: Fri Jul 20, 2007 6:28 pm
by nbarriga
My bots don't work properly when I don't check the "Run natively" checbox in the simulator. They ignore all commands and just crash against the nearest wall.

The following exception is printed to the console:

Jul 20, 2007 2:25:35 PM ojvm.machine.ControlUnit makeAndThrow
INFO: new exception: java.lang.VerifyError, msg: No value at index 7 of LocalVars
failure to thinknull

Posted: Fri Jul 20, 2007 9:03 pm
by nbarriga
I narrowed down the error: it only happens when I try to access "int[][] enemies"

Posted: Fri Jul 20, 2007 10:07 pm
by adum
hmmn, it's probably a bug in the HackJVM. i will try running your bot to figure it out and let you know when i have it fixed.

thanks for letting me know,
adum

Posted: Fri Jul 20, 2007 10:16 pm
by adum
hey, it seems you have uploaded a fixed version. would you mind sending me the classfile for the version that failed so i can try to fix the JVM?

thanks,
adum

Posted: Fri Jul 20, 2007 10:59 pm
by nbarriga
Ok, I just uploaded it.

Posted: Sat Jul 21, 2007 12:18 am
by adum
okay, i've fixed the problem. the new SDK should work for you.

thanks!

adum

Posted: Sat Jul 21, 2007 1:19 am
by nbarriga
Thanks, works OK.