Thread: [634] Tick eat melee attacks

Results 1 to 4 of 4
  1. #1 [634] Tick eat melee attacks 
    Contributor

    clem585's Avatar
    Join Date
    Sep 2013
    Posts
    3,788
    Thanks given
    706
    Thanks received
    702
    Rep Power
    570


    Why do the prayer dialogue interfaces "stack" when you click 2 times+ during a stall, but if you just click the prayer 2+ times unstalled, it doesn't? And why is there a limit of two? I don't understand the logic there. I'm guessing packets are processed differently after a stall?
    Project thread
    Reply With Quote  
     

  2. Thankful user:


  3. #2  
    Christ is King

    Makar's Avatar
    Join Date
    Jul 2011
    Age
    29
    Posts
    2,004
    Thanks given
    545
    Thanks received
    965
    Rep Power
    427
    Quote Originally Posted by clem585 View Post


    Why do the prayer dialogue interfaces "stack" when you click 2 times+ during a stall, but if you just click the prayer 2+ times unstalled, it doesn't? And why is there a limit of two? I don't understand the logic there. I'm guessing packets are processed differently after a stall?
    Jagex has so many cancerous bugs with their engine. Lots of them are not possible (and should just be fixed by RSPS the way they did in pre-eoc) to realistically emulate because you would have to copy their shit early design strategies to emulate it. The answer to your questions is that is just how it's hardcoded to handle on their end.
    Attached image
    The best open-source pre-eoc remake project that isn't in its early stages for once
    Darkan Client (727 Client Refactor)
    Darkan World Server
    “It would not be impossible to prove with sufficient repetition and a psychological understanding of the people concerned that a square is in fact a circle. They are mere words, and words can be molded until they clothe ideas and disguise.”
    Reply With Quote  
     

  4. #3  
    Contributor

    clem585's Avatar
    Join Date
    Sep 2013
    Posts
    3,788
    Thanks given
    706
    Thanks received
    702
    Rep Power
    570
    Quote Originally Posted by Makar View Post
    Jagex has so many cancerous bugs with their engine. Lots of them are not possible (and should just be fixed by RSPS the way they did in pre-eoc) to realistically emulate because you would have to copy their shit early design strategies to emulate it. The answer to your questions is that is just how it's hardcoded to handle on their end.
    While I do agree with the hardcoding when it comes to specific content, I don't think the same can be said for the top level stuff. Their game cycle executes a series of tasks which you can reverse engineer to an extent with some ingame testing. For example, I was able to figure this one out by asking questions to people who know the osrs game cycle well and by performing some tests on my own. I now have an idea how the queue system works for tasks.

    That was the main goal of this question: figuring out the behavior of the task queue based on a complicated test case. I don't really care about tick eating specifically ;p

    ---------------

    Here's the conclusion for melee tick eating where T is the tick the NPC hits you on if anyone's curious:

    Between T-2 and T-1: Equip mind shield and stack 2 interfaces (ex: 2 unavailable prayers)
    T-1 : High priority stall for equiping the shield added to queue, so the 2 interfaces are queued instead of being executed
    T : Mind shield stall end, melee hit is queued after the 2 stacked interfaces, first interface task runs, queue end
    Between T and T+1: Eat is queued
    T+1: eat is procesed and then second interface task runs, queue end
    T+2: hit is processed after closing the second interface (since high priority tasks can close interfaces)

    Also works fine if you delay everything by 1 tick. Only hardcoded thing seems to be the number of stacked interfaces being limited to 2 for chatbox dialogues.
    Project thread
    Reply With Quote  
     

  5. #4  
    Christ is King

    Makar's Avatar
    Join Date
    Jul 2011
    Age
    29
    Posts
    2,004
    Thanks given
    545
    Thanks received
    965
    Rep Power
    427
    Quote Originally Posted by clem585 View Post
    While I do agree with the hardcoding when it comes to specific content, I don't think the same can be said for the top level stuff. Their game cycle executes a series of tasks which you can reverse engineer to an extent with some ingame testing. For example, I was able to figure this one out by asking questions to people who know the osrs game cycle well and by performing some tests on my own. I now have an idea how the queue system works for tasks.

    That was the main goal of this question: figuring out the behavior of the task queue based on a complicated test case. I don't really care about tick eating specifically

    ---------------

    Here's the conclusion for melee tick eating where T is the tick the NPC hits you on if anyone's curious:

    Between T-2 and T-1: Equip mind shield and stack 2 interfaces (ex: 2 unavailable prayers)
    T-1 : High priority stall for equiping the shield added to queue, so the 2 interfaces are queued instead of being executed
    T : Mind shield stall end, melee hit is queued after the 2 stacked interfaces, first interface task runs, queue end
    Between T and T+1: Eat is queued
    T+1: eat is procesed and then second interface task runs, queue end
    T+2: hit is processed after closing the second interface (since high priority tasks can close interfaces)

    Also works fine if you delay everything by 1 tick. Only hardcoded thing seems to be the number of stacked interfaces being limited to 2 for chatbox dialogues.
    I mean yeah, it is reverse engineerable. I am saying if you emulate OSRS's buggy system entirely, you're just going to end up with a server that definitely lives up to the name in your signature. OSRS is riddled with massive exploits that have been essentially looked over because of having zero engine devs. They were definitely fixed in the revisions following OSRS in most cases as well. Woox being the one best able to abuse and find each any every one of them.
    Attached image
    The best open-source pre-eoc remake project that isn't in its early stages for once
    Darkan Client (727 Client Refactor)
    Darkan World Server
    “It would not be impossible to prove with sufficient repetition and a psychological understanding of the people concerned that a square is in fact a circle. They are mere words, and words can be molded until they clothe ideas and disguise.”
    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. [PI] NPCs With Melee Attack
    By Nice Boots in forum Help
    Replies: 6
    Last Post: 04-28-2013, 09:32 PM
  2. Replies: 1
    Last Post: 03-31-2012, 03:09 PM
  3. Corp Beast Melee Attack + Death Emotes
    By comboed in forum Requests
    Replies: 2
    Last Post: 10-06-2010, 02:12 PM
  4. [z525] Npc Mele attack
    By Soulevoker in forum Help
    Replies: 0
    Last Post: 03-08-2010, 05:33 AM
  5. [508] Tztok-Jads Melee attack Emote [508]
    By John Smithh in forum Help
    Replies: 2
    Last Post: 11-03-2009, 06:21 PM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •