Results 1 to 5 of 5
  1. #1
    Goocolax's Avatar
    Join Date
    Jun 2016
    Gender
    male
    Location
    My PC
    Posts
    350
    Reputation
    76
    Thanks
    755
    My Mood
    Drunk

    Present hook = crash

    So I have a working present hook I've gotten off another forum thanks to @ACEOFEAGLE but I have a weird issue.

    The menu appears, my settings get configured, I go into a game - it works fine if the menu is hidden and stays hidden before playing a game.
    But if at any time after I play a game (or during it) I try to open my menu again, crossfire crashes.
    If I go back to server selection and back into crossfire, the menu will appear again, and I can configure things - but its hard because NO TEXT appears, only the menu itself. So I can't see what im changing.

    This is really annoying, even if I have to go back to server selection I'm okay with that. I'd just prefer if someone can ATLEAST help me fix the text appearing, please?

    I'm willing to post code if needed, not sure what bits are relevant though. Any ideas??

    Edit: by crash I mean "send error report".
    Last edited by Goocolax; 09-12-2018 at 09:36 PM.

  2. #2
    RazerXJosh's Avatar
    Join Date
    Oct 2016
    Gender
    male
    Posts
    21
    Reputation
    10
    Thanks
    2
    My Mood
    Innocent
    if(pDevice)
    {
    pDevice->SetRenderState(D3DRS_ZENABLE, D3DZB_FALSE);
    InitializeFont(pDevice);
    RazerXJoshMenu(pDevice);//Menu
    pDevice->SetRenderState(D3DRS_ZENABLE, D3DZB_TRUE);
    }

  3. #3
    Goocolax's Avatar
    Join Date
    Jun 2016
    Gender
    male
    Location
    My PC
    Posts
    350
    Reputation
    76
    Thanks
    755
    My Mood
    Drunk
    Quote Originally Posted by RazerXJosh View Post
    if(pDevice)
    {
    pDevice->SetRenderState(D3DRS_ZENABLE, D3DZB_FALSE);
    InitializeFont(pDevice);
    RazerXJoshMenu(pDevice);//Menu
    pDevice->SetRenderState(D3DRS_ZENABLE, D3DZB_TRUE);
    }
    what are you talking about
    that seems to have nothing to do with this?

  4. #4
    alisonbbzz's Avatar
    Join Date
    Oct 2017
    Gender
    male
    Posts
    81
    Reputation
    10
    Thanks
    4
    My Mood
    Chatty
    Usa Hook da microsoft, talvez funcione

  5. #5
    Goocolax's Avatar
    Join Date
    Jun 2016
    Gender
    male
    Location
    My PC
    Posts
    350
    Reputation
    76
    Thanks
    755
    My Mood
    Drunk
    fixed it was an issue with my font creation

Similar Threads

  1. [Source Code] Present Hooks Win 7/8 .. 8.1/10
    By mamo007 in forum CrossFire Hack Coding / Programming / Source Code
    Replies: 19
    Last Post: 10-18-2018, 11:19 PM
  2. [Solved] [Help] Endscene hook crashes game
    By alant1337 in forum C++/C Programming
    Replies: 1
    Last Post: 12-19-2015, 02:40 AM
  3. [Help Request] Present Hook
    By gflames12 in forum Crossfire Coding Help & Discussion
    Replies: 0
    Last Post: 07-16-2013, 02:07 PM
  4. [Source Code] Present Hook + Modo Patterno
    By XarutoUsoCrack1 in forum Combat Arms BR Hack Coding/Source Code
    Replies: 16
    Last Post: 10-25-2012, 12:44 PM
  5. [Help] Hook crashes the game while joining
    By derh.acker in forum Combat Arms EU Hack Coding/Source Code
    Replies: 3
    Last Post: 11-27-2011, 05:18 AM