Register for your free account! | Forgot your password?

Go Back   elitepvpers > General Gaming > General Gaming Discussion
You last visited: Today at 22:55

  • Please register to post and access all features, it's quick, easy and FREE!

 

run protected LUA functions?

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Jan 2007
Posts: 126
Received Thanks: 83
run protected LUA functions?

Hi there

before I start with the serious shit let me explain why I did this:
Yesterday I tried to script a small addon that helps me while I do some Multiboxing with 6 Characters. I had no idea how to do this so I had to google for addon development tutorials.

What should this addon do for me?:
-Assist the partyleader to get his target (I control the partyleader manually)
-Cast the Mage Flame-spell if the target is alive

Everything went fine until I tested this:
PHP Code:
function romboxer_OnUpdate()
    --
AssistUnit("party1")
    if ( 
UnitIsDeadOrGhost("target") == false then
        CastSpellByName
("Flame")
        
DEFAULT_CHAT_FRAME:AddMessage("CSBN->Flame")
    
end
end 
While testing this I could see the "CSBN->Flame"-messagespam in my chat. That means the script was executed properly. BUT the character did NOT start casting? wtf why? Well lets find out, google is my friend:

Looks like I can't do this -.- ... but damn it I want to!

I fired up IDA and f*cking(!) 8hours later I finally managed to find that damn peace of shit code that prevents the execution of 'CastSpellByName'. Now I can use my addon.

edit:
*removed the theorypart because it was crap*
Will post a LUA-dump when I get my hands on the new binary tomorrow.


This little lua-fix can be quite powerfull if you're an addondeveloper. PM me if you need it - but I want something good in return. I used this fix to create an addon that heals me and my party while I only move my character ... yes I'm lazy



run32.dll is offline  
Thanks
4 Users
Reply



« Previous Thread | Next Thread »

Similar Threads
Frage zu protected functions
hallo! Ich interessiere mich für Interfaceprogrammierung. Es gibt in wow ja einige Funktionen die "protected" sind, dh die nur von offiziellen...
2 Replies - WoW Addons
Use Blizzard UI-Protected Functions
As of right now you can use /dump to do any Blizzard-Protected function...move your character, jump, cast a spell only if there are diseases on the...
8 Replies - WoW Exploits, Hacks, Tools & Macros
CABALHelix 100% Protected!!
Is it true cabalhelix is 100% protected?? Never heard it was hacked sinced they used XTRAP. :mofo:
2 Replies - Cabal PServer - Discussions / Questions
protected functions
Gibt es einige patches, damit man in wow die "protected functions" benutzen kann... z.B. CastSpellByName();
0 Replies - WoW Ask the Experts



All times are GMT +1. The time now is 22:55.


Powered by vBulletin®
Copyright ©2000 - 2016, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.

Support | Contact Us | FAQ | Advertising | Privacy Policy
Copyright ©2016 elitepvpers All Rights Reserved.