Jump to content

CEF loads too early compared to GTA loading — how to detect full game readiness?


Recommended Posts

Posted

Hello,

I have an issue with CEF in RageMP loading too early.
Currently, I start the CEF browser when I receive the playerReady event. However, it seems that GTA/Rage is still loading resources at that moment. As a result, before my MP character fully spawns, I briefly see Michael and the UI appears immediately.
I want to prevent the UI from showing until the game is fully ready (world and MP character loaded).
I suspect the issue is related to the fact that a large amount of resources (~2GB) is being loaded from:
client_packages/game_resources/dlcpacks
Rage/GTA is still processing DLCs and other assets even after the playerReady event is fired.
Question: Is there:
    a reliable event that indicates the game is fully loaded?
    or a way to check the real loading status of GTA/Rage before showing the UI?
I am looking for a solution that can handle large DLC packs (models, maps, etc.) and ensure the UI only shows when everything is ready.
Thanks in advance for any advice.

 

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...