Valhalla Legends Forums Archive | Battle.net Bot Development | Re: Found the text display function...

AuthorMessageTime
LockesRabb
Took me a while to locate it. Now I've found it, I'm not quite sure as to how to call it from within vb.

TextFunction :

0047AC4E  E8 AD37FFFF      CALL starcraf.0046E400

ECX and EDI hold pointers to Text.

Any ideas on how I can use it, without resorting to DLL injection?

July 1, 2005, 8:14 PM
Kp
SetThreadContext? :)
July 2, 2005, 1:11 AM
LockesRabb
Clarify?
July 2, 2005, 1:15 AM
iago
It's doubtful that EDI is used after the function is called.  ECX and EDX would be where you want to look.

Incidentally, is this for 1.12 or 1.13?  If it's for 1.13, then you were pretty fast :P
July 2, 2005, 2:09 AM
LockesRabb
1.13, and I was following a tutorial- I simply disregarded the offsets the tutorial gave, and went by comparing the asm code with the code I found. That's how I got this far, in spite of the patch. Even if the offsets change, the code barely changed for that section, so that helped.

My question is, how would I go about calling that function?
July 2, 2005, 2:13 AM
Quarantine
[quote author=Kyro link=topic=12042.msg118406#msg118406 date=1120248852]
I'm not quite sure as to how to call it from within  vb.
[/quote]

:P

July 2, 2005, 6:43 AM

Search