mIRC Homepage

splay problems

Posted By: WideOpenSpace

splay problems - 20/01/08 07:48 PM

err to cut story to short :P

i have sound player in my global script.
and ok it plays all well and when i press STOP
button in dialog i have this for event: /splay -p stop

now, when i start mirc and my (global) script loads
i have as startup to play sound

so its /splay %startup-sound (the sound path and file is defined in variable)
----

MY PROBLEM:
the script on startup plays startup sound
AND continues to play music that was las played in player

i use mirc 6.21, so is this some mirc bug or
is there something i can do to prevent this coz its realy annoying...

Posted By: WideOpenSpace

Re: splay problems - 23/01/08 04:26 PM

anyone ? :P
Posted By: Bekar

Re: splay problems - 23/01/08 11:24 PM

mIRC doesn't have the ability to do what you are saying in-built, so this means you're using some script to do it for you.

It would appear that nobody recognizes what that script is from the description you've thus far given, so...

What script are you using, and have you talked to it's creator about this issue?

If you can't contact them, then follow these guidelines to try narrow down the section of code, then post the relevant portions here that you are having issues with.
Posted By: WideOpenSpace

Re: splay problems - 24/01/08 03:52 PM

actualy i think problem is due to some change in mirc versions over time

global script was made for version 5.2 and there is NO
conflict in this what i said.

but in mirc 6.1x and above there is.

thats why i ask if there is something additional to /splay
i can do.

i tried the switch that "stops" queued sounds being played
except current one (for startup sound) but it ignores it
and still plays startup sound and the song from player
even tho as i said in 1st post for startup there is
only /splay for startup sound specifited (file)

so why the heck mirc plays 2 sounds at 1 time then ?

the ON START event is NOT related to this music player at all
in any possible case and i realy cant see logic in this problem.
Posted By: Damsulegna

Re: splay problems - 13/02/08 05:47 PM

I had similar problem with my ON START and ON CONNECT sound bites.
Only resolve i came up with was to use .wav and not .mp3.

Seems to have stopped my Mp3 Player kicking in after.


Hope this helps.
Posted By: WideOpenSpace

Re: splay problems - 17/02/08 10:07 PM

glad to see im not only one having this problem :P
guess its bug then.

thanks for reply ^^
Posted By: Collective

Re: splay problems - 17/02/08 10:38 PM

A bug in what?

It's more likely to be a bug in your handling of on MP3END than in mIRC.
Posted By: WideOpenSpace

Re: splay problems - 17/02/08 11:41 PM

Quote:
Note: These events will not trigger if you use /splay to play another sound or to stop a sound being played, they only trigger if the sound finishes playing completely.


no point using ON MP3END if sound is stopped with /splay cmd
Posted By: starbucks_mafia

Re: splay problems - 18/02/08 01:01 AM

Well mIRC simply doesn't retain records of what files were played between instances of mIRC and I can't reproduce this here. Can you replicate this in a clean install of mIRC using /splay alone or does it only occur within that script?

If it's only within that script, have you checked it hasn't alias'ed /splay? And have you tried unloading any DLLs to ensure they're not doing anything?

Also I don't get what you mean when you say it's a "global" script - or is that just the name of it?

The version of Windows you're using would be helpful too.
Posted By: WideOpenSpace

Re: splay problems - 18/02/08 05:25 PM

Quote:
Well mIRC simply doesn't retain records of what files were played between instances of mIRC and I can't reproduce this here. Can you replicate this in a clean install of mIRC using /splay alone or does it only occur within that script?


theres nothing to reproduce
this works fine under version 5.92 (the 5.2 up was typo)
with no interference of player when startup sound is played

Quote:

If it's only within that script, have you checked it hasn't alias'ed /splay? And have you tried unloading any DLLs to ensure they're not doing anything?


no dlls are used
and player script is NOT aliased during startup sound call

Quote:

Also I don't get what you mean when you say it's a "global" script - or is that just the name of it?

The version of Windows you're using would be helpful too.


under global i mean like NoNameScript, or DeusEx or IRCap or whatever... the full script bundle by 1 author.

i use WinXP SP2
Posted By: RoCk

Re: splay problems - 18/02/08 05:39 PM


It's a script causing this. There was no mIRC 5.92, it went from 5.91 to 6.0. The only bug here is that you obviously have no clue about any of this and are unwilling to even try and find the real cause (your script) of your problem.
Posted By: Riamus2

Re: splay problems - 18/02/08 10:33 PM

if it works fine in older versions and not newer AND no one else can reproduce it, there's a very good chance it's because of something in your script that worked in older versions and not in newer. As of 6.3, various changes meant to prevent scripts filled with certain errors from working (such as missing closing parentheses) have been added. This can make a script that has errors stop working correctly until it's fixed.

That said, it *could* still be a bug of some sort. However, you haven't said yet if you tried producing this on a clean copy of mIRC 6.31 (no scripts at all installed). My guess is that you can't reproduce it without a script installed. If that's the case, then it's your script.
© 2022 mIRC Discussion Forums