hacker.org Forum Index
RegisterSearchFAQMemberlistUsergroupsLog in
Troubles with "run natively" option of the simulat

 
Reply to topic    hacker.org Forum Index » Wormageddon View previous topic
View next topic
Troubles with "run natively" option of the simulat
Author Message
nbarriga



Joined: 13 Jul 2007
Posts: 19

Post Troubles with "run natively" option of the simulat Reply with quote
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
Fri Jul 20, 2007 6:28 pm View user's profile Send private message
nbarriga



Joined: 13 Jul 2007
Posts: 19

Post Reply with quote
I narrowed down the error: it only happens when I try to access "int[][] enemies"
Fri Jul 20, 2007 9:03 pm View user's profile Send private message
adum



Joined: 19 Apr 2007
Posts: 390

Post Reply with quote
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
Fri Jul 20, 2007 10:07 pm View user's profile Send private message Visit poster's website
adum



Joined: 19 Apr 2007
Posts: 390

Post Reply with quote
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
Fri Jul 20, 2007 10:16 pm View user's profile Send private message Visit poster's website
nbarriga



Joined: 13 Jul 2007
Posts: 19

Post Reply with quote
Ok, I just uploaded it.
Fri Jul 20, 2007 10:59 pm View user's profile Send private message
adum



Joined: 19 Apr 2007
Posts: 390

Post Reply with quote
okay, i've fixed the problem. the new SDK should work for you.

thanks!

adum
Sat Jul 21, 2007 12:18 am View user's profile Send private message Visit poster's website
nbarriga



Joined: 13 Jul 2007
Posts: 19

Post Reply with quote
Thanks, works OK.
Sat Jul 21, 2007 1:19 am View user's profile Send private message
Display posts from previous:    
Reply to topic    hacker.org Forum Index » Wormageddon All times are GMT
Page 1 of 1

 
Jump to: 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group
Design by Freestyle XL / Flowers Online.