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

Pages: (3): « First « 1 [ 2 ] 3 » Last »
Pack the script
Author: Message:
Silentdragon
Full Member
***

Avatar
if(life==null && wrists) EmoAlert();

Posts: 148
Reputation: 2
34 / Male / –
Joined: Jun 2006
RE: Pack the script
Must be a zip file, you can use win rar to make ZIP file. When you create an archive winrar you should have the option to pick zip or rar.
08-19-2006 09:41 PM
Profile E-Mail PM Web Find Quote Report
Ezra
Veteran Member
*****

Avatar
Forgiveness is between them and God

Posts: 1960
Reputation: 31
37 / Male / Flag
Joined: Mar 2003
RE: Pack the script

quote:
Originally posted by SnuZZer
CookieRevised ->
Hi.
I have read the documentation and i have tried to make my JS-file (Leet beskeder.js) and ScriptInfo.xml to a .rar file and change .rar til to .plsc, but when i try to open the .plsc file i got the message:
"The file you tried to read isn't a valid Messenger Plus! script-pack"

Make sure the Scriptinfo.xml file is saved as UTF-16 Little Endian Unicode.

Then use WinRAR to put both files (Leet beskeder.js & Scriptinfo.xml) in a ZIP archive, so make sure the radio button on the WinRar interface is selected to ZIP. After you did this rename the created ZIP file to PLSC and try again.
[Image: 1-0.png]
             
08-19-2006 09:46 PM
Profile PM Web Find Quote Report
SnuZZer
Full Member
***

Avatar

Posts: 114
32 / Male / Flag
Joined: Jun 2006
O.P. RE: Pack the script
Hi.
It works!!
Thanks!!

I changed ScriptInfo.xml's type to "Unicode big endian".
I packed Leet beskeder.js and ScriptInfo.xml in a .zip file with WinRAR and changed the filetype to .plsc.
..and.. Now it works!! Thanks!!
Hi again. :-$
I don't think this is the right forum, but i hope someone can help me.
When i upload my .plsc file (Leet beskeder.plsc) to my server and link it to download it's a .rar file the users download :-(
Here is a example: www.snuzzer.dk/msgplus

This post was edited on 08-20-2006 at 08:31 AM by WDZ.
08-19-2006 10:01 PM
Profile E-Mail PM Web Find Quote Report
Ezra
Veteran Member
*****

Avatar
Forgiveness is between them and God

Posts: 1960
Reputation: 31
37 / Male / Flag
Joined: Mar 2003
RE: Pack the script
It works fine here, I think there's something wrong with your settings or something.

What browser do you use?
[Image: 1-0.png]
             
08-19-2006 10:14 PM
Profile PM Web Find Quote Report
SnuZZer
Full Member
***

Avatar

Posts: 114
32 / Male / Flag
Joined: Jun 2006
O.P. RE: Pack the script
Ezra ->
I use Internet Explorer, but if i download something from MSG Plus! Live's script database it works fine.

Are you sure.. Doesn't it open the file with WinRAR/WinZIP?
08-19-2006 10:18 PM
Profile E-Mail PM Web Find Quote Report
Ezra
Veteran Member
*****

Avatar
Forgiveness is between them and God

Posts: 1960
Reputation: 31
37 / Male / Flag
Joined: Mar 2003
RE: Pack the script
quote:
Originally posted by SnuZZer
Ezra ->
I use Internet Explorer, but if i download something from MSG Plus! Live's script database it works fine.

Are you sure.. Doesn't it open the file with WinRAR/WinZIP?



I'm sure :-), Plus! want to import it.
[Image: 1-0.png]
             
08-19-2006 10:24 PM
Profile PM Web Find Quote Report
Supersonicdarky
Veteran Member
*****

Avatar

Posts: 2317
Reputation: 48
– / – / Flag
Joined: Feb 2005
Status: Away
RE: Pack the script
make sure to assosiate .plsc files with MPtools.exe (loocated where you installed msg plus!)
08-19-2006 11:03 PM
Profile E-Mail PM Find Quote Report
SnuZZer
Full Member
***

Avatar

Posts: 114
32 / Male / Flag
Joined: Jun 2006
O.P. RE: Pack the script
Hi.
When i double click på the original Leet beskeder.plsc Messenger Plus! Live try ti import it, but if i download the file from www.snuzzer.dk/msgplus it's a WinRAR file :-/
08-20-2006 07:37 AM
Profile E-Mail PM Web Find Quote Report
alexp2_ad
Scripting Contest Winner
****

Avatar
Who love the chocolate?

Posts: 691
Reputation: 26
36 / Male / –
Joined: May 2004
Status: Away
RE: Pack the script
Yes, Internet Explorer has this problem.  It thinks it's a zip so it downloads it as a zip.  I get round it by putting the script in a separate folder on the server from the html and the rest and then putting in a file called .htaccess saying:

code:
ForceType application/x-plsc


That should work.

Adding the type elsewhere didn't work right for me, so I had to use ForceType and a separate folder.

This post was edited on 08-20-2006 at 10:31 AM by alexp2_ad.
08-20-2006 10:30 AM
Profile E-Mail PM Find Quote Report
mickael9
Full Member
***


Posts: 117
Reputation: 3
32 / Male / Flag
Joined: Jul 2005
RE: RE: Pack the script
quote:
Originally posted by alexp2_ad
Yes, Internet Explorer has this problem.  It thinks it's a zip so it downloads it as a zip.  I get round it by putting the script in a separate folder on the server from the html and the rest and then putting in a file called .htaccess saying:

code:
ForceType application/x-plsc


That should work.

Adding the type elsewhere didn't work right for me, so I had to use ForceType and a separate folder.

Or you can create a php script :
code:
<?php

// download.php?script=xxx (no .plsc)

$script = $_GET['script'];

if (strpos($script,".") > -1 || strpos($script,"/") > -1 || strpos($script,"\\")  > -1 || strpos($script,'"') > -1 || !is_file("./$script.plsc"))
    die("File not found");

header("Content-Type: application/x-plsc");
header('Content-Disposition: attachment; filename="' . $script . '.plsc"');

readfile("./$script.plsc");

?>

This post was edited on 08-20-2006 at 11:45 AM by mickael9.
08-20-2006 11:42 AM
Profile PM Web Find Quote Report
Pages: (3): « First « 1 [ 2 ] 3 » Last »
« 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