From 2eb846fa957c4814102e8850cc75762f6659175b Mon Sep 17 00:00:00 2001 From: ole1986 Date: Wed, 13 Aug 2014 00:01:56 +0200 Subject: [PATCH] updated URL and remove unnesaccary messages --- plugins/Radegast.Plugin.EVOVend/EVOvendPlugin.cs | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/plugins/Radegast.Plugin.EVOVend/EVOvendPlugin.cs b/plugins/Radegast.Plugin.EVOVend/EVOvendPlugin.cs index a5c2b77..28b733a 100644 --- a/plugins/Radegast.Plugin.EVOVend/EVOvendPlugin.cs +++ b/plugins/Radegast.Plugin.EVOVend/EVOvendPlugin.cs @@ -47,7 +47,8 @@ namespace Radegast.Plugin.EVOVend private InventoryManager Manager; private OpenMetaverse.Inventory Inventory; - private string vendURL = @"http://evosl.org/TREK/SL/index.php"; + private string vendURL = @"http://evosl.org/TREK/SL/SLvendor.php"; + private string loginURL = @"http://evosl.org/TREK/SL/vendor.php"; List searchRes = new List(); /*private GridClient Client { get { return instance.Client; } }*/ @@ -97,7 +98,6 @@ namespace Radegast.Plugin.EVOVend if (offeredObject != e.Item.UUID) return; if (offeredAgent == UUID.Zero) { - instance.MainForm.TabConsole.DisplayNotificationInChat(pluginName + ": Failed to insert. Agent UUID not found", ChatBufferTextStyle.Error); return; } @@ -115,9 +115,10 @@ namespace Radegast.Plugin.EVOVend string str = this.RequestVendor("ADDPRODUCT", param); int result = Int32.Parse(str); - if(result > 0) + if(result > 0){ instance.MainForm.TabConsole.DisplayNotificationInChat(pluginName + ": Product " + e.Item.Name + " from Agent " + offeredAgent.ToString() + " accepted and inserted", ChatBufferTextStyle.StatusBlue); - else + client.Self.InstantMessage(offeredAgent, "Your Object has been transfered successfully. Please visit " + this.loginURL + " for further steps"); + } else instance.MainForm.TabConsole.DisplayNotificationInChat(pluginName + ": Failed to insert " + e.Item.Name + " from Agent " + offeredAgent.ToString(), ChatBufferTextStyle.Error); offeredAgent = UUID.Zero; -- 2.11.0