[FIXED] An Untimely Manner

Found a bug in UOX3? Or experienced a server crash? Perhaps you've noticed a broken feature? Post the details here!
Post Reply
Mindless Automaton
UOX3 Apprentice
Posts: 189
Joined: Wed May 10, 2006 3:48 am
Has thanked: 0
Been thanked: 1 time
Contact:

An Untimely Manner

Post by Mindless Automaton »

So I have the fisherman.js script assigned to this guy and we are just standing here forever, so I am using time command to check time..

Image

https://imgur.com/oU98XZD

I am not sure what time that was :P
Mindless Automaton
Linux - UOX3 - 0.99.5 dev branch
Win10Pro 19042.572 - UOX3 0.99.3a; Razor 1.0.14; Client 7.0.87.11 or 4.0.11c (Patch 0)
User avatar
Xuri
Site Admin
Posts: 3704
Joined: Mon Jun 02, 2003 9:11 am
Location: Norway
Has thanked: 48 times
Been thanked: 8 times
Contact:

Post by Xuri »

Obviously it's half past a quarter til ten minutes after the hour.

Thanks for the bug report, I'll look into this when time allows! :D
-= Ho Eyo He Hum =-
User avatar
Xuri
Site Admin
Posts: 3704
Joined: Mon Jun 02, 2003 9:11 am
Location: Norway
Has thanked: 48 times
Been thanked: 8 times
Contact:

Post by Xuri »

The fix for this is to change line 39 of UOX3/js/commands/time.js from this:

Code: Select all

else if( hour == 24 )
to this:

Code: Select all

else if( hour == 24 || hour == 0 )
I'll include the fix in my next commit :P
-= Ho Eyo He Hum =-
Mindless Automaton
UOX3 Apprentice
Posts: 189
Joined: Wed May 10, 2006 3:48 am
Has thanked: 0
Been thanked: 1 time
Contact:

Post by Mindless Automaton »

Xuri wrote: Wed Nov 11, 2020 4:57 pm I'll include the fix in my next commit :P
Great, right on time! :roll:
Mindless Automaton
Linux - UOX3 - 0.99.5 dev branch
Win10Pro 19042.572 - UOX3 0.99.3a; Razor 1.0.14; Client 7.0.87.11 or 4.0.11c (Patch 0)
Post Reply