Thread: Actions & Priority Queues

Results 1 to 2 of 2
  1. #1 Actions & Priority Queues 
    Super Donator

    Tyluur's Avatar
    Join Date
    Jun 2010
    Age
    23
    Posts
    4,515
    Thanks given
    1,559
    Thanks received
    1,464
    Rep Power
    1179
    Definition
    A sequence of behaviors an entity potentially performs, which may be processed over one or more game ticks.

    Questions
    1. is explicit priority needed?
    2. is a queue of actions needed?

    Assumptions
    1. an action must be able to take priority over another
    2. an action must be able to be suspended

    Examples
    [Only registered and activated users can see links. ]
    [Only registered and activated users can see links. ]

    Observations
    Once an action is completed, and then the next action [if exists] is continued at whichever suspendable state

    Discussions
    Actions which lock players
    Ryley [
    [7:43 PM] Tyluur: > jagexs plr queue stuff has 'strong' queues which are controlled by the developer and leave the player entirely in a locked state
    what's an example of an action in a strong queue
    [7:43 PM] Ryley: teleporting
    [7:43 PM] Ryley: force movement
    [7:43 PM] Ryley: cut scenes
    [7:43 PM] Ryley: etc
    [7:43 PM] Ryley: stuff u cannot cancel
    [7:51 PM] Ryley: @[Only registered and activated users can see links. ]chis2
    A weakqueue is cancelled if the player clicks away - commonly used for Make-X. Queues are weak / strong / normal.
    [7:51 PM] Ryley: looking for the one with info on the regular queue
    [7:51 PM] Ryley: iirc it just waits until whatever 'blocking' thing ur doing finishes before executing
    [7:51 PM] Tomm:
    [7:52 PM] Ryley: i.e if u have ur bank open and u have an experience drop waiting
    [7:52 PM] Ryley: once the interface closes it fires
    [7:52 PM] Ryley: ya that
    [7:52 PM] Ryley: strong takes total control of the player to execute
    [7:52 PM] Ryley: closes interfaces, cancels actions etc
    ]


    note: this thread is a WIP
    Last edited by Tyluur; 06-07-2020 at 02:14 AM.
    Reply With Quote  
     

  2. Thankful users:


  3. #2  
    Code Monkey | Medical Student

    Advocatus's Avatar
    Join Date
    Dec 2009
    Age
    28
    Posts
    2,475
    Thanks given
    190
    Thanks received
    713
    Rep Power
    1256
    Suspended actions can be done via interface stalls. Falador shield / prayer interface stall should also work similar.

    Stalls in this manner will also halt minigame/quest behavior such as boss spawning etc usually.
    Quote Originally Posted by blakeman8192 View Post
    Quitting is the only true failure.
    Reply With Quote  
     


Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


User Tag List

Similar Threads

  1. [Any Revision] Action Queue System
    By _jordan in forum Snippets
    Replies: 13
    Last Post: 12-02-2014, 03:03 AM
  2. Priority based event queue.
    By Maxi in forum Snippets
    Replies: 37
    Last Post: 04-27-2011, 07:49 PM
  3. Action Button ID's
    By Alex in forum Configuration
    Replies: 8
    Last Post: 04-04-2010, 06:47 PM
  4. monkeybrain bak in action
    By MonkeyBrain in forum Showcase
    Replies: 3
    Last Post: 04-08-2008, 01:53 PM
  5. Object Actions in TestScape (noob-friendly)
    By LandScape in forum Tutorials
    Replies: 0
    Last Post: 05-19-2007, 01:52 AM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •