[GH-ISSUE #305] Parabot doesn't properly hook remaining prayer points #7805

Closed
opened 2026-05-31 12:20:47 +00:00 by Dark98 · 0 comments
Owner

Originally created by @MitchvanWijngaarden on GitHub (Dec 20, 2019).
Original GitHub issue: https://github.com/2006-Scape/2006Scape/issues/305

The Parabot client doesn't hook properly to current available prayer points.

This is most likely a 2006rebotted client bug, as there are scripts for different servers (such as: https://github.com/coolpopo/CoolFrostDrags/blob/1b6584307d9761cd58e01fafbd002a6562746dc5/coolfrostdrags/Pot.java#L49) that use Skill.PRAYER.getLevel() to get a players current prayer points.

System.out.println(Skill.HITPOINTS.getLevel()); correctly returns current hitpoints.
e.g. 10 (out of 11)

System.out.println(Skill.PRAYER.getLevel()); returns maximum prayer points, rather than current.
e.g: 43 (out of 43) when current prayer points are 38

Both methods use the same interface method, so I assume that there is an invalid hook somewhere.

Originally created by @MitchvanWijngaarden on GitHub (Dec 20, 2019). Original GitHub issue: https://github.com/2006-Scape/2006Scape/issues/305 The Parabot client doesn't hook properly to current available prayer points. This is most likely a 2006rebotted client bug, as there are scripts for different servers (such as: https://github.com/coolpopo/CoolFrostDrags/blob/1b6584307d9761cd58e01fafbd002a6562746dc5/coolfrostdrags/Pot.java#L49) that use `Skill.PRAYER.getLevel()` to get a players current prayer points. `System.out.println(Skill.HITPOINTS.getLevel());` correctly returns current hitpoints. e.g. 10 _(out of 11)_ `System.out.println(Skill.PRAYER.getLevel()); ` returns maximum prayer points, rather than current. e.g: 43 _(out of 43)_ when current prayer points are 38 Both methods use the same interface method, so I assume that there is an invalid hook somewhere.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: 2006-Scape/2006Scape#7805