It is currently April 19th, 2024, 6:49 pm

PingPlugin problem using WebParser to get DestAddress

Get help with creating, editing & fixing problems with skins
Miyako
Posts: 7
Joined: November 10th, 2009, 4:17 pm
Location: Antwerp, Belgium

PingPlugin problem using WebParser to get DestAddress

Post by Miyako »

Hi, I'm making a skin that will get several server-ips from a website. Those server-ips should all be pinged.
Now I'm testing this for 1 server but I'm having problems with it.

This is what I have:

Code: Select all

[Rainmeter]
Author=Miyako
AppVersion=3.1
Update=1000

[MeasureServer]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=http://miyakotest.hostzi.com/slv2.php
RegExp="(?siU).*<server>unreal://(.*):.*</server>.*"
UpdateRate=60

[MeasureServer1]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureServer]
StringIndex=1

[MeasurePing]
Measure=Plugin
Plugin=Plugins\PingPlugin
DestAddress=MeasureServer1
UpdateRate=60

[MeterPing]
Meter=STRING
X=0
Y=0
W=500
H=15
MeasureName=MeasurePing
MeasureName2=MeasureServer1
Text="%2 : %1"
The problem is that it won't ping it like it should. It seems the IP-addresses are interpreted as a number because when I look at the About I can see this:

212.187.10.232
Range: 0 - 212.2

Anyone an idea how I can fix this? I tried making hosts from those IP's but not all servers could resolve their hostname (in PHP), so that's no solution.

It's also making my rainmeter crash.
poiru
Developer
Posts: 2872
Joined: April 17th, 2009, 12:18 pm

Re: PingPlugin problem using WebParser to get DestAddress

Post by poiru »

Download Rainmeter 1.2 r430 from http://code.google.com/p/rainmeter/downloads/list
It should partially fix the issue.
Miyako
Posts: 7
Joined: November 10th, 2009, 4:17 pm
Location: Antwerp, Belgium

Re: PingPlugin problem using WebParser to get DestAddress

Post by Miyako »

It's still crashing sometimes but the ping-thing still doesn't work.
It seems the pingplugin-measure can't recognize dynamic variables even if "DynamicVariables=1" is there.
User avatar
JamesAC
Developer
Posts: 318
Joined: July 14th, 2009, 5:57 pm

Re: PingPlugin problem using WebParser to get DestAddress

Post by JamesAC »

Miyako wrote:It's still crashing sometimes but the ping-thing still doesn't work.
It seems the pingplugin-measure can't recognize dynamic variables even if "DynamicVariables=1" is there.
Currently plugins do not work with DynamicVariables.
+++ Divide By Cucumber Error. Please Reinstall Universe And Reboot +++
Quis custodiet ipsos custodes?
Miyako
Posts: 7
Joined: November 10th, 2009, 4:17 pm
Location: Antwerp, Belgium

Re: PingPlugin problem using WebParser to get DestAddress

Post by Miyako »

JamesAC wrote: Currently plugins do not work with DynamicVariables.
And using other measures?