Metis Bot

Discuss the world of file sharing, from philosophy to help with applications.

Moderator: CricketMX Forum Moderators

quicksilver
Helpful Hands
Helpful Hands
Posts: 1926
Joined: Mon Mar 22, 2004 12:12 am

Hmm seems there where a few little beasties crept in to that last release but there all sorted out now :)
This is version 2. 4. 1 , get it from here

http://mxcontrol.sourceforge.net/module ... tit&lid=93

And get the source from here

http://mxcontrol.sourceforge.net/module ... tit&lid=94

Bender posted this on his site
OK, I fixed a handfull of minor bugs in Metis:

- Writing files in mode="a" works now and doesnt truncate the file anymore

- Fixed handling of OnPM commands (uservariables work now and names are handled correclty too)

- Fixed an error with operator commands

- %ROOMNAME% is now updated when the roomname changes
Well done on a speedy fix Bender and thanx again to all at mxcontrols 8)
quicksilver
Helpful Hands
Helpful Hands
Posts: 1926
Joined: Mon Mar 22, 2004 12:12 am

This is the latest Metis release (Ver 2.4.2) :D

http://mxcontrol.sourceforge.net/module ... it&lid=104

Sourcecode from here

http://mxcontrol.sourceforge.net/module ... it&lid=105

Metis 2.4.2
This release fixes the OnTimer command (It still is not accurate to the second because all outputs of Metis are queued) but at least it works now It also introduces couple of new variables (%DATE% etc.) have a look in variables.txt
Thanx again to the MxControl team 8)
quicksilver
Helpful Hands
Helpful Hands
Posts: 1926
Joined: Mon Mar 22, 2004 12:12 am

New Metis release :D
This is Metis version 2.44

http://mxcontrol.sourceforge.net/module ... it&lid=109

And the sourcecode from here

http://mxcontrol.sourceforge.net/module ... it&lid=110
Metis 2.44 has been released for public download. It fixes two smaller errors and two feature improvements that Metis-Script Guru's might like :-)

1) Improved uservariables:
You can now name your uservariables instead of addressing them via indices. The new syntax is
$var-name$ (for backward compability with old Metis versions you can also use %USERVAR[var-name]% so you don't have to adjust existing scripts if you are lazy ;))

Saving data to uservariables works as always:
<out type="push" extdata="var-name">some data</out>
and
<out type="pop" extdata="var-name"lgt;

Also the number of variables is not limited anymore so remove the line
<MaxUserVars ... />:
from your MXC.xml. Variables are dynamicly created and destroyed at runtime.

2) New output type "self"
This will send the output through the internal script interpreter instead of sending it to the chat. This way Metis can trigger 's, which it usually can not do:
<out type="self">!test</out>

will trigger this command

<command>
<in>!test</in>
<out>some answer</out>
</command>

for example ;-)

Enjoy.
Thanx Bender , and a big thanx to anyone else who helped in its developement 8)
quicksilver
Helpful Hands
Helpful Hands
Posts: 1926
Joined: Mon Mar 22, 2004 12:12 am

Here is a new Metis update (Metis 2. 45), containing a few bugfixes and compatability with RoboServer.

http://mxcontrol.sf.net/roboServ/Metis.rEx
+ Fixed crashbug in OnOpMessage
+ Added %SERVER% and %SERVERVERSION% variable
Hmm, something new to play with :lol: Cheers to the MxControl folk 8)
User avatar
battye
Site Admin
Site Admin
Posts: 14391
Joined: Sun Jan 11, 2004 8:26 am
Location: Australia
Contact:

I've always liked Metis, it's a real shame you can't convert from MxControl to it though without manually adding everything again :?
CricketMX.com in 2022: Still the home of bat's, rat's and other farmyard animals!

"OK, life [as you chose to define it] repeats until there are no more lessons to be learned." - nrnoble (June 12, 2005)
"the new forum looks awesome, it's getting bigger & better" - p2p-sharing-rules (11 Jan, 2008)
"Looks like CMX is not only getting bigger...but, also getting better!!" - moongirl (14 Dec, 2007)
Jimmys444
A Forum Addict
A Forum Addict
Posts: 96
Joined: Wed Dec 15, 2004 9:23 pm
Location: C:\WINDOWS\system32\ Zhen-Xlogic.dll
Contact:

  • Metis
    +++++++++++++++++


    Changes In Metis:
    Added some failsafes
    For RoboMX 1.25 only!
EnJoY It :wink: 8)
Last edited by p2p-sharing-rules on Mon Jan 14, 2008 3:23 am, edited 1 time in total.
Reason: Removed download link
Image
Image
quicksilver
Helpful Hands
Helpful Hands
Posts: 1926
Joined: Mon Mar 22, 2004 12:12 am

Lol you sneaking in with the goodies again Jimmys :lol:
cheers to yourself and Big thanx to Bender and the team 8)
Lunatic_UK1958
Greenhorn
Greenhorn
Posts: 18
Joined: Wed Mar 16, 2005 6:55 pm

Being as this is the Metis discussion group, it seems the obvious place to post this!

Ok, my Metis bot is called 'Bot' and I use it to respond to users requests and display the response 'privately'. Here is what I have:

Code: Select all

<command type="script" flood="1">
<in>help!</in> 
<out type="normal" delay="200">#private %RAWNAME% #message The following help is available:</out>
<out type="normal" delay="200">#private %RAWNAME% #message join!  - Details of how to join</out>
<out type="normal" delay="200">#private %RAWNAME% #message how to share files - needs updating</out>
<out type="normal" delay="200">#private %RAWNAME% #message how to unshare files - needs updating</out>
<out type="normal" delay="200">#private %RAWNAME% #message how to search</out>
<out type="normal" delay="200">#private %RAWNAME% #message how to browse</out> 
<out type="normal" delay="200">#private %RAWNAME% #message what is remotely queued</out> 
<out type="normal" delay="200">#private %RAWNAME% #message what is busy in queue</out> 
<out type="normal" delay="200">#private %RAWNAME% #message how to change your name</out> 
<out type="normal" delay="200">#private %RAWNAME% #message how to download</out> 
</command> 
Which produces this 'privately' when someone types help!:
Bot700_00000 [Private] The following help is available:
Bot700_00000 [Private] join! - Details of how to join
Bot700_00000 [Private] how to share files - needs updating
Bot700_00000 [Private] how to unshare files - needs updating
Bot700_00000 [Private] how to search
Bot700_00000 [Private] how to browse
Bot700_00000 [Private] what is remotely queued
Bot700_00000 [Private] what is busy in queue
Bot700_00000 [Private] how to change your name
Bot700_00000 [Private] how to download
However, this is what I would like to appear 'privately':
[Private] The following help is available:
[Private] join! - Details of how to join
[Private] how to share files - needs updating
[Private] how to unshare files - needs updating
[Private] how to search
[Private] how to browse
[Private] what is remotely queued
[Private] what is busy in queue
[Private] how to change your name
[Private] how to download

OR even better

The following help is available:
join! - Details of how to join
how to share files - needs updating
how to unshare files - needs updating
how to search
how to browse
what is remotely queued
what is busy in queue
how to change your name
how to download
I would REALLY appreciate some guidance on this. Many thanks
User avatar
battye
Site Admin
Site Admin
Posts: 14391
Joined: Sun Jan 11, 2004 8:26 am
Location: Australia
Contact:

Maybe using action text? So adding /action or /me to the Bot's command file before each output.
CricketMX.com in 2022: Still the home of bat's, rat's and other farmyard animals!

"OK, life [as you chose to define it] repeats until there are no more lessons to be learned." - nrnoble (June 12, 2005)
"the new forum looks awesome, it's getting bigger & better" - p2p-sharing-rules (11 Jan, 2008)
"Looks like CMX is not only getting bigger...but, also getting better!!" - moongirl (14 Dec, 2007)
JASON
A Forum Addict
A Forum Addict
Posts: 67
Joined: Sat Dec 25, 2004 8:28 pm
Location: United Kingdom

Have feeling's for the host! ;)

Code: Select all

 [15:21:59] SERVER000_12305 To JASON666_51979 [Private] Message
No you cant use the private message command like that but if your running Ouka's Chatserver try typing /help or /server into the main chat, other than that no. . Can use the #\r\n# command but everyone in your channel will see it each time :?

Although the /help and /server are limitted to 31 lines each, but I'm sure thats enough it fills a screen anyway ;)

P.S These two menu's are edittable if you open the RCMSConfig.txt file and go to the bottom of it.
<Insert Abuse Here. . . >
Lunatic_UK1958
Greenhorn
Greenhorn
Posts: 18
Joined: Wed Mar 16, 2005 6:55 pm

Thanks yet again jason. :)

I have another quickie. I want to display the following type of web-link via Metis. However, I believe that Metis is VB based and treats the '&' as an operator! Any ideas how I can display the '&' in the link?

Code: Select all

http://www.websitename.com/modules.php?name=Forums&file=viewforum&f=5
quicksilver
Helpful Hands
Helpful Hands
Posts: 1926
Joined: Mon Mar 22, 2004 12:12 am

Lunatic , I hear Benders boots stirring right now..lol
Metis, and all the other of the MxControls releases are all in C++ , see for yourself, the source codes are freely available :D

http://sourceforge.net/project/showfile ... p_id=92201

If you know how to tinker with the bit you want tweaked, theres a few folks can compile the code for you, including myself.
Image
User avatar
p2p-sharing-rules
Moderator
Moderator
Posts: 8462
Joined: Mon Mar 29, 2004 6:55 pm
Location: Canada

Since I'm using Metis I figured I should provide some updates for it. :P
Metis 2.80 Beta 1 Modified 2 B&M
*************************
- Fixed condition "is digit"

- Added two option mode for the type file of a response

before :
a: Append data to the end of file
t: Truncate file and overwrite existing data with the new (default)

now :
a: Append data to the end of file
t: Truncate file and overwrite existing data with the new (default)
y: Append data to the end of file without XmlEntities for the data.
x: Truncate file and overwrite existing data with the new without XmlEntities for the data.
Thanks to Bender , MxControl and Bide&Musique for fixing bugs.
User avatar
p2p-sharing-rules
Moderator
Moderator
Posts: 8462
Joined: Mon Mar 29, 2004 6:55 pm
Location: Canada

Download Metis28beta1.exe here.
Install Metis v2.80 beta 1 then to upgrade to version 2.80 Beta 1 Modified 4.
Extract the Metis280b1m4.zip files to your \Program Files\Metis 2.8\plugins folder.

You'll need to add Peer Caches to your RoboMX.ini file in your Metis v2.8 programs folder or you can add it to the network settings in roboMX's expert settings. You can use caches.winmxworld.net or any other peer cache that you want to use. You can use the 3rd party modified .dll and add it to your Metis programs folder to connect to the WPN.
Oh since the winmxgroup caches are closed remove all the winmxgroup caches.I find it easier to remove all the winmxgroup caches from within the RoboMX.ini file.

download link:
Metis 2.80 Beta1 Modified 4
Metis 2.80 Beta 1 Modified 4 B&M 13-05-2007
- Fixed invalid argument with the command /mxc load

Metis 2.80 Beta 1 Modified 3 B&M 12-05-2007
*************************
- Fixed command OnRename

- Added one option to disable the use of XmlEntities in memory

usage in file MXC.xml :
<DisableXmlEntities value="1"/>

if value = 1 XmlEntities in Memory are disabled
if value = 0 XmlEntities in Memory are enabled ( Default )
Thanks again to Bide&Musique!! 8) :partyman:
Last edited by p2p-sharing-rules on Wed Sep 19, 2007 6:30 pm, edited 1 time in total.
User avatar
battye
Site Admin
Site Admin
Posts: 14391
Joined: Sun Jan 11, 2004 8:26 am
Location: Australia
Contact:

Thanks for the update P2P! :)
CricketMX.com in 2022: Still the home of bat's, rat's and other farmyard animals!

"OK, life [as you chose to define it] repeats until there are no more lessons to be learned." - nrnoble (June 12, 2005)
"the new forum looks awesome, it's getting bigger & better" - p2p-sharing-rules (11 Jan, 2008)
"Looks like CMX is not only getting bigger...but, also getting better!!" - moongirl (14 Dec, 2007)
Post Reply