Page 2 of 2 FirstFirst 12
Results 16 to 25 of 25
  1. #16
    mjrr1998's Avatar
    Join Date
    Aug 2013
    Gender
    male
    Location
    las vegas nevada
    Posts
    273
    Reputation
    10
    Thanks
    15
    My Mood
    Amused
    ok so, how may i open this base in c++ so i can add some hacks and try my best to make a hack

  2. #17
    topblast's Avatar
    Join Date
    Mar 2010
    Gender
    male
    Location
    Far from around you Programmer: C++ | VB | C# | JAVA
    Posts
    3,607
    Reputation
    149
    Thanks
    5,052
    My Mood
    Cool
    Quote Originally Posted by Flengo View Post
    Gonna get back into things so I decided to just run and inject your base into CA. This is what the menu looked like. Windows 7 32-Bit

    Didn't change anything besides adding a MessageBox

    @Flengo i missed that post somehow 0.0.
    It looks like a problem with either D3D9 font distance or the textures and coords that make the font, i'll see where i went wrong and get back

    the Error come from the D3D9Renderer::AddText. if u look in there you will see a line saying
    Code:
    loc.x += loc.z - loc.x - (2.f * data->m_Spacing * scale);
    replace that with
    Code:
    loc.x += loc.z - loc.x;
    The Spacing is being removed, so it is all together.
    Last edited by topblast; 07-26-2014 at 11:31 AM. Reason: Fixed bug
    I just like programming, that is all.

    Current Stuff:

    • GPU Programmer (Cuda)
    • Client/Server (Cloud Server)
    • Mobile App Development

  3. The Following User Says Thank You to topblast For This Useful Post:

    [LIL]Squirtle (07-26-2014)

  4. #18
    MOST PLAYED's Avatar
    Join Date
    Dec 2013
    Gender
    male
    Posts
    326
    Reputation
    25
    Thanks
    55
    Quote Originally Posted by Flengo View Post
    Gonna get back into things so I decided to just run and inject your base into CA. This is what the menu looked like. Windows 7 32-Bit

    Didn't change anything besides adding a MessageBox

    YOUR COMING BACK?

  5. #19
    [LIL]Squirtle's Avatar
    Join Date
    Jul 2014
    Gender
    female
    Location
    Under water...
    Posts
    15
    Reputation
    10
    Thanks
    2
    Quote Originally Posted by MOST PLAYED View Post


    YOUR COMING BACK?
    Highly doubt it, but he mentioned before that he do dabble in some coding every now and then. So I guess a comeback is completely possible, but most likely won't happen. Being a GM is a lot of work, he may not have a lot of time. But being the awesome coder he is, anything is possible.

  6. #20
    Flengo's Avatar
    Join Date
    May 2010
    Gender
    male
    Location
    /admincp/banning.php
    Posts
    20,591
    Reputation
    5180
    Thanks
    14,179
    My Mood
    Inspired
    Quote Originally Posted by MOST PLAYED View Post

    YOUR COMING BACK?
    I AM ATTEMPTING TO CURRENTLY WHENEVER I HAVE TIME YES

    Quote Originally Posted by [LIL]Squirtle View Post
    Highly doubt it, but he mentioned before that he do dabble in some coding every now and then. So I guess a comeback is completely possible, but most likely won't happen. Being a GM is a lot of work, he may not have a lot of time. But being the awesome coder he is, anything is possible.
    If I find the time yeah sure. Trying to, so maybe yeah. It'll probably start out with simple things again

    Who is you
    I Read All Of My PM's & VM's
    If you need help with anything, just let me know.

     


     
    VM | PM | IM
    Staff Administrator Since 10.13.2019
    Publicist Since 04.04.2015
    Middleman Since 04.14.2014
    Global Moderator Since 08.01.2013
    Premium Since 05.29.2013

    Minion+ Since 04.18.2013

    Combat Arms Minion Since 12.26.2012
    Contributor Since 11.16.2012
    Member Since 05.11.2010


  7. #21
    goldxero's Avatar
    Join Date
    Jun 2013
    Gender
    male
    Posts
    20
    Reputation
    10
    Thanks
    4
    trying to compile the files but its missing xnamath.h

  8. #22
    arun823's Avatar
    Join Date
    Jun 2010
    Gender
    male
    Location
    Los Angeles, California
    Posts
    523
    Reputation
    151
    Thanks
    1,899
    My Mood
    Amused
    @topblast
    Code:
    std::async(std::launch::async, [](){thr = std::thread(InitThread); });
    You just defeated the purpose of using std::async by passing a std::thread parameter since async guarantees thread-safety and propagates exceptions across threads whilst std::thread doesn't.

    Code:
    std::async(std::launch::async, InitThread);
    Will suffice

    Also I noticed you're initializing threads within DllMain which creates deadlock issues and is inefficient. A good example would be the dining philosophers problem which can be found here: https://en.wikipedia.org/wiki/Dining_...ophers_problem

    To fix the deadlock issue, just initialize the thread in another function and just initialize that function in DllMain.

    I do not want to bashful about your base, but I don't know why you declare the entire std namespace but then use the prefix std:: around your code, it's inconsistent in my opinion.
    Last edited by arun823; 07-31-2014 at 02:13 PM.
    Reversing is the only way to move forward.

  9. The Following User Says Thank You to arun823 For This Useful Post:

    lilghost8631 (09-10-2014)

  10. #23
    topblast's Avatar
    Join Date
    Mar 2010
    Gender
    male
    Location
    Far from around you Programmer: C++ | VB | C# | JAVA
    Posts
    3,607
    Reputation
    149
    Thanks
    5,052
    My Mood
    Cool
    Quote Originally Posted by arun823 View Post
    @topblast
    Code:
    std::async(std::launch::async, [](){thr = std::thread(InitThread); });
    You just defeated the purpose of using std::async by passing a std::thread parameter since async guarantees thread-safety and propagates exceptions across threads whilst std::thread doesn't.

    Code:
    std::async(std::launch::async, InitThread);
    Will suffice

    Also I noticed you're initializing threads within DllMain which creates deadlock issues and is inefficient. A good example would be the dining philosophers problem which can be found here: https://en.wikipedia.org/wiki/Dining_...ophers_problem

    To fix the deadlock issue, just initialize the thread in another function and just initialize that function in DllMain.

    I do not want to bashful about your base, but I don't know why you declare the entire std namespace but then use the prefix std:: around your code, it's inconsistent in my opinion.
    Thanks for your view, and you're not bashful at all. This code was just the rushed finish on the base, the std::async was me testing the function for the first time in c++ alone with a few bugs that i notice are in this release but not in my hdd copy(d3d9 font for example).

    The Idea behind the async function was to start a thread somewhat after DllMain returned, but was getting some deadlocks some where in the mix, i cannot remember where, could'f been when i had thr as a local variable and i didnt want to call detach() because i wanted it joinable.
    I just like programming, that is all.

    Current Stuff:

    • GPU Programmer (Cuda)
    • Client/Server (Cloud Server)
    • Mobile App Development

  11. #24
    arun823's Avatar
    Join Date
    Jun 2010
    Gender
    male
    Location
    Los Angeles, California
    Posts
    523
    Reputation
    151
    Thanks
    1,899
    My Mood
    Amused
    Quote Originally Posted by topblast View Post


    Thanks for your view, and you're not bashful at all. This code was just the rushed finish on the base, the std::async was me testing the function for the first time in c++ alone with a few bugs that i notice are in this release but not in my hdd copy(d3d9 font for example).

    The Idea behind the async function was to start a thread somewhat after DllMain returned, but was getting some deadlocks some where in the mix, i cannot remember where, could'f been when i had thr as a local variable and i didnt want to call detach() because i wanted it joinable.
    Well with the deadlock solution I've given you, you should be fine, also as I've stated previously, std::async will catch those exceptions and handle them for you to prevent deadlocks as long as you don't initialize it within DllMain
    Reversing is the only way to move forward.

  12. #25
    iamJon's Avatar
    Join Date
    Aug 2011
    Gender
    male
    Posts
    198
    Reputation
    10
    Thanks
    35
    Quote Originally Posted by MOST PLAYED View Post


    YOUR COMING BACK?
    Hahaa, this made me laugh. The image I mean. I like how specific you were about the menu.
    Human knowledge belongs to The World.

Page 2 of 2 FirstFirst 12

Similar Threads

  1. [Release] Topblast Menu Base V2 D3D {9, 10.x, 11} [x64/x86]
    By topblast in forum C++/C Programming
    Replies: 9
    Last Post: 08-25-2016, 07:09 PM
  2. [Preview] Topblast Menu Base D3D9 & D3D11, 64 bit & 32 bit
    By topblast in forum Combat Arms Hack Coding / Programming / Source Code
    Replies: 10
    Last Post: 03-24-2014, 09:36 AM
  3. [Preview] Topblast Menu Base D3D9 & D3D11, 64 bit & 32 bit
    By topblast in forum Battlefield 4 Hacks & Cheats
    Replies: 5
    Last Post: 03-15-2014, 02:41 AM
  4. [Release] Revival : [Topblast Menu Base v1.3]
    By topblast in forum CrossFire Hack Coding / Programming / Source Code
    Replies: 21
    Last Post: 08-10-2011, 07:37 AM
  5. [Help] Revival : [Topblast Menu Base v1.3]
    By RussianFighter in forum CrossFire Hack Coding / Programming / Source Code
    Replies: 5
    Last Post: 08-08-2011, 07:06 AM