Quick Sign In:  

Forum: VirtualDJ Technical Support

Topic: Return parameters disapearing and queries becoming wrong

This topic is old and might contain outdated or incorrect information.

NicotuxHome userMember since 2014
Just detected with b6242 (before to upgrade to b6255) may come from older build
Some verbs i.e. "effect_has_slider" or ""get_effect_name" don't return value anymore
They can't be used (as they used to before) as simple queries in scripts like visibility="effect_has_slider"
they now need to be query "effect_has_slider?true:false" braking a lot of scripts and skins
in a way to be correct when no slider exist... needs to test against '' (empty string) as well making thing really complicated
The same, display can't be used directly (i.e. as a name or status of a button)
As they now return empty string instead of boolean or integer they are being detected as ....
THE SAME WAY THE "NON BUG" with uninitialized variables which broke many mappers and skins : not false not true ... but '' ... when it works ...
the following not working (visibility and novisibility both don't work and do the same)
visibility="get_effect_name"
visibility="get_effect_name '' "
visibility="get_effect_name '' ? false : true" doesn't work anymore
visibility="effect_name '' ? false : true"

visible with "old" skin in 1slots fxmode without effect loaded : 3 knobs appear

need to set visibility="get_effect_name & param_cast text & not param_equal ''"
insead NORMAL visibility="get_effect_name"
 

Posted Fri 15 Jan 21 @ 3:04 am


(Old topics and forums are automatically closed)