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

Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

So if I were to make a bot base, must I never set the navigator to Gaia on Startup?

Neverdyne

Community Developer
Joined
Sep 12, 2014
Messages
649
Don't create separate instances of gaianav, this is a very fast way to get your self banned from the nav server.

Just to clarify, if I were making a Bot Base, is it safe to instantiate Gaia on Startup once, and then set the Navigator to null on Shutdown? Or is that going to get me banned still? I'm guessing when you make an instance on Gaia it'll make a request to the server, and the problem is making too many requests to the server. But bot bases have to create an instance at least once no?
 
Use it something like this:

Code:
        public override void Start()
        {
            Navigator.NavigationProvider = new GaiaNavigator(2f);
        }

And don't forget to dispose it at the end or the bot won't kill the connection, you'll run into lots of problems:

Code:
        public override void Stop()
        {
            (Navigator.NavigationProvider as GaiaNavigator).Dispose();
        }
 
Use it something like this:

Code:
        public override void Start()
        {
            Navigator.NavigationProvider = new GaiaNavigator(2f);
        }

And don't forget to dispose it at the end or the bot won't kill the connection, you'll run into lots of problems:

Code:
        public override void Stop()
        {
            (Navigator.NavigationProvider as GaiaNavigator).Dispose();
        }

2f is huge do not use that. Don't pass a variable, just use the default empty constructor.
 
Back
Top