50% Packetloss Posted October 13, 2003 Report Posted October 13, 2003 The bot is uploaded here,http://forums.minegoboom.com/viewtopic.php...p?p=10839#10839 Someone wanted to have a fighting type game, so that if they went into a building the roof would come off and they left it would go back on, with lvz. Someone suggested that TM Baw was just like this so i started to edit the code. In theory my code should work fine, and it does parcially. When i step into the target area, the bot will do *objon, but stepping out the bot crashes for some unknown reason. I explained on the forum how basiclly it works but the code at the bottom would probably be the best way to figure it out. I will be your sex slave for life if you find my problem
Mr Ekted Posted October 13, 2003 Report Posted October 13, 2003 You have the source. Debug it, and when it crashes, you have the exact line and the values of all the variables.
50% Packetloss Posted October 13, 2003 Author Report Posted October 13, 2003 Joo are a F-ing genious, -*BAD WORD*- microsoft almost hides that debug button in XP. Looked at it and imediatly knew the problem, thx ekted
Mr Ekted Posted October 13, 2003 Report Posted October 13, 2003 Debug button in XP? Why don't you use the debugger that comes with your compiler?
50% Packetloss Posted October 13, 2003 Author Report Posted October 13, 2003 XP pops up a window that tells me all the useless facts about the crash, clicking debug will open visual studio
Darkflare Posted October 13, 2003 Report Posted October 13, 2003 that is, if you have it set to debug.
Mr Ekted Posted October 14, 2003 Report Posted October 14, 2003 Why not just run your bots in debug mode in Visual Studio from the beginning when you are developing/testing them?
ExplodyThingy Posted October 14, 2003 Report Posted October 14, 2003 (ie: Use F5 to run them in debug mode from within VS)
Recommended Posts