• Visit Rebornbuddy
  • RebornBuddyCN r202

    Discussion in 'Rebornbuddy Forum' started by mastahg, Aug 26, 2014.

    1. Akira0245

      Akira0245 Member

      Joined:
      Mar 9, 2019
      Messages:
      46
      Likes Received:
      0
      Trophy Points:
      6
    2. mastahg

      mastahg Administrator Staff Member

      Joined:
      Feb 27, 2011
      Messages:
      4,610
      Likes Received:
      241
      Trophy Points:
      63
      Thanks for the heads up
       
    3. Akira0245

      Akira0245 Member

      Joined:
      Mar 9, 2019
      Messages:
      46
      Likes Received:
      0
      Trophy Points:
      6
      hi mastahg, I seem to have encountered a mysterious bug, i use a System.Timers.Timer instance and subscribed its elapsed event to repeatedly trigger some functions outside the main behaviour tree, like this
      Code:
                  System.Timers.Timer t = new System.Timers.Timer(100);
                  t.Elapsed += (sender, e) =>
                  {
                      RaptureAtkUnitManager.Update();
                      GameObjectManager.Update();
                      DirectorManager.Update();
                      if (GameObjectManager.GameObjects.Any(i=>i.Type == GameObjectType.Pc && !i.IsVisible) && !NowLoading.IsVisible)
                      {
                          //...
                      }
                  };
                  t.Start();
      It functions well, but I found that calling the elapsed function frequently has a certain chance of causing the game to close directly, without any error or exception in RB's log or a crash dialogbox from the game. A 100ms Timer may cause the game close randomly in a few hours, and a 1ms Timer will close the game in less than a minute.
      I'm not sure what goes wrong, should I use some other method to refresh Managers for plugins?
       
    4. mastahg

      mastahg Administrator Staff Member

      Joined:
      Feb 27, 2011
      Messages:
      4,610
      Likes Received:
      241
      Trophy Points:
      63
      Running anything on an external thread is highly unsupported. You can get away with it in certain instances if you know how the internals work and only call functions that read data and are unlikely to invoke game function calls. Try refactoring your code to run in the pulse handler for plugins.
       
    5. Akira0245

      Akira0245 Member

      Joined:
      Mar 9, 2019
      Messages:
      46
      Likes Received:
      0
      Trophy Points:
      6
      if player didn't unlocked flight on Coerthas Western Highlands, NavGraph will still guide player through ishgard. but theres a obstacle we can't pass upload_2021-1-18_2-44-45.png

      it will stuck there and triggers anti-stuck to jump strafe all day long, and was immediately identified as a bot.


       
      Last edited: Jan 19, 2021 at 2:47 PM
    6. Akira0245

      Akira0245 Member

      Joined:
      Mar 9, 2019
      Messages:
      46
      Likes Received:
      0
      Trophy Points:
      6
      and CNBooster v1.3 seems not working... i put it under the same path of launcher exe and run booster, it still warns me "the process is already opened“.
      upload_2021-1-18_5-3-59.png
       
    7. mastahg

      mastahg Administrator Staff Member

      Joined:
      Feb 27, 2011
      Messages:
      4,610
      Likes Received:
      241
      Trophy Points:
      63
      Thanks for the report on the navgraph issue.

      As for the booster, you cannot have multiple copies of the launcher open at a time. Login then run the booster and repeat.
       
    8. mastahg

      mastahg Administrator Staff Member

      Joined:
      Feb 27, 2011
      Messages:
      4,610
      Likes Received:
      241
      Trophy Points:
      63
      Looking into the navgraph issue more, I think it's most likely a profile issue. Navgraph makes a best attempt to get you where you need to go, but if the profile tries to take you somewhere early, then that's a profile problem. It'd require a lot of internal work to add checks for those connections.
       

    Share This Page