I'm slow

Discussion in 'Announcements' started by BotDev, Jul 3, 2011.

  1. BotDev Administrator

    Reputation:
    4
    And that's this weeks annoucement.

    I've been so busy that I haven't touched my computer in 6 days. Other than being on vacation I think this the longest I've gone.

    I have a bunch new ideas on how to fix things that been causing lots of issues. The first one is finding a way to read the same file (settings,XML) multiple times depending on how many instances you have going. This may not seem like a problem but having any read write operation running vs having a memory operation is much more costly. So to fix this I will read all instance settings once when the player is loaded into the instance manager. All settings after that will be store in a convienent memory storage container. When the instance closes it will save to settings.xml and be done. The amount of problems that you can cause while debugging a multithreaded app is awesome. If you pause one thread and the others depend on that one all the read write operations stop finishing and then you get access violations.

    Anyway, after I get that sorted I'll move onto instantiated navigation. Before reimplementation, the only way to navigate was to load the path into the instance manager. Well when you stop managing that instance, the navigation stops. Now I have created a storage unit for all nav points that are unique to each instance. As you guys can see this is not an easy task of making a multithreaded/multi-instanced bot. Once I can get it all working, it will save tons of resources when running n number of instanced bots.

    Other than that I also have to reimplement how I search for herbs and ores along a path. I think I can manage.
  2. berbinator Member

    Reputation:
    1
    Sounds like "we're"(you) making some progress. I'm sorry for not being online for more than a week, at the moment I am at my summerhouse and it's quite hard to establish any kind of internet connection. Seems like the reception here is really terrible. I'll try to get some kind of faster internet within the next few days.
  3. BotDev Administrator

    Reputation:
    4
    Don't worry about it right now, I have plenty of nav paths for the moment.

Share This Page