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

1st script by me i got an error help maybe?


  • Please log in to reply
12 replies to this topic

#1
vincent74563

vincent74563

    Member

  • Members
  • 28 posts

Hey guys , 

 

I'm trying to do my first script today and im getting this error 

:/ any one can give me a help ?

8bc2e78ca6d4573aaedf3434059bb61b.png


  • 0

#2
Platypus

Platypus

    Bitcoin and Paysafecard payments are now available

  • Banned
  • PipPipPip
  • 1,289 posts

Posting your code would help. Also you forgot a ) 


  • 0

#3
vincent74563

vincent74563

    Member

  • Members
  • 28 posts

hey thanks for anwsers yes its was an () missing , but know my probleme is i got menu no error but when i wanna Harass or combo only auto-hit

i will work more on it 


  • 0

#4
aizjg

aizjg

    GoS's Firefighter

  • Banned
  • PipPipPip
  • 325 posts
  • Locationfire dep 24/7 Kappa

... ^^ the error was telling you you are missing a )... XD anyway add me on skype i'll help you maybe a little ^^


  • 0

#5
vincent74563

vincent74563

    Member

  • Members
  • 28 posts

give me you'r skype in pm :) 


  • 0

#6
Zwei

Zwei

    Advanced Member

  • Contributor
  • 2,201 posts

Still src would be nice that we can give you some tips ;)


  • 0

#7
vincent74563

vincent74563

    Member

  • Members
  • 28 posts

Okey it's not finish but well im working or trying to worke better saying.. at the combo /Harass part..

 

my probleme is when i space bar , he only auto hit enemy..im sur i forget anything from any part xD but well first script in my life xD

probleme 2 its same like 1.. Press C for harass last hit cs perfect, but only auto hit enemy dont cast spell i think same probleme thant 1 

 

https://raw.githubus...aster/jhin2.lua

 

PS: Don't judge me its my first time..


  • 0

#8
Zwei

Zwei

    Advanced Member

  • Contributor
  • 2,201 posts

Not sure if Ignite is still returned by Inspired.lua

WPred in E logic

Difference between harass/combo?

Ignite is outside OnTick

What is CastE / CastW function good for?


  • 0

#9
Krystra

Krystra

    Sexy Developer

  • Contributor
  • 417 posts

as i can remember its not returned by inspired ( ignite ) add this for ignite

local Ignite = (GetCastName(GetMyHero(),SUMMONER_1):lower():find("summonerdot") and SUMMONER_1 or (GetCastName(GetMyHero(),SUMMONER_2):lower():find("summonerdot") and SUMMONER_2 or nil))

 

you made a cast functions and did not use it,

 

in cast functions , if you use Pred = GetPredictionForPlayer(GetOrigin(myHero),unit,GetMoveSpeed(unit),3000,999999,WRange,100,true,true) then it shoult be Pred.HitChance == 1 not wPred.HitChance == 1

 

here http://pastebin.com/5U6N6Lr3 ( dont pay attention too much could i miss something though)


  • 0

#10
vincent74563

vincent74563

    Member

  • Members
  • 28 posts

Thanks for help ^^ not so easy to do my first xD i do the change now i will try it^^


  • 0

#11
vincent74563

vincent74563

    Member

  • Members
  • 28 posts

hmm combo and harass continue to only Auto hit ^^ if any one can give me a litlle help for the part of combo + harass^^

https://raw.githubus...aster/jhin2.lua


  • 0

#12
Zwei

Zwei

    Advanced Member

  • Contributor
  • 2,201 posts

Your spellstats check will not get you anywhere CanUseSpell(myHero,_W) will always return a number and so the statement will always pass.

 

Your prediction line 

local WPred = GetPredictionForPlayer(GetOrigin(myHero),unit,GetMoveSpeed(unit),3000,999999,WRange,100,true,true)

has a buch of fails. Check again what each parameter stands for.


  • 0

#13
Krystra

Krystra

    Sexy Developer

  • Contributor
  • 417 posts


  • 0




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users