What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » Plug-Ins » Plugin Reloader :: The next generation

Pages: (2): « First [ 1 ] 2 » Last »
Plugin Reloader :: The next generation
Author: Message:
optimism_
Senior Member
****

Avatar
Ctrl+Alt+Del - Tragically l337

Posts: 521
Reputation: 8
38 / Male / –
Joined: Jul 2003
O.P. Plugin Reloader :: The next generation
Ok so plugin reloader that i made aaaaaaaages ago works ok, but i wanted to make it better, so i did :P

This new version will toast on plugin unload and reload if you set it to, with a customized message for each event \o/

hmmz.. ok i managed to summarize it in like a line and now it doesnt seem as impressive as i thought it was when i started this post.

Ah well, its worth the download for any plugin developer at least :P



Find attached Plugin Reloader.zip
Please refer to readme.txt for installation and usage instructions

.zip File Attachment: PluginReloader.zip (43.09 KB)
This file has been downloaded 775 time(s).
HTTP 404 - Signature Not Found
05-04-2004 09:06 PM
Profile E-Mail PM Web Find Quote Report
MoRiA
Full Member
***

Avatar
Web2Messenger Creator

Posts: 268
Reputation: 15
37 / Male / –
Joined: Nov 2002
RE: Plugin Reloader :: The next generation
... And for any plugin user who doesn't want to restart MSN to get new plugins working :)
05-04-2004 09:19 PM
Profile E-Mail PM Web Find Quote Report
optimism_
Senior Member
****

Avatar
Ctrl+Alt+Del - Tragically l337

Posts: 521
Reputation: 8
38 / Male / –
Joined: Jul 2003
O.P. RE: Plugin Reloader :: The next generation
well yeah there is that as well

but imo its an invaluable tool for developers
HTTP 404 - Signature Not Found
05-04-2004 09:20 PM
Profile E-Mail PM Web Find Quote Report
dotNorma
Veteran Member
*****

Avatar

Posts: 1745
Reputation: 17
33 / Male / –
Joined: May 2003
RE: Plugin Reloader :: The next generation
Great , this is a very useful tool for when I am making my plug-in. :grin:

Could it be possible to do....

/xreload <file path here>?

That would add the file designated in the file patch to the Plug-ins folder? (If it was already there replace it automatticlly?)


It would be just simply grand!
05-04-2004 09:29 PM
Profile PM Web Find Quote Report
optimism_
Senior Member
****

Avatar
Ctrl+Alt+Del - Tragically l337

Posts: 521
Reputation: 8
38 / Male / –
Joined: Jul 2003
O.P. RE: Plugin Reloader :: The next generation
um... all its doing is whats in the plugin api readme with a bit of fancy stuff to make it look nice :P

seriously tho, i cant force the load or unload of a single plugin, it just sends the message to make plus reload them all
HTTP 404 - Signature Not Found
05-04-2004 09:32 PM
Profile E-Mail PM Web Find Quote Report
dotNorma
Veteran Member
*****

Avatar

Posts: 1745
Reputation: 17
33 / Male / –
Joined: May 2003
RE: Plugin Reloader :: The next generation
Yah thats what you do :grin:

/xreload (DLL Path)

First it unloads them all (Like it would)

*This part has nothing to do with the API or any of that just plain code....

It copys the dll to the folder

It reloads them all

You just use the same code but inbetween unload and reload make it copy the file path the plug-in got to to the plug-ins folder ?

Possible?
05-04-2004 09:39 PM
Profile PM Web Find Quote Report
optimism_
Senior Member
****

Avatar
Ctrl+Alt+Del - Tragically l337

Posts: 521
Reputation: 8
38 / Male / –
Joined: Jul 2003
O.P. RE: Plugin Reloader :: The next generation
you can do this with a quicktext i think maybe... you should be able to run the DOS COPY command via run i belive, which takes the form

code:
C:\Documents and Settings\optimism_>copy /?
Copies one or more files to another location.

COPY [/D] [/V] [/N] [/Y | /-Y] [/Z] [/A | /B ] source [/A | /B]
     [+ source [/A | /B] [+ ...]] [destination [/A | /B]]

  source       Specifies the file or files to be copied.
  /A           Indicates an ASCII text file.
  /B           Indicates a binary file.
  /D           Allow the destination file to be created decrypted
  destination  Specifies the directory and/or filename for the new file(s).
  /V           Verifies that new files are written correctly.
  /N           Uses short filename, if available, when copying a file with a
               non-8dot3 name.
  /Y           Suppresses prompting to confirm you want to overwrite an
               existing destination file.
  /-Y          Causes prompting to confirm you want to overwrite an
               existing destination file.
  /Z           Copies networked files in restartable mode.

The switch /Y may be preset in the COPYCMD environment variable.
This may be overridden with /-Y on the command line.  Default is
to prompt on overwrites unless COPY command is being executed from
within a batch script.


hence
code:
/xreload
#/CopyPlugin /run COPY /Y "<source plugin>" "C:\program files\messenger plus! 2\plugins"


should do the trick maybe
HTTP 404 - Signature Not Found
05-04-2004 09:45 PM
Profile E-Mail PM Web Find Quote Report
Mnjul
forum super mod
******

Avatar
plz wub me

Posts: 5396
Reputation: 58
– / Other / Flag
Joined: Nov 2002
Status: Away
RE: Plugin Reloader :: The next generation
Nice update (Y) I have been using your Reloader for a long time, optimism ;)
05-05-2004 07:45 AM
Profile PM Web Find Quote Report
toddy
Veteran Member
*****

Avatar
kcus uoy

Posts: 2573
Reputation: 49
– / Male / Flag
Joined: Jun 2004
Huh?  RE: Plugin Reloader :: The next generation
can anyone help me please ?

When i run the PluginReloader, it comes up with a toast saying "Unloading Plugins" but then my msn crashes. any ideas on what is wrong?

here are my details:-
Windows Version: Windows XP, 5.01.2600
Messenger Client Version: 6.2.0133
Messenger Plus! Version: 3.01.0094

This post was edited on 06-06-2004 at 11:11 PM by toddy.
06-06-2004 11:06 PM
Profile PM Find Quote Report
optimism_
Senior Member
****

Avatar
Ctrl+Alt+Del - Tragically l337

Posts: 521
Reputation: 8
38 / Male / –
Joined: Jul 2003
O.P. RE: Plugin Reloader :: The next generation
all it does is tells messenger plus! to reload the plugins using the information in the API.

If messenger crashes it is because one or more of the plugins dies. Therefore, you gotta do try each dll out, see which one causes the error.

rename ALL dlls except pluginreloader.dll to .dl.bak.
then reload
then rename ONE dll at a time back to .dll and reload again

When messenger crashes, the dll that you just renamed is the one that isnt working properly. You should upgrade or delete this plugin.
HTTP 404 - Signature Not Found
06-07-2004 08:03 AM
Profile E-Mail PM Web Find Quote Report
Pages: (2): « First [ 1 ] 2 » 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