View Full Version : Tracking down Accessed None errors
Aahz
5th Sep 2001, 11:17 AM
A section of code I'm writing is generating Accessed None errors in some of the default game code that I haven't touched, for example:
Assault0 (Function Botpack.Assault.FindSpecialAttractionFor:0081) Accessed None
I can find the code for FindSpecialAttractionFor in the Assault game, but where do I go from there? How does one track down the cause of these errors? What does the 0081 mean?
Thanks for any pointers...
2COOL4-U
5th Sep 2001, 11:21 AM
log log log :) I am currently fixing Accessed nones in my code too.
log("!!!!DEBUG!!!! GameCombo: "$GameCombo);
MapCombo.SetSize(CenterWidth, 1);
MapCombo.WinLeft = CenterPos;
MapCombo.EditBoxWidth = 150;
log("!!!!DEBUG!!!! MapCombo: "$MapCombo);
MapListButton.AutoWidth(C);
log("!!!!DEBUG!!!! MapListButton: "$MapListButton);
log("!!!!DEBUG!!!! MapListButton.WinWidth: "$MapListButton.WinWidth);
// MutatorButton.AutoWidth(C);
MapListButton.WinWidth = Max(MapListButton.WinWidth, MutatorButton.WinWidth);
// MutatorButton.WinWidth = MapListButton.WinWidth;
MapListButton.WinLeft = (WinWidth - MapListButton.WinWidth)/2;
// MutatorButton.WinLeft = (WinWidth - MapListButton.WinWidth)/2;
log("!!!!DEBUG!!!! MapListButton: "$MapListButton);
log("!!!!DEBUG!!!! MapListButton.WinWidth: "$MapListButton.WinWidth);
log("!!!!DEBUG!!!! MapListButton.WinLeft: "$MapListButton.WinLeft);
this is how I get rid of accessed nones :)
Aahz
5th Sep 2001, 11:33 AM
Thanks! I've been using a combination of Log and BroadcastMessage to work out the bugs in my code, but I guess I'll have to start adding them to the base UT code in order to find the problems I'm indirectly causing there. :)
vBulletin® v3.8.7, Copyright ©2000-2013, vBulletin Solutions, Inc.