+ Reply to Thread
Results 1 to 3 of 3

  Click here to go to the first staff post in this thread.   Thread: MOHAA Basehook For AA/SH

  1. #1
    Join Date
    Aug 2009
    Location
    where do you live?
    Posts
    77
    Thanks
    3
    Thanked 6 Times in 2 Posts
    Rep Power
    14

    MOHAA Basehook For AA/SH

    Well hello guys here is my first public release. anyway, this is my first shot at debugging a game and finding the necesssary addresses so I can detour the proper functions. PROPS to okidoki for his MOHAA addresses because I was able to trace back from them... Debugging them in MOHAA and then again in the Medal of honor spearhead add-on. I hope this can help anyone in anyway. I know all of the intelligent post at GD have really helped me learn the fundamentals of game-hacking so like everybody else I like to give back. Its been alot of reading and learning, not only with game-hacking, but also compiling in C. Ebooks never really helped me do anything but organize my codez really, everything I learned was from forums/websites; though I dont know how long this will stay true.. haha I really havent found a book that I can understand from. Anyway I guess my point is without the necessary resources I would be lost. Anyway I have attached a version for both MOHAA and MOHSH. Ive also included a cvartable in which you can easily add cvars.

    What is reversed:
    CG_Draw2D
    R_AddRefEntityToScene
    R_RegisterFont
    Cvar_Get





    Code:
    Cvars:
    entityhack 0/1 makes all entitys visible behind walls which demonstrates how to use the R_AddRefEntityToScene function.
    
    drawtext   0/1 draws text at the top of the screen which demonstrates how to use the R_Draw2D function.
    a little side note R_Drawstring is called from a function called CG_DrawString The void takes 5 arguments which are (x,y *text, *fontname, scale) This may be a little bit ghetto because instead of makeing a struct in which I could list all the possible fonts I just made a type char pointer to R_Registerfont(fontname) so there is no data structure which holds the fonts it just registers whatever text you put in. I was going to just make a slash-star list to reference them but I decided that would just be dumb. Anyway, im done with this base now so im not going to have any updates or anything. You call the function like this CG_DrawString( 100, 0, "MOHAA Basehook by eXoloon", "handle-23", 1) and here are the possible fonts.

    Code:
    "facfont-20"
    "courier-16"
    "courier-18"
    "courier-20"
    "handle-16"
    "handle-18"
    "handle-22"
    "handle-23"
    "marlett"
    "verdana-12"
    "verdana-14"
    
    possibly a few more in SH.


    im commin in imm commin in your server
    \_ <O_o> _/ steve forgot his earmuffs!

  2. The Following 5 Users Say Thank You to eXoloon For This Useful Post:

    c0re (07-14-2010), Hax4ever (07-13-2010), kingorgy96 (04-09-2010), learn_more (04-09-2010), RazoRapid (04-15-2010)

  3. #2
    Join Date
    Oct 2002
    Location
    Intangible Space
    Posts
    3,740
    Thanks
    12
    Thanked 41 Times in 14 Posts
    Blog Entries
    2
    Rep Power
    5
    Main page article permissions fixed.

  4. #3
    Join Date
    Aug 2009
    Location
    where do you live?
    Posts
    77
    Thanks
    3
    Thanked 6 Times in 2 Posts
    Rep Power
    14

    Re: MOHAA Basehook For AA/SH

    ok ive been getting PMs about this... im just sayin if you any of you guys need any help i will try to the best of my knowledge to help you so feel free to PM me if you need help with anything related to q3/fakk2 engine. Not only is this a basehook for mohaa but its also a good base for any Q3 game because it already has a cvar system added. just find the necessary addresses even though there hard-coded its good experience for a novice so get to debugging


    im commin in imm commin in your server
    \_ <O_o> _/ steve forgot his earmuffs!

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Similar Threads

  1. Trying on Basehook
    By Hazzard in forum Beginner
    Replies: 0
    Last Post: 11-09-2004, 07:54 PM
  2. BaseHook for 1.6 ?
    By taraba in forum Beginner
    Replies: 22
    Last Post: 10-28-2003, 04:42 PM

Posting Permissions

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