Is There a SCRIPTING TEST for PARTY MODE??

Post a reply

Smilies
:D :) :( :o :-? 8) :lol: :x :P :oops: :cry: :evil: :roll: :wink:

BBCode is ON
[img] is ON
[url] is ON
Smilies are ON

Topic review
   

Expand view Topic review: Is There a SCRIPTING TEST for PARTY MODE??

Re: Is There a SCRIPTING TEST for PARTY MODE??

by Bex » Sat Oct 27, 2012 3:43 am

I added a wish to implement InPartyMode to the original request:
http://www.ventismedia.com/mantis/view.php?id=9649

Re: Is There a SCRIPTING TEST for PARTY MODE??

by trixmoto » Sat Oct 27, 2012 12:31 am

Yes, that's the only way I can see of doing it at the moment, registering an event which fires when it changes and updates a setting somewhere, be it the registry, ini file, or global object. I'm not sure how you find out whether MM is currently in party mode or not though - assuming the event only fires when someone changes it, how do you know the original setting?

Re: Is There a SCRIPTING TEST for PARTY MODE??

by Just Guessing » Fri Oct 26, 2012 8:31 am

I was struck last night by the same thought - this really isn't what I need. It does seem that this will be an event, not a check for a 'state', right?

I have a 144 hot-key Cherry keyboard (excellent addition to a music setup BTW), most keys of which sent an argument to an external vbs script to access the DB and input tags. Its extremely cool - BUT in a partymode environment, after a few beers, the impulse to press the little buttons and see what happens will be overwhelming for guests. It must be addressed or my meticulous tagging efforts will be a joke. Its perhaps premature to worry about this, but I will HAVE to solve this issue soon.

It occurs to me I could do this (once MM4.1 arrives):

1) have an AUTO script that registers the event of PartyModeEnabled/Disabled and accesses a self-created registry key, toggling it 1/0

2)Dangerous scripts for tagging (which may well exist outside MM!), begin with a check of that registry key for the 1/0 before proceeding.

That should work right? Is there a cleaner way to accomplish this?

Re: Is There a SCRIPTING TEST for PARTY MODE??

by trixmoto » Thu Oct 25, 2012 4:53 pm

Yes, but then every script has to register it's own event and hold it's own variable. An event is useful, but I hope there will be a property as well.

Re: Is There a SCRIPTING TEST for PARTY MODE??

by Bex » Thu Oct 25, 2012 2:28 am

I guess you are right. But it fairly easy to create one from the event within the script.

Re: Is There a SCRIPTING TEST for PARTY MODE??

by trixmoto » Wed Oct 24, 2012 9:40 pm

Wouldn't it be better if this was a property we could check, rather than an event?

Re: Is There a SCRIPTING TEST for PARTY MODE??

by Just Guessing » Wed Oct 24, 2012 6:37 pm

Well there ya go; its in the oven. That's cool.

Many thanks for the info.

Re: Is There a SCRIPTING TEST for PARTY MODE??

by Bex » Wed Oct 24, 2012 6:05 pm

Re: Is There a SCRIPTING TEST for PARTY MODE??

by trixmoto » Wed Oct 24, 2012 5:26 pm

Good idea! But not that I'm aware of, sorry. You should add it on Mantis.

Is There a SCRIPTING TEST for PARTY MODE??

by Just Guessing » Wed Oct 24, 2012 11:23 am

In party mode, the direct editing of TAGS is unavailable. Perfect. However, some of my scripts for tag input are working just fine in party mode. That's a problem.

I could easily add an "If .player.IsPartyMode Then Exit Sub" sorta-thing inside any script that is a concern, if there was ANY test out there to check for this state. I have truly done my homework and scoured for hours, but haven't found any leads or solutions.

Anybody got a tip?

Top