Difference between revisions of "Talk:Linked List Tutorial"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>Haama
(Nope, doesn't work at all)
imported>QQuix
(Reason for the "Article may contain Errors" tag)
 
(5 intermediate revisions by 3 users not shown)
Line 1: Line 1:
I find this very useful - any kind of extension of the limited scripting-language is welcome, but this tutorial is outstanding, even if incomplete.
I find this very useful - any kind of extension of the limited scripting-language is welcome, but this tutorial is outstanding, even if incomplete.


This effectively places a bunch of placeAtMe dynamic items in the cell where the persistent manager node is. Has anyone experienced these dynamic nodes going "ofline" when the cell gets unloaded? The impression I get is only persistent objects are guaranteed to be available when the cell containing them is unloaded and references to the unloaded objects behave like null references until the cell is reloaded. I have certainly experienced this with references to static non-persistent containers. I'm not sure if this also happens to dynamic objects. [[User:ABO|ABO]] 22:09, 28 January 2009 (EST)
This effectively places a bunch of placeAtMe dynamic items in the cell where the persistent manager node is. Has anyone experienced these dynamic nodes going "ofline" when the cell gets unloaded? The impression I get is only persistent objects are guaranteed to be available when the cell containing them is unloaded and references to the unloaded objects behave like null references until the cell is reloaded. I have certainly experienced this with references to static non-persistent containers. I'm not sure if this also happens to dynamic objects.
--[[User:ABO|ABO]] 22:09, 28 January 2009 (EST)


:This technique won't work for exactly the reason you've given. There are much better techniques available now, including arrays (pluggy or upcoming OBSE version) and linked lists (again, requires OBSE). There is one similar technique that doesn't require OBSE, but it is an absolute pain to pull off. The only mod that used it (NPC's with Jobs) was changed to use pluggy arrays long ago - a huge undertaking, but worth it to get rid of the non-OBSE system.
:This technique won't work for exactly the reason you've given. There are much better techniques available now, including arrays (pluggy or upcoming OBSE version) and linked lists (again, requires OBSE). There is one similar technique that doesn't require OBSE, but it is an absolute pain to pull off. The only mod that used it (NPC's with Jobs) was changed to use pluggy arrays long ago - a huge undertaking, but worth it to get rid of the non-OBSE system.
:--[[User:Haama|Haama]] 23:45, 28 January 2009 (EST)
:--[[User:Haama|Haama]] 23:45, 28 January 2009 (EST)
::That's what I thought, but I've also seen hints that placeAtMe objects do not get unloaded if there are other loaded objects with references to them, so I was kinda hopeful it would still work. In this case the head object is persistent and there is a chain of references to all the dynamic objects, so if there is any kind of "keep referenced objects loaded" behavior then it might still work. Has anyone ever actually experienced problems? I have a low-end laptop that seems to be excellent at triggering cell flush related problems so I'll do some experiments.
::--[[User:ABO|ABO]] 09:22, 29 January 2009 (EST)
:::I've confirmed that placeAtMe objects will be unloaded when the cell is unloaded, regardless of references to them. So this cannot work unless you intend to only interact with the objects when you are in the same cell where they are placed.
:::--[[User:ABO|ABO]] 13:56, 3 February 2009 (EST)
::::Correct. As the article says, if you go to Dynamic Storage you'll see a very similar discussion in its Talk page.
::::[[User:DragoonWraith|<span style="font-family: Oblivion, Daedric Runes; size=2;">D</span>ragoon <span style="font-family: Oblivion, Daedric Runes; size=2;">W</span>raith]] [[User_talk:DragoonWraith|<span style="font-family: Oblivion, Daedric Runes; size=2;">TALK</span>]] 14:54, 3 February 2009 (EST)
:::::Correction: Not in the Talk page, in the article itself.
:::::[[User:DragoonWraith|<span style="font-family: Oblivion, Daedric Runes; size=2;">D</span>ragoon <span style="font-family: Oblivion, Daedric Runes; size=2;">W</span>raith]] [[User_talk:DragoonWraith|<span style="font-family: Oblivion, Daedric Runes; size=2;">TALK</span>]] 14:56, 3 February 2009 (EST)
::::::''02:28, 19 May 2006 Tegid''. That's the last update from the guy who claims to have written it initially. If he actually plans on adding the 'Comming Soon' section, he's had a good 3 years to think it over. What to do?
::::::[[User:Gregbert|Gregbert]] 03:50, 26 April 2009 (EDT).
==" Article may contain Errors" tag==
The article does not seem to provide a way to remove or reuse the PlaceAtMe'd references, therefore may lead to savegame bloating.[[User:QQuix|QQuix]] 16:30, 23 June 2012 (EDT)

Latest revision as of 15:30, 23 June 2012

I find this very useful - any kind of extension of the limited scripting-language is welcome, but this tutorial is outstanding, even if incomplete.

This effectively places a bunch of placeAtMe dynamic items in the cell where the persistent manager node is. Has anyone experienced these dynamic nodes going "ofline" when the cell gets unloaded? The impression I get is only persistent objects are guaranteed to be available when the cell containing them is unloaded and references to the unloaded objects behave like null references until the cell is reloaded. I have certainly experienced this with references to static non-persistent containers. I'm not sure if this also happens to dynamic objects. --ABO 22:09, 28 January 2009 (EST)

This technique won't work for exactly the reason you've given. There are much better techniques available now, including arrays (pluggy or upcoming OBSE version) and linked lists (again, requires OBSE). There is one similar technique that doesn't require OBSE, but it is an absolute pain to pull off. The only mod that used it (NPC's with Jobs) was changed to use pluggy arrays long ago - a huge undertaking, but worth it to get rid of the non-OBSE system.
--Haama 23:45, 28 January 2009 (EST)
That's what I thought, but I've also seen hints that placeAtMe objects do not get unloaded if there are other loaded objects with references to them, so I was kinda hopeful it would still work. In this case the head object is persistent and there is a chain of references to all the dynamic objects, so if there is any kind of "keep referenced objects loaded" behavior then it might still work. Has anyone ever actually experienced problems? I have a low-end laptop that seems to be excellent at triggering cell flush related problems so I'll do some experiments.
--ABO 09:22, 29 January 2009 (EST)
I've confirmed that placeAtMe objects will be unloaded when the cell is unloaded, regardless of references to them. So this cannot work unless you intend to only interact with the objects when you are in the same cell where they are placed.
--ABO 13:56, 3 February 2009 (EST)
Correct. As the article says, if you go to Dynamic Storage you'll see a very similar discussion in its Talk page.
Dragoon Wraith TALK 14:54, 3 February 2009 (EST)
Correction: Not in the Talk page, in the article itself.
Dragoon Wraith TALK 14:56, 3 February 2009 (EST)
02:28, 19 May 2006 Tegid. That's the last update from the guy who claims to have written it initially. If he actually plans on adding the 'Comming Soon' section, he's had a good 3 years to think it over. What to do?
Gregbert 03:50, 26 April 2009 (EDT).

" Article may contain Errors" tag[edit source]

The article does not seem to provide a way to remove or reuse the PlaceAtMe'd references, therefore may lead to savegame bloating.QQuix 16:30, 23 June 2012 (EDT)