low fps?

Issue #35 new
Former user created an issue

after running the sample, my fps drops from 60 to 20. i figured it was the esp function, but as it turns out, commenting out EnableEsp() does little to improve the fps. what exactly is the source of the fps drop?

aside from commenting out EnableEsp(), no modifications were made and this is entirely stock.

Comments (8)

  1. Cody Jamieson

    I've noticed that too, I even tried adding delays in for something functions and still drops my fps hard.

  2. Cody Jamieson

    An update, I haven't looked too thoroughly into this but it seems the fps issues are as a result of entities nearby (I'm guessing within the server broadcast area). If I'm in an area with a lot of players or objects I would get fps issues even if none of them are being tagged or even displayed on screen/field of view of the character. Ill look more into it but would appreciate anyone else's input on this too.

  3. Former user Account Deleted reporter

    I see an fps drop immediately after injecting. However, when I disable the render hook, the FPS drop disappears.

  4. Cody Jamieson

    In Hacklib or HacklibGW2? I disabled

    Gw2HackMain::RenderHook
    

    from GW2 hacklib but I still had the fps drop. I even tried adding delays to

    Gw2HackMain::SetupAgentArray()
    

    which from my understanding updates all the agents but did nothing to improve the fps.

  5. hairys

    Are you sure you guys are running just the sample app without modifications (using current commit)? The only time I've ever seen any significant performance drop using the sample app is when there's a lot of objects in the vicinity. It slows down when it's drawing tons of text on the screen. Also, the sample app is more of a debug/test aid for us, more than anything else.

  6. Cody Jamieson

    Yah I even tried commenting out the entire

    GW2LIB::gw2lib_main()
    

    function and I still notice a 20fps drop. It seems to always drop by 20-30fps no matter what your fps is at, when the game is in full screen I usually get 70-90fps so the drop isn't too noticeable, but in window mode I only get about 30-40fps so it drops to 15-20. However, I noticed high fps drop in places with a lot of objects too and even if I set it to not draw anything (disabled all the functions that draw). So I think the fps issue isn't actually related to the drawing though it is related to the number of objects/players near by.

  7. Former user Account Deleted reporter

    @hairys I tried disabling the rendering functionality completely and the FPS still tanks. I’m sure if you were to do the same, and test it in DR or some other major city, you would notice your frame rate drop too.

    I’m not sure what could possibly be causing the lag. Is there any tools I can use to track what functions might be responsible for this?

  8. Log in to comment