Shoutbox

[RELEASE] Signout Timer - Printable Version

-Shoutbox (https://shoutbox.menthix.net)
+-- Forum: MsgHelp Archive (/forumdisplay.php?fid=58)
+--- Forum: Messenger Plus! for Live Messenger (/forumdisplay.php?fid=4)
+---- Forum: Scripting (/forumdisplay.php?fid=39)
+----- Thread: [RELEASE] Signout Timer (/showthread.php?tid=83220)

[RELEASE] Signout Timer by Crazed on 04-17-2008 at 04:16 PM

Signout Timer

About
Signout Timer is a new script which enables you to cut down on your procrastination, and sign off after a set amount of time.

The newest version is always available in this thread, while the version here might be a little slower in following.

This is my second script, but the first one that I uploaded to this site. You may remember me making a Dice Roller script. Well, it generally works, but I was unable to overcome the interface problems, so I had to resort to a dirty way I've not yet made ready for release.

Features

  • Set a signout timer for yourself, then automatically sign out at that time.
  • Periodically send alerts to your friends or to yourself, using fully customizable intervals.
  • Update the time in your Personal Message, automatically!
A full list of commands is available here.

Known Bugs
  • "/signoutdisplaypsm" and "/signoutundisplaypsm" don't work. This is fixed in the next release, which is attached to this thread and is on its way to the MPL page. Graphical interface still works fine.
Versions
  • 1.0.0 Release
  • 1.0.1 Fixed the /signoutdisplaypsm bug.
  • 1.0.2 Fixed a few small errors in text and other display things.

I would greatly appreciate any bug reports or suggestions. Thank you!

-------------------

Current Release: 1.0.2
RE: [RELEASE] Signout Timer by Chris4 on 04-17-2008 at 06:25 PM

Firstly, there's a few minor errors:

[Image: qbndzp.png]
Has lots of squares which aren't meant to be there.

[Image: mitjl1.png]
Two separators instead of one.

And lastly, I tried using it for a few minutes, then was displayed with this:

[Image: r6gpen.png]
I restarted the script, no good. Restarted Messenger, no good. :(

And also, the toast says 'plugin'. It's not a plugin, it's a script.

Apart from that, looks good. :happy:


RE: [RELEASE] Signout Timer by Crazed on 04-17-2008 at 06:53 PM

Hi Chris, thanks for the input!

I fixed those two issues. The first one was the result of me placing some tabs. Guess it doesn't like that. The second one I was aware of, but I forgot to fix it.

As for the registry problem, that happened when you tried to change the settings, right? What happens is that when the script is initialized it calls to get registry values. If they're non-existent, it tries to make them, then tries to access them again. After this process, it should be set to use the values, so I'm not sure what the problem is. If it gives you that message it means that it never made a successful read action from the registry.

Can you tell me what you see in the Debug window, and can you verify that "HKEY_CURRENT_USER\Software\Patchou\Messenger Plus! Live\Global Settings\Scripts\Signout Timer\Settings\your email" exists? The only thing I could think of is that you started in Appear Offline and it wasn't able to access the email property - if that's the case it should log the message in Debug when you start the script.

Thanks, hope you enjoy! :)


RE: [RELEASE] Signout Timer by Chris4 on 04-17-2008 at 08:15 PM

The registry key does exist, yes.

And yes, I started in Appear Offline, which must of caused the problem.

And it seems to be working now, so no worries. :)


RE: [RELEASE] Signout Timer by Crazed on 04-17-2008 at 08:27 PM

Ah, awesome. :) It's unfortunate that I had to design it that way, but I couldn't access the email otherwise. =/ Is there any way to get around that in some way?

Anyway, I've uploaded the new version to the thread with those minor text fixes. Once again, thanks a ton for all your help, and I really hope you like the script! :)


RE: [RELEASE] Signout Timer by Th3rmal on 04-17-2008 at 11:24 PM

I reckon this will be a very good script for parents who want to monitor the time their kids are on wlm.

Great work!