[RELz] Time Manager

Post » Fri Feb 04, 2011 3:50 am

Hi Tekuromoto,

I am testing with OBSE version 18 and noticed that DS Time Manager no longer works. It is having a problem in DSTMQS

My game freezes and this error continually spams the obse.log

Time Manager initialized
Error in script e2000ce6
Invalid array access - expected string index, received numeric index or the array was not initialized.
Offset: 0x00002820 Command: Let (0x1765)
Error in script e2000ce6
Operator [ failed to evaluate to a valid result
Offset: 0x00002820 Command: Let (0x1765)

(e2 points to DS Time Manager).

Now, doing a search on the script for "[" only brings up refrences to the powers array that is initialized using GetUsedPowers, so I am not certain if there was a change to that command.

I will also post this in OBSE in case they can quickly identify the issue.

Thanks
PS: I love this mod, and need to figure out how to make it happily work with obse :)

a



Edit: Scruggs took a look at the code and arrived at this conclusion:
A quick look at the script shows:

CODE
let Powers := player.GetUsedPowers
...
set index to 0
while (index <= (ar_Size Powers) - 1
...
let index := index + 1
loop

If the player has not used any powers recently, then the array returned by GetUsedPowers is empty. ar_Size Powers then == 0, which means index is always < ar_Size Powers - 1, and index is always an invalid index.

He's asked that you confirm the findings.

thanks Tekuromoto
a
User avatar
Nancy RIP
 
Posts: 3519
Joined: Mon Jan 29, 2007 5:42 am

Post » Fri Feb 04, 2011 9:19 am

Hi Tekuromoto,

I am testing with OBSE version 18 and noticed that DS Time Manager no longer works. It is having a problem in DSTMQS

My game freezes and this error continually spams the obse.log

Hiya,

Thanks for the bug report (and thanks Scruggs for the PM headsup). I've been out of touch with Oblivion and modding and all that for the past few weeks, death in the family. :(

Anyhow, I'll have a look at it, as well as reworking the realtime alarm to use the new OBSE user time functions. Keep your eyes on this space.

edit:
Edit: Scruggs took a look at the code and arrived at this conclusion:
A quick look at the script shows:

let Powers := player.GetUsedPowers...set index to 0while (index <= (ar_Size Powers) - 1  ...  let index := index + 1loop

If the player has not used any powers recently, then the array returned by GetUsedPowers is empty. ar_Size Powers then == 0, which means index is always < ar_Size Powers - 1, and index is always an invalid index.

That doesn't seem to make sense, unless an empty array ar_size != 0... if (ar_size Powers) == 0, and index == 0, then the test of 0 <= -1 should fail. I've asked scruggs about the ar_size of empty arrays.
User avatar
Petr Jordy Zugar
 
Posts: 3497
Joined: Tue Jul 03, 2007 10:10 pm

Post » Fri Feb 04, 2011 12:49 am

I am testing with OBSE version 18 and noticed that DS Time Manager no longer works. It is having a problem in DSTMQS

Problem appears to be solved with OBSE v18 beta 2 - thanks scruggs!
User avatar
A Boy called Marilyn
 
Posts: 3391
Joined: Sat May 26, 2007 7:17 am

Post » Thu Feb 03, 2011 8:36 pm

Very cool mod. Just what I needed!

Thanks for making this.
User avatar
Melanie Steinberg
 
Posts: 3365
Joined: Fri Apr 20, 2007 11:25 pm

Post » Fri Feb 04, 2011 6:32 am

I also think i might use this mod. I always find it really annoying for me to travel across cyrodill in 3-4 hours(ingame time). :)
User avatar
Melanie
 
Posts: 3448
Joined: Tue Dec 26, 2006 4:54 pm

Post » Thu Feb 03, 2011 10:51 pm

I'm using it for quite some time and it quickly became one of my essential mods. Really well done, stable and does what it says it does. Kudos on a great mod, Tekuromoto! :thumbsup:
User avatar
Kay O'Hara
 
Posts: 3366
Joined: Sun Jan 14, 2007 8:04 pm

Post » Fri Feb 04, 2011 12:08 am

Pardon my thread Necromancy, but an odd thing happened a short while ago.

I receieved a messagebox: "obse detected a script error. check obse.log for details." (I don't know if that is the exact message, but it's close.)

So in the obse.log the last 20 lines or so were this:

Error in script 1c000ce6
GetUsedPowers must be called within an OBSE expression.


In my LO, 1c is DS Time Manager.

If this is of help, I was taking a short cut from Cloud Ruler Temple to Bruma. Straight down the mountain, not using the road.

The game didn't crash, just gave that messagebox.
User avatar
Bek Rideout
 
Posts: 3401
Joined: Fri Mar 02, 2007 7:00 pm

Post » Thu Feb 03, 2011 7:15 pm

Thread Bump: In case other mod users haven't seen this mod that adds immensely to realism and immersion!

I just wanted to thank Tekuromoto for this amazing mod - oh, I can't play without this anymore at all. Makes Cyrodiil appear larger, and time have some realistic meaning by adjusting it dynamically based on what the player character is doing.
User avatar
Kat Ives
 
Posts: 3408
Joined: Tue Aug 28, 2007 2:11 pm

Post » Thu Feb 03, 2011 6:07 pm

If I wasn't a Real Sleep Extended user I probably would use it. RSE has dynamic timescale options in it.
A real time clock would be nice as well. I lose track of real time so much.
User avatar
Alycia Leann grace
 
Posts: 3539
Joined: Tue Jun 26, 2007 10:07 pm

Post » Thu Feb 03, 2011 10:18 pm

Thread Bump: In case other mod users haven't seen this mod that adds immensely to realism and immersion!

I just wanted to thank Tekuromoto for this amazing mod - oh, I can't play without this anymore at all. Makes Cyrodiil appear larger, and time have some realistic meaning by adjusting it dynamically based on what the player character is doing.

Thanks!

If I wasn't a Real Sleep Extended user I probably would use it. RSE has dynamic timescale options in it.
A real time clock would be nice as well. I lose track of real time so much.

Although Time Manger's timescale functions do overlap with RSE's, there's also a number of other features in TM that you might like. As for the realtime clock, I'm planning to redo the realtime alarm feature now that OBSE gives modders direct access to the system clock... I haven't had a lot of modding time recently, but it's on my list.
User avatar
Kelly John
 
Posts: 3413
Joined: Tue Jun 13, 2006 6:40 am

Post » Fri Feb 04, 2011 1:00 am

If I wasn't a Real Sleep Extended user I probably would use it. RSE has dynamic timescale options in it.
A real time clock would be nice as well. I lose track of real time so much.

Just wanted to clarify that the two mods are compatible with each other, you just have to disable the dynamic timescale component in one of the mods. Both have ini files that allow you to toggle the dynamic timescale feature, so that is simple to do.
User avatar
Matt Bee
 
Posts: 3441
Joined: Tue Jul 10, 2007 5:32 am

Post » Fri Feb 04, 2011 3:49 am

Double post...

Stupid internet connection at work
User avatar
lillian luna
 
Posts: 3432
Joined: Thu Aug 31, 2006 9:43 pm

Previous

Return to IV - Oblivion