| | |
API for a game
Please support our C++ advertiser: Intel Parallel Studio Home
![]() |
Hi,
[? 1] How do I create an API for a game?
[? 2] If this subject is too hard for a novice/intermediate programmer, where do I best find tutorials/resources about API's?
[1]
I asked myself this question, as well as google, yet no easy answers or explanations popped up, so this is where I go when everything else fails.
The reason for asking this is, I downloaded an application that used a so called API-hook, a term which is much unfamiliar to me. My guess is that it is linked with the game's natives and can therefore use its functions and also through this API use the natives from the game to create a chat message in the game. An example would be:
In this case, I want to learn how to create an API for Warcraft III, such as this program: Warcraft 3 Banlist
I hope I've expressed my intentions well, otherwise I'll have to explain further.
If this thread is in the wrong section, I apologize
[? 1] How do I create an API for a game?
[? 2] If this subject is too hard for a novice/intermediate programmer, where do I best find tutorials/resources about API's?
[1]
I asked myself this question, as well as google, yet no easy answers or explanations popped up, so this is where I go when everything else fails.
The reason for asking this is, I downloaded an application that used a so called API-hook, a term which is much unfamiliar to me. My guess is that it is linked with the game's natives and can therefore use its functions and also through this API use the natives from the game to create a chat message in the game. An example would be:
- API sends a query to game, GetLastJoinedPlayer(), and returns the name of the last joined player, "Adam".
- API uses native, SendChatMessage("Adam"+" has joined the game.") and displays in game "Adam has joined the game."
In this case, I want to learn how to create an API for Warcraft III, such as this program: Warcraft 3 Banlist
I hope I've expressed my intentions well, otherwise I'll have to explain further.
If this thread is in the wrong section, I apologize
Last edited by ShadowScripter; Oct 10th, 2009 at 9:08 pm.
![]() |
Similar Threads
- Add a Windows Programming c++ forum? (DaniWeb Community Feedback)
- Questions about API and ABI (Computer Science)
- some forum name suggestions for daniweb (DaniWeb Community Feedback)
- win32 programming (C++)
- News Story: MySpace Dev Policy Tweak, New Messaging API Leak (Software Development Job Offers)
- how to open a exe file using java (Java)
- Java Visualizations with media (Game Development)
- I have 100 questions for you guys (C#)
- MFC File I/O Philosophy questions/clarifications (C++)
- Very new to C++ ...questions (C++)
Other Threads in the C++ Forum
- Previous Thread: Output not showing up
- Next Thread: Send commands to a window HELP PLS
| Thread Tools | Search this Thread |
.net 3gs 32bit activex aim alexa aol apache api app apple applet application blogger blogging bold c++ code community compaq component console deployment deploymentcost design developer development ebay eff email facebook fpx freezing game gamer games gauntanamo gdata gis google guess hot hyper hypervisor iphone java live mercenaries microsoft mobile modal music myspace networking news nintendo number opensource parsing pinky pirate playstation plazmic politics programing programming project ps3 redesign richedit rpg rss rules search server site skytap socialnetwork software sony spotify studio text tombraider valid vb vista vmware voice voip warcraft3 webservices wii win32 windows windows.h windows7 xbox xbox360 xml






