What's new
  • Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • Visit Resources
  • Visit Downloads
  • Visit Portal

gps.LoadDataBase

Sidalol

Member
Joined
Jul 1, 2010
Messages
987
Reaction score
15
Hi, I'm able to load a database of coordinates correctly, but how do I instruct gps to move to them? If I create a point manually I can use gps.GpsMove("Point") but how do I move to points from .db3 file?

Code:
gps = new Gps(this);
gps.LoadDataBase(Application.StartupPath + "tmp.db3");
// How to actually move along this path now?
 
If I create a point manually I can use
You can gps.gpsMove only to points from database.
You can add this points to database with gps plugin and gps editor (launch editor, then launch plugin, in plugin window you will see buttons "Add point"\"Add link"\etc).
As example you can open questing database
 
How do you open these points? Look at code above to LoadDataBase. Ok great, but now it wants a string for point name for GpsMove, how do I get the next point name from database? I created the database successfully (7 points, 6 links) and now I want to walk on that path.

Code:
gps.GpsMove(????)
 
Last edited:
how do I get the next point name from database
In editor click (select) point, right mouse click -> Properties -> Name - set this name, for example "ASD". Save db.
In plugin now you can use gps.gpsmove("ASD");
 
In editor click (select) point, right mouse click -> Properties -> Name - set this name, for example "ASD". Save db.
In plugin now you can use gps.gpsmove("ASD");

Perfect thanks.
 
Can we set certain coords as objects for gps to walk around? Like blacklist walk spots?
 
No. But i`m thinking on it. (maybe it will be like "bad" polygon zones, that gps will bypass)
 
Any ETA on this? Being able to both add and remove UnwalkableZone or something is pretty essential to automation.
 
Any ETA on this? Being able to both add and remove UnwalkableZone or something is pretty essential to automation.
no ETA atm. Maybe after 5-10 of the october
 
Can somone PLEASE tell me where to add this line of code, i also created a path but idk how to even copy / paste a code into the gps so i can start following my path... do i do this in Plugin Editor? if so how do i do it :( ?
 
Can somone PLEASE tell me where to add this line of code, i also created a path but idk how to even copy / paste a code into the gps so i can start following my path... do i do this in Plugin Editor? if so how do i do it :( ?

Right click one of your points in the editor -> properties -> give it a name. Use this name in gps.GpsMove(name).
 
if you've already named the final point then use
gps.GpsMove("whatever your named the final point");
 
Okay... i already got this response plenty of times, i'm just wondering where do i type "gps.GpsMove("whatever your named the final point");" in plugin editor or?
if you've already named the final point then use
gps.GpsMove("whatever your named the final point");
 
Open plugin editor > new > put the gps code inside PluginRun() function > compile > run plugin.
 
Open plugin editor > new > put the gps code inside PluginRun() function > compile > run plugin.


Open plugin editor > new > put the gps code inside PluginRun() function > compile > run plugin.

hey sida! love your work on LOL. if thats you! i got a question i typed in

public void PluginRun()
{
gps = new Gps(this);
gps.LoadDataBase(Application.StartupPath + "testrun.db3");
gps.GpsMove("end");
}

but i receive errors saying

ERROR CS0103: The name gps does not exist int he current context.. and i am not sure why.. do i need to put a certain gps item in the header?
thank you..
i am just trying to do

load gps and run it to the end.. i thought i had it all right? thank you for your help
 
Back
Top