Skip to content

Clear inferior scripts when a player movement is made

zsrv requested to merge zsrv/2009scape:cancel-inferior-scripts into master

What has been done in this MR?

The purpose of this change is to cancel scripts using QueueStrength.WEAK or QueueStrength.NORMAL when the player moves. There are no scripts currently using QueueStrength.WEAK or QueueStrength.NORMAL in the master branch. However, !1689 (merged) does use QueueStrength.WEAK and I've tested this change on top of that MR; things seemed to work as expected.

What should testers check?

  • !1689 (merged) is deployed on the testing server. Without this change, the act of digging up farming patches (by using a spade on the patch to dig up patch - not harvesting) could not be cancelled even when the player would run away or start another action. With this change, players should be able to start digging up a farming patch and run away, talk to an NPC, click on another farming patch, etc. to cancel the action.
  • I have tested these changes thoroughly.

  • I used the relevant Thanos/Zaros tool for any JSON edits where possible, and have attached screenshots of any changes.

Edited by zsrv

Merge request reports