Quantcast
Channel: OwnedCore - World of Warcraft Exploits, Hacks, Bots and Guides.
Viewing all articles
Browse latest Browse all 277760

program fakecast

$
0
0
Hey,
I need your help, how can i do a program to test this :

ProbablyEngine.library.register('DGTLibary',
{
FakeCastCheck = function(SpellName, TimeLeftBeforeStopcast)
local spellID, _, _, _, _, endTime = UnitCastingInfo("player")
if spellID then
local finish = endTime/1000 - GetTime()
if spellID == tostring(SpellName) and finish < tonumber(TimeLeftBeforeStopcast) then
return true
end
end
return false
end,
})


{{
{"/stopcasting",{"@DGTLibary.FakeCastCheck('NAME OF FAKECAST SPELL',CANCELTIME)","modifier.lcontrol"},nil},
{"FAKECASTSPELLt",{"modifier.lcontrol"},"player"},
},"modifier.lcontrol"},


AND

local interrupts={[57994]=true,[6552]=true,[102060]=true,[47528]=true,[1766]=true,[96231]=true,[116705]=true,[80965]={80964,106839},[34490]=147362,[2139]=true,[19647]={115781,132409,24259,115782},[15487]=true,[23920]=true,}local SpellStopCasting = SpellStopCasting
local AF=CreateFrame('Frame')
AF:RegisterEvent('COMBAT_LOG_EVENT_UNFILTERED')
AF:SetScript('OnEvent',function(self,event,...)
if(event=='COMBAT_LOG_EVENT_UNFILTERED')then
local _,eventType,_,_,_,srcFlags,_,destGUID,_,_,_,spellID = ...
if ( bit.band(srcFlags, COMBATLOG_OBJECT_REACTION_HOSTILE) ~= 0 ) and ( destGUID == UnitGUID('player') ) then
if ( eventType == 'SPELL_CAST_SUCCESS' or eventType == 'SPELL_AURA_APPLIED' ) and ( interrupts[spellID] ) then
local casting,_,_,_,_,endf,_,_,intable = UnitCastingInfo('player')
if ( casting ) and ( not intable) then
if ( endf / 1000 - GetTime() > 0.17 ) then
SpellStopCasting()
end
end
end
end
end
end)


Or if someone can try it for me :D

Thanks boys !!!

Viewing all articles
Browse latest Browse all 277760

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>