Jump to content

Welcome to Gaming On Steroids Forums
Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more. This message will be removed once you have signed in.
Login to Account Create an Account
Photo

~Mechanics SERIES || VAYNE [0.0.7] :: Wall Tumble // perfect orbwalk // perfect animation cancel // Best Q logic


  • Please log in to reply
316 replies to this topic

#161
MarCiii

MarCiii

    Advanced Member

  • Members
  • 217 posts
  • LocationMoTBase City

Use this complete Code and it will work.

I have made it for myself!

--done by Laiha -- REWORKED-- //thanks to Inspired <3
require('Inspired')
require('IWalk')

require 'MapPositionGOS'
--require('MapPosition') --put these libs in your COMMON 
--require('MapPosition_walls_1_1') --put these libs in your COMMON  
--require('MapPosition_bushes_1') --put these libs in your COMMON 


Config = scriptConfig("Gosu Vayne v1.4", "Gosu Vayne v1.4")
Config.addParam("Q", "Use Q", SCRIPT_PARAM_ONOFF, true)
Config.addParam("Activator", "Use Activator", SCRIPT_PARAM_ONOFF, true)
Config.addParam("CA", "Condemn Auto", SCRIPT_PARAM_ONOFF, false)
Config.addParam("CC", "Condemn Combo", SCRIPT_PARAM_ONOFF, false)
Config.addParam("Debug", "Debug Mode", SCRIPT_PARAM_ONOFF, false)

PrintChat("its funny how people can copy the script edit this and pretend they did it huh?")
OnLoop(function(myHero)
	IWalk()
    	for _, Targets in pairs(GetEnemyHeroes()) do 
	    local TargetPos=GetOrigin(Targets) 
	    local drawPos = WorldToScreen(1, TargetPos.x, TargetPos.y, TargetPos.z) -- Draw Position for AA Text
	    local Damage = GetBaseDamage(myHero) + GetBonusDmg(myHero) -- Damage without W extra Damage
	    if GetCastLevel(myHero, _W) > 0 then -- Check if W is skilled
			if GetCastLevel(myHero, _W) == 1 then      -- W Spell Level 1
				Damage = 20 + (GetMaxHP(Targets) / 100 * 4) + (GetBaseDamage(myHero) + GetBonusDmg(myHero)) 
			elseif GetCastLevel(myHero, _W) == 2 then  -- W Spell Level 2
				Damage = 30 + (GetMaxHP(Targets) / 100 * 5) + (GetBaseDamage(myHero) + GetBonusDmg(myHero))
			elseif GetCastLevel(myHero, _W) == 3 then  -- W Spell Level 3
				Damage = 40 + (GetMaxHP(Targets) / 100 * 6) + (GetBaseDamage(myHero) + GetBonusDmg(myHero))
			elseif GetCastLevel(myHero, _W) == 4 then  -- W Spell Level 4
				Damage = 50 + (GetMaxHP(Targets) / 100 * 7) + (GetBaseDamage(myHero) + GetBonusDmg(myHero))
			elseif GetCastLevel(myHero, _W) == 5 then  -- W Spell Level 5
				Damage = 60 + (GetMaxHP(Targets) / 100 * 8) + (GetBaseDamage(myHero) + GetBonusDmg(myHero)) 
			end 
		end 
		if GetCastLevel(myHero, _W) == 0 then 
			DrawText((math.floor(GetCurrentHP(Targets) / Damage) + 0.0) .." AA to Kill", 20, drawPos.x, drawPos.y, 0xffffffff) 
			elseif GetCastLevel(myHero, _W) >= 1 then  -- W Spell Level 1 or higher
				DrawText((math.floor(GetCurrentHP(Targets) / Damage * 2) + 0.0) .." AA to Kill", 20, drawPos.x, drawPos.y, 0xffffffff) 
		end 
    end 
	if KeyIsDown(0x20) then
		local unit = GetTarget(1000)
		AutoE()
		if ValidTarget(unit, 550) then
			local stacks= GotBuff(unit,"VayneSilveredBolts")
			if Config.Q  then
				if CanUseSpell(myHero, _Q) == READY and stacks>1 then
						local mousePos=GetMousePos()
						CastSkillShot(_Q,mousePos.x,mousePos.y,mousePos.z)
				end
			end
			--if GetButtonValue("E") then
				--AddGapcloseEvent(_E, 450, unit)	
			--end
						
			--if GetButtonValue("E") then
				--if CanUseSpell(myHero,_E) == READY and ((GetCurrentHP(myHero)/(GetMaxHP(myHero)/100))) < 26 then
					--CastTargetSpell(unit, _R)
				--end
			--end
			if  Config.Activator then
				if GetItemSlot(myHero,3153)>0 then
					CastTargetSpell(unit, GetItemSlot(myHero,3153))
				end
				if GetItemSlot(myHero,3144)>0 then
					CastTargetSpell(unit, GetItemSlot(myHero,3144))
				end
				if GetItemSlot(myHero,3142)>0 then
					CastTargetSpell(unit, GetItemSlot(myHero,3142))
				end
			end
		end
		--if  GetButtonValue("Activator") then
			--CastItem(myHero,GetItemSlot(myHero,3140))
			--CastItem(myHero,GetItemSlot(myHero,3149))
		--end	
	end

end)
AddGapcloseEvent(_E, 450, true)

--IM THE FIRST ONE WHO DOES THAT , GIVE ME THE HONORS SLUTS AND USE CREDITS BEFORE I FKING RAPE YOU *******
--OnProcessSpell(function(unit, spell)
--if unit and unit == myHero and spell then
	--if spell.name:lower():find("attack") then
		--Table.noa=Table.noa+1
		--if Table.noa > 3 then
			--Table.noa=0
		--end
	--end
--end
				
--end)

OnLoop(function(myHero)
	DrawMenu()
  local Q,W,E,R = 'Q','W','E','R'
	local mousex, mousey, mousez
	if Config.CA then
		AutoE()
	end
	if Config.Debug then
		local mousepos = GetMousePos()
		mousex=mousepos.x
		mousey=mousepos.y
		mousez=mousepos.z
		local mouse = WorldToScreen(1,mousepos.x,mousepos.y,mousepos.z)
		DrawText("X:" .. mousex,20,mouse.x+50,mouse.y,0xffff0000)
		DrawText("Y:" .. mousey,20,mouse.x+50,mouse.y+30,0xffff0000)
		DrawText("Z:" .. mousez,20,mouse.x+50,mouse.y+60,0xffff0000)
		local x,y,z =0
		if MapPosition:inWall({x=mousex,y=mousey,z=mousez})==true then
			DrawText("Wall",				20,mouse.x+50,mouse.y+90,0xffff0000)
			DrawCircle(mousex,mousey,mousez,50,10,0,0xffff0000)
		elseif MapPosition:inWall({x=mousex,y=mousey,z=mousez})==false then
			DrawCircle(mousex,mousey,mousez,50,10,0,0xff00ff00)
		end
	end
end)

function AutoE()
	 for _,unit in pairs(GetEnemyHeroes()) do
		if ValidTarget(unit,20000) then
			local enemyposx,enemyposy,enemypoz,selfx,selfy,selfz
			local distance1=24
			local distance2=118
			local distance3=212
			local distance4=306
			local distance5=400
			--setting enemyPos--
			local enemyposition = GetOrigin(unit)
			enemyposx=enemyposition.x
			enemyposy=enemyposition.y
			enemyposz=enemyposition.z
			local TargetPos = Vector(enemyposx,enemyposy,enemyposz)
			--setting coordinates myHero--
			local self=GetOrigin(myHero)
			selfx = self.x
			selfy = self.y
    	selfz = self.z
			local HeroPos = Vector(selfx, selfy, selfz)
    	------------------------------
			local Pos1 = TargetPos-(TargetPos-HeroPos)*(-distance1/GetDistance(unit))
			local Pos2 = TargetPos-(TargetPos-HeroPos)*(-distance2/GetDistance(unit))
			local Pos3 = TargetPos-(TargetPos-HeroPos)*(-distance3/GetDistance(unit))
			local Pos4 = TargetPos-(TargetPos-HeroPos)*(-distance4/GetDistance(unit))
			local Pos5 = TargetPos-(TargetPos-HeroPos)*(-distance5/GetDistance(unit))
			--Check if in Wall--
				if MapPosition:inWall(Pos1)==false then
					if Config.Debug then DrawCircle(Pos1.x,Pos1.y,Pos1.z,20,10,0,0xffff0000) end
				elseif MapPosition:inWall(Pos1)==true then
					if Config.Debug then DrawCircle(Pos1.x,Pos1.y,Pos1.z,20,10,0,0xff00ff00) end
					DrawText("CONDEMN ME",enemyposx, enemyposy, enemyposz,0xffff0000)
					if GetDistance(unit)<=550 then
						 CastTargetSpell(unit, _E) 
					end
				end
				if MapPosition:inWall(Pos2)==false then
					if Config.Debug then DrawCircle(Pos2.x,Pos2.y,Pos2.z,20,10,0,0xffff0000) end
				elseif MapPosition:inWall(Pos2)==true then
					if Config.Debug then DrawCircle(Pos2.x,Pos2.y,Pos2.z,20,10,0,0xff00ff00) end
					DrawText("CONDEMN ME",enemyposx, enemyposy, enemyposz,0xffff0000)
					if GetDistance(unit)<=550 then
						 CastTargetSpell(unit, _E) 
					end
				end
				if MapPosition:inWall(Pos3)==false then
					if Config.Debug then DrawCircle(Pos3.x,Pos3.y,Pos3.z,20,10,0,0xffff0000) end
				elseif MapPosition:inWall(Pos3)==true then
					if Config.Debug then DrawCircle(Pos3.x,Pos3.y,Pos3.z,20,10,0,0xff00ff00) end
					DrawText("CONDEMN ME",enemyposx, enemyposy, enemyposz,0xffff0000)
					if GetDistance(unit)<=550 then
						 CastTargetSpell(unit, _E) 
					end
				end
				if MapPosition:inWall(Pos4)==false then
					if Config.Debug then DrawCircle(Pos4.x,Pos4.y,Pos4.z,20,10,0,0xffff0000) end
				elseif MapPosition:inWall(Pos4)==true then
					if Config.Debug then DrawCircle(Pos4.x,Pos4.y,Pos4.z,20,10,0,0xff00ff00) end
					DrawText("CONDEMN ME",enemyposx, enemyposy, enemyposz,0xffff0000)
					if GetDistance(unit)<=550 then
						 CastTargetSpell(unit, _E) 
					end
				end
				if MapPosition:inWall(Pos5)==false then
					if Config.Debug then DrawCircle(Pos5.x,Pos5.y,Pos5.z,20,10,0,0xffff0000) end
				elseif MapPosition:inWall(Pos5)==true then
					if Config.Debug then DrawCircle(Pos5.x,Pos5.y,Pos5.z,20,10,0,0xff00ff00) end
					DrawText("CONDEMN ME",enemyposx, enemyposy, enemyposz,0xffff0000)
					if GetDistance(unit)<=550 then
						 CastTargetSpell(unit, _E) 
					end
				end
		end
	end
end

Thats the complete finished code inclusive Debugging for others to see how it works with the Wall!

 

Credit to Maxxel for WallFunc and Download

http://www.mediafire...8/WallStuff.zip

 

greetings


  • 2

#162
Condim

Condim

    Advanced Member

  • Members
  • 371 posts

Yah Laiha needed to combine the two of them lua for it to work + the libs


  • 0

#163
Maxxxel

Maxxxel

    The One

  • Scripts Developer
  • 1,196 posts
  • LocationGuess the right City to win 10$

Auto E stun , CREDITS MAXEL


Pls 3 X
MAXXXEL
  • 0

#164
unknown1239

unknown1239

    Advanced Member

  • Members
  • 34 posts

hi , it works fine but when I press 'space' for combo vayne walking at the same time it is difficult to lock the enemy with the cursor when vayne moves. Is it possible for vayne just stop walking where the cursor is and just combo with 'space' ? sry my english is awful :x


  • 0

#165
vietcuong511

vietcuong511

    Advanced Member

  • Members
  • 37 posts
  • LocationVietNam

link  http://pastebin.com/raw.php?i=b3Az8j1h error 


  • 0

#166
Laiha

Laiha

    Advanced Member

  • Members
  • 273 posts
  • LocationAntartica

Now its working!

OagoKq2.png

 

Redownload his WallStuff, he has forgotten the 2DGeometry.lua

http://gamingonstero...summoners-rift/

 

greetings

 

thank you for this usefull post and helping thast guy , im glad people like you is in this community (:


  • 0

#167
Laiha

Laiha

    Advanced Member

  • Members
  • 273 posts
  • LocationAntartica

hi , it works fine but when I press 'space' for combo vayne walking at the same time it is difficult to lock the enemy with the cursor when vayne moves. Is it possible for vayne just stop walking where the cursor is and just combo with 'space' ? sry my english is awful :x

 

hi , it works fine but when I press 'space' for combo vayne walking at the same time it is difficult to lock the enemy with the cursor when vayne moves. Is it possible for vayne just stop walking where the cursor is and just combo with 'space' ? sry my english is awful :x

Well where is the kiting then if you weanna just combo you dont even have to script xD 

She must move bro


  • 0

#168
Laiha

Laiha

    Advanced Member

  • Members
  • 273 posts
  • LocationAntartica

Improved autoE , more FPs for y'all


  • 0

#169
Maxxxel

Maxxxel

    The One

  • Scripts Developer
  • 1,196 posts
  • LocationGuess the right City to win 10$
To also improve u can remove everything related to Config.Debug and DrawText(Condemn Me....) it was just for testing and will make your code shorter and faster.
  • 1

#170
Laiha

Laiha

    Advanced Member

  • Members
  • 273 posts
  • LocationAntartica

To also improve u can remove everything related to Config.Debug and DrawText(Condemn Me....) it was just for testing and will make your code shorter and faster.

yep doing atm


  • 0

#171
Maxxxel

Maxxxel

    The One

  • Scripts Developer
  • 1,196 posts
  • LocationGuess the right City to win 10$
You could also use the other features of mappos for your gank alert to display a message where the jungle was.
  • 0

#172
JoduskameOver

JoduskameOver

    Member

  • Members
  • 16 posts

FPS 158 Down 42


  • 0

#173
Laiha

Laiha

    Advanced Member

  • Members
  • 273 posts
  • LocationAntartica

Improved FPS again


  • 0

#174
Laiha

Laiha

    Advanced Member

  • Members
  • 273 posts
  • LocationAntartica

FPS 158 Down 42

I just updated try again , FPS should be fixxed


  • 0

#175
thunderstorm443322

thunderstorm443322

    Member

  • Members
  • 20 posts
Why don't i have auto e into wall guys ? I'm new here so i don't have exp in this. :(
  • 0

#176
NightFox

NightFox

    Advanced Member

  • Members
  • 68 posts
  • LocationPhilippines

how to apply it in the game ? where should I place that codes?


  • 0

#177
Laiha

Laiha

    Advanced Member

  • Members
  • 273 posts
  • LocationAntartica

how to apply it in the game ? where should I place that codes?

%appdata% -> gaming on steroids -> scripts

save vayne script as testscript1.lua

 

%appdata% -> gaming on steroids -> scripts -> common

 

Save the libraries


  • 0

#178
thunderstorm443322

thunderstorm443322

    Member

  • Members
  • 20 posts

%appdata% -> gaming on steroids -> scripts

save vayne script as testscript1.lua

 

%appdata% -> gaming on steroids -> scripts -> common

 

Save the libraries

you mean rename vayne.lua into testscript1.lua ?


  • 0

#179
Laiha

Laiha

    Advanced Member

  • Members
  • 273 posts
  • LocationAntartica

you mean rename vayne.lua into testscript1.lua ?

yea


  • 0

#180
thunderstorm443322

thunderstorm443322

    Member

  • Members
  • 20 posts

yea

tks :))
  • 0




7 user(s) are reading this topic

0 members, 6 guests, 0 anonymous users


    Bing (1)