SystemShock
New Member
- Joined
- Aug 18, 2012
- Messages
- 87
- Reaction score
- 4
So this is pretty badly optimized, but I just threw it together in response to out finally adding the ability to do it with the api.
You'll need to generate your own .db3's but they're easy enough to make, just record from the portal spot, to the courthouse next to the judge, I could distribute my .db3's but then everyone would walk the exact same path. make your own you lazy gits
gamestate doesn't seem to work anymore, so enjoy horrendously long sleeps. You'll have to input the code yourself to return to where you were, or do any special actions, such as drop a pack, if they need to be done.
You'll need to generate your own .db3's but they're easy enough to make, just record from the portal spot, to the courthouse next to the judge, I could distribute my .db3's but then everyone would walk the exact same path. make your own you lazy gits

Code:
public void suspectChecker(){
/*
*
*If we find that we've been marked as a bot we'll go remove the debuff
*
*/
if(buffTime("Suspected User") > 0)
{
Log("SOME FUCKER JUST REPORTED US, I'M GOING TO RUN AWAY NOW");
if (me.charRace == CharRace.Elf || me.charRace == CharRace.Nuian)
{
foreach( var port in me.portalBook.getDistricts())
{
if(port.name == "Marianople")
{
port.OpenPortal();
Thread.Sleep(7000);
UsePortal(findMyPortal());
break;
}
}
Thread.Sleep(25000);
Gps gps = new Gps(this);
gps.LoadDataBase(Application.StartupPath + "[your plugin path]\\Marianople.db3");
gps.onGpsPreMove += gpsPreMove;
gps.GpsMove("judge");
}
} else {
foreach( var port in me.portalBook.getDistricts())
{
if(port.name == "Austera ")
{
port.OpenPortal();
Thread.Sleep(7000);
UsePortal(findMyPortal());
break;
}
}
Thread.Sleep(25000);
Gps gps = new Gps(this);
gps.LoadDataBase(Application.StartupPath + "[your plugin path]\\austera.db3");
gps.onGpsPreMove += gpsPreMove;
gps.GpsMove("judge");
}
ProveInnocence();
}
public Creature findMyPortal(){
foreach (var creat in getCreatures())
{
if (creat.db.id == 3891 && creat.ownerUniqId == me.uniqId)
return creat;
}
return null;
}
gamestate doesn't seem to work anymore, so enjoy horrendously long sleeps. You'll have to input the code yourself to return to where you were, or do any special actions, such as drop a pack, if they need to be done.