Difference between revisions of "Talk:RemoveMe"

Jump to navigation Jump to search
633 bytes added ,  11:29, 16 August 2008
: CTD after all
imported>Quetzilla
(: no CTDs from OnAdd blocks, but other weird bug instead)
imported>Quetzilla
(: CTD after all)
Line 61: Line 61:
:::I haven't had any CTDs at all with that.  It seems OnAdd blocks run the frame after the item is added via script, but I didn't have any problems with executing a bunch of code and then calling removeme.  On the other hand I did just run into a weird bug where the item wouldn't actually remove itself right away, but would stick around in the container.  The weird thing about it is that they never accumulated... there was just always one still stuck in the container even if it more got added later, probably something weird with the 'removing from the top of the stack' thing.
:::I haven't had any CTDs at all with that.  It seems OnAdd blocks run the frame after the item is added via script, but I didn't have any problems with executing a bunch of code and then calling removeme.  On the other hand I did just run into a weird bug where the item wouldn't actually remove itself right away, but would stick around in the container.  The weird thing about it is that they never accumulated... there was just always one still stuck in the container even if it more got added later, probably something weird with the 'removing from the top of the stack' thing.
:::--[[User:Quetzilla|quetzilla]] 08:43, 9 August 2008 (EDT)
:::--[[User:Quetzilla|quetzilla]] 08:43, 9 August 2008 (EDT)
:::Argh, finally ran into this obnoxious problem.  Seems to be related to how many scripted items in the container/inventory are trying to remove themselves, at least for me.  If I add an item to the container with removeme in it's onAdd block, no problem.  If the onadd block adds another item to the same container which also has removeMe in that item's onAdd block, no problem.  But if I do it 3 levels down then I get CTD.  I thought it was my additem command right before the removeme lines for hours until I decided to try return instead of removeme.  *bangs head*
:::--[[User:Quetzilla|quetzilla]] 12:29, 16 August 2008 (EDT)
Anonymous user

Navigation menu