It is currently May 2nd, 2024, 9:36 am
Get help with creating, editing & fixing problems with skins
Jman2
Posts: 3 Joined: July 9th, 2012, 2:25 am
Post
by Jman2 » July 9th, 2012, 2:35 am
i am trying to make a skin to show who is online on a minecraft server but i can't get it to work here is what i have so far
Code: Select all
[Rainmeter]
Update=1000
SkinPath=C:\Users\user\Documents\Rainmeter\Skins\
[Variables]
URL="http://gatheringcraft.com/index.php"
get=http://minotar.net/avatar/(.*)/.*
FontColor=0, 20, 40, 200
FontFace=rockwell
;[WEBSITE MEASURES]===============================
[MeasureWebsite]
Measure=Plugin
Plugin=Plugins\WebParser.dll
UpdateRate=1800
Url=#URL#
RegExp="(?siU)#get##get##get##get##get##get##get##get##get##get#"
[Measure1]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWebsite]
StringIndex=1
[Measure2]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWebsite]
StringIndex=2
[Measure3]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWebsite]
StringIndex=3
[Measure4]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWebsite]
StringIndex=4
[Measure5]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWebsite]
StringIndex=5
[Measure6]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWebsite]
StringIndex=6
[Measure7]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWebsite]
StringIndex=7
[Measure8]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWebsite]
StringIndex=8
[Measure9]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWebsite]
StringIndex=9
[Measure10]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWebsite]
StringIndex=10
;[DISPLAY METERS]==================================
[MeterBackground]
Meter=IMAGE
X=1
Y=1
H=500
W=200
SolidColor=0,50,100,122
[Meter1]
MeasureName=Measure1
Meter=STRING
X=2
Y=2
FontColor=#FontColor#
FontSize=12
StringAlign=LEFT
FontFace=#FontFace#
Antialias=1
[Meter2]
MeasureName=Measure2
Meter=STRING
X=2
Y=17r
FontColor=#FontColor#
FontSize=12
StringAlign=LEFT
FontFace=#FontFace#
Antialias=1
[Meter3]
MeasureName=Measure3
Meter=STRING
X=2
Y=17r
FontColor=#FontColor#
FontSize=12
StringAlign=LEFT
FontFace=#FontFace#
Antialias=1
[Meter4]
MeasureName=Measure4
Meter=STRING
X=2
Y=17r
FontColor=#FontColor#
FontSize=12
StringAlign=LEFT
FontFace=#FontFace#
Antialias=1
[Meter5]
MeasureName=Measure5
Meter=STRING
X=2
Y=17r
FontColor=#FontColor#
FontSize=12
StringAlign=LEFT
FontFace=#FontFace#
Antialias=1
[Meter6]
MeasureName=Measure6
Meter=STRING
X=2
Y=17r
FontColor=#FontColor#
FontSize=12
StringAlign=LEFT
FontFace=#FontFace#
Antialias=1
[Meter7]
MeasureName=Measure7
Meter=STRING
X=2
Y=17r
FontColor=#FontColor#
FontSize=12
StringAlign=LEFT
FontFace=#FontFace#
Antialias=1
[Meter8]
MeasureName=Measure8
Meter=STRING
X=2
Y=17r
FontColor=#FontColor#
FontSize=12
StringAlign=LEFT
FontFace=#FontFace#
Antialias=1
[Meter9]
MeasureName=Measure9
Meter=STRING
X=2
Y=17r
FontColor=#FontColor#
FontSize=12
StringAlign=LEFT
FontFace=#FontFace#
Antialias=1
[Meter10]
MeasureName=Measure10
Meter=STRING
X=2
Y=17r
FontColor=#FontColor#
FontSize=12
StringAlign=LEFT
FontFace=#FontFace#
Antialias=1
can someone tell my what im doing wrong?
Kaelri
Developer
Posts: 1721 Joined: July 25th, 2009, 4:47 am
Post
by Kaelri » July 9th, 2012, 3:09 am
The problem is probably that you have more "get" requests in your RegExp than there are matches. You're looking for ten "gets," but there are only five usernames on the page (at the time I'm posting this). You can solve this by using "look ahead" patterns in your RegExp. See
here for a tutorial.
Jman2
Posts: 3 Joined: July 9th, 2012, 2:25 am
Post
by Jman2 » July 9th, 2012, 4:58 am
is this rite? its not working
Code: Select all
[Rainmeter]
Update=1000
SkinPath=C:\Users\user\Documents\Rainmeter\Skins\
[Variables]
URL="http://gatheringcraft.com/index.php"
get=(?(?=.*http://minotar.net/avatar)/(.*)/)
FontColor=0, 20, 40, 200
FontFace=rockwell
;[WEBSITE MEASURES]===============================
[MeasureWebsite]
Measure=Plugin
Plugin=Plugins\WebParser.dll
UpdateRate=1800
Url=#URL#
RegExp="(?siU)#get##get##get##get##get##get##get##get##get##get#"
[Measure1]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWebsite]
StringIndex=1
[Measure2]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWebsite]
StringIndex=2
[Measure3]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWebsite]
StringIndex=3
[Measure4]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWebsite]
StringIndex=4
[Measure5]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWebsite]
StringIndex=5
[Measure6]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWebsite]
StringIndex=6
[Measure7]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWebsite]
StringIndex=7
[Measure8]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWebsite]
StringIndex=8
[Measure9]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWebsite]
StringIndex=9
[Measure10]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWebsite]
StringIndex=10
;[DISPLAY METERS]==================================
[MeterBackground]
Meter=IMAGE
X=1
Y=1
H=500
W=200
SolidColor=0,50,100,122
[Meter1]
MeasureName=Measure1
Meter=STRING
X=2
Y=2
FontColor=#FontColor#
FontSize=12
StringAlign=LEFT
FontFace=#FontFace#
Antialias=1
[Meter2]
MeasureName=Measure2
Meter=STRING
X=2
Y=17r
FontColor=#FontColor#
FontSize=12
StringAlign=LEFT
FontFace=#FontFace#
Antialias=1
[Meter3]
MeasureName=Measure3
Meter=STRING
X=2
Y=17r
FontColor=#FontColor#
FontSize=12
StringAlign=LEFT
FontFace=#FontFace#
Antialias=1
[Meter4]
MeasureName=Measure4
Meter=STRING
X=2
Y=17r
FontColor=#FontColor#
FontSize=12
StringAlign=LEFT
FontFace=#FontFace#
Antialias=1
[Meter5]
MeasureName=Measure5
Meter=STRING
X=2
Y=17r
FontColor=#FontColor#
FontSize=12
StringAlign=LEFT
FontFace=#FontFace#
Antialias=1
[Meter6]
MeasureName=Measure6
Meter=STRING
X=2
Y=17r
FontColor=#FontColor#
FontSize=12
StringAlign=LEFT
FontFace=#FontFace#
Antialias=1
[Meter7]
MeasureName=Measure7
Meter=STRING
X=2
Y=17r
FontColor=#FontColor#
FontSize=12
StringAlign=LEFT
FontFace=#FontFace#
Antialias=1
[Meter8]
MeasureName=Measure8
Meter=STRING
X=2
Y=17r
FontColor=#FontColor#
FontSize=12
StringAlign=LEFT
FontFace=#FontFace#
Antialias=1
[Meter9]
MeasureName=Measure9
Meter=STRING
X=2
Y=17r
FontColor=#FontColor#
FontSize=12
StringAlign=LEFT
FontFace=#FontFace#
Antialias=1
[Meter10]
MeasureName=Measure10
Meter=STRING
X=2
Y=17r
FontColor=#FontColor#
FontSize=12
StringAlign=LEFT
FontFace=#FontFace#
Antialias=1
Jman2
Posts: 3 Joined: July 9th, 2012, 2:25 am
Post
by Jman2 » July 15th, 2012, 4:12 pm
can someone please help i still can't get it to work
JoBu
Posts: 271 Joined: February 16th, 2011, 12:46 am
Location: California
Post
by JoBu » July 16th, 2012, 6:16 am
Try this, see what happens, then check out the manual... not sure how to grab the others, but this got the first one for me:
get=(?=.*
http://minotar.net/avatar/ (.*)/)
Brian
Developer
Posts: 2689 Joined: November 24th, 2011, 1:42 am
Location: Utah
Post
by Brian » July 16th, 2012, 6:26 am
Probably should be get=(?(?=.*http://minotar.net/avatar).*http://minotar.net/avatar/(.*)/)
-Brian