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

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » zMUD General Discussion
kyros
Novice


Joined: 26 Jan 2005
Posts: 33

PostPosted: Fri Jan 27, 2006 8:17 am   

Launch question
 
Is there a way to see if a launched file is still running?
Reply with quote
kyros
Novice


Joined: 26 Jan 2005
Posts: 33

PostPosted: Fri Jan 27, 2006 8:17 am   
 
like an IF statement and if it isn't it will stop the script.
Reply with quote
TonDiening
GURU


Joined: 26 Jul 2001
Posts: 1958
Location: Canada

PostPosted: Fri Jan 27, 2006 8:21 am   
 
Launched file as in a commandline open of a character on start up?

You can do alarm triggers to see if you have seen a certain text (prompt?) if not do something like:
#MENU {file|disconnect}
#DISC
Reply with quote
kyros
Novice


Joined: 26 Jan 2005
Posts: 33

PostPosted: Fri Jan 27, 2006 8:24 am   
 
#var Winamp %comcreate( "WinampCOM.Application")

I used that to open winamp and perform instructions to it.. well then I close winamp, zmud crashes.
now... I want it to check if it is open, if not, stop the script. If I don't do this, it will keep crashing :p
Reply with quote
TonDiening
GURU


Joined: 26 Jul 2001
Posts: 1958
Location: Canada

PostPosted: Fri Jan 27, 2006 8:43 am   
 
See http://forums.zuggsoft.com/phpbb/viewtopic.php?t=16787&postdays=0&postorder=asc&start=15
Failing that maybe there is something that can check to see if a process is running.
Reply with quote
kyros
Novice


Joined: 26 Jan 2005
Posts: 33

PostPosted: Fri Jan 27, 2006 10:19 am   
 
that still doesn't answer my question..

Zmud crashes on closing of winamp if you don't clear the winamp variable, is there a way to avoid it crashing... or a safe check...
Reply with quote
Pseudo
Wanderer


Joined: 25 Oct 2005
Posts: 99

PostPosted: Fri Jan 27, 2006 3:04 pm   
 
This is an informative post so people troubleshooting the problem have an idea what COM object is being referenced:

Quote:
Requirements: (From the documentation)
I think it will run on Win 95/98 and NT. I have tested it on 98, NT 4 sp 4 and NT 5 beta 3


COM location: http://mysite.wanadoo-members.co.uk/johnadcock

COM methods documented: (Incomplete, but a good starting point)
http://www.gammon.com.au/forum/bbshowpost.php?bbsubject_id=2823


Last edited by Pseudo on Fri Jan 27, 2006 3:10 pm; edited 1 time in total
Reply with quote
Pseudo
Wanderer


Joined: 25 Oct 2005
Posts: 99

PostPosted: Fri Jan 27, 2006 3:06 pm   
 
Knowing the requirements of the COM object, I'd like to ask for:
1. Your zMud version
2. Your WinampCOM version
3. Which Operating System is this for?
Reply with quote
kyros
Novice


Joined: 26 Jan 2005
Posts: 33

PostPosted: Fri Jan 27, 2006 10:33 pm   
 
zmud 7.21
lastest winamp com
and windows xp sp2
Reply with quote
Pseudo
Wanderer


Joined: 25 Oct 2005
Posts: 99

PostPosted: Sat Jan 28, 2006 2:50 am   
 
I should also ask where you downloaded the latest COM component from as it doesn't ship with the program.
Reply with quote
kyros
Novice


Joined: 26 Jan 2005
Posts: 33

PostPosted: Sun Jan 29, 2006 3:45 am   
 
Winamps site. it all works, it's just when I close winamp without clearing using: #var winamp ""
Reply with quote
Pseudo
Wanderer


Joined: 25 Oct 2005
Posts: 99

PostPosted: Tue Jan 31, 2006 5:40 pm   
 
Please reference this thread as to the COM explanation.
http://forums.zuggsoft.com/phpbb/viewtopic.php?t=17226
As to it being on winamp's site, all links I found there are no longer working for the COM download.
Winamp does have plugin links to ActiveWinamp located here:
http://www.winamp.com/plugins/details.php?id=143299
Another ActiveWinamp Plugin page is: (contains links to its various sites)
http://www.myplugins.info/activewinamp.htm
This project is being actively worked on and is meant for windows XP.

As a side note, this explains that the old WinampCom plugin also has memory issues:
http://forums.winamp.com/showthread.php?s=35b87afe47b3ac593b5f6244c18b798a&threadid=206785&highlight=WinampCOM


Last edited by Pseudo on Tue Jan 31, 2006 6:11 pm; edited 1 time in total
Reply with quote
Pseudo
Wanderer


Joined: 25 Oct 2005
Posts: 99

PostPosted: Tue Jan 31, 2006 5:53 pm   
 
I should also mention, closing Winamp without clearing the variable in ActiveWinamp did not crash zmud during my tests.
Should you require further support on a plugin not designed for Windows XP, I wish you luck on your search! :)
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » zMUD General Discussion All times are GMT
Page 1 of 1

 
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