What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » Need Help debuging

Need Help debuging
Author: Message:
scott2010_h
Full Member
***

Avatar

Posts: 187
Reputation: 10
32 / Male / Flag
Joined: Dec 2005
Status: Away
O.P. Need Help debuging
This really suckes. I have been working a update for My Remote Control. I finaly finished and what do you know it won't work. I would really like someone to help me dubug this script. DON'T DOWNLOAD THIS UNLESS YOU WANT TO HELP ME.

Admin edit: attachment removed (corrupted zip)

This post was edited on 03-27-2012 at 07:27 PM by Menthix.
12-06-2006 03:24 AM
Profile E-Mail PM Web Find Quote Report
Spunky
Former Super Mod
*****

Avatar

Posts: 3658
Reputation: 61
36 / Male / Flag
Joined: Aug 2006
RE: Need Help debuging
Exactly which part isn't working?

Just while I notice it as well... I'd use
code:
if(Messenger.MyStatus>1){//or even >2 if you wanted them to appear online...
...
}

rather than just checking if it's not zero as
<Eljay> "Problems encountered: shit blew up" :zippy:
12-06-2006 03:44 AM
Profile PM Find Quote Report
scott2010_h
Full Member
***

Avatar

Posts: 187
Reputation: 10
32 / Male / Flag
Joined: Dec 2005
Status: Away
O.P. RE: Need Help debuging
I keep on getting this Error "Error: 'Wnd' is null or not an object.
       Line: 305. Code: -2146823281."
12-06-2006 05:07 AM
Profile E-Mail PM Web Find Quote Report
Spunky
Former Super Mod
*****

Avatar

Posts: 3658
Reputation: 61
36 / Male / Flag
Joined: Aug 2006
RE: Need Help debuging
Possbily an error with your XML so the WN isn't being created... Is the text file saved as unicode?
<Eljay> "Problems encountered: shit blew up" :zippy:
12-06-2006 09:17 AM
Profile PM Find Quote Report
NanaFreak
Scripting Contest Winner
*****


Posts: 1476
Reputation: 53
32 / Male / Flag
Joined: Jul 2006
RE: Need Help debuging
quote:
Originally posted by SpunkyLoveMuff
Possbily an error with your XML so the WN isn't being created... Is the text file saved as unicode?
not just any unicode spunky but unicode-16

also if you need help with your xml / window make feel free to contact me :cheesy:
12-06-2006 09:21 AM
Profile PM Find Quote Report
scott2010_h
Full Member
***

Avatar

Posts: 187
Reputation: 10
32 / Male / Flag
Joined: Dec 2005
Status: Away
O.P. RE: Need Help debuging
It is saved as unicode but I don' t know if it is in unicode-16. I used windows notepad
12-06-2006 09:23 PM
Profile E-Mail PM Web Find Quote Report
scott2010_h
Full Member
***

Avatar

Posts: 187
Reputation: 10
32 / Male / Flag
Joined: Dec 2005
Status: Away
O.P. RE: Need Help debuging
I think I have narrowed it down to a problem with in the XML. You can download it an take a look to see if you can find what is wrong. Other than that i don't know

.zip File Attachment: Window.zip (1.38 KB)
This file has been downloaded 202 time(s).
12-07-2006 01:35 AM
Profile E-Mail PM Web Find Quote Report
Jimbo
Veteran Member
*****

Avatar

Posts: 1650
Reputation: 18
32 / Male / Flag
Joined: Jul 2006
RE: Need Help debuging
quote:
Originally posted by scott2010_h
It is saved as unicode but I don' t know if it is in unicode-16. I used windows notepad
Use wordpad as i don't think notepad can save as unicode 16
12-07-2006 07:02 AM
Profile E-Mail PM Find Quote Report
ddunk
Veteran Member
*****

Avatar

Posts: 1228
Reputation: 51
35 / Male / Flag
Joined: Mar 2004
RE: Need Help debuging
code:
Wnd = MsgPlus.CreateWnd("windows.xml", "Preferences");
code:
<Window Id="Prefrences" Version="1.1">
C:\WINDOWS\Media\tada.wav.

This post was edited on 12-07-2006 at 07:08 AM by ddunk.
12-07-2006 07:07 AM
Profile E-Mail PM Web Find Quote Report
NanaFreak
Scripting Contest Winner
*****


Posts: 1476
Reputation: 53
32 / Male / Flag
Joined: Jul 2006
RE: Need Help debuging
ok i have fixed up your code with the xml a little and also saved it in word pad (unicode-16) (jimbodude note pad cant save unicode-16 ;))

i hope this fixes your problem

ps one thing i fixed was:
code:
<Window Id="Prefrences" Version="1.1">
to:
code:
<Window Id="Prefrences" Version="1">




quote:
Originally posted by ddunk
code:
Wnd = MsgPlus.CreateWnd("windows.xml", "Preferences");
code:
<Window Id="Prefrences" Version="1.1">
C:\WINDOWS\Media\tada.wav.
i see the error... also his xml is not too good 8-)

just if you cant see it you need to have in the .js:
code:
Wnd = MsgPlus.CreateWnd("windows.xml", "Prefrences");

.zip File Attachment: Window.zip (1.43 KB)
This file has been downloaded 165 time(s).

This post was edited on 12-07-2006 at 07:16 AM by NanaFreak.
12-07-2006 07:13 AM
Profile PM Find Quote Report
« Next Oldest Return to Top Next Newest »


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