Difference between revisions of "Common Bugs"

Jump to navigation Jump to search
1,154 bytes added ,  12:09, 27 October 2011
Added bug with packages crossing midnight, mostly copied from the Packages page (which I added there as well)
imported>Kivan
m (Slight update)
imported>Kivan
(Added bug with packages crossing midnight, mostly copied from the Packages page (which I added there as well))
Line 118: Line 118:


To avoid this, simply either edit the leveled list to add in the fixed amount, or create a new leveled list providing it, and add that to the container along with the variable leveled list, instead of adding the item directly. The amounts will properly be added by the engine.
To avoid this, simply either edit the leveled list to add in the fixed amount, or create a new leveled list providing it, and add that to the container along with the variable leveled list, instead of adding the item directly. The amounts will properly be added by the engine.
== AI Packages that Cross Midnight/Go Until the Next Day ==
If a package is supposed to occur on given day(s) of the week or month (not every day) but the duration spans past midnight, then due to an engine bug, the following will occur:
1) The after-midnight component will occur a day before it's supposed to, 2) The package will occur normally, 3) The before-midnight component will occur a day after it's supposed to.
(This is as if the package was repeating and being truncated at the midnights.) This will will lead to strange and unplanned NPC behavior.
For example, a package that is to run on a specific day from 18:00 to 02:00 the next day will actually run from 00:00 to 02:00 on the start day, then 18:00-02:00 as intended, and then again at 18:00-00:00 on the end day. This effect can be seen in unmodified Oblivion on many NPCs who visit another town, for a duration of a day or more, on specific days of the month.
Simply split these packages so that they don't cross midnight to avoid this effect. In the example above, you would create an 18:00-24:00/00:00 package for the start day, and then an 00:00-02:00 package for the end day.


== MoveTo Oddities ==
== MoveTo Oddities ==
Anonymous user

Navigation menu