11-05-2012, 10:47
Pages: 1 2
11-05-2012, 10:51
add this line :
private const decimal Version =1.2;
Or whatever is the version of your plugin
private const decimal Version =1.2;
Or whatever is the version of your plugin
11-05-2012, 12:09
Thank you.
now:
@archit i think its better improve this code by checking plugin MD5 with other once exist on the host.
And release you new plugin for that
and with your allow i can add this on my Se7enPlug
now:
Code:
Literal of type double cannot be implicitly converted to type 'decimal'; use an 'M' suffix to create a literal of this type
@archit i think its better improve this code by checking plugin MD5 with other once exist on the host.
And release you new plugin for that
and with your allow i can add this on my Se7enPlug
11-05-2012, 15:19
That error is self explanatory just add a m at the ending of public const decimal Version = 1.2;
It should be public const decimal Version = 1.2m;
It should be public const decimal Version = 1.2m;
11-05-2012, 15:55
ok Thank you.
the plugin is work fine but there is problem here if the file "http://www.mysite.com/update.txt" not exist on host the plugin crashed with non error :|
and what about :
@archit i think its better improve this code by checking plugin MD5 with other once exist on the host. Big Grin
And release you new plugin for that Wink
and with your allow i can add this on my Se7enPlug
the plugin is work fine but there is problem here if the file "http://www.mysite.com/update.txt" not exist on host the plugin crashed with non error :|
and what about :
@archit i think its better improve this code by checking plugin MD5 with other once exist on the host. Big Grin
And release you new plugin for that Wink
and with your allow i can add this on my Se7enPlug
11-06-2012, 12:08
@archit pleas fix this plugin crash
plugin crashed when the file not exist on the host
plugin crashed when the file not exist on the host
11-06-2012, 12:19
You realize that you have to replace http://www.mysite.com/update.txt with your own link?
11-06-2012, 13:59
:|
i know (i am not stupid :|).
so when update.txt not exist or renamed the plugin crashed and not work. maybe its better add a warring for that.
i know (i am not stupid :|).
so when update.txt not exist or renamed the plugin crashed and not work. maybe its better add a warring for that.
11-06-2012, 16:37
Use try catch block.
Pages: 1 2