What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » [BETA] YASS 0.4, formerly Status2HTTP

[BETA] YASS 0.4, formerly Status2HTTP
Author: Message:
CookieRevised
Elite Member
*****

Avatar

Posts: 15519
Reputation: 173
– / Male / Flag
Joined: Jul 2003
Status: Away
RE: [BETA] Status2HTTP
without looking at the actual code:

quote:
Originally posted by MeEtc
Personalized status text is not guaranteed to be submitted. As both OnEvent_MyStatusChange and OnEvent_MyNameChange are called at the same time when a personalized status is enabled, the http request for both is a race to the server. If the request from name change reaches the server last, the personalized status text is sent last.
use OnEvent_EnterPersonalizedStatus and OnEvent_LeavePersonalizedStatus and when those events fire, 'disable' the others from sending data.

In fact, you can do it even easier and with each kind of event:
- EnterPersonalizedStatus
- LeavePersonalizedStatus
- MyMediaChange
- MyNameChange
- MyPsmChange
- MyStatusChange
- SigninReady
- Signout
... lookup your screen name, status, psm, and dp all at once in each event (aka all the events would contain the exact same code) and send everything at once (or only the things that have changed since last time; this would also prevent double sendings).

;)

EDIT: downloading the script now....

EDIT:
- Big bug: config window doesn't show when clicking "config" (config is empty object, line 67 in statushttp.js).
- Big bug: you can only have 1 of each events. Currently you have multiple entries of some events (like SignOut).
- Note: you can have a psm as well as a media at the same time.
- Note: PSMs, nicks, etc can all contain formatting codes (as well as bbcode, irc code as internal style codes). Dunno if you want to send them as such or not.
- Tip: util_file.js and util_string contain some functions which can be made a lot shorter/easier. Some functions contain potential bugs.
- Tip: if((MessengerStart == false) && (Messenger.MyStatus > 1)) can be replaced with just  if(Messenger.MyStatus > 1).... and some other things could be optimized, but that's not important.


;)

This post was edited on 07-23-2007 at 03:37 AM by CookieRevised.
.-= A 'frrrrrrrituurrr' for Wacky =-.
07-23-2007 03:02 AM
Profile PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
[BETA] YASS 0.4, formerly Status2HTTP - by MeEtc on 07-23-2007 at 01:30 AM
RE: [BETA] Status2HTTP - by CookieRevised on 07-23-2007 at 03:02 AM
RE: RE: [BETA] Status2HTTP - by MeEtc on 07-23-2007 at 10:02 AM
RE: [BETA] Status2HTTP - by Oxy on 07-23-2007 at 08:04 AM
RE: [BETA] Status2HTTP - by Volv on 07-23-2007 at 10:19 AM
RE: [BETA] Status2HTTP 0.3 - by MeEtc on 08-04-2007 at 08:30 PM
RE: [BETA] Status2HTTP 0.3 - by MeEtc on 08-06-2007 at 01:55 PM
RE: [BETA] Status2HTTP 0.3 - by Kriogenic on 08-10-2007 at 01:35 AM
RE: [BETA] Status2HTTP 0.3 - by MeEtc on 08-10-2007 at 02:14 AM
RE: [BETA] Status2HTTP 0.3 - by Kriogenic on 08-10-2007 at 04:26 AM
RE: [BETA] YASS 0.4, formaly Status2HTTP - by MeEtc on 08-12-2007 at 09:32 PM
RE: [BETA] YASS 0.4, formerly Status2HTTP - by aNILEator on 08-13-2007 at 09:13 AM
RE: RE: [BETA] YASS 0.4, formerly Status2HTTP - by vikke on 08-14-2007 at 05:26 PM
RE: [BETA] YASS 0.4, formerly Status2HTTP - by scott2010_h on 08-13-2007 at 07:29 PM
RE: [BETA] YASS 0.4, formerly Status2HTTP - by MeEtc on 08-13-2007 at 08:04 PM
RE: [BETA] YASS 0.4, formerly Status2HTTP - by NanaFreak on 08-13-2007 at 11:29 PM
RE: [BETA] YASS 0.4, formerly Status2HTTP - by aNILEator on 08-14-2007 at 12:21 PM
RE: RE: [BETA] YASS 0.4, formerly Status2HTTP - by laurenz on 08-14-2007 at 01:04 PM
RE: [BETA] YASS 0.4, formerly Status2HTTP - by aNILEator on 08-14-2007 at 05:08 PM
RE: [BETA] YASS 0.4, formerly Status2HTTP - by MeEtc on 08-14-2007 at 06:25 PM
RE: [BETA] YASS 0.4, formerly Status2HTTP - by joemailey on 08-30-2007 at 02:49 PM
RE: [BETA] YASS 0.4, formerly Status2HTTP - by MeEtc on 08-30-2007 at 05:53 PM


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On