Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Single Prim Clock

Very Keynes
LSL is a Virus
Join date: 6 May 2006
Posts: 484
02-27-2009 02:48
From: Wyatt Weatherwax
Why is Am and PM not working right for me? Set it for -6 hours and 8 PM at night and get AM.


It was a very silly error I made in the string handling, I have modified the code and tested it in world, it should work for you now, thanks for pointing it out :)

Edit: Damn, forum software is refusing to let me Modify my above post or to post php in this message, so I have included a link to a google doc version:


http://docs.google.com/Doc?id=d79kx35_89hpp6hkft
Void Singer
Int vSelf = Sing(void);
Join date: 24 Sep 2005
Posts: 6,973
02-27-2009 03:23
From: Very Keynes
It was a very silly error I made in the string handling, I have modified the code and tested it in world, it should work for you now, thanks for pointing it out :)

Edit: Damn, forum software is refusing to let me Modify my above post or to post php in this message, so I have included a link to a google doc version:


http://docs.google.com/Doc?id=d79kx35_89hpp6hkft

bet you just hit one of those lovely hidden 'things that may not be printed' in forum posts like from anywhere after select
_____________________
|
| . "Cat-Like Typing Detected"
| . This post may contain errors in logic, spelling, and
| . grammar known to the SL populace to cause confusion
|
| - Please Use PHP tags when posting scripts/code, Thanks.
| - Can't See PHP or URL Tags Correctly? Check Out This Link...
| -
Very Keynes
LSL is a Virus
Join date: 6 May 2006
Posts: 484
02-27-2009 03:39
From: Void Singer
bet you just hit one of those lovely hidden 'things that may not be printed' in forum posts like from anywhere after select


well all I changed was a 1 to a 0, and it refused to accept it.
I have had similar problems before and often find if I try again later it works. This forum software is long overdue an update.
1 2