So I have the script Hover Alerts by modern algebra, and I am getting an error after the item pickup alert has come up, as shown:
[IMG]https://i.gyazo.com/ab3495e294b790a8466f1abbddf799e9.png[/IMG]
I managed to stop it from erroring by changing like 265 from:
@hover_alert = @hover_alert_queue.empty? ? nil : @hover_alert_queue.shift
to
@hover_alert = (@hover_alert_queue.nil? || @hover_alert_queue.empty?) ? nil : @hover_alert_queue.shift
but this removes the alert, and I would like the alert to show.
The code I have is from the demo he provided, in which it worked, and everything else it is intended to do works.
Here's the full code:
http://pastebin.com/9H11VMs0
[IMG]https://i.gyazo.com/ab3495e294b790a8466f1abbddf799e9.png[/IMG]
I managed to stop it from erroring by changing like 265 from:
@hover_alert = @hover_alert_queue.empty? ? nil : @hover_alert_queue.shift
to
@hover_alert = (@hover_alert_queue.nil? || @hover_alert_queue.empty?) ? nil : @hover_alert_queue.shift
but this removes the alert, and I would like the alert to show.
The code I have is from the demo he provided, in which it worked, and everything else it is intended to do works.
Here's the full code:
http://pastebin.com/9H11VMs0