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

[library] interrupter

lib interrupter library

  • Please log in to reply
30 replies to this topic

#1
ilovesona

ilovesona

    Sona's wife

  • Contributor
  • 1,096 posts

h7ofekh.jpg

Thx LacteaRX for make this banner :wub:

 

 

This is a lib for detect gap closer spell and chanell spell

 

if you want help this lib or found any bug, feel free to leave a comment here or submit an issue in my github

https://github.com/i...Sona/GOS/issues

 

Feature:

  • configurable spell list, you can turn ON/OFF every support spell, check the link below to see all support spell(it's code, but I think it's readable Doge )

https://github.com/i...Interrupter.lua

 

 

Download:

Interrupter.lua

https://raw.githubus...Interrupter.lua

 

Requirement:

DLib

http://gamingonstero...ry-dlib-rework/

 

Usage:

put it in the Common folder

 

if you want test this lib, you need a 5V5 game, 9 bots are ok too.

 

Change log:

2015.10.28: fix error checker bug(it should fix L135 error)

2015.09.16: add more spell, less fps drop with new DLib api

2015.09.14: add menu, you need DLib now

2015.09.11: support more spell, remove inspired lib requirement

2015.08.13: support multi spell for same champion now, fix FiddleSticks typo bug

2015.08.12: add spell type to callback

 

 

API:(for dev only)

addInterrupterCallback(function(target, spellType, spell)
  --your code here
end)

target is the target who use the spell

spell type currently support two type: CHANELLING_SPELLS, GAPCLOSER_SPELLS 

spell is spell data from api OnProcessSpell, check api doc for more information 

 

Example(vayne with E, only cast E for gap closer spells)

require 'Interrupter'
addInterrupterCallback(function(target, spellType, spell)
  --just remove spellType == GAPCLOSER_SPELLS if you want support all spell type
  if IsInDistance(target, GetCastRange(myHero,_E)) and CanUseSpell(myHero,_E) == READY and spellType == GAPCLOSER_SPELLS then
    CastTargetSpell(target, _E)
  end
end)

Edited by ilovesona, 28 October 2015 - 02:47 .

  • 5

#2
WizKalibog

WizKalibog

    Advanced Member

  • Members
  • 174 posts
  • LocationSA PILIPINAS KONG MINAMAHAL

Ncc!!


  • 0

#3
ilovesona

ilovesona

    Sona's wife

  • Contributor
  • 1,096 posts

Ncc!!

Thx for fast reply....but this is not nulledio...we don't need "ty" reply. Doge


  • 0

#4
Sweden

Sweden

    Advanced Member

  • Members
  • 63 posts
  • LocationFeretorix bedroom

Thx for fast reply....but this is not nulledio...we don't need "ty" reply. Doge

Kappa


  • 0

#5
ilovesona

ilovesona

    Sona's wife

  • Contributor
  • 1,096 posts

Kappa

plz.........

 

P.S. Gasai Yuno so cute :wub:


  • 0

#6
Cloud

Cloud

    KAPPA

  • Ex-Staff
  • PipPipPip
  • 1,498 posts

Good job!


  • 0

#7
Asserio

Asserio

    Advanced Member

  • Members
  • 254 posts
  • LocationPortugal

GJ!


  • 0

#8
lbmain

lbmain

    Advanced Member

  • Members
  • 277 posts
  • Locationsomewhere over the rainbow

how to install and use it?


  • 0

#9
ilovesona

ilovesona

    Sona's wife

  • Contributor
  • 1,096 posts

how to install and use it?

it's a lib, you need write a script for it...sry :(


  • 0

#10
ilovesona

ilovesona

    Sona's wife

  • Contributor
  • 1,096 posts

update

 

2015.08.12: add spell type to callback


  • 0

#11
lbmain

lbmain

    Advanced Member

  • Members
  • 277 posts
  • Locationsomewhere over the rainbow

whats a lib?:D


  • 0

#12
Cloud

Cloud

    KAPPA

  • Ex-Staff
  • PipPipPip
  • 1,498 posts

whats a lib? :D

A library


  • 0

#13
lbmain

lbmain

    Advanced Member

  • Members
  • 277 posts
  • Locationsomewhere over the rainbow

A library

Thanks Mr. Obvious


  • 0

#14
ilovesona

ilovesona

    Sona's wife

  • Contributor
  • 1,096 posts

update:

 

2015.08.13: support multi spell for same champion now, fix FiddleSticks typo bug

 

 

no change for api usage


  • 0

#15
Yun

Yun

    Advanced Member

  • Members
  • 177 posts
need in testscript1 
add
 
require('interrupter')
 
?

  • 0

#16
ilovesona

ilovesona

    Sona's wife

  • Contributor
  • 1,096 posts

 

need in testscript1 
add
 
require('interrupter')
 
?

 

nope, this script can't use standalone

 

you can check my other script that support this feature

 

xerath

http://gamingonstero...-simple-xerath/

 

vayne

http://gamingonstero...0-simple-vayne/

 

 

or you can search in forum, but I don't know there is other dev use my lib or not.


  • 0

#17
medivih

medivih

    Advanced Member

  • Members
  • 33 posts
  • LocationBrazil

I will add for BlitzCrank Plugin interrupt with R


  • 0

#18
Darkness

Darkness

    GoSDB's manager

  • Banned
  • PipPipPip
  • 1,137 posts

I will add for BlitzCrank Plugin interrupt with R

you can actually stop enemy by silence enemy when ezreal/fiddle/kat are ulting?


  • 0

#19
ilovesona

ilovesona

    Sona's wife

  • Contributor
  • 1,096 posts

I will add for BlitzCrank Plugin interrupt with R

hmm....how about Q and E?

 

I think they are good options too


  • 0

#20
ilovesona

ilovesona

    Sona's wife

  • Contributor
  • 1,096 posts

you can actually stop enemy by silence enemy when ezreal/fiddle/kat are ulting?

you can't interrupt ezreal's ult :fappa:


  • 0





Also tagged with one or more of these keywords: lib, interrupter, library

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users