This site has been archived and made available for preservation purposes. No edits can be made.

Page 1 of 2 12 LastLast
Results 1 to 10 of 15

Thread: Game ready callback done properly

  1. #1

    Game ready callback done properly

    So far on my quest for the proper game ready callback, ive been trying to track functions that actually load the game, so when they finish i start vaultmp, the idea is to make the project compatible and clean without the need to manually change inittime to maximize performance (load game as soon as ready, on a slow or fast computer).

    Ive been working with functions that load textures and stuff, but it looks like the game need something else more specific to start, does anyone have clues? What does fallout has to load before being actually READY to enter in-game? Wich information is so critical on the pre-loading that can crash the client if its not present? (Vaultmp launches a loading screen, but it doesnt load whatever is on this pre-loading stage and its critical to start the game)

    I tracked the loading of menus and textures (wich actually work on a few computers) but it feels like something is missing. Im open for suggestions on what to look for.

  2. #2
    Afaik the method used now its perfect, it loads the game before the main menu!
    I think foxtacles used the last method you discovered

  3. #3
    Senior Member Volumed's Avatar
    Join Date
    Aug 2011
    Location
    Holland
    Posts
    1,010
    Blog Entries
    1
    Have you tried, to turn it off and on again?

  4. #4
    Administrator
    Join Date
    Jun 2011
    Location
    Germany
    Posts
    1,057
    Blog Entries
    5
    No, it still relies on inittime. So there is no proper solution to it yet.

    We are looking for a way to tell when vaultmp can start interacting with the game. This varies from computer to computer and depends on how fast the game boots. A callback would be best, I could poll for success but that is awkward
    Last edited by foxtacles; 07-09-2013 at 03:56 PM.

  5. #5
    Quote Originally Posted by Foxtacles View Post
    No, it still relies on inittime. So there is no proper solution to it yet.

    We are looking for a way to tell when vaultmp can start interacting with the game. This varies from computer to computer and depends on how fast the game boots. A callback would be best, I could poll for success but that is awkward
    I can know when a certain texture is loaded. Maybe this is usefull?

  6. #6
    Administrator
    Join Date
    Jun 2011
    Location
    Germany
    Posts
    1,057
    Blog Entries
    5
    Quote Originally Posted by roby65 View Post
    I can know when a certain texture is loaded. Maybe this is usefull?
    Not sure, I guess you would need to try out. The callback should hit shortly before the main menu of the game pops up.

  7. #7
    Just remembered that when the game is actually ready, when you hit ESC key, it gives you the main menu... But tracking the event that actually handles the key might be somewhat hard, i will work on that.

    But to test this kind of thing we need ppl ._. last time i did it with new vegas but the ammout of ppl testing was not enuf to make it solid for release

    Now it comes to my mind that i can track the momment the main menu shows up hmmm... So when ppl actually try to start the game (normally) it will load vaultmp!

  8. #8
    Senior Member Volumed's Avatar
    Join Date
    Aug 2011
    Location
    Holland
    Posts
    1,010
    Blog Entries
    1
    Quote Originally Posted by webmanix View Post
    Just remembered that when the game is actually ready, when you hit ESC key, it gives you the main menu... But tracking the event that actually handles the key might be somewhat hard, i will work on that.

    But to test this kind of thing we need ppl ._. last time i did it with new vegas but the ammout of ppl testing was not enuf to make it solid for release

    Now it comes to my mind that i can track the momment the main menu shows up hmmm... So when ppl actually try to start the game (normally) it will load vaultmp!
    Objection! Does the game not close down when you press ESC when VaultMP is running?
    I will always test with you webie the little slave. (a kid means slavery)
    screw the main menu delete that shit don't edit don't do anything with it (I mean like in SA-MP), VaultMP client all the way!

  9. #9
    Administrator
    Join Date
    Jun 2011
    Location
    Germany
    Posts
    1,057
    Blog Entries
    5
    Quote Originally Posted by Volumed View Post
    Objection! Does the game not close down when you press ESC when VaultMP is running?
    This will change in the next release (exit button in the GUI)

  10. #10
    I'll be there to test as-well =3

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •