Printable Version of Topic

Click here to view this topic in its original format

AMIP Community _ Bug Reports _ Preset commands

Posted by: VesQ Jul 3 2008, 12:17 PM

When using /dde mPlug preset <preset_number> it seems not to work properly, doesn't it? And the problem doesn't get fixed when using dll? This is the reason: presets are 0-based. 0 means the 1st preset, 1 means 2nd preset and so on.
I think this is a bug or if it's not then there's false information in documentation:

QUOTE
http://amip.tools-for.net/wiki/manual/amip#plugin_control
preset N
Changes active preset to N (1..5).


EDIT: Deleted last edit, since this actually IS like this.

Posted by: Serge Jul 3 2008, 03:34 PM

So, there is no problem in AMIP/Documentation?

Posted by: VesQ Jul 3 2008, 09:07 PM

QUOTE(Serge @ Jul 3 2008, 06:34 PM) *

So, there is no problem in AMIP/Documentation?

Ah, sorry if you understood me wrong. YES there is a problem becouse preset function is supposed to be 1-based, not 0-based like it is now. Or then it's written wrong in the documentation.

Posted by: Serge Jul 4 2008, 10:45 AM

Thanks, will be fixed in the next AMIP version.

Posted by: DJ_Cuttlefish Nov 23 2008, 09:53 PM

The bug might be a little deeper than that. I tried doing it 0-based and 1-based and present N doesn't work.

Posted by: Serge Nov 24 2008, 02:03 AM

Do the other functions related to preset work?

Posted by: DJ_Cuttlefish Nov 24 2008, 02:12 AM

QUOTE(Serge @ Nov 23 2008, 06:03 PM) *

Do the other functions related to preset work?


All other functions but Preset N work. /dll ac mexec announce preset N works using the 1-based system.

Posted by: Serge Nov 24 2008, 02:46 AM

You are right, there was a bug with parameters conversion in this function (introduced by the previous fix). Seems to be fixed now. Please try the version for your player from:

http://amip.tools-for.net/files/test/

Posted by: DJ_Cuttlefish Nov 24 2008, 08:14 AM

Hmm...reinstalled a new copy of everything, AMIP, Config, and the socket dll... everything works except
/dde mplug OR /dll ac mexec preset N or /dde mplug OR /dll ac mexec control on/off. Would not be surprised if it is something on my end and not the software itself.

Posted by: Serge Nov 24 2008, 11:46 AM

Verified and it works fine.

/dde mplug preset 1
/dde mplug getplain
preset #1 is displayed

/dde mplug preset 2
/dde mplug getplain
preset #2 is displayed

Posted by: DJ_Cuttlefish Nov 25 2008, 04:16 AM

Works like a charm. Thank You for the fix.

Powered by Invision Power Board
© Invision Power Services