Shoutbox

Need Help debuging - 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: Need Help debuging (/showthread.php?tid=69202)

Need Help debuging by scott2010_h on 12-06-2006 at 03:24 AM

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)


RE: Need Help debuging by Spunky on 12-06-2006 at 03:44 AM

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
RE: Need Help debuging by scott2010_h on 12-06-2006 at 05:07 AM

I keep on getting this Error "Error: 'Wnd' is null or not an object.
       Line: 305. Code: -2146823281."


RE: Need Help debuging by Spunky on 12-06-2006 at 09:17 AM

Possbily an error with your XML so the WN isn't being created... Is the text file saved as unicode?


RE: Need Help debuging by NanaFreak on 12-06-2006 at 09:21 AM

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:
RE: Need Help debuging by scott2010_h on 12-06-2006 at 09:23 PM

It is saved as unicode but I don' t know if it is in unicode-16. I used windows notepad


RE: Need Help debuging by scott2010_h on 12-07-2006 at 01:35 AM

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


RE: Need Help debuging by Jimbo on 12-07-2006 at 07:02 AM

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
RE: Need Help debuging by ddunk on 12-07-2006 at 07:07 AM

code:
Wnd = MsgPlus.CreateWnd("windows.xml", "Preferences");
code:
<Window Id="Prefrences" Version="1.1">
C:\WINDOWS\Media\tada.wav.
RE: Need Help debuging by NanaFreak on 12-07-2006 at 07:13 AM

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");