Results 1 to 15 of 15

Thread: How to get API's from a Video Game

  1. #1

    Thread Starter
    Frenzied Member joefox's Avatar
    Join Date
    Oct 2004
    Posts
    1,318

    How to get API's from a Video Game

    how do you get API's from a video game?

  2. #2
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    Re: How to get API's from a Video Game

    I have no idea what you are asking for. Could you explain a bit more?

  3. #3

    Thread Starter
    Frenzied Member joefox's Avatar
    Join Date
    Oct 2004
    Posts
    1,318

    Re: How to get API's from a Video Game

    Say i play a online video game, where you run around lvl up your guy etc.

    I seen program where you dont neven need to run the video game, all you have to do is run a program created in VB, and it handles your login, fighting etc. you can select all the different options, just the same as you would in the game.

    Just wanted to know how i could get started doing something like that, or where to beging.

  4. #4
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    Re: How to get API's from a Video Game

    Ahhh...gotcha. I'm not a gamer, but I have seen posts and answers to posts on this issue. Do a search in the Games and Graphics section and see what you can come up with.

  5. #5

    Thread Starter
    Frenzied Member joefox's Avatar
    Join Date
    Oct 2004
    Posts
    1,318

    Re: How to get API's from a Video Game

    Quote Originally Posted by Hack
    Ahhh...gotcha. I'm not a gamer, but I have seen posts and answers to posts on this issue. Do a search in the Games and Graphics section and see what you can come up with.

    I look all today....nothing really good!

  6. #6

    Thread Starter
    Frenzied Member joefox's Avatar
    Join Date
    Oct 2004
    Posts
    1,318

    Re: How to get API's from a Video Game

    bump

  7. #7
    Addicted Member BobTheBuilder.'s Avatar
    Join Date
    Apr 2005
    Location
    Ohio
    Posts
    149

    Re: How to get API's from a Video Game

    I think some of the "bots" that have been made for various games were done so just by simply controlling the mouse. They don't hack into the game (as far as I know) and call functions inside of the DLL's and such...well maybe some do but these would be hacks! And hacks are bad...

  8. #8
    Banned
    Join Date
    Nov 2005
    Posts
    2,367

    Re: How to get API's from a Video Game

    You only have access to what's installed on your computer. Anymore, alot of the functionality (for online games) resides on their servers (with the exception of EQ, I know of people who host their own worlds).

    It sounds like what you're after is bots (and overly advanced ones at that). The best place to start is playing with the content you installed. Finding entry points in the dll's and just stumble onto things. If you want to avoid the API thing, try building macros with Auto IT. You can customize it with your own code, but the language was made for executing tasks that continually repeat themselves.

    There is no single answer any of us can give you because every game (and app) is different.

  9. #9
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    Re: How to get API's from a Video Game

    Quote Originally Posted by joefox
    I look all today....nothing really good!
    Have you tried a Google search?

  10. #10

    Thread Starter
    Frenzied Member joefox's Avatar
    Join Date
    Oct 2004
    Posts
    1,318

    Re: How to get API's from a Video Game

    Well, i am not trying to hack the game, but more looking to make an new interface to it.
    so that i can have all the controlls etc health bar etc.

    how do you dump data into a dll?

  11. #11
    Banned
    Join Date
    Nov 2005
    Posts
    2,367

    Re: How to get API's from a Video Game

    I just thought about this thread the other day. This sounds alot like the "getalife4" bot for WoW.

    WoW isn't great for security. Most of what they're probably doing is a "man-in-the-middle" attack. It's where you splice your TCP packets and send back any information you want after the application does all of it's authentication checks. That may be the reason why people are allowed to teleport to any location (having the client tell the server it's coordinates is faster then the server trying to keep track of everyone) and also record macros for paths to run.

  12. #12

    Thread Starter
    Frenzied Member joefox's Avatar
    Join Date
    Oct 2004
    Posts
    1,318

    Re: How to get API's from a Video Game

    Well its for a game called lineage 2.
    The bot dosent really do anything special, except monitor things for you.

    So it will check your health, so when your low it will sit, etc.

    I just need to know where to start, or how to even make 1 function come up in vb like display the health.

  13. #13
    Banned
    Join Date
    Nov 2005
    Posts
    2,367

    Re: How to get API's from a Video Game

    I can't really tell you how to do this, because it is essentially hacking. Almost every single online game states in the UA that you aren't allowed to use 3rd party software.

    All I will say is this, the game is built and played with the dll's and packets. Like I said earlier, finding entry points in the dlls is one place to start. Using a packet sniffer to monitor what it's sending and receiving from the server is another direction.

  14. #14
    Ex-Super Mod RobDog888's Avatar
    Join Date
    Apr 2001
    Location
    LA, Calif. Raiders #1 AKA:Gangsta Yoda™
    Posts
    60,709

    Re: How to get API's from a Video Game

    If you can find any of its files you can use the Dependancy Walker utility (included with VS) to detect which APIs and child dependancies are used. Look for Depends.exe on your system if you have it.
    VB/Office Guru™ (AKA: Gangsta Yoda®)
    I dont answer coding questions via PM. Please post a thread in the appropriate forum.

    Microsoft MVP 2006-2011
    Office Development FAQ (C#, VB.NET, VB 6, VBA)
    Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
    If a post has helped you then Please Rate it!
    Reps & Rating PostsVS.NET on Vista Multiple .NET Framework Versions Office Primary Interop AssembliesVB/Office Guru™ Word SpellChecker™.NETVB/Office Guru™ Word SpellChecker™ VB6VB.NET Attributes Ex.Outlook Global Address ListAPI Viewer utility.NET API Viewer Utility
    System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6

  15. #15
    New Member
    Join Date
    Dec 2005
    Posts
    3

    Exclamation Re: How to get API's from a Video Game

    Download a Resource Editor and try all dll/exe files

Posting Permissions

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



Click Here to Expand Forum to Full Width