Shoutbox

Released: Files Lister 0.1 - 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: Released: Files Lister 0.1 (/showthread.php?tid=61404)

Released: Files Lister 0.1 by mathieumg on 06-25-2006 at 08:11 PM

Hello!

It is finally here!

Just in time for the contest heh (deadline in less than one hour, anybody?)

This is still a Beta version, but pretty stable at the moment. I didn't had the time to complete the edit feature (exams + contest deadline), but I will update the script with it and many other features in less than a week.

Again, a short description of what the script does:

This script acts like the old feature of Plus! which listed files that your contacts could download from you using a command. You can manage your files by opening the manage files window using the Plus! Scripts menu. Default commands are !files to list your files and !getfile # to request a file. Both commands can be changed in the preferences window, accessible via the manage files window.

If you find any bug, please report it in this thread. I found one in MsgPlus! while working on my script: if you send a file and the "Sending this file is not safe" (.exe files for example) window pop-up appears, it continues sending the file in an infinite loop, resulting in a Messenger Crash. I don't know if this was a known bug, or if it even is a bug and not a mistake I did (if it is the latter, thank you to tell me about it).

Screenshot
[Image: fileslisterscreenshotsp6.jpg]


Improvement ideas:

-Edit downloads
-More advanced help
-Maximum simultaneous users
-Files per contact
-Search trigger
-Support for MSN normal messages length / Plus! length / Stuffplug length, when listing files
-Custom Formatting
-Support for more files (waiting for the 14 seconds antiflood protection then continue listing files)
-Separate path / filename values
-Support to remove more files at the same time
-Chat window commands
-Offer the user to refresh all the IDs (without doing it automatically)
-Send a file with the list in it
-Disable commands on self

Download

http://www.msgpluslive.net/scripts/view/247-Files-Lister/


RE: To be released: Files Lister by SerGuMa on 06-25-2006 at 08:18 PM

Looks nice, will it have an option to only allow certain people to download from you?
For some people/bots it would be useful if it also allowed to give a certain amount of "points" to every user (having a different counter for everyone)  that would allow you to download a certain amount of MB/files.

Just my thoughs ^^, good job anyway :).


RE: To be released: Files Lister by mathieumg on 06-25-2006 at 08:21 PM

SerGuMa, this sounds good. :p Although it may not be in the first version, I will try to put it in :)


RE: To be released: Files Lister by SerGuMa on 06-25-2006 at 08:34 PM

heheh, do your best ^^, I'll be looking forward to getting it :)

Btw, if you need an spanish or catalan translation contact me if you want :P.


RE: To be released: Files Lister by Ingiliz_cezahsi on 06-25-2006 at 09:15 PM

I loved this feature of the old plus, im glad to see someone creating a script for it. And by the looks of it, an even greater version of the previos in-built one.
Cant wait to get my hands on it, good luck with all the coding.
(p.s I would love to translate it into turkish for you)


RE: To be released: Files Lister by dartakaum on 06-27-2006 at 10:10 PM

or into portuguese! :)

i'll be waiting for it.


RE: To be released: Files Lister by alexp2_ad on 06-27-2006 at 10:11 PM

Looks good. (Y)


RE: To be released: Files Lister by dartakaum on 06-28-2006 at 12:50 AM

could do:
- share folders (instead of 100files limit)
- limit access to x users.
- trigger to search, (and display first 3 results)
- trigger to get.
- use .xml to database info (like itunes and so, to search it faster)

and i can beta try it, and translate it to portuguese if u want to.

be here waiting.


RE: To be released: Files Lister by mathieumg on 06-28-2006 at 01:30 AM

Thanks for the ideas, already using .xml by the way ;)


RE: To be released: Files Lister by Lou on 06-28-2006 at 02:38 AM

I was going to do this originally, but decided to do a Bot Utilities script instead;) Good luck! I can't wait to use this:)


RE: To be released: Files Lister by novolo on 06-28-2006 at 03:05 AM

hi,  this script sounds great,   but isnt it the same as sharing a folder?  this comes already with WML...
im just asking  i havent used the folder sharing thing on WML yet,   but for what i know its almost the same thing isnt it?8-)


RE: To be released: Files Lister by Lou on 06-28-2006 at 03:52 AM

quote:
Originally posted by novolo
hi,  this script sounds great,   but isnt it the same as sharing a folder?  this comes already with WML...
im just asking  i havent used the folder sharing thing on WML yet,   but for what i know its almost the same thing isnt it?8-)
no. You automatically send a file when !sendfile filename is recieved. Or something of the like.
RE: To be released: Files Lister by futb0l on 06-28-2006 at 04:07 AM

Nice idea. Looking forward to release.


RE: To be released: Files Lister by mathieumg on 07-03-2006 at 06:21 PM

I would have liked to release this a few days ago, but I had some unpexected computer problems (who would expect those anyways?)

Its all progressing well though, and I should be able to release it by the week-end :)


RE: To be released: Files Lister by dartakaum on 07-03-2006 at 06:40 PM

i don't mind to usa a beta for a while... :)


RE: To be released: Files Lister by dartakaum on 07-20-2006 at 10:30 AM

no news?


RE: To be released: Files Lister by mathieumg on 07-20-2006 at 10:52 AM

Since http://shoutbox.menthix.net/showthread.php?tid=62704 was released, it listed a feature "shortcuts" that was doing pretty much what my script would do. This feature do not seem to be listed anymore, it was either done or abandonned. In the latter case, I would be interested to complete my script and release it as a public beta version :)


RE: To be released: Files Lister by Lou on 07-20-2006 at 02:28 PM

quote:
Originally posted by mathieumg
Since http://shoutbox.menthix.net/showthread.php?tid=62704 was released, it listed a feature "shortcuts" that was doing pretty much what my script would do. This feature do not seem to be listed anymore, it was either done or abandonned. In the latter case, I would be interested to complete my script and release it as a public beta version :)
I was going to use the fileserver script but I don't like it. I also made my own listfiles earlier on in the testing phases of MP!L but it had no gui or anything. I really would use your script:)
RE: To be released: Files Lister by mathieumg on 07-20-2006 at 04:36 PM

Ok :) I will continue it then!


RE: To be released: Files Lister by Yil2201 on 07-21-2006 at 12:21 PM

Yeah continue ! Your script is a very good idea and seems to have quality in the screenshot of the frontpage ! Waiting for the release ! Could translate in french ... but i can see you are french :P so no help, sorry :P

Good job, continue, Yil2201.


RE: Released: Files Lister 0.1 by mathieumg on 12-20-2006 at 07:17 AM

Script released, screenshots coming up!


RE: Released: Files Lister 0.1 by mathieumg on 12-21-2006 at 12:16 AM

Slight bug taken care of! First post updated accordingly. Screenshot added.


RE: Released: Files Lister 0.1 by bladeswords on 12-21-2006 at 02:32 AM

Very nice.  I was going to do this kind of thing for my Script in the comp.  But instead I was lazy and just played around with things and stuck them together and released.

Anyway a suggestion would be if when you list the files also add a number next to them so they can request a file number.

For exampled there is 3 files shared with really stupidly long names, you would just type "!getfile 3" instead of "!getfile stupidlylongnameoffilethatn0-onew0ulspell.logejs"

So the program would output

File ID                   FileName
1                           Movie.txt
2                           Jokes are cool.mov
3                           Hello Man.html

I hope that makes sence....


RE: Released: Files Lister 0.1 by mathieumg on 12-21-2006 at 02:40 AM

Well, that is the actual behaviour :p You get a file using the request tag followed by a space and the ID of the file you want.


RE: Released: Files Lister 0.1 by bladeswords on 12-21-2006 at 02:52 AM

Ahh, fair enough.  I take the above back.... :$
(at work so just guessing the behaviour)


RE: Released: Files Lister 0.1 by G00S3 on 12-22-2006 at 12:49 AM

really looks nice.. would u mind if I used certain pieces of ur code for my own plugin ?
I'm trying to create a search plugin (kinda like your list command) but
since I just started programming 2 day's ago, I could use any help I can get.

thx in advance... and nice scripting !!!


RE: Released: Files Lister 0.1 by mathieumg on 12-22-2006 at 12:57 AM

Sure, but wait until the next week if possible, my code is a real mess actually (was written in a rush :p)


RE: Released: Files Lister 0.1 by MicroWay on 12-22-2006 at 02:39 AM

Hello!!! Good Work!!!
Nice script... Realy like it... (Y)

1) (Maybe Crazy) Suggestion:

How about adding a folder (specified by the user) and the description is automaticly the name of the file... so when a file is putted on the folder, the script auto-add on the list... So the user only Enables it...

1) Bugs:

1) De opition to Edit on the "Manage Files" window isn't enabled (can't click on it) and, can't edit the "files"... Sorry, didn't read this: "Edit: Used to edit a file from the files list (to be added very shortly)"
2) When a file is deleted, the "IDs ( the "#s") of the files didn't refresh too...
Example:
#1 File     
#2 File2
#3 File 3
Now, If #2 is removed, the list results in:
#1 File
#3 File 3
Now, If I add another file, the new list results in:
#1 File
#3 File 3
#4 File_added_later
So, the place #2 isn't replaced
Also, when a contact writes, "!files", the list will be the same as the list on the "Manage Files" Window (following the example, without a "#2")...
So I think, this last "bug" will be solved with the EDIT Buton too...



RE: Released: Files Lister 0.1 by G00S3 on 12-22-2006 at 02:41 AM

ok, I'll wait ...
and thx again :-)


RE: Released: Files Lister 0.1 by mathieumg on 12-22-2006 at 12:34 PM

Well, since each ID is unique to a file you don't want them to "refresh" each time a change occured in your files list. Imagine for example that someone is used to get a specific file, he can just come in and request the file with the id right away, if that ID changes all the time, that may confuse your users.

Something that would be interesting though is to offer the user to refresh all the IDs (without doing it automatically).


RE: Released: Files Lister 0.1 by G00S3 on 12-22-2006 at 12:42 PM

how about (and yes I know this could be difficult) to make a small file (like txt or sumthing like that) where all the id's are listed, and allow the user to recieve the file by ex. !sendlist or something like that... It basicly comes down to the same thing as the list command on messenger, online this time in a file ...


RE: Released: Files Lister 0.1 by mathieumg on 12-22-2006 at 12:43 PM

Wouldn't be difficult, great idea :) Will be added to the possible improvements list :)


RE: Released: Files Lister 0.1 by MicroWay on 12-22-2006 at 03:53 PM

Realy, you're right,... if the Ids change, maybe will be a mess...
Maybe it's a good idea to add a text file, but people who don't have PLus! will probably not download the list and then download a file... I think showing on the conversation window is more practical...

Another sugestion:
The opition to Enable (ot not) on startup the script (like Key Flasher)... Or a way to save if you turned on/off on the last time sign in on WLM and when the user sign in again, the scrit will load on/off depending the last config.


RE: RE: Released: Files Lister 0.1 by mathieumg on 12-22-2006 at 05:26 PM

quote:
a way to save if you turned on/off on the last time sign in on WLM and when the user sign in again, the scrit will load on/off depending the last config.


Actual behaviour, unless there is a bug.
RE: Released: Files Lister 0.1 by mathieumg on 06-24-2009 at 12:12 AM

I was going to keep this a secret but me posting questions from time to time on this board these days wasn't very subtle!

When I released Files Lister 0.1, it was rushed out of the door to make it in time for the Scripting Contest deadline, and its quality kind of suffered from that. I said that I would shortly publish an update, and it never happened. That was in 2006. Now I'm back, determined to make things right. I'm actively working on Files Lister 0.2 with many of the suggested features! :D

Now I am seeking for your help, dear users! I am currently designing the Add file and Settings windows, and I want to make sure everyone is comfortable with how I intend to do it and I also want to benefit from improvement suggestions before coding it rather than after, when it would most likely be too late/represent too much work to redo.

So here is how I foresee the aforementioned windows:

Add/edit file: (Small differences between the two, but mostly the same)

Add   
    [RAD] A file
    [RAD] All files within one folder (may take a while to add depending on the number of files)
   
[TXT]+[BTN] Browse for file/folder
[CHK] Enable file once its created

Note that your whitelist/blacklist setting is applied before this filter. No need to add blacklisted/unwhitelisted contacts.

[RAD] All current and future contacts can download this file/these files
[RAD] All contacts can download this file/these files but the following
[RAD] Only the following contacts can download this file/these files

Contacts: [LSTCHK]

Settings:

-= General =- (Tab in settings window)

[CHK] Enable Files Lister on this messenger account
[TXT] Maximum simultaneous contacts using Files Lister features
    [CHK] Timeout after -> [TXT] seconds
    [CHK] Timeout when file is downloaded -> Average upload speed [TXT] kbit/s : [BTN] Attempt to find my upload speed

[RAD] Prompt me to resync the file IDs when removing a file that is not last
[RAD] Automatically resync the file IDs when removing a file that is not last
[RAD] Never resync the IDs

[TXT] Default tag to request the list of files
[TXT] Default tag to request details for a file
[TXT] Default tag to request a file
[TXT] Default tag to search for a file
[TXT] Default formatting code when listing a file
[TXT] Default formatting code when providing details for a file

-= Contacts =- (Tab in settings window)

[RAD] All current and future contacts are allowed to use Files Lister commands
[RAD] All contacts but the following are allowed to use Files Lister commands
[RAD] Only the following contacts are allowed to use Files Lister commands

Contacts: [LSTCHK]

-= Rules =- (Tab in settings window)

Rules: [LST]

[BTN] Add a rule
[BTN] Edit a rule
[BTN] Remove a rule

|
|
\-> (Window to add/edit a rule)

    Contacts: [LSTCHK]
   
    Leave empty to use default
   
    [TXT] Custom tag to request the list of files
    [TXT] Custom tag to request details for a file
    [TXT] Custom tag to request a file
    [TXT] Custom tag to search for a file
    [TXT] Custom formatting code when listing a file
    [TXT] Custom formatting code when providing details for a file
   
-= Languages =- (Tab in settings window)

Languages: [LST]

#EOF


Thank you again for your input, suggestions/constructive criticism are welcome!


RE: Released: Files Lister 0.1 by kdawg on 08-10-2010 at 04:49 AM

I am down for helping you get this going. I have a few bugs that need fixing so i am dieing to help lol. message me on here or on messenger think yeah can find my email in the profile.