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

PrintChat() with GetHPBarPos() inside causes permanent error.


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

#1
Tiritto

Tiritto

    Script Developer

  • Members
  • 377 posts
  • LocationPoland

Whenever script uses this syntax:

PrintChat(GetHPBarPos(object))

 

It causes game freeze and showing up the error message. It's not possible to disable such message and it requires user to kill League of Legends process.

 

wtf.png


  • 0

#2
Cloud

Cloud

    KAPPA

  • Ex-Staff
  • PipPipPip
  • 1,498 posts

I think GetHPBarPos is meant to work with champions only. Not turrents.


  • 0

#3
Tiritto

Tiritto

    Script Developer

  • Members
  • 377 posts
  • LocationPoland

I think GetHPBarPos is meant to work with champions only. Not turrents.

It's entry in GoS API says that it's meant to work with Object not just champions so I think that turrets should be affected as well since it's an object and it posses it's own HP bar in the game just like Champions or Minions.

local HPBARPOS = GetHPBarPos(Object); --returns X/Y integer values holding the hpbar position of the object

Btw. I think you replied in wrong topic but whatever ^^


  • 0

#4
Maxxxel

Maxxxel

    The One

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

I hate stack overflows always have to restart lol.. Also happens when using while in some weird ways without breaks


  • 0

#5
ilovesona

ilovesona

    Sona's wife

  • Contributor
  • 1,096 posts

I hate stack overflows always have to restart lol.. Also happens when using while in some weird ways without breaks

I hate gos always pop error in new window instead just show it in chat like bol :grumpycat:


  • 0

#6
Maxxxel

Maxxxel

    The One

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

Never used bol


  • 0

#7
Maxxxel

Maxxxel

    The One

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

Bol is like cola

Gos is like pepsi

 

Both do the same, one exists longer the other is cheaper xD

Money>taste


  • 0

#8
ilovesona

ilovesona

    Sona's wife

  • Contributor
  • 1,096 posts

I just want to make a example.... :fappa:


  • 0

#9
Feretorix

Feretorix

    Administrator

  • Administrators
  • 3,027 posts
Sadly you can't get at the moment the HPBarPos for an object different than a champions. This will change in the future.
  • 0




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users