Fake cast script? menu

Shout-Out

User Tag List

Results 1 to 15 of 15
  1. #1
    Xewl's Avatar Active Member CoreCoins Purchaser
    Reputation
    56
    Join Date
    May 2015
    Posts
    95
    Thanks G/R
    24/19
    Trade Feedback
    6 (100%)
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Fake cast script?

    I heard there's a way to automatically stop your cast if someone tries to kick you. I found a script posted a long time ago but I couldn't get it to work. Anyone know of a working fake cast script?

    Please save the "get good scrub" and all that bs, this is a forum for hacks and I want to cheat.
    Last edited by Xewl; 06-24-2015 at 11:23 AM. Reason: can't spell

    Fake cast script?
  2. #2
    Xtremkiller's Avatar Member
    Reputation
    0
    Join Date
    Jul 2013
    Posts
    29
    Thanks G/R
    0/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Won't work unless you have 1ms while ur opponent have 200ms.

  3. #3
    IChangedMyUsername's Avatar Contributor Dance! ;^) CoreCoins Purchaser
    Reputation
    169
    Join Date
    Mar 2013
    Posts
    720
    Thanks G/R
    257/65
    Trade Feedback
    5 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I remember seeing something similar. I'll do some digging and let you know what I find.

  4. #4
    Xewl's Avatar Active Member CoreCoins Purchaser
    Reputation
    56
    Join Date
    May 2015
    Posts
    95
    Thanks G/R
    24/19
    Trade Feedback
    6 (100%)
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Here's the script I was looking at, maybe you can work with it.

    Code:
    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)

  5. #5
    aeo's Avatar Contributor
    Reputation
    127
    Join Date
    Apr 2007
    Posts
    270
    Thanks G/R
    86/62
    Trade Feedback
    7 (100%)
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    It works just not 100%. I used it in my rotation bot for PVP. You cant rely on it though.

  6. #6
    Xewl's Avatar Active Member CoreCoins Purchaser
    Reputation
    56
    Join Date
    May 2015
    Posts
    95
    Thanks G/R
    24/19
    Trade Feedback
    6 (100%)
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    How do you implement it? I tried to make it an addon and run a LUA unlocker but it didn't seem to do anything. I'm not sure at all how to run these LUA unlocked scripts.

  7. #7
    Xewl's Avatar Active Member CoreCoins Purchaser
    Reputation
    56
    Join Date
    May 2015
    Posts
    95
    Thanks G/R
    24/19
    Trade Feedback
    6 (100%)
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Sorry for shameless bump but.. Can anyone tell me how I implement this script with LUA unlocker?

  8. #8
    IChangedMyUsername's Avatar Contributor Dance! ;^) CoreCoins Purchaser
    Reputation
    169
    Join Date
    Mar 2013
    Posts
    720
    Thanks G/R
    257/65
    Trade Feedback
    5 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Awkwerdness View Post
    I remember seeing something similar. I'll do some digging and let you know what I find.
    Closure -- I did look around some but ultimately found nothing. What was linked above looks promising tho

  9. #9
    Xewl's Avatar Active Member CoreCoins Purchaser
    Reputation
    56
    Join Date
    May 2015
    Posts
    95
    Thanks G/R
    24/19
    Trade Feedback
    6 (100%)
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    I tried that script I linked earlier but it is extremely unreliable. I'll juke maybe 1 in 50 casts lol..

  10. #10
    InternetExplorer's Avatar Contributor
    Reputation
    136
    Join Date
    Sep 2007
    Posts
    420
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Try this script.
    Haven't tested it ingame at all, so may need some minor changes to work.

    Code:
    local spellList = {[57994]=1,[6552]=1,[47528]=1,[1766]=1,[96231]=1,[116705]=1,[106839]=1,[147362]=1,[2139]=1,[19647]=1,[115781]=1,[132409]=1}
    local UnitCastingInfo, select = select, UnitCastingInfo
    local PLAYER_GUID
    
    local SpellStopCasting = SpellStopCasting -- PROTECTED API
    
    local function CLEU(_, _, _, eventType, _, _, _, _, _, destGUID, _, _, _, spellID)
        if eventType == "SPELL_CAST_SUCCESS" and destGUID == PLAYER_GUID and spellList[spellID] then
            --if select(9, UnitCastingInfo("player")) then -- Enable if your class has interrupt immunity spell
                SpellStopCasting()
            --end
        end
    end
    
    local f = CreateFrame("Frame")
    f:RegisterEvent("PLAYER_LOGIN")
    f:SetScript("OnEvent", function(...)
        PLAYER_GUID = UnitGUID("player")
    
        f:UnregisterEvent("PLAYER_LOGIN")
        f:RegisterEvent("COMBAT_LOG_EVENT_UNFILTERED")
        f:SetScript("OnEvent", CLEU)
    end)

  11. #11
    Xewl's Avatar Active Member CoreCoins Purchaser
    Reputation
    56
    Join Date
    May 2015
    Posts
    95
    Thanks G/R
    24/19
    Trade Feedback
    6 (100%)
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Not having any luck with that script either.

  12. #12
    Awsm's Avatar Member
    Reputation
    2
    Join Date
    Sep 2013
    Posts
    8
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Tried the above posted script, and it does work just a tad too late
    The best way to test this is with aura mastery which is commented in the script. I've tried it and it did stop casting on auramastery (looks very convincing and fast to human eye).
    I assume this has something to do with ping, Im from Serbia (50ms) so it would be nice if some1 closer to Paris could test this.
    Could the problem be something else than ping? The 0.01 delay i mean

  13. #13
    InternetExplorer's Avatar Contributor
    Reputation
    136
    Join Date
    Sep 2007
    Posts
    420
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Awsm View Post
    Tried the above posted script, and it does work just a tad too late
    The best way to test this is with aura mastery which is commented in the script. I've tried it and it did stop casting on auramastery (looks very convincing and fast to human eye).
    I assume this has something to do with ping, Im from Serbia (50ms) so it would be nice if some1 closer to Paris could test this.
    Could the problem be something else than ping? The 0.01 delay i mean
    It's most likely not possible anymore then, as the combat server response/delay changed from 300-500ms to approx 30ms in WoD.

  14. #14
    aeo's Avatar Contributor
    Reputation
    127
    Join Date
    Apr 2007
    Posts
    270
    Thanks G/R
    86/62
    Trade Feedback
    7 (100%)
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    It works just not 100% of the time. I find its pretty good success rate against counter shot and some wind shears not sure why. Not so good against kick /pummel/ect.

  15. #15
    Numba1stunna1's Avatar Active Member
    Reputation
    70
    Join Date
    Dec 2013
    Posts
    182
    Thanks G/R
    1/34
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    There's a couple ways to do this. You can make an event tracker from when the enemy casts a disrupt to stop casting, or you can make it stop casting after a duration of time, OR you can use event tracker to track GUID kick cooldowns, then have the function juke if the enemy has kick up. If you want, I can write them up for you later today (all three options). I have made personal powerful kick scripts for all rogue abilities. If the enemy player has low ping, and he's using a kickbot, the only way to attempt to juke it is by instantaneously stop casting @ kick.

    EDIT: I suggest adding a randomizer if you choose to make a time duration. My best bet is to combine all three. Priority order would be: If enemy has kick cooldown (else continue casting), Stop casting instaneously for kick, check if enemy has kick up then randomize stopcast. If enemy is using kickbot to kick right before cast ends then add a number counter for the jukes (perhaps 2-3 attempts to juke disrupt), then attempt to get enemy to kick. A lot of factors, but you can make powerful juke boxes.

    EDIT: this is the event logger, I still have to make the functions

    Code:
    if not JukeTable then Juketable = {} end
    
    if not EventHandlerLog then
    
        EventHandlerLog = CreateFrame('Frame')
        EventHandlerLog:RegisterEvent("COMBAT_LOG_EVENT_UNFILTERED")
    
    	function OnSuccessfulCast(self, event, ...)
    	
    		local timestamp, type, hideCaster, sourceGUID, sourceName, sourceFlags, sourceFlags2, destGUID, destName, destFlags, destFlags2 = select(1, ...)
    		--print("timestamp = "..timestamp, " type = "..type, " sourceGUID = "..sourceGUID, " sourceName = "..sourceName, " sourceFlags = "..sourceFlags, " sourceflags2 = "..sourceFlags2, " destGUID = "..destGUID, " destName = "..destName, " destFlags = "..destFlags, " destFlag2 = "..destFlags2)
    		local COMBATLOG_OBJECT_TYPE_PLAYER = COMBATLOG_OBJECT_TYPE_PLAYER
    		local COMBATLOG_OBJECT_CONTROL_PLAYER = COMBATLOG_OBJECT_CONTROL_PLAYER
    		local COMBATLOG_OBJECT_REACTION_HOSTILE = COMBATLOG_OBJECT_REACTION_HOSTILE
    		local COMBATLOG_OBJECT_REACTION_FRIENDLY = COMBATLOG_OBJECT_REACTION_FRIENDLY
    		local COMBATLOG_OBJECT_REACTION_NEUTRAL = COMBATLOG_OBJECT_REACTION_NEUTRAL
    		
    		local isFriendlySource = (bit.band(sourceFlags,COMBATLOG_OBJECT_REACTION_FRIENDLY) == COMBATLOG_OBJECT_REACTION_FRIENDLY)
    		local isPlayerSource = (bit.band(sourceFlags, COMBATLOG_OBJECT_TYPE_PLAYER) == COMBATLOG_OBJECT_TYPE_PLAYER) or (bit.band(sourceFlags, COMBATLOG_OBJECT_CONTROL_PLAYER) == COMBATLOG_OBJECT_CONTROL_PLAYER)
    		local isHostileSource = (bit.band(sourceFlags,COMBATLOG_OBJECT_REACTION_HOSTILE) == COMBATLOG_OBJECT_REACTION_HOSTILE)
    		local isNeutralSource = (bit.band(sourceFlags,COMBATLOG_OBJECT_REACTION_NEUTRAL) == COMBATLOG_OBJECT_REACTION_NEUTRAL)
    			
    		if (event=="COMBAT_LOG_EVENT_UNFILTERED") then
    			local InterruptSpells = {
    			{Spell = "Mind Freeze", Cooldown = 15 },
    			{Spell = "Strangulate", Cooldown = 120},
    			{Spell = "Skull Bash", Cooldown = 15},
    			{Spell = "Solar Beam", Cooldown = 60},
    			{Spell = "Counter Shot", Cooldown = 24},
    			{Spell = "Counterspell", Cooldown = 24},
    			{Spell = "Spear Hand Strike", Cooldown = 15},
    			{Spell = "Avenger's Shield", Cooldown = 15},
    			{Spell = "Rebuke", Cooldown = 15},
    			{Spell = "Silence", Cooldown = 45},
    			{Spell = "Kick", Cooldown = 15},
    			{Spell = "Deadly Throw", Cooldown = 0},
    			{Spell = "Wind Shear", Cooldown = 12},
    			{Spell = "Spell Lock", Cooldown = 24},
    			{Spell = "Optical Blast", Cooldown = 24},
    			{Spell = "Pummel", Cooldown = 15}
    			-- Add more if you want, make sure to format it correctly
    			}
    			if (type == "SPELL_AURA_APPLIED")
    			or (type == "SPELL_CAST_SUCCESS") then
    
    				local spellID, spellName, spellSchool = select(12, ...)
    				for i=1, #InterruptSpells do
    					if InterruptSpells[i].Spell == spellName then
    
    						if destGUID == UnitGUID("player") then
    							local tspell, _, _, _, tstart, tend, _, _, tint = UnitCastingInfo("player")
    							local tchannel, _, _, _, tchannelstart, tchannelend, _, tchannelint = UnitChannelInfo("player")
    							if tint or tchannelint then
    								-- if immune to disrupts, then return
    								return
    							else SpellStopCasting()
    								-- else stop spell casting
    							end
    						end
    
    						if not isHostileSource and not isNeutralSource then return end
    						if isFriendlySource and not isNeutralSource then return end
    						if not isPlayerSource and not isNeutralSource then return end
    						-- these are filters for enemy so we don't track friendly disrupts
    
    						if( not JukeTable[sourceGUID] ) then
    							JukeTable[sourceGUID] = {}
    						end
    
    						if( not JukeTable[sourceGUID][InterruptSpells[i].Spell]) then
    							JukeTable[sourceGUID][InterruptSpells[i].Spell] = { time = GetTime(), reset = InterruptSpells[i].Cooldown + GetTime() }
    							--This tracks GUID interrupt cooldown in a table
    						end
    					end
    				end
    			end
    		end
    	end			
    					
     EventHandlerLog:SetScript('OnEvent', OnSuccessfulCast)
     
         EventHandlerLog = true
     end
    Last edited by Numba1stunna1; 11-03-2015 at 06:32 PM.

Similar Threads

  1. [Request] Fake Cast?
    By Basti229 in forum PE Support forum
    Replies: 10
    Last Post: 06-13-2015, 07:37 AM
  2. Fake cast Script
    By shajo in forum WoW UI, Macros and Talent Specs
    Replies: 9
    Last Post: 07-13-2014, 02:14 AM
  3. Creature wont cast his spells [Lua Script]
    By bill45 in forum World of Warcraft Emulator Servers
    Replies: 13
    Last Post: 05-26-2008, 08:29 PM
  4. LUA scripting -- Making game objects cast spells.
    By Jotox in forum World of Warcraft Emulator Servers
    Replies: 6
    Last Post: 05-08-2008, 03:44 PM
  5. [GUIDE] - Scripting for Antrix, Making Mobs Talk, Cast Spells, etc
    By Greed in forum WoW EMU Guides & Tutorials
    Replies: 6
    Last Post: 12-10-2007, 07:51 PM
All times are GMT -5. The time now is 08:53 PM. Powered by vBulletin® Version 4.2.3
Copyright © 2024 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search