Overclock.net - An Overclocking Community - View Single Post - HFM Rainmeter Config

View Single Post
post #86 of (permalink) Old 02-10-2012, 12:48 PM
gceclifton
New to Overclock.net
 
gceclifton's Avatar
 
Join Date: Jan 2012
Location: Hadleigh, Essex, UK
Posts: 168
Rep: 6 (Unique: 6)
That code now works for me, I have changed the summary.html location back to your own location so it should be as simple as adding the code to a fresh .ini file. Save it as a different name in the same folder and you can swap between the one you are working on and the one I have changed (If you want to)
Warning: Spoiler! (Click to show)
Code:
[Rainmeter]


[Metadata]
Name=HFM monitor
Config=
Description=
Instructions=
Version=
Tags=
License=
Variant=
Preview=

;End of added Metadata

[Variables]
;replace NUMBER with your user number
URL=http://folding.extremeoverclocking.com/user_summary.php?s=&u=485295
Font=Century Gothic
;replace URL location with your summary.html location
URL2=file://C:\\Users\\Dranas\\Documents\\Folding\\summary.html
Font=Century Gothic
TextColor=255,255,255,180

------------------------------------
MEASURES-------------------------------------------

[MeasureFoldStats]
Measure=Plugin
Plugin=Plugins\\WebParser.dll
UpdateRate=120
Url=#URL#
RegExp="(?siU)<td align='right'>(.*)</td>(.*)<td align='right'>(.*)</td>(.*)<td 
align='right'>(.*)</td>(.*)<td align='right'>(.*)</td>(.*)<td align='right'>
(.*)</td>(.*)<td align='right'>(.*)</td>(.*)<td align='right' 
bgcolor='#EFEFEF'>(.*)</td>(.*)<td align='right' bgcolor='#EFEFEF'>(.*)</td>
(.*)<th>WUs</th>(.*)</tr>(.*)<td align='right'>(.*)</td>"
Debug=1

[MeasureFoldRank]
Measure=Plugin
Plugin=Plugins\\WebParser.dll
Url=[MeasureFoldStats]
StringIndex=1

[MeasureLast24]
Measure=Plugin
Plugin=Plugins\\WebParser.dll
Url=[MeasureFoldStats]
StringIndex=5

[Measure24Avg]
Measure=Plugin
Plugin=Plugins\\WebParser.dll
Url=[MeasureFoldStats]
StringIndex=7

[MeasureToday]
Measure=Plugin
Plugin=Plugins\\WebParser.dll
Url=[MeasureFoldStats]
StringIndex=9

[MeasureWeek]
Measure=Plugin
Plugin=Plugins\\WebParser.dll
Url=[MeasureFoldStats]
StringIndex=11

[MeasureFoldPoints]
Measure=Plugin
Plugin=Plugins\\WebParser.dll
Url=[MeasureFoldStats]
StringIndex=13

[MeasureWU]
Measure=Plugin
Plugin=Plugins\\WebParser.dll
Url=[MeasureFoldStats]
StringIndex=15

[MeasureMonth]
Measure=Plugin
Plugin=Plugins\\WebParser.dll
Url=[MeasureFoldStats]
StringIndex=19


[MeasureTotal]
Measure=Plugin
Plugin=Plugins\\WebParser.dll
UpdateRate=120
Url=#URL2#
RegExp="(?siU)<td class=".*" colspan=".*">Totals</td>.*<td class=".*" 
colspan=".*">.*</td>.*<td class=".*" colspan=".*">.*</td>.*</tr>.*<tr>.*<td 
class=".*" colspan=".*">(.*)</td>.*<td class=".*" colspan=".*">(.*)&nbsp;"
Debug=1

[MeasureOverview]
Measure=Plugin
Plugin=Plugins\\WebParser.dll
UpdateRate=120
Url=#URL2#
RegExp="(?siU)<tr>.*<td width=".*" class=".*" bgcolor=".*">.*<font color=".*">
(.*)</font>.*</td>.*<td width=".*" class=".*">(.*)</td>.*<td width=".*" 
class=".*"><a href=".*">(.*)</a>.*</td>.*<td width=".*" class=".*">(.*)
</td>.*<td width=".*" class=".*">(.*)</td>.*<td width=".*" class=".*">(.*)
</td>.*<td width=".*" class=".*">(.*)</td>.*<td width=".*" class=".*">(.*)
</td>.*<td width=".*" class=".*">(.*)</td>.*<td width=".*" class=".*">(.*)
</td>.*<td width=".*" class=".*">(.*)</td>.*<td width=".*" class=".*">(.*)
</td>.*<td width=".*" class=".*">(.*)</td>.*</tr>.*<tr>.*<td width=".*" 
class=".*" bgcolor=".*">.*<font color=".*">(.*)</font>.*</td>.*<td width=".*" 
class=".*">(.*)</td>.*<td width=".*" class=".*"><a href=".*">(.*)
</a>.*</td>.*<td width=".*" class=".*">(.*)</td>.*<td width=".*" class=".*">
(.*)</td>.*<td width=".*" class=".*">(.*)</td>.*<td width=".*" class=".*">(.*)
</td>.*<td width=".*" class=".*">(.*)</td>.*<td width=".*" class=".*">(.*)
</td>.*<td width=".*" class=".*">(.*)</td>.*<td width=".*" class=".*">(.*)
</td>.*<td width=".*" class=".*">(.*)</td>.*<td width=".*" class=".*">(.*)
</td>.*</tr>.*<tr>.*<td width=".*" class=".*" bgcolor=".*">.*<font color=".*">
(.*)</font>.*</td>.*<td width=".*" class=".*">(.*)</td>.*<td width=".*" 
class=".*"><a href=".*">(.*)</a>.*</td>.*<td width=".*" class=".*">(.*)
</td>.*<td width=".*" class=".*">(.*)</td>.*<td width=".*" class=".*">(.*)
</td>.*<td width=".*" class=".*">(.*)</td>.*<td width=".*" class=".*">(.*)
</td>.*<td width=".*" class=".*">(.*)</td>.*<td width=".*" class=".*">(.*)
</td>.*<td width=".*" class=".*">(.*)</td>.*<td width=".*" class=".*">(.*)
</td>.*<td width=".*" class=".*">(.*)</td>.*</tr>"
Debug=1


[MeasureTotalClients]
Measure=Plugin
Plugin=Plugins\\WebParser.dll
Url=[MeasureTotal]
StringIndex=1
Substitute="&nbsp;":" "

[MeasureTotalPPD]
Measure=Plugin
Plugin=Plugins\\WebParser.dll
Url=[MeasureTotal]
StringIndex=2
Substitute="&nbsp;":" "
     


---Client1--- 
     
[MeasureStatus1]
Measure=Plugin
Plugin=Plugins\\WebParser.dll
Url=[MeasureOverview]
StringIndex=1

[MeasurePercent1]
Measure=Plugin
Plugin=Plugins\\WebParser.dll
Url=[MeasureOverview]
MaxValue=100
StringIndex=2

[MeasureClientName1]
Measure=Plugin
Plugin=Plugins\\WebParser.dll
Url=[MeasureOverview]
StringIndex=3

[MeasureTPF1]
Measure=Plugin
Plugin=Plugins\\WebParser.dll
Url=[MeasureOverview]
StringIndex=5

[MeasurePPD1]
Measure=Plugin
Plugin=Plugins\\WebParser.dll
Url=[MeasureOverview]
StringIndex=6

[MeasureETA1]
Measure=Plugin
Plugin=Plugins\\WebParser.dll
Url=[MeasureOverview]
StringIndex=9

[MeasureProject1]
Measure=Plugin
Plugin=Plugins\\WebParser.dll
Url=[MeasureOverview]
StringIndex=12

[MeasureCredit1]
Measure=Plugin
Plugin=Plugins\\WebParser.dll
Url=[MeasureOverview]
StringIndex=13






;[MeasureCompleted1]
;Measure=Plugin
;Plugin=Plugins\\WebParser.dll
;Url=[MeasureOverview]
;StringIndex=14

;[MeasureFailed1]
;Measure=Plugin
;Plugin=Plugins\\WebParser.dll
;Url=[MeasureOverview]
;StringIndex=15









---Client2---

[MeasureStatus2]
Measure=Plugin
Plugin=Plugins\\WebParser.dll
Url=[MeasureOverview]
StringIndex=14

[MeasurePercent2]
Measure=Plugin
Plugin=Plugins\\WebParser.dll
Url=[MeasureOverview]
MaxValue=100
StringIndex=15

[MeasureClientName2]
Measure=Plugin
Plugin=Plugins\\WebParser.dll
Url=[MeasureOverview]
StringIndex=16

[MeasureTPF2]
Measure=Plugin
Plugin=Plugins\\WebParser.dll
Url=[MeasureOverview]
StringIndex=18

[MeasurePPD2]
Measure=Plugin
Plugin=Plugins\\WebParser.dll
Url=[MeasureOverview]
StringIndex=21

[MeasureETA2]
Measure=Plugin
Plugin=Plugins\\WebParser.dll
Url=[MeasureOverview]
StringIndex=22

[MeasureProject2]
Measure=Plugin
Plugin=Plugins\\WebParser.dll
Url=[MeasureOverview]
StringIndex=25

[MeasureCredit2]
Measure=Plugin
Plugin=Plugins\\WebParser.dll
Url=[MeasureOverview]
StringIndex=26






;[MeasureCompleted2]
;Measure=Plugin
;Plugin=Plugins\\WebParser.dll
;Url=[MeasureOverview]
;StringIndex=29

;[MeasureFailed2]
;Measure=Plugin
;Plugin=Plugins\\WebParser.dll
;Url=[MeasureOverview]
;StringIndex=30








---Client3---

[MeasureStatus3]
Measure=Plugin
Plugin=Plugins\\WebParser.dll
Url=[MeasureOverview]
StringIndex=27

[MeasurePercent3]
Measure=Plugin
Plugin=Plugins\\WebParser.dll
Url=[MeasureOverview]
MaxValue=100
StringIndex=28

[MeasureClientName3]
Measure=Plugin
Plugin=Plugins\\WebParser.dll
Url=[MeasureOverview]
StringIndex=29

[MeasureTPF3]
Measure=Plugin
Plugin=Plugins\\WebParser.dll
Url=[MeasureOverview]
StringIndex=31

[MeasurePPD3]
Measure=Plugin
Plugin=Plugins\\WebParser.dll
Url=[MeasureOverview]
StringIndex=34

[MeasureETA3]
Measure=Plugin
Plugin=Plugins\\WebParser.dll
Url=[MeasureOverview]
StringIndex=35

[MeasureProject3]
Measure=Plugin
Plugin=Plugins\\WebParser.dll
Url=[MeasureOverview]
StringIndex=38

[MeasureCredit3]
Measure=Plugin
Plugin=Plugins\\WebParser.dll
Url=[MeasureOverview]
StringIndex=39







;[MeasureCompleted3]
;Measure=Plugin
;Plugin=Plugins\\WebParser.dll
;Url=[MeasureOverview]
;StringIndex=42

;[MeasureFailed3]
;Measure=Plugin
;Plugin=Plugins\\WebParser.dll
;Url=[MeasureOverview]
;StringIndex=43








----------------------------------
METERS--------------------------------------------

[MeterBG]
Meter=IMAGE
X=0
Y=0
W=450
H=600
SolidColor=0, 0, 0, 1


[AwesomeImage]
Meter=IMAGE
ImageName=EOC.gif
LeftMouseDownAction=!Execute ["#URL#"]
X=0
Y=-1

[Header]
Meter=STRING
Text="Extreme Overclocking Stats"
LeftMouseDownAction=!Execute ["#URL#"]
X=1R
Y=0
FontColor=255,255,255,255
StringStyle=Bold
FontSize=10
StringAlign=Left
FontFace=Century Gothic
Antialias=1






[Underline]
;Meter=STRING
;Text="____________________________________________"
X=0r
;Y=6
;FontColor=255,255,255,255
;StringStyle=Bold
;FontSize=6
;StringAlign=Left
;FontFace=Century Gothic
;Antialias=1

Meter=IMAGE
SolidColor=255,255,255,90
Y=14
W=180
H=2






[UserName]
Meter=STRING
Text="Dranas"
X=0
Y=16
FontColor=255,255,255,160
StringStyle=Bold
FontSize=8
StringAlign=Left
FontFace=Century Gothic
Antialias=1
Prefix="Name: "

[MeterRank]
MeasureName=MeasureFoldRank
Meter=STRING
X=0
Y=30
FontColor=255,255,255,160
StringStyle=Bold
FontSize=8
StringAlign=Left
FontFace=Century Gothic
Antialias=1
Prefix="Team Rank: "


[MeterLast24]
MeasureName=MeasureLast24
Meter=STRING
X=0
Y=44
FontColor=255,255,255,160
StringStyle=Bold
FontSize=8
StringAlign=Left
FontFace=Century Gothic
Antialias=1
Prefix="Last 24hrs: "


[Meter24Avg]
MeasureName=Measure24Avg
Meter=STRING
X=0
Y=58
FontColor=255,255,255,160
StringStyle=Bold
FontSize=8
StringAlign=Left
FontFace=Century Gothic
Antialias=1
Prefix="24hr Average: "

[MeterToday]
MeasureName=MeasureToday
Meter=STRING
X=0
Y=72
FontColor=255,255,255,160
StringStyle=Bold
FontSize=8
StringAlign=Left
FontFace=Century Gothic
Antialias=1
Prefix="Today: "

[MeterWeek]
MeasureName=MeasureWeek
Meter=STRING
X=0
Y=86
FontColor=255,255,255,160
StringStyle=Bold
FontSize=8
StringAlign=Left
FontFace=Century Gothic
Antialias=1
Prefix="Week: "

[MeterMonth]
MeasureName=MeasureMonth
Meter=STRING
X=0
Y=100
FontColor=255,255,255,160
StringStyle=Bold
FontSize=8
StringAlign=Left
FontFace=Century Gothic
Antialias=1
Prefix="Month: "


[MeterPoints]
MeasureName=MeasureFoldPoints
Meter=STRING
X=0
Y=114
FontColor=255,255,255,160
StringStyle=Bold
FontSize=8
StringAlign=Left
FontFace=Century Gothic
Antialias=1
Prefix="Total Points: "

[MeterWU]
MeasureName=MeasureWU
Meter=STRING
X=0
Y=128
FontColor=255,255,255,160
StringStyle=Bold
FontSize=8
StringAlign=Left
FontFace=Century Gothic
Antialias=1
Prefix="Total WUs: "




[AwesomeImage2]
Meter=IMAGE
ImageName=HFM.png
LeftMouseDownAction=!Execute ["#URL3#"]
X=0
Y=170


[Header2]
Meter=STRING
Text="HFM Stats"
LeftMouseDownAction=!Execute ["#URL3#"]
X=1R
Y=173
FontColor=255,255,255,255
StringStyle=Bold
FontSize=10
StringAlign=Left
FontFace=Century Gothic
Antialias=1






[Underline2]
;Meter=STRING
;Text="_______________"
X=0r
;Y=179
;FontColor=255,255,255,255
;StringStyle=Bold
;FontSize=6
;StringAlign=Left
;FontFace=Century Gothic
;Antialias=1

Meter=IMAGE
SolidColor=255,255,255,90
Y=187
W=71
H=2







[TotalClients]
MeasureName=MeasureTotalClients
Meter=STRING
Text=Total Clients: %1 

ClipString=0
W=240
H=13
X=0
Y=190
FontColor=#TextColor#
StringStyle=Bold
FontSize=8
StringAlign=Left
FontFace=#Font#
Antialias=1

[TotalPPD]
MeasureName=MeasureTotalPPD
Meter=STRING
Text=Total PPD: %1

ClipString=0
W=240
H=20
X=0
Y=0R
FontColor=#TextColor#
StringStyle=Bold
FontSize=8
StringAlign=Left
FontFace=#Font#
Antialias=1

---------------HFM Entry 1------------------------------------------


[Client1]
MeasureName=MeasureClientName1
Meter=STRING
ClipString=0
W=40
H=16
Text=%1 
X=85
Y=0R
FontColor=255,255,255,255
StringStyle=Bold
FontSize=10
StringAlign=Left
FontFace=#Font#
Antialias=1

[AwesomeImage3]
Meter=Image
ImageName=intel.png
X=120
Y=0r

[Client12]
MeasureName=MeasureStatus1
Meter=STRING
ClipString=0
W=240
H=13
Text=Status: %1
X=0
Y=0R
FontColor=#TextColor#
StringStyle=Bold
FontSize=8
StringAlign=Left
FontFace=#Font#
Antialias=1

[Client13]
MeasureName=MeasurePercent1
Meter=STRING
ClipString=0
W=240
H=13
Text=Progress: %1
X=0
Y=OR
FontColor=#TextColor#
StringStyle=Bold
FontSize=8
StringAlign=Left
FontFace=#Font#
Antialias=1

[MeterProgress1]
MeasureName=MeasurePercent1
Meter=BAR
X=78
Y=3r
W=75
H=8
Text=%1% 
BarColor=85,85,85,225
SolidColor=255,255,255,200
BarOrientation=HORIZONTAL


[Client14]
MeasureName=MeasurePPD1
Meter=STRING
ClipString=0
W=240
H=13
Text=PPD: %1
X=0
Y=4R
FontColor=#TextColor#
StringStyle=Bold
FontSize=8
StringAlign=Left
FontFace=#Font#
Antialias=1

[Client15]
MeasureName=MeasureETA1
Meter=STRING
ClipString=0
W=240
H=13
Text=ETA: %1
X=0
Y=0R
FontColor=#TextColor#
StringStyle=Bold
FontSize=8
StringAlign=Left
FontFace=#Font#
Antialias=1


[Client16]
MeasureName=MeasureCredit1
MeasureName2=MeasureTPF1
Meter=STRING
ClipString=0
W=240
H=13
Text=TPF: %2     Credit: %1pts
X=0
Y=0R
FontColor=#TextColor#
StringStyle=Bold
FontSize=8
StringAlign=Left
FontFace=#Font#
Antialias=1


[Client17]
MeasureName=MeasureProject1
Meter=STRING
ClipString=0
W=240
H=13
Text=Project: %1
X=0
Y=0R
FontColor=#TextColor#
StringStyle=Bold
FontSize=8
StringAlign=Left
FontFace=#Font#
Antialias=1

--------------------------HFM Entry 2-----------------------------------

; Some of these Meters were calling the stats from Entry 3



[Client2]
MeasureName=MeasureClientName2
Meter=STRING
ClipString=0
W=40
H=16
Text=%1 
X=85
Y=5R
FontColor=255,255,255,255
StringStyle=Bold
FontSize=10
StringAlign=Left
FontFace=#Font#
Antialias=1

[AwesomeImage4]
Meter=Image
ImageName=nvidia2.png
X=120
Y=0r

[Client22]
MeasureName=MeasureStatus2
Meter=STRING
ClipString=0
W=240
H=13
Text=Status: %1
X=0
Y=0R
FontColor=#TextColor#
StringStyle=Bold
FontSize=8
StringAlign=Left
FontFace=#Font#
Antialias=1


[Client23]
MeasureName=MeasurePercent2
Meter=STRING
ClipString=0
W=240
H=13
Text=Progress: %1
X=0
Y=OR
FontColor=#TextColor#
StringStyle=Bold
FontSize=8
StringAlign=Left
FontFace=#Font#
Antialias=1

[MeterProgress2]
MeasureName=MeasurePercent2
Meter=BAR
X=78
Y=3r
W=75
H=8
Text=%1% 
BarColor=85,85,85,255
SolidColor=255,255,255,200
BarOrientation=HORIZONTAL
__________________________________________
[Client24]
MeasureName=MeasurePPD2
Meter=STRING
ClipString=0
W=240
H=13
Text=PPD: %1
X=0
Y=4R
FontColor=#TextColor#
StringStyle=Bold
FontSize=8
StringAlign=Left
FontFace=#Font#
Antialias=1


[Client25]
MeasureName=MeasureETA2
Meter=STRING
ClipString=0
W=240
H=13
Text=ETA: %1
X=0
Y=0R
FontColor=#TextColor#
StringStyle=Bold
FontSize=8
StringAlign=Left
FontFace=#Font#
Antialias=1


[Client26]
MeasureName=MeasureCredit2
MeasureName2=MeasureTPF2
Meter=STRING
ClipString=0
W=240
H=13
Text=TPF: %2     Credit: %1pts
X=0
Y=0R
FontColor=#TextColor#
StringStyle=Bold
FontSize=8
StringAlign=Left
FontFace=#Font#
Antialias=1

[Client27]
MeasureName=MeasureProject2
Meter=STRING
ClipString=0
W=240
H=13
Text=Project: %1
X=0
Y=0R
FontColor=#TextColor#
StringStyle=Bold
FontSize=8
StringAlign=Left
FontFace=#Font#
Antialias=1

---------------------------HFM Entry 3-----------------------------------


; Inreased spacing to 5r to match the previous clients


[Client50]
MeasureName=MeasureClientName3
Meter=STRING
ClipString=0
W=40
H=16
Text=%1 
X=85
Y=5R
FontColor=255,255,255,255
StringStyle=Bold
FontSize=10
StringAlign=Left
FontFace=#Font#
Antialias=1


[AwesomeImage5]
Meter=Image
ImageName=nvidia2.png
X=120
Y=0r


[Client51]
MeasureName=MeasureStatus3
Meter=STRING
ClipString=0
W=240
H=13
Text=Status: %1
X=0
Y=0R
FontColor=#TextColor#
StringStyle=Bold
FontSize=8
StringAlign=Left
FontFace=#Font#
Antialias=1


[Client52]
MeasureName=MeasurePercent3
Meter=STRING
ClipString=0
W=240
H=13
Text=Progress: %1
X=0
Y=OR
FontColor=#TextColor#
StringStyle=Bold
FontSize=8
StringAlign=Left
FontFace=#Font#
Antialias=1


; You missed one. The progress bar wasn't working as it was called 
MeterProgress1 which had already been called, changed to 3 and it works.


[MeterProgress5]
MeasureName=MeasurePercent3
Meter=BAR
X=78
Y=3r
W=75
H=8
Text=%1% 
BarColor=85,85,85,255
SolidColor=255,255,255,200
BarOrientation=HORIZONTAL


[Client53]
MeasureName=MeasurePPD3
Meter=STRING
ClipString=0
W=240
H=13
Text=PPD: %1
X=0
Y=4R
FontColor=#TextColor#
StringStyle=Bold
FontSize=8
StringAlign=Left
FontFace=#Font#
Antialias=1


[Client54]
MeasureName=MeasureETA3
Meter=STRING
ClipString=0
W=240
H=13
Text=ETA: %1
X=0
Y=0R
FontColor=#TextColor#
StringStyle=Bold
FontSize=8
StringAlign=Left
FontFace=#Font#
Antialias=1


[Client56]
MeasureName=MeasureCredit3
MeasureName2=MeasureTPF3
Meter=STRING
ClipString=0
W=240
H=13
Text=TPF: %2     Credit: %1pts
X=0
Y=0R
FontColor=#TextColor#
StringStyle=Bold
FontSize=8
StringAlign=Left
FontFace=#Font#
Antialias=1


[Client57]
MeasureName=MeasureProject3
Meter=STRING
ClipString=0
W=240
H=13
Text=Project: %1
X=0
Y=0R
FontColor=#TextColor#
StringStyle=Bold
FontSize=8
StringAlign=Left
FontFace=#Font#
Antialias=1


gceclifton is offline