Troubles with "run natively" option of the simulat

Post Reply
nbarriga
Posts: 19
Joined: Fri Jul 13, 2007 6:51 pm

Troubles with "run natively" option of the simulat

Post 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
nbarriga
Posts: 19
Joined: Fri Jul 13, 2007 6:51 pm

Post by nbarriga »

I narrowed down the error: it only happens when I try to access "int[][] enemies"
User avatar
adum
Posts: 392
Joined: Thu Apr 19, 2007 12:49 pm
Contact:

Post 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
User avatar
adum
Posts: 392
Joined: Thu Apr 19, 2007 12:49 pm
Contact:

Post 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
nbarriga
Posts: 19
Joined: Fri Jul 13, 2007 6:51 pm

Post by nbarriga »

Ok, I just uploaded it.
User avatar
adum
Posts: 392
Joined: Thu Apr 19, 2007 12:49 pm
Contact:

Post by adum »

okay, i've fixed the problem. the new SDK should work for you.

thanks!

adum
nbarriga
Posts: 19
Joined: Fri Jul 13, 2007 6:51 pm

Post by nbarriga »

Thanks, works OK.
Post Reply