It is currently March 29th, 2024, 9:15 am

(solved) Problem with a trigger sequence, need some help

Get help with creating, editing & fixing problems with skins
User avatar
Bayushi Tai
Posts: 13
Joined: July 17th, 2012, 4:50 am

(solved) Problem with a trigger sequence, need some help

Post by Bayushi Tai »

LINK UPDATED - NOW IT'S ALMOST DONE, ONLY ONE PROBLEM:
the first time when open the screen after the main case the animation fails, but then it works, i only have to figure it out that problem !!


Hello my friends, i'm having a problem with a "Music" skin (is a skin of mine, the kind that reads the music player) I want a button that open and close a panel (a screen) I got all the PNGs for the animation but I can't make it work, I'm almost there, can someone fix it ?

My Skin is called Blue Sun This is a new link

I'll leave a link here: https://mega.nz/#!lmxiHDAK!FgXBNzqUT2DnYvrqJK1fuwB-j0rVrCnpjJelL8w5iYM


The skin has 3 stages, the first works fine, the second (main case) too, but from there to the stage 3 (when it should open another screen with the cover art) THERE is the problem.
Last edited by Bayushi Tai on April 6th, 2017, 11:15 pm, edited 2 times in total.
User avatar
CyberTheWorm
Posts: 860
Joined: August 22nd, 2016, 11:32 pm
Location: Surrey, B.C., Canada

Re: Problem with a trigger sequence, need some help

Post by CyberTheWorm »

First off SHINY!

I found 1 error so far

Code: Select all

[mPlayer]
 Measure=Plugin
 Plugin=NowPlaying.dll
 PlayerName=#Player#
 PlayerType=TITLE
 PlayerPath=#PlayerPath#
TrackChangeAction=[!EnableMeasure Ignition10][!Redraw] 
 DisableLeadingZero=0
 Substitute=""Unknown""
Hidden=1
Group=up
There is no "ignition10" anywhere except in that code.

Try changing

Code: Select all

Substitute=""Unknown"" to Substitute="":"Unknown"
Last edited by CyberTheWorm on April 4th, 2017, 6:22 am, edited 1 time in total.
The only source of knowledge is experience. Albert Einstein
Deviant Art Page
User avatar
CyberTheWorm
Posts: 860
Joined: August 22nd, 2016, 11:32 pm
Location: Surrey, B.C., Canada

Re: Problem with a trigger sequence, need some help

Post by CyberTheWorm »

Second Error
After opening the Album art, then clicking on the open over the BlueSun I get a lot of errors
error.PNG

Code: Select all

[Time]
Meter=STRING
MeasureName=mPosition
MeasureName2=mDuration
MeterStyle=txt_styleW
FontFace=Hirosh
StringAlign=center
FontSize=11
FontColor=241,241,241,255
X=43
Y=350
W=142
H=32
ClipString=1
Text="%1"
Hidden=1
Antialias=1
Group=up


mDuration only exists here
You do not have the required permissions to view the files attached to this post.
The only source of knowledge is experience. Albert Einstein
Deviant Art Page
User avatar
Bayushi Tai
Posts: 13
Joined: July 17th, 2012, 4:50 am

Re: Problem with a trigger sequence, need some help

Post by Bayushi Tai »

Graham, thanks for checking the skin, i'm erasing those bad lines, man, i'm glad to know that you're showing me those mistakes !!!
User avatar
CyberTheWorm
Posts: 860
Joined: August 22nd, 2016, 11:32 pm
Location: Surrey, B.C., Canada

Re: Problem with a trigger sequence, need some help

Post by CyberTheWorm »

NP, good job so far
The only source of knowledge is experience. Albert Einstein
Deviant Art Page
User avatar
Bayushi Tai
Posts: 13
Joined: July 17th, 2012, 4:50 am

Re: Problem with a trigger sequence, need some help

Post by Bayushi Tai »

I gotta sleep, it's 03:32 am here, thanks for your help, i'll continue tomorrow!
User avatar
Bayushi Tai
Posts: 13
Joined: July 17th, 2012, 4:50 am

Re: Problem with a trigger sequence, need some help

Post by Bayushi Tai »

I have update the file, i almost got it !!!

I'd cleaned those lines that CiberTheWorm has marked me as errors !

Now the problem is tiny, just at the beggining of the skin.... can someone take a look a it ?
User avatar
CyberTheWorm
Posts: 860
Joined: August 22nd, 2016, 11:32 pm
Location: Surrey, B.C., Canada

Re: Problem with a trigger sequence, need some help

Post by CyberTheWorm »

Bayushi Tai wrote:I have update the file, i almost got it !!!

I'd cleaned those lines that CiberTheWorm has marked me as errors !

Now the problem is tiny, just at the beggining of the skin.... can someone take a look a it ?
OK what is the problem? The only thing I get is the same errors in the log file.
error.PNG
You do not have the required permissions to view the files attached to this post.
The only source of knowledge is experience. Albert Einstein
Deviant Art Page
User avatar
eclectic-tech
Rainmeter Sage
Posts: 5384
Joined: April 12th, 2012, 9:40 pm
Location: Cedar Point, Ohio, USA

Re: Problem with a trigger sequence, need some help

Post by eclectic-tech »

Bayushi Tai wrote:I have update the file, i almost got it !!!

I'd cleaned those lines that CiberTheWorm has marked me as errors !

Now the problem is tiny, just at the beggining of the skin.... can someone take a look a it ?
The 'Open' action is calling the wrong meterBackground (22, should be 21).
Change [Image5] to:

Code: Select all

[Image5]
ButtonImage=#ROOTCONFIGPATH#\overdabars.png
Meter=button
LeftMouseUpAction=[!EnableMeasure Ignition3][!ShowMeter meterBackground21][!Redraw]
X=16
Y=308
Hidden=1
Group=up
You have IfEqualAction=... on METER [meterBackground22] ... Conditions only work in MEASURES (remove that line).

[Ignition3] and [Ignition4] measures both runaway and are not being stopped. I would change those to:

Code: Select all

[Ignition3]
Measure=CALC
Formula=(Ignition3+1)%88
Disabled=1
IfEqualValue=87
IfEqualAction=[!DisableMeasure Ignition4][!DisableMeasure Ignition3][!ShowMeter meterBackground22][!HideMeter meterBackground21][!ShowMeterGroup panel]

[Ignition4]
Measure=CALC
Formula=(Ignition4+1)%88
Disabled=1
IfEqualValue=87
IfEqualAction=[!DisableMeasure Ignition3][!DisableMeasure Ignition4][!ShowMeter meterBackground21][!HideMeter meterBackground22]

This will eliminate the errors.

Aside:
1.) You have IfEqualAction=!execute DONT-TOUCH>>> on your other 2 'Ignition' measures; I would delete '!execute DONT-TOUCH>>>' from [Ignition] and [Ignition2] measures.

2.) When using internal 'PATH' variables, you do not need to follow those with \ (it is already in the 'PATH' variables). That is why you see double slashes \\ in your log. It will work this way, but is not needed.
User avatar
Bayushi Tai
Posts: 13
Joined: July 17th, 2012, 4:50 am

Re: Problem with a trigger sequence, need some help

Post by Bayushi Tai »

CiberTheWorm, the problem was not seen in the log, the remaining problem was the screen opening...
I thank you for check and help me to eliminate those wrong lines.

Eclectic-tech, I'd followed those instructions and now it works perfect!!!

I'm very grateful for your help guys, all my next skins will be based in this codes, but with different images and effects.
I said it again, thanks!!