Author | Message | Time |
---|---|---|
WinSocks | i've been racking my brain around thins and i'm most likley not see it through properly from the online resources i've been to about this issue. What i would like to do is to be able to log text from a game. such as Starcraft, Final Fantasy XI, WoW and so forth. I remember a long time ago i saw a post regarding something similar to this but haven't had any luck finding it. [code]in-game example : Winsocks >> Hello World![/code] what i would like to do is to be able to log that to a RTB or to a textbox in Visual Basic. if it could be possible to help me get started in the right direction. MSDN is a nightmare...... | June 5, 2005, 5:51 AM |
OnlyMeat | Log what exactly? If you mean conversations/player messages in game, then you could probably do that by injecting an assembly proxy routine into the message event handling, then logging the info as it arrives. If that is what you want to do, then you should look into Read/Write ProcessMemory and finding the actual event handling offsets in the game binaries. | June 5, 2005, 10:10 AM |
Yegg | Couldn't he simply connect to the game, and record all events that occur into an RTB file? Or into an RTB on a program? | June 5, 2005, 1:42 PM |
QwertyMonster | Yeah. I was thinking that. Connect to battle.net, program it to join a game and read data, and the read data can then be displayed somewhere. Perhaps? | June 5, 2005, 6:13 PM |
Mangix | i have a newbie question here. wouldnt you require a second winsock to connect to a game? i remember that LoRd[nK] told me that games run on a diffrent protocol than BNCS. | June 5, 2005, 6:28 PM |
KkBlazekK | Starcraft, warcraft1&2, diablo1 all use UDP. | June 5, 2005, 7:48 PM |
Yegg | [quote author=Mangix link=topic=11770.msg114953#msg114953 date=1117996134] i have a newbie question here. wouldnt you require a second winsock to connect to a game? i remember that LoRd[nK] told me that games run on a diffrent protocol than BNCS. [/quote] If that were to cause a problem, he could simply have an array of winsocks ready for use. | June 5, 2005, 11:20 PM |
UserLoser. | [quote author=Yegg link=topic=11770.msg114981#msg114981 date=1118013639] [quote author=Mangix link=topic=11770.msg114953#msg114953 date=1117996134] i have a newbie question here. wouldnt you require a second winsock to connect to a game? i remember that LoRd[nK] told me that games run on a diffrent protocol than BNCS. [/quote] If that were to cause a problem, he could simply have an array of winsocks ready for use. [/quote] You only need one socket for playing, for example, a game of Brood War | June 6, 2005, 12:02 AM |
Mangix | i see. thanks :). | June 7, 2005, 4:43 AM |
Forged | [quote author=Yegg link=topic=11770.msg114931#msg114931 date=1117978929] Couldn't he simply connect to the game, and record all events that occur into an RTB file? Or into an RTB on a program? [/quote] But doing it the other way would only require one cd-key and would more than likelly be easier. | June 10, 2005, 4:37 PM |
WinSocks | ok i will be more specific, i'm trying to write a program than can log text such as parsing the text information in Starcraft, But not being connected, just logging client side text. But this program isn't going to be designed for any Blizzard Software. Will be used with other games mainly MMORPGS, Final Fantasy XI, Everquest 3 and Guildwars to be exact. What i would like to do is to be able to pull the information (Texts) that is typed in. Or would writing a keylogger that activates commands when specific words are spelled out be a easier route to go around? | June 11, 2005, 2:03 AM |
Forged | I would imagine a keylogger would be less work, because I don't know what kind of protection mmorpgs have. However finding a proccess and writing copying what it says to a text file really isn't that hard via findwindow and read/write proccessmemory | June 11, 2005, 6:35 AM |
WinSocks | you know of any resources and/or examples on other websites about read/write proccessmemory. To get me off in the right direction? | June 11, 2005, 7:35 AM |
Forged | I know www.bwhacks.com used to have a tutorial on how to write text to sc, reading from it wouldn't be that much diffrent you can check there. Or Possiblly www.gamehacking.com | June 11, 2005, 7:35 PM |