Shoutbox

[?] PS3 script (and some offtopic) - 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: [?] PS3 script (and some offtopic) (/showthread.php?tid=85199)

[?] PS3 script (and some offtopic) by SmokingCookie on 08-05-2008 at 07:49 AM

Hi,

I've seen a couple of scripts regarding the XBox 360. but why aren't there any scripts for the PS3?

I'm not really familiar with the PS3, nor with the XBox 360, but there are probably some differences in support for WLM??

(offtopic)

yeah 250th post :o)

(/offtopic)


RE: [?] PS3 script by ShawnZ on 08-05-2008 at 07:56 AM

the only xbox scripts i've seen are XBMC scripts, which is a homebrew program for original xboxes exclusively....


RE: [?] PS3 script by SmokingCookie on 08-05-2008 at 07:59 AM

So there's no way to (for example) set my PSM to the game's title I'm playing?


RE: [?] PS3 script by ShawnZ on 08-05-2008 at 08:09 AM

not unless you want to write a script to do it :p


RE: [?] PS3 script by SmokingCookie on 08-05-2008 at 08:19 AM

I'd like to, but I have no idea how..


RE: [?] PS3 script by Volv on 08-05-2008 at 10:31 AM

The XBOX 360, being a Microsoft product, can sign into Windows Live Messenger from the console itself and that is why you see the game they're currently playing (as it automatically sets that as your PSM), it has nothing to do with a script.

If you wanted to create a similar script then firstly you would need to find out if the PS3/PSN places information regarding the game you're currently playing to some sort of webserver (which I'm not even sure it does), then you'd need to grab that info using a script and place it in your PSM.


RE: [?] PS3 script by SmokingCookie on 08-05-2008 at 10:36 AM

Sounds easy, but I'm unfamiliar with the OS of the PS3. Okay probably some IP and protocol stuff, but then I'd need a reference (like MSDN)


RE: [?] PS3 script by ShawnZ on 08-05-2008 at 10:40 AM

quote:
Originally posted by SmokingCookie
Sounds easy, but I'm unfamiliar with the OS of the PS3. Okay probably some IP and protocol stuff, but then I'd need a reference (like MSDN)

volv was trying to describe it in the most complicated, unlikely manner as possible as to deter you from trying because it's probably not possible :p
RE: [?] PS3 script by SmokingCookie on 08-05-2008 at 10:42 AM

Okay, I see..

Well, then I'll stop trying :P

(offtpoic)

Err, right.. I don't want to post another thread to prevent this section from becoming messy :P

I have a complication with MsgPlus::LoadScriptFile: I'd like to load a file in MsgPlus.ScriptFilesPath\Language, but it won't (file is valid). Any ideas why?

(/offtopic)


RE: [?] PS3 script by ShawnZ on 08-05-2008 at 10:46 AM

what's the entire line of code that isn't working?


RE: [?] PS3 script by SmokingCookie on 08-05-2008 at 11:57 AM

code:
function setLang(sLanguage) {
    Print(Script.Name + " " + Script.Version + "'s language is \"" + sLanguage + "\""); // if undefined: first-time run
    if(!FileExists(MsgPlus.ScriptFilesPath + "\\Language\\" + sLanguage + ".js")) {
        sLanguage = MsgPlus.UILangCode;
        if(!FileExists(MsgPlus.ScriptFilesPath + "\\Language\\" + sLanguage + ".js")) {
            sLanguage = "en";
        }
    }
    LanguageLoaded = MsgPlus.LoadScriptFile(MsgPlus.ScriptFilesPath + "\\Language\\" + sLanguage + ".js");
    Print(LanguageLoaded,PRIOR_NORMAL);
    if(!LanguageLoaded) {
        EnglishLoaded = MsgPlus.LoadScriptFile(MsgPlus.ScriptFilesPath + "\\Language\\en.js");
        Print(EnglishLoaded,PRIOR_NORMAL);
    }
    Print(sLanguage,PRIOR_IMPORTANT);
    Language();
}


code:
// nl.js

var DayVar = new Array();
var DVar = new Array();
var MonthArray = new Array();
var LngStr = new Array();

Language();

function Language() {

(chunk of code)

}



EDIT::

Hey, the [code /] seems to support tabs now*-)