Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » Finished MUD Scripts Goto page 1, 2, 3  Next
turian
Novice


Joined: 05 Jun 2004
Posts: 37
Location: USA

PostPosted: Tue Jun 29, 2004 3:44 am   

zMUDamp (Expanded Winamp control from zMUD)
 
Update: I've moved past version 1.2. The most current version (3.0) can be found at http://www.artitumis.com/zmudamp.html

I took great interest in the thread about controlling Winamp from zMUD and ended up with zMUDamp! The thread that inspired this is http://www.zuggsoft.com/forum/topic.asp?TOPIC_ID=15446 Here are the requirements for zMUDamp v1.2

zMUD v7.x (tested on 7.05)
Winamp with WinampCOM plugin

Now for the script. I suggest you copy and paste one class at a time. Mine was a little picky.

(Code removed for old version. Check out the zMUDamp homepage given above!)

There are your buttons. I also added a fifth button but when I imported it, zMUD freaked. Manually adding it seemed to work. Just make another button and for the caption, throw in (Code removed for old version).
That will give you the song name, current time, and total time in a button.

(Code removed for old version)

That is how you can turn off the buttons and the COM connection. Default to turn it on and off is zmudampon and zmudampoff. Pretty simple, eh? The trigger you see is part of the part I'm most excited about. Sharing with the MUD what you are listening to. Get a tell of zmudamp status and you reply back with the song, current time, and total time. If you have the buttons and COM closed, it tells them you aren't listening to music right now.

(I'm leaving this in incase someone wants to add it to the latest version)

#CLASS zMUDampSubMenu {menu}
#MENU {Full Name/Time sent to %selword (must be a chan)} {%selword @song %concat(%eval((@songtime/1000)/60),":",%mod(%eval(@songtime/1000),60))"/"%concat(%eval(@songlength/61),":",%mod(@songlength,60)}
#MENU {Auction} {auctalk @song}
#MENU {FriendNet} {fc @song}
#MENU {Grats} {grats @song}
#MENU {IC} {gossip @song}
#MENU {Info} {info @song}
#MENU {Music} {music @song}
#MENU {OOC} {ooc @song}
#MENU {Quest} {qchan @song}
#MENU {Question/Answer} {answer @song}
#MENU {Quote} {quote @song}
#MENU {Say} {say @song}
#MENU {Tell %selword (must be name)} {tell %selword @song}
#MENU {Trashtalk} {trash @song}
#MENU {Trivia} {trivia @song}
#CLASS 0
#MENU "zMUDamp Channel Selector" {} "" "zMUDampSubMenu"

This is the really cool part. Right click in the window, and you can send the Artist - Song to any chan. Right now, they are customed to my MUD, A Temporal Rift. If your MUD has different/more/less chans, you can change stuff around. To add, just copy a line. The first set of {} is what it will appear as in the menu. The second is the channel keyword and @song. Do not change the @song part or the song won't get broadcasted. For the Full Name send to <chan>, right click on a chan and then go for the full name send. That will send the name of the song and the time stats. The tell command must link to a player name so right click on a player name and tell away.

This file along with the version history and screen shots of how it looks on my machine will be up on http://www.artitumis.com/zmudamp.html tonight or tomorrow so check that out. Questions, comments, etc can be emailed to me: marcus(at)artitumis(dot)com. Enjoy zMUDamp!

Cheers!


Last edited by turian on Wed Nov 02, 2005 12:17 am; edited 3 times in total
Reply with quote
turian
Novice


Joined: 05 Jun 2004
Posts: 37
Location: USA

PostPosted: Tue Jun 29, 2004 5:53 am   
 
The webpage for zMUDamp is up with links to the source in text form, a player screenshot, and a channel selector screen shot. The above post is used as the release notes. Version history from the backbone script up until now is also there.

Ideas for v2.0 are posted and I'll get around to that in the next week or two. Gonna let this one sink in and see what everyone thinks before I pour more time into it. So far the only thing I know I can really do skin the buttons. We'll see how goes!
Reply with quote
turian
Novice


Joined: 05 Jun 2004
Posts: 37
Location: USA

PostPosted: Wed Jun 30, 2004 4:00 pm   
 
v2.0 update

zMUDamp v2.0 will be released on a TBA basis as of now. I found a list of functions and codes so I will slowly start adding those in. My final goal if possible would be to get with someone that is skilled in programming outside of zMUD and perhaps make this a plugin instead of a script. Any takers?
Reply with quote
turian
Novice


Joined: 05 Jun 2004
Posts: 37
Location: USA

PostPosted: Thu Jul 08, 2004 5:24 pm   
 
Screenshot of v2.0b is here! http://www.tr-radio.net/player2.jpg

As you can see from the screenshot, I've fixed the bug with the time when seconds < 10. Instead of showing 0:04, it would just show 0:4. That has been fixed.

I'm attempting to find a way to mute and then v2.0b will become v2.0!
Reply with quote
geengyr
Newbie


Joined: 05 Sep 2004
Posts: 6

PostPosted: Sun Sep 05, 2004 11:04 pm   
 
Great script :))

I only have one problem, what file name do i import into zmud as a plug-in? or am i just nuts? Razz
Reply with quote
Loto
Apprentice


Joined: 05 May 2003
Posts: 194

PostPosted: Mon Sep 06, 2004 7:07 pm   
 
I think it's a Plug-In for WinAMP. That's how it worked for me. I added a gauge that measures song length and has the song name because I like visual things. Check it out.

#BUTTON 6 {@song} {} {} {} {@songtime} {} {} {Size} {396} {19} {} {} {} {32864} {} {Gauge||12|@songlength*1000|@songlength*1000|15} {} "" {Explore|Inset} {} {} {3}

I have the size set like that so it lines up with some other things I had... it's not important.
_________________
*Llewlyn* makes a strange sound but is suddenly very silent as you place a silver sai in his back!
Reply with quote
turian
Novice


Joined: 05 Jun 2004
Posts: 37
Location: USA

PostPosted: Sat Sep 11, 2004 12:23 am   zMUDamp v2.0!
 
Well, I am finally posting it! This is a script for zMUD that allows control of Winamp from the zMUD window. The new version is importable and much easier to get set up than before. For full details, check out www.artitumis.com/zmudamp.html As always, questions can be email to me: marcus@artitumis.com

Cheers!

-Edit: Oops, my old domain was in there. Fixed!
_________________
Marcus
zMUDamp v2.1 (http://www.artitumis.com/zmudamp.html)

Last edited by turian on Wed Feb 08, 2006 1:56 pm; edited 1 time in total
Reply with quote
Rorso
Wizard


Joined: 14 Oct 2000
Posts: 1368

PostPosted: Mon Sep 13, 2004 8:08 pm   
 
Just a small bug correction. There is a missing ")" for the %concat function.

#CLASS "zMUDampPower"
#ALIAS zmudampoff {
#var winampstatus 0
#t- zMUDampControl
#t- zMUDampButtons
}
#ALIAS zmudampon {
#var winampstatus 1
#t+ zMUDampControl
#t+ zMUDampButtons
}
#VAR winampstatus {0} {0}
#TRIGGER {%1 tells you 'zmudamp status'} {
#if (@winampstatus = 1) {
tell %1 Heya %1! The current playing song is @song. The current postion of the song is %concat( %eval( (@songtime/1000)/60),":",%mod( %eval( @songtime/1000), 60))" and the length of the current song is" %concat( %eval( @songlength/61), ":", %mod( @songlength, 60)).
} {
"tell %1 I'm sorry, I'm not listening to music right now."
}
}
#CLASS 0
Reply with quote
turian
Novice


Joined: 05 Jun 2004
Posts: 37
Location: USA

PostPosted: Tue Sep 14, 2004 8:42 pm   
 
Ah, yes. Thank you. I rarely get that tell so I didn't spot it. Thanks again.
_________________
Marcus
zMUDamp v2.1 (http://www.artitumis.com/zmudamp.html)
Reply with quote
hykou
Wanderer


Joined: 29 Apr 2004
Posts: 63
Location: USA

PostPosted: Thu Sep 16, 2004 1:11 am   
 
where can i find the winamp plugin?
Reply with quote
Loto
Apprentice


Joined: 05 May 2003
Posts: 194

PostPosted: Mon Sep 27, 2004 10:10 pm   
 
WinAMP website
_________________
*Llewlyn* makes a strange sound but is suddenly very silent as you place a silver sai in his back!
Reply with quote
Loto
Apprentice


Joined: 05 May 2003
Posts: 194

PostPosted: Mon Sep 27, 2004 11:44 pm   
 
Mmm... I love the new zMUD amp. Just got it and set it up. I couldnt get your timer button thing working though, the one that tells second of song. So I modified the colors and size of the one I was using with the old zMUDamp to fit the skins you have with the buttons, and mind is a Gauge with the song name. I must say, I am quite proud of myself. :P But anyway... I couldn't get your to work. Nothing happened. :(

#BUTTON 5 {@song} {} {} {} {@songtime} {} {} {Size} {317} {29} {} {} {} {112} {} {Gauge||7|@songlength*1000|@songlength*1000|8} {} "" {} {} {}


http://chade.bravehost.com/screenshot.jpg

Mmm... because Bravenet is so... stupid... it won't let me link to images or post images. You'll have to copy the address and paste it into the address bar. And... anyone know a webhost that lets me link messages? :P
_________________
*Llewlyn* makes a strange sound but is suddenly very silent as you place a silver sai in his back!
Reply with quote
mortie
Wanderer


Joined: 26 Sep 2002
Posts: 73
Location: United Kingdom

PostPosted: Thu Nov 11, 2004 9:55 am   
 
Hi,

Can someone post the lastest script of this on here? The site indicated nolonger seems available.


Mortie
Reply with quote
turian
Novice


Joined: 05 Jun 2004
Posts: 37
Location: USA

PostPosted: Mon Mar 21, 2005 4:00 pm   
 
Sorry to those looking for the site for zMUDamp. I changed domains and never ported it over. The new address is http://www.artitumis.com/zmudamp.html

I haven't thought of anything new to put in zMUDamp so if anyone else has ideas, please let me know. Thanks!
_________________
Marcus
zMUDamp v2.1 (http://www.artitumis.com/zmudamp.html)
Reply with quote
Jitteron
Newbie


Joined: 11 Mar 2005
Posts: 9

PostPosted: Mon Mar 28, 2005 5:18 am   Hrmm
 
hrmm thats all well and good, but how about making it actually do something?
Im talking shuffle buttons, repeat, volume as well as displaying a song name, artist, bitrate, length and position...
well Ive done all this, :o) no one seemed to intrested though, so if anyone is.. let me know.
Reply with quote
Loto
Apprentice


Joined: 05 May 2003
Posts: 194

PostPosted: Mon Mar 28, 2005 4:25 pm   
 
It does do some of that... did you even LOOK at the screenshot? The one he made has volume, mute, song name, song length, and position. Great job, Turian!
_________________
*Llewlyn* makes a strange sound but is suddenly very silent as you place a silver sai in his back!
Reply with quote
Jitteron
Newbie


Joined: 11 Mar 2005
Posts: 9

PostPosted: Tue Mar 29, 2005 3:40 pm   
 
Yes some of that indeed... :o)
Reply with quote
turian
Novice


Joined: 05 Jun 2004
Posts: 37
Location: USA

PostPosted: Wed Mar 30, 2005 1:45 pm   
 
{edit}
What do you mean do something? It definately controls the crap out of Winamp. You can click buttons or use the macros to do what ever you want. Plus it is skinned and looks pretty. Very Happy
{/edit}

I'm always up for suggestions for new releases. If you would like to send your code to me you will be credited for what you supply. Loto gave me the idea and the basics for the gauge I just recently put in and he did in fact get credit. I even alerted him by email.

A note to Jitteron and anyone else that would like new features:

The only way it would work is if Winamp has a COM command predefined. If you know what that means and how to look it up, please tell me when you suggest something. If you are clueless, just say so and I'll look it up. Thanks for the feedback!
_________________
Marcus
zMUDamp v2.1 (http://www.artitumis.com/zmudamp.html)
Reply with quote
Jitteron
Newbie


Joined: 11 Mar 2005
Posts: 9

PostPosted: Fri Apr 01, 2005 10:58 am   
 
Yeah okay fair call.. well handled.

This is what I did a while ago, I recently posted it up here. Im not sure if it can be transferred directly to zmud as ive not posted any code ive created before. BUT the functionality of everything works

http://forums.zuggsoft.com/phpbb/viewtopic.php?t=20102&highlight=unfinished

and here is what mine looks like..
http://iahmel.com/gallery.php?action=viewImage&image_id=157

Id love to see a value return on volume so I can make a volume guage.
Oh and if you know a way to get a value return from shuffle and repeat, id love to know otherwise there is no way of telling if they were on or off to begin with.

Onya mate.
Reply with quote
turian
Novice


Joined: 05 Jun 2004
Posts: 37
Location: USA

PostPosted: Fri Apr 08, 2005 7:29 pm   
 
There isn't a return value that zMUD can grab for either volume or shuffle/repeat status.
_________________
Marcus
zMUDamp v2.1 (http://www.artitumis.com/zmudamp.html)
Reply with quote
hykou
Wanderer


Joined: 29 Apr 2004
Posts: 63
Location: USA

PostPosted: Sun Apr 10, 2005 6:06 pm   
 
I cant find the plug in on Winamp's site... Could someone send it to me?

-ChRiS
Reply with quote
turian
Novice


Joined: 05 Jun 2004
Posts: 37
Location: USA

PostPosted: Mon Apr 11, 2005 7:12 am   
 
http://www.winamp.com/plugins/details.php?id=6538
_________________
Marcus
zMUDamp v2.1 (http://www.artitumis.com/zmudamp.html)
Reply with quote
...{chris}...
Novice


Joined: 11 Apr 2005
Posts: 31
Location: Yucaipa, Ca

PostPosted: Tue Apr 12, 2005 1:23 am   
 
Much thanks friend.

-ChRiS
_________________
My signature is better than yours.
Reply with quote
Orang
Apprentice


Joined: 22 Jul 2004
Posts: 118
Location: USA

PostPosted: Tue Jul 05, 2005 3:30 pm   
 
is there any way you could do this for windows media player? :)
Reply with quote
turian
Novice


Joined: 05 Jun 2004
Posts: 37
Location: USA

PostPosted: Tue Jul 05, 2005 4:05 pm   
 
Orang wrote:
is there any way you could do this for windows media player? :)


I don't believe there is a COM type plugin for Windows Media Player. I'll do some searching on the Internets and see what I can find.
_________________
Marcus
zMUDamp v2.1 (http://www.artitumis.com/zmudamp.html)
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » Finished MUD Scripts All times are GMT
Goto page 1, 2, 3  Next
Page 1 of 3

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

© 2009 Zugg Software. Hosted by Wolfpaw.net