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

OpenPredict 0.05a

prediction library

Best Answer jouzuna , 25 January 2016 - 08:15

Updated to 0.05a!

- Added Fog-of-war prediction (for brief time).

- Added member predictInfo.timeToHit.

- Added global _G.OpenPredict_Version.

- GetHealthPrediction now return predicted health and aggro count.

- Fixed Health Prediction (a lot of bugs with previous version due to lack of testing).

- Fixed hit chance for conic spells (dynamic width based on distance & angle).

- Removed auto updater (will send to Feretorix each time I push an update from now).

- Removed _G.OpenPredict_Loaded (replaced with _G.OpenPredict_Version).

 

Example of checking OpenPredict version:

if _G.OpenPredict_Version and _G.OpenPredict_Version == "0.05" then
    -- Do stuff
end

Example of getting aggro count from GetHealthPrediction:

local pHealth, nAggro = GetHealthPrediction(target, 1)
Go to the full post »


  • This topic is locked This topic is locked
76 replies to this topic

#41
SeouL1

SeouL1

    Member

  • Members
  • 21 posts

:thugdoge:


  • 0

#42
jouzuna

jouzuna

    Advanced Member

  • Contributor
  • 73 posts
✓  Best Answer

Updated to 0.05a!

- Added Fog-of-war prediction (for brief time).

- Added member predictInfo.timeToHit.

- Added global _G.OpenPredict_Version.

- GetHealthPrediction now return predicted health and aggro count.

- Fixed Health Prediction (a lot of bugs with previous version due to lack of testing).

- Fixed hit chance for conic spells (dynamic width based on distance & angle).

- Removed auto updater (will send to Feretorix each time I push an update from now).

- Removed _G.OpenPredict_Loaded (replaced with _G.OpenPredict_Version).

 

Example of checking OpenPredict version:

if _G.OpenPredict_Version and _G.OpenPredict_Version == "0.05" then
    -- Do stuff
end

Example of getting aggro count from GetHealthPrediction:

local pHealth, nAggro = GetHealthPrediction(target, 1)

  • 1

#43
Deftsu

Deftsu

    donthackourgames

  • Ex-Core Dev
  • PipPipPip
  • 4,812 posts

 

Updated to 0.05a!

- Added Fog-of-war prediction (for brief time).

- Added member predictInfo.timeToHit.

- Added global _G.OpenPredict_Version.

- GetHealthPrediction now return predicted health and aggro count.

- Fixed Health Prediction (a lot of bugs with previous version due to lack of testing).

- Fixed hit chance for conic spells (dynamic width based on distance & angle).

- Removed auto updater (will send to Feretorix each time I push an update from now).

- Removed _G.OpenPredict_Loaded (replaced with _G.OpenPredict_Version).

 

Example of checking OpenPredict version:

if _G.OpenPredict_Version and _G.OpenPredict_Version == "0.05" then
    -- Do stuff
end

Example of getting aggro count from GetHealthPrediction:

local pHealth, nAggro = GetHealthPrediction(target, 1)

 

JE SUIS JOUZUNA


  • 0

#44
Inspired

Inspired

    Took the red pill.

  • Ex-Core Dev
  • PipPipPip
  • 723 posts
  • LocationWonderland

JE SUIS JOUZUNA

No, you aren't.
  • 0

#45
Deftsu

Deftsu

    donthackourgames

  • Ex-Core Dev
  • PipPipPip
  • 4,812 posts

No, you aren't.


rip
  • 0

#46
jouzuna

jouzuna

    Advanced Member

  • Contributor
  • 73 posts

Hi everyone,

 

I'm going to be rewriting this library to come out of alpha (will release as last alpha version for testing/bug fixing)

Please let me know any suggestions as I will consider all of them (wall collision will not be taken on-board as we still need a solid API for this)


  • 0

#47
Zwei

Zwei

    Advanced Member

  • Contributor
  • 2,201 posts

Hi everyone,

 

I'm going to be rewriting this library to come out of alpha (will release as last alpha version for testing/bug fixing)

Please let me know any suggestions as I will consider all of them (wall collision will not be taken on-board as we still need a solid API for this)

Collision Team Parameter :P


  • 0

#48
jouzuna

jouzuna

    Advanced Member

  • Contributor
  • 73 posts

Collision Team Parameter :P

I will add this :)

 

I will make it so the collision methods will automatically choose the team based on the target's team and will also add an optional second parameter like below

pInfo:hCollision(nMax, team)

will this be okay?


  • 0

#49
OxideSon

OxideSon

    Advanced Member

  • Donator
  • 642 posts

dodge movements detection?  Kreygasm


  • 0

#50
Zwei

Zwei

    Advanced Member

  • Contributor
  • 2,201 posts

I will add this :)

 

I will make it so the collision methods will automatically choose the team based on the target's team and will also add an optional second parameter like below

pInfo:hCollision(nMax, team)

will this be okay?

10/10 :wub:


  • 0

#51
Hanndel

Hanndel

    datebest.net - visit website and win smartphone!

  • Contributor
  • 604 posts
  • Locationhttps://t.me/pump_upp

dash pred?


  • 0

#52
Deftsu

Deftsu

    donthackourgames

  • Ex-Core Dev
  • PipPipPip
  • 4,812 posts

dash pred?


it has already
  • 0

#53
Deftsu

Deftsu

    donthackourgames

  • Ex-Core Dev
  • PipPipPip
  • 4,812 posts
would like some callbacks such as OnImmobile/OnDash
  • 0

#54
FreePleb

FreePleb

    Advanced Member

  • Members
  • 83 posts

Erm, What is the highest hit chance? 0 or 100?


  • 0

#55
Deftsu

Deftsu

    donthackourgames

  • Ex-Core Dev
  • PipPipPip
  • 4,812 posts

Erm, What is the highest hit chance? 0 or 100?


100 ofc lol
  • 0

#56
Krystra

Krystra

    Sexy Developer

  • Contributor
  • 417 posts

Hey, can you add this for aoe predictions

 

predictInfo.targets: Returns the number of targets the skillshot will hit.


  • 0

#57
Hanndel

Hanndel

    datebest.net - visit website and win smartphone!

  • Contributor
  • 604 posts
  • Locationhttps://t.me/pump_upp

Hey, can you add this for aoe predictions

 

predictInfo.targets: Returns the number of targets the skillshot will hit.

 

EnemiesAround predicted pos? Kappa


  • 0

#58
Zwei

Zwei

    Advanced Member

  • Contributor
  • 2,201 posts

Hey, can you add this for aoe predictions

 

predictInfo.targets: Returns the number of targets the skillshot will hit.

Why not check champ collisions ?.? 

 

EnemiesAround predicted pos? Kappa

 

EnemiesAround(XPred.castPos,Range) :fappa:


  • 0

#59
Hanndel

Hanndel

    datebest.net - visit website and win smartphone!

  • Contributor
  • 604 posts
  • Locationhttps://t.me/pump_upp

Why not check champ collisions ?.? 

 

 

EnemiesAround(XPred.castPos,Range) :fappa:

 

didnt remmember put all sorry. (**** you)


  • 0

#60
Deftsu

Deftsu

    donthackourgames

  • Ex-Core Dev
  • PipPipPip
  • 4,812 posts

Why not check champ collisions ?.? 

 

 

EnemiesAround(XPred.castPos,Range) :fappa:

 

you can actually use it.. EnemiesAround(castPos, spell.radius)


  • 0





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

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users