It is currently September 20th, 2019, 9:18 pm

JUST STARTED and I'm already failing

Introduce yourself to the Rainmeter community!
Mr Platinum
Posts: 1
Joined: April 19th, 2015, 7:32 pm

JUST STARTED and I'm already failing

Mr Platinum » April 19th, 2015, 7:47 pm

i just downloaded Rain meter and i need help with ping plugin i have the code but as i'm an amateur i need help with how to add it into a skin or if there is a skin with it already in it. i really only want rain meter so i can have my ping constantly on my screen as i am a gamer. if anyone could tell me some simple instructions on how to just add a ping monitor? i need exactly what ping test provides basically, so if anyone is able to understand my gibberish and awful explanation and is able to help please reply


Thanks
User avatar
eclectic-tech
Rainmeter Sage
Posts: 3543
Joined: April 12th, 2012, 9:40 pm
Location: Cedar Point, Ohio, USA

Re: JUST STARTED and I'm already failing

eclectic-tech » April 19th, 2015, 11:07 pm

Mr Platinum wrote:i just downloaded Rain meter and i need help with ping plugin i have the code but as i'm an amateur i need help with how to add it into a skin or if there is a skin with it already in it. i really only want rain meter so i can have my ping constantly on my screen as i am a gamer. if anyone could tell me some simple instructions on how to just add a ping monitor? i need exactly what ping test provides basically, so if anyone is able to understand my gibberish and awful explanation and is able to help please reply


Thanks
Here is a skin that will show ping latency to any address; change the 'Addr' variable to the address of your game server.

Code: Select all

[Rainmeter]
Update=1000
BackgroundMode=2
SolidColor=0,0,0,192

[Variables]
Addr=8.8.8.8

[MeasurePing]
Measure=Plugin
Plugin=PingPlugin
DestAddress=#Addr#
IfCondition=MeasurePing=30000
IfTrueAction=[!SetVariable ErrorString "Not"][!Update][!Redraw]
IfFalseAction=[!SetVariable ErrorString ""][!Update][!Redraw]
;Default timeout is 30000 ms

[MeterPing]
Meter=String
MeasureName=MeasurePing
X=5
Y=5
W=200
H=20
FontColor=255,255,255,255
Text=My Latency: %1ms

[MeterPingString]
Meter=String
X=r
Y=R
W=200
H=20
FontColor=255,255,255,255
Text=#ErrorString# Connected
DynamicVariables=1
Image

EDIT: Instructions:
Copy this code into a new text editor document.
Save it in a new 'Ping' folder you create in your '{User}Documents\Rainmeter\Skins' folder, as Ping.ini
Refresh All or restart Rainmeter to see the new skin in the skin listings.
At that point, you can 'Load' or 'Edit' the skin from the !Manage dialog.

Welcome to the forum! :welcome: