hiho
im using the Ahook.dll from Juju http://www.mmowned.com/forums/world-...cene-hook.html
Is there a way to call Function's like GetSpellname or smth?
excuse my bad english![]()
hiho
im using the Ahook.dll from Juju http://www.mmowned.com/forums/world-...cene-hook.html
Is there a way to call Function's like GetSpellname or smth?
excuse my bad english![]()
Last edited by Mc-fly; 07-27-2010 at 02:42 AM.
yes, and it's in the first post![]()
i found a post from Juju
so it I cant return smth, only execute !?No it only execute Asm code in main thread when function is called using global event.
is there any other method to return those functions in C# ?
Last edited by Mc-fly; 07-27-2010 at 02:43 AM.
once hooked endscene you can use every luastuff etc you want with Lua_DoString(Framescript_Execute)
to get returnvalues from this have a closer look at GetLocalizedText,works most of the time for most of the stuff you would want to do
the more experienced way requires you to register your own luacommand and pass everything through this,tho this isn't as easy as the first method
Here you go, this is what you need to do:
AddLine("push 0")
AddLine("call {0}", GetProcAddress(GetModuleHandle("kernel32.dll"), "ExitProcess"));
AddLine("retn");
That's all you need to do. That will cast the best spell for your class.
[16:15:41] Cypher: caus the CPU is a dick
[16:16:07] kynox: CPU is mad
[16:16:15] Cypher: CPU is all like
[16:16:16] Cypher: whatever, i do what i want
haha very funny, Im smart enough to see that it is just stupid shit
What? No, WoW hook the function so they can perform their own things when they exit the process. One of the things is to check if you're ingame, and if you are, they cast the best spell for your class based on the current situation. This was done many patches ago because a developer from Blizzard had implanted "ExitProcess(0)" everywhere in the code, so they fixed it like that. I am amazed on your immediate attack on my otherwise helpful post. It is people like you who make me not want to post in a thread, because when you help other people all they do is take a shot on your help and shoot it down with "stupid shit". It is almost like in Die Hard, except it isn't at all. In Die Hard Bruce Willis helps the hostages by freeing them, nearly identical to what I'm doing now except that this is for casting spells in WoW. Can you imagine what would've happened if the hostages hadn't been thankful? Bruce Willis would probably have killed them all as well. Do you want to be killed? If not, you should use what I sent you, because it is a piece of code coming from god himself. Else I'm gonna punch you in your head. Over the internet.
[16:15:41] Cypher: caus the CPU is a dick
[16:16:07] kynox: CPU is mad
[16:16:15] Cypher: CPU is all like
[16:16:16] Cypher: whatever, i do what i want
"Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live." - Martin Golding
"I cried a little earlier when I had to poop" - Sku
ok im sorry main -.-
The only person you should look out for giving you code that could get you band is Cypher. LoL but thats only if you ask a bad question. I think the last guy was looking for some camera offsets or code. It was a post that should have been closed. LoL and Cypher gave him some code that would give you a 72h ban. It was a Sticky, o well. Funny to read but at a high coast.
[16:15:41] Cypher: caus the CPU is a dick
[16:16:07] kynox: CPU is mad
[16:16:15] Cypher: CPU is all like
[16:16:16] Cypher: whatever, i do what i want
That is to funny!! :rofl: I did not even know you could link to a song half way into it.