So I'm trying to develop a system that gives you a visual of what buffs you currently have on you. Using a for loop to update itself. I'm still perfecting this, and was trying to see what would happen if I tried destroying the GuiShowImgCtrls each loop before generating new ones. So I added the following line to test destroying the first one on the list:
PHP Code:
Test_ShowImg_1.destroy();
Now when I do this, and hit apply, we get a few Access Violations.
the first one states:
Access violation at address 0B043FA2. Read of address FFFFFFFF.
When we close it, we get a new one:
Access violation at address 021F9DD9. Write of address E6BF87E2.
Next one in the order is:
Access violation at address 021F9DD0. Read of address 800B32BD.
Next is:
Access violation at address 021F9DDE. Write of address 00000004.
And finally:
Access violation at address 0B0DBAB8. Write of address 000001FA.
Every following access violation is a repeat of the last one I've listed. Until of course, you remove the line and put it there again.
Just thought I'd share assuming this won't already be fixed/prevented in the next version.
Edit: okay weird thing happened
First of all, this worked the first time i tried it without any errors. then when i started getting them, after taking out that line of code and putting it back in a few times, I eventually got another access violation (the last one) and it disconnected me. When I reconnected, there were no access violations, and the number of images representing the buffs on my screen went from 5 to 1. (the first time i tried this, it removed all of the images).
When I removed the line of code again, it went from 1 image to 4. (4 is what its supposed to be displaying)
Putting the line of code in again results in:
Access violation at address 01020318. Write of address 00000000.
Access violation at address 2C302C30. Read of address 2C302C30.
Each following is a repeat of the second.
removing then adding it results in:
Access violation at adress 0A8EFE4B. Write of address 00000054.
Access violation at address 0A8EFE4F. Read of address 50014D06. (repeatedly)
And I'm gonna stop logging these now. They seem like they might be either randomized or part of a giant list
