Overclock.net - An Overclocking Community - Reply to Topic

Thread: HFM Rainmeter Config Reply to Thread
Title:
Message:

Register Now

In order to be able to post messages on the Overclock.net - An Overclocking Community forums, you must first register.
Please enter your desired user name, your email address and other required details in the form below.
User Name:
If you do not want to register, fill this field only and the name will be used as user name for your post.
Password
Please enter a password for your user account. Note that passwords are case-sensitive.
Password:
Confirm Password:
Email Address
Please enter a valid email address for yourself.
Email Address:

Log-in


  Additional Options
Miscellaneous Options

  Topic Review (Newest First)
06-01-2013 06:42 PM
Krusher33 Yeah it was good experience.
06-01-2013 05:23 PM
kingchris lol. sorry. im just starting with it all, learning coding and understanding it.....
06-01-2013 08:46 AM
Krusher33
Quote:
Originally Posted by kingchris View Post

you have your URL's the wrong way round

I'm not sure what you mean. It turned out that OP was pretty outdated. I did get it working. And then a month later HFM did an update that screwed everything up. Fixed it, and then just weeks later HFM did another update. I gave up on it.
06-01-2013 07:40 AM
kingchris you have your URL's the wrong way round
06-02-2012 11:00 PM
Krusher33 I can't get it to pull any stats. My variables:
Code:
[Variables]
;replace URL location with your summary.html location
URL=http://www.ilaughatjoo.com/darkpredators/krusher33/folding/summary.html
Font=Century Gothic
;replace NUMBER with your user number
URL2=http://folding.extremeoverclocking.com/user_summary.php?s=&u=555616
Font=Century Gothic
TextColor=255,255,255,255

Any clue what's going wrong?
05-25-2012 10:59 PM
UNOE this is nice
02-10-2012 02:34 PM
gceclifton smile.gif Pleased to help, it's all mental exercise which I don't get enough of at work as a storeman! biggrin.gif
02-10-2012 02:32 PM
dranas oh nice that works, thanks alot ^_^ couldnt have got this right without you
02-10-2012 02:29 PM
gceclifton Yeah, I encountered the same kinda problem with yours. Copying the code from Notepad into here adds new lines in the RegExp rather than it being one long chunk of characters... I have added styles, renamed the sections and generally made it a touch shorter.

Edit: Changed the summary.html to your location again. Also, I have added URL3 - when you click on HFM Stats in the skin, it now opens HFM so long as it was installed in the same place. Change the link if needs be smile.gif

Edit 2: The splitting of the RegExp is from having word wrap on in Notepad
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
;Location of HFM.net
URL3=file://C:\Program Files (x86)\HFM.NET\HFM.exe
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



---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



---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



----------------------------------STYLES--------------------------------------

[styleHeader]
FontColor=255,255,255,255
StringStyle=Bold
FontSize=10
StringAlign=Left
FontFace=Century Gothic
Antialias=1


[styleText]
FontColor=#TextColor#
StringStyle=Bold
FontSize=8
StringAlign=Left
FontFace=#Font#
Antialias=1


[styleTitle]
FontColor=255,255,255,255
StringStyle=Bold
FontSize=10
StringAlign=Left
FontFace=#Font#
Antialias=1



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


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

----------------------------------EOC--------------------------------------

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


[Header]
Meter=STRING
MeterStyle=styleHeader
Text="Extreme Overclocking Stats"
LeftMouseDownAction=!Execute ["#URL#"]
X=1R
Y=0


[Underline]
Meter=IMAGE
SolidColor=255,255,255,90
X=0r
Y=14
W=180
H=2



[UserName]
Meter=STRING
MeterStyle=styleText
X=0
Y=16
Prefix="Name: "
Text="Dranas"

[MeterRank]
MeasureName=MeasureFoldRank
Meter=STRING
MeterStyle=styleText
X=0
Y=30
Prefix="Team Rank: "


[MeterLast24]
MeasureName=MeasureLast24
Meter=STRING
MeterStyle=styleText
X=0
Y=44
Prefix="Last 24hrs: "


[Meter24Avg]
MeasureName=Measure24Avg
Meter=STRING
MeterStyle=styleText
X=0
Y=58
Prefix="24hr Average: "

[MeterToday]
MeasureName=MeasureToday
Meter=STRING
MeterStyle=styleText
X=0
Y=72
Prefix="Today: "

[MeterWeek]
MeasureName=MeasureWeek
Meter=STRING
MeterStyle=styleText
X=0
Y=86
Prefix="Week: "

[MeterMonth]
MeasureName=MeasureMonth
Meter=STRING
MeterStyle=styleText
X=0
Y=100
Prefix="Month: "


[MeterPoints]
MeasureName=MeasureFoldPoints
Meter=STRING
MeterStyle=styleText
X=0
Y=114
Prefix="Total Points: "

[MeterWU]
MeasureName=MeasureWU
Meter=STRING
MeterStyle=styleText
X=0
Y=128
Prefix="Total WUs: "

-----------------------------------HFM STATS-----------------------------

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


[Header2]
Meter=STRING
MeterStyle=styleHeader
Text="HFM Stats"
LeftMouseDownAction=!Execute ["#URL3#"]
X=1R
Y=173

[Underline2]
Meter=IMAGE
SolidColor=255,255,255,90
X=0r
Y=187
W=71
H=2


[TotalClients]
MeasureName=MeasureTotalClients
Meter=STRING
MeterStyle=styleText
Text="Total Clients: %1"
ClipString=0
W=240
H=13
X=0
Y=190

[TotalPPD]
MeasureName=MeasureTotalPPD
Meter=STRING
MeterStyle=styleText
Text="Total PPD: %1"
ClipString=0
W=240
H=20
X=0
Y=0R


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


[Client1Name]
MeasureName=MeasureClientName1
Meter=STRING
MeterStyle=styleTitle
Text="%1 "
ClipString=0
W=40
H=16
X=85
Y=0R

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

[Client1Status]
MeasureName=MeasureStatus1
Meter=STRING
MeterStyle=styleText
ClipString=0
W=240
H=13
Text="Status: %1"
X=0
Y=0R

[Client1Percent]
MeasureName=MeasurePercent1
Meter=STRING
MeterStyle=styleText
Text="Progress: %1"
ClipString=0
W=240
H=13
X=0
Y=OR

[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


[Client1PPD]
MeasureName=MeasurePPD1
Meter=STRING
MeterStyle=styleText
Text="PPD: %1"
ClipString=0
W=240
H=13
X=0
Y=4R

[Client1ETA]
MeasureName=MeasureETA1
Meter=STRING
MeterStyle=styleText
Text="ETA: %1"
ClipString=0
W=240
H=13
X=0
Y=0R


[Client1Credit]
MeasureName=MeasureCredit1
MeasureName2=MeasureTPF1
Meter=STRING
MeterStyle=styleText
Text="TPF: %2     Credit: %1pts"
ClipString=0
W=240
H=13
X=0
Y=0R


[Client1Project]
MeasureName=MeasureProject1
Meter=STRING
MeterStyle=styleText
Text="Project: %1"
ClipString=0
W=240
H=13
X=0
Y=0R

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


[Client2Name]
MeasureName=MeasureClientName2
Meter=STRING
MeterStyle=styleTitle
Text="%1 "
ClipString=0
W=40
H=16
X=85
Y=5R


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


[Client2Status]
MeasureName=MeasureStatus2
Meter=STRING
MeterStyle=styleText
Text="Status: %1"
ClipString=0
W=240
H=13
X=0
Y=0R


[Client2Percent]
MeasureName=MeasurePercent2
Meter=STRING
MeterStyle=styleText
Text="Progress: %1"
ClipString=0
W=240
H=13
X=0
Y=OR


[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


[Client2PPD]
MeasureName=MeasurePPD2
Meter=STRING
MeterStyle=styleText
Text="PPD: %1"
ClipString=0
W=240
H=13
X=0
Y=4R


[Client2ETA]
MeasureName=MeasureETA2
Meter=STRING
MeterStyle=styleText
Text="ETA: %1"
ClipString=0
W=240
H=13
X=0
Y=0R


[Client2Credit]
MeasureName=MeasureCredit2
MeasureName2=MeasureTPF2
Meter=STRING
MeterStyle=styleText
Text="TPF: %2     Credit: %1pts"
ClipString=0
W=240
H=13
X=0
Y=0R


[Client2Project]
MeasureName=MeasureProject2
Meter=STRING
MeterStyle=styleText
Text="Project: %1"
ClipString=0
W=240
H=13
X=0
Y=0R


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


[Client3Name]
MeasureName=MeasureClientName3
Meter=STRING
MeterStyle=styleTitle
Text="%1 "
ClipString=0
W=40
H=16
X=85
Y=5R


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


[Client3Status]
MeasureName=MeasureStatus3
Meter=STRING
MeterStyle=styleText
Text="Status: %1"
ClipString=0
W=240
H=13
X=0
Y=0R


[Client3Percent]
MeasureName=MeasurePercent3
Meter=STRING
MeterStyle=styleText
Text="Progress: %1"
ClipString=0
W=240
H=13
X=0
Y=OR


[MeterProgress3]
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


[Client3PPD]
MeasureName=MeasurePPD3
Meter=STRING
MeterStyle=styleText
Text="PPD: %1"
ClipString=0
W=240
H=13
X=0
Y=4R


[Client3ETA]
MeasureName=MeasureETA3
Meter=STRING
MeterStyle=styleText
Text="ETA: %1"
ClipString=0
W=240
H=13
X=0
Y=0R


[Client3Credit]
MeasureName=MeasureCredit3
MeasureName2=MeasureTPF3
Meter=STRING
MeterStyle=styleText
Text="TPF: %2     Credit: %1pts"
ClipString=0
W=240
H=13
X=0
Y=0R


[Client3Project]
MeasureName=MeasureProject3
Meter=STRING
MeterStyle=styleText
Text="Project: %1"
ClipString=0
W=240
H=13
X=0
Y=0R
02-10-2012 02:13 PM
dranas i tested yours and its not loading any data. i checked the variables and they are correct, not sure why its not loading.
This thread has more than 10 replies. Click here to review the whole thread.

Posting Rules  
You may post new threads
You may post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off