SystemShock
New Member
- Joined
- Aug 18, 2012
- Messages
- 87
- Reaction score
- 4
So last night I thought I had gps working, turns out I didn't.
In my grinder, I was using it to walk back to the spawn point -
it worked once, hence me thinking it was all working, but after changing the path it stopped, so this morning I tried making a new plugin just to get gps to work.
I've tried it with a couple of different paths, and nothing seems to work, I've looked at other peoples code and I'm really not seeing where I'm going wrong, I'll get a message the points and links were loaded, but it'll never walk the path, ideas?
In my grinder, I was using it to walk back to the spawn point -
Code:
Gps gps = new Gps(this);
gps.LoadDataBase(Application.StartupPath + "\\plugins\\SystemGrinder\\karkasse.db3");
}
it worked once, hence me thinking it was all working, but after changing the path it stopped, so this morning I tried making a new plugin just to get gps to work.
Code:
public void gpsPreMove(GpsPoint point)
{
Log("Moving");
}
public void PluginRun()
{
Gps gps = new Gps(this);
gps.LoadDataBase(Application.StartupPath + "\\plugins\\SystemGrinder\\karkasse.db3");
gps.onGpsPreMove += gpsPreMove;
gps.GpsMove("spawn");
}
I've tried it with a couple of different paths, and nothing seems to work, I've looked at other peoples code and I'm really not seeing where I'm going wrong, I'll get a message the points and links were loaded, but it'll never walk the path, ideas?