jasonmakaveli
New Member
- Joined
- Oct 6, 2014
- Messages
- 25
- Reaction score
- 0
I get error for this code when trying to compile
06:59:37: c:\Users\****\Desktop\ArcheageBuddy\Plugins\c\Mount4Adi.cs(36,29) : error CS1026: ) expected
06:59:37: c:\Users\****\Desktop\ArcheageBuddy\Plugins\c\Mount4Adi.cs(41,29) : error CS1026: ) expected
Code:
using System;
using System.Drawing;
using System.Windows.Forms;
using System.Threading;
using System.Collections.Generic;
using System.Linq;
using ArcheBuddy.Bot.Classes;
namespace DefaultNameSpace{
public class DefaultClass : Core
{
public static string GetPluginAuthor()
{
return "ForADI";
}
public static string GetPluginVersion()
{
return "1.0.0.0";
}
public static string GetPluginDescription()
{
return "Mount Bot adi";
}
//Call on plugin start
public void PluginRun()
{
Gps gps = new Gps(this);
gps.LoadDataBase(Application.StartupPath + "\\plugins\\Mount4Adi\\path.db3");
while (true)
{
gpsPreMove("A");
while (!gps.GpsMove("A")
{
Thread.Sleep(100);
}
gpsPreMove("B");
while (!gps.GpsMove("B")
{
Thread.Sleep(100);
}
}
}
public void gpsPreMove(GpsPoint point)
{
UseItem("Snowmane Snowlion ");
Thread.Sleep(2000);
var m = getMount();
if (m != null)
SitToMount();
}
}
}
06:59:37: c:\Users\****\Desktop\ArcheageBuddy\Plugins\c\Mount4Adi.cs(41,29) : error CS1026: ) expected