It is currently March 28th, 2024, 9:55 pm

Challange for the PRO

Get help with creating, editing & fixing problems with skins
User avatar
JamX
Posts: 207
Joined: October 4th, 2019, 2:46 pm

Re: Challange for the PRO

Post by JamX »

Correct values and working skin example.
Capture8.JPG
Now it's time to go to bed.
:yawn:
You do not have the required permissions to view the files attached to this post.
User avatar
JamX
Posts: 207
Joined: October 4th, 2019, 2:46 pm

Re: Challange for the PRO

Post by JamX »

Hi Balala,

Although the skin is working perfectly
Capture9.JPG
I see this in the log file.
You do not have the required permissions to view the files attached to this post.
User avatar
JamX
Posts: 207
Joined: October 4th, 2019, 2:46 pm

Re: Challange for the PRO

Post by JamX »

I have found another small issue.
Capture11 (2).JPG
All other forecasts are OK, only this 3rd, for the Friday, the last 2 entries it's not OK
You do not have the required permissions to view the files attached to this post.
User avatar
balala
Rainmeter Sage
Posts: 16110
Joined: October 11th, 2010, 6:27 pm
Location: Gheorgheni, Romania

Re: Challange for the PRO

Post by balala »

JamX wrote: October 15th, 2019, 9:32 pm Suddenly, this night it did not anymore...But I've fixed it and its working
My skin stopped working as well now. How do I fix it, because I didn't understand dvo's description.
Sorry, doesn't matter anymore, I just got it working.
User avatar
balala
Rainmeter Sage
Posts: 16110
Joined: October 11th, 2010, 6:27 pm
Location: Gheorgheni, Romania

Re: Challange for the PRO

Post by balala »

JamX wrote: October 16th, 2019, 8:11 am Although the skin is working perfectly

I see this in the log file.
Right. Unfortunately my ignorance again.
Add back the previously existing, then removed, MeasureName options, to the [MeterWindDirection1X] (X between 1 and 8) meters, appropriately:

Code: Select all

[MeterWindDirection11]
...
MeasureName=MeasureWindDirection11

[MeterWindDirection12]
...
MeasureName=MeasureWindDirection12

[MeterWindDirection13]
...
MeasureName=MeasureWindDirection13
and so on.
User avatar
balala
Rainmeter Sage
Posts: 16110
Joined: October 11th, 2010, 6:27 pm
Location: Gheorgheni, Romania

Re: Challange for the PRO

Post by balala »

JamX wrote: October 16th, 2019, 9:02 am I have found another small issue.

Capture11 (2).JPG
All other forecasts are OK, only this 3rd, for the Friday, the last 2 entries it's not OK
Yep, this is caused by a small mistake into the @Resources\Wind.inc file, where a few StringIndexs have wrong values. Please replace them, as it follows:

Code: Select all

[MeasureTime37]
...
StringIndex=92
;StringIndex=59

[MeasureWindDirection37]
...
StringIndex=93
;StringIndex=92
...

[MeasureWindSpeed37]
...
StringIndex=94
;StringIndex=93

[MeasureWindGusts37]
...
StringIndex=95
;StringIndex=94

[MeasureTime38]
...
StringIndex=96
;StringIndex=95

[MeasureWindDirection38]
...
StringIndex=97
;StringIndex=96
...

[MeasureWindSpeed38]
...
StringIndex=98
;StringIndex=97

[MeasureWindGusts38]
...
StringIndex=99
;StringIndex=98
As you can see I commented out the old, wrong values and added the proper ones.
User avatar
balala
Rainmeter Sage
Posts: 16110
Joined: October 11th, 2010, 6:27 pm
Location: Gheorgheni, Romania

Re: Challange for the PRO

Post by balala »

JamX wrote: October 15th, 2019, 9:26 pm I almost do not dare to ask....but do you think the color coding based on the amount of knots is possible?
But dare. It was a promise of mine and I intend to keep it, so this is the next step. For what intervals of speeds what color would you like to use?
User avatar
JamX
Posts: 207
Joined: October 4th, 2019, 2:46 pm

Re: Challange for the PRO

Post by JamX »

balala wrote: October 16th, 2019, 4:18 pm Right. Unfortunately my ignorance again.
Add back the previously existing, then removed, MeasureName options, to the [MeterWindDirection1X] (X between 1 and 8) meters, appropriately:

Code: Select all

[MeterWindDirection11]
...
MeasureName=MeasureWindDirection11

[MeterWindDirection12]
...
MeasureName=MeasureWindDirection12

[MeterWindDirection13]
...
MeasureName=MeasureWindDirection13
and so on.
FIXED !

one question: why did the skin still return the correct values if it does not see which measurename it should use from the .inc file?
User avatar
JamX
Posts: 207
Joined: October 4th, 2019, 2:46 pm

Re: Challange for the PRO

Post by JamX »

balala wrote: October 16th, 2019, 5:34 pm Yep, this is caused by a small mistake into the @Resources\Wind.inc file, where a few StringIndexs have wrong values. Please replace them, as it follows:

Code: Select all

[MeasureTime37]
...
StringIndex=92
;StringIndex=59

[MeasureWindDirection37]
...
StringIndex=93
;StringIndex=92
...
As you can see I commented out the old, wrong values and added the proper ones.
FIXED !!

All returned values are OK.
User avatar
balala
Rainmeter Sage
Posts: 16110
Joined: October 11th, 2010, 6:27 pm
Location: Gheorgheni, Romania

Re: Challange for the PRO

Post by balala »

JamX wrote: October 16th, 2019, 6:04 pm one question: why did the skin still return the correct values if it does not see which measurename it should use from the .inc file?
It does see. Those MeasureNames are set through the MouseOverAction options of the [MeterWindSpeed], [MeterWindSpeed1], [MeterWindSpeed2] and [MeterWindSpeed3] meters. When you're hovering the mouse over any of them, the !SetOption bangs placed into the appropriate MouseOverAction option set the proper MeasureNames.
JamX wrote: October 16th, 2019, 6:06 pm All returned values are OK.
I'm glad!