Debugging bots with VC6
Hey there.
I''m new to DLL development. I have tried to run my DLL bot with VC6. It comes up with a window to specify the .exe to run it on. So I choose the GD arena, however it crashed with a normal access violation. Is this just becuase its imposible to debug the bot from running it in the development environment, or am I doing something wrong? Is the only way to debug to use logs or the taunt?
Sorry about asking this, but this is my first DLL =/
Cheers,
-J
August 04, 2003 05:27 PM
You probably have to set the working directory for the application to be the bin folder of gdarena. Try looking in the debug part of the configuration settings, it should be listed near there. You can also set the output .dll to be placed in the bots folder.
Hmm, when I start the debug with ''go'', it starts the program and declares a draw.. Is it non-functional with debuging for everyone?
-J
-J
Is it a bug that when i tell it to run to cursor after i''ve stepped through my code the first time, that a message comes up saying my bot took too long? This is in debug mode aswell.
-J
-J
quote: Original post by Jason2Jason
Is it a bug that when i tell it to run to cursor after i''ve stepped through my code the first time, that a message comes up saying my bot took too long? This is in debug mode aswell.
-J
No, it''s not a bug. You have to set the gdarena.ini file to "debug" instead of "release".
Admin for GameDev.net.
i know, I said that it was stated in the ini as debug.
-J
[edited by - jason2jason on August 5, 2003 11:43:14 AM]
-J
[edited by - jason2jason on August 5, 2003 11:43:14 AM]
Then that''s a defect that will be fixed in the next update.
Admin for GameDev.net.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement