Thread: Dialogue skipping when using keys to continue

Page 1 of 2 12 LastLast
Results 1 to 10 of 13
  1. #1 Dialogue skipping when using keys to continue 
    Registered Member

    Join Date
    Jul 2016
    Posts
    96
    Thanks given
    0
    Thanks received
    22
    Rep Power
    100
    If you hold down the space bar during dialogue it skips over some lines, does anyone have a good way to avoid this?
    Reply With Quote  
     

  2. Thankful users:


  3. #2  
    Banned


    Join Date
    Jul 2020
    Posts
    157
    Thanks given
    100
    Thanks received
    166
    Rep Power
    0
    Thats the point of space bar ?
    Reply With Quote  
     

  4. #3  
    Blurite

    Corey's Avatar
    Join Date
    Feb 2012
    Age
    26
    Posts
    1,491
    Thanks given
    1,245
    Thanks received
    1,729
    Rep Power
    5000
    Don't press space.
    Attached image
    Reply With Quote  
     

  5. Thankful users:


  6. #4  
    'Slutty McFur'

    Owain's Avatar
    Join Date
    Sep 2014
    Age
    26
    Posts
    2,894
    Thanks given
    2,360
    Thanks received
    2,200
    Rep Power
    5000
    Attached image


    Spoiler for wat:
    Attached image
    Attached image

    Attached image


    Reply With Quote  
     

  7. #5  
    Contributor


    Join Date
    Jul 2010
    Posts
    450
    Thanks given
    256
    Thanks received
    268
    Rep Power
    1305
    Some ideas:
    - Tell your players not to hold down space bar.
    - Add some code that listens for spacebar key down event and if you don't get the keyup event after 2 seconds, give them a message telling them to stop.
    - Previous point, just instead of the message, just trigger the keyup event for them.
    Reply With Quote  
     

  8. #6  
    Blurite

    Corey's Avatar
    Join Date
    Feb 2012
    Age
    26
    Posts
    1,491
    Thanks given
    1,245
    Thanks received
    1,729
    Rep Power
    5000
    Quote Originally Posted by Nozemi View Post
    - Add some code that listens for spacebar key down event and if you don't get the keyup event after 2 seconds, give them a message telling them to stop.
    - Previous point, just instead of the message, just trigger the keyup event for them.
    Holding down space only skips one dialogue, you have to press down once for each dialogue.
    Attached image
    Reply With Quote  
     

  9. #7  
    Registered Member

    Join Date
    Jul 2016
    Posts
    96
    Thanks given
    0
    Thanks received
    22
    Rep Power
    100
    Quote Originally Posted by Corey View Post
    Holding down space only skips one dialogue, you have to press down once for each dialogue.
    It's because it sends the packet multiple times while it's held down, like typing a key. And asking them to not press the spacebar is just silly as it's built into the client.
    Reply With Quote  
     

  10. #8  
    Blurite

    Corey's Avatar
    Join Date
    Feb 2012
    Age
    26
    Posts
    1,491
    Thanks given
    1,245
    Thanks received
    1,729
    Rep Power
    5000
    Quote Originally Posted by Deaded View Post
    It's because it sends the packet multiple times while it's held down, like typing a key. And asking them to not press the spacebar is just silly as it's built into the client.
    maybe you should have stated the actual problem in the OP to begin with
    Attached image
    Reply With Quote  
     

  11. Thankful user:


  12. #9  
    Registered Member

    Join Date
    Jul 2016
    Posts
    96
    Thanks given
    0
    Thanks received
    22
    Rep Power
    100
    Quote Originally Posted by Corey View Post
    maybe you should have stated the actual problem in the OP to begin with
    Yeah I know I explained it badly, sorry about that.
    Reply With Quote  
     

  13. #10  
    Registered Member
    Melvin's Avatar
    Join Date
    Aug 2011
    Posts
    1,150
    Thanks given
    546
    Thanks received
    418
    Rep Power
    1561
    Quote Originally Posted by Deaded View Post
    It's because it sends the packet multiple times while it's held down, like typing a key. And asking them to not press the spacebar is just silly as it's built into the client.
    If you're teaching someone how it works, why do you need help? Thats how it works on RuneScape as well. If you want to avoid it just make an exception in the EVENT_KEYBOARD packet. Also that advice is not silly, everyone who plays RuneScape knows it works like this. The holding of space event stops when multiple options are shown. I dont see how any of this is a problem.

    Edit for dweebs: On RS3 it continues to skip while holding space bar and the event stops when multiple options appear. Im not aware how osrs works in this case.


    A creative man is motivated by the desire to achieve, not by the desire to beat others.”


    ― Ayn Rand
    Reply With Quote  
     

  14. Thankful users:


Page 1 of 2 12 LastLast

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. Replies: 4
    Last Post: 04-01-2016, 07:48 PM
  2. Replies: 2
    Last Post: 05-25-2014, 03:29 PM
  3. Replies: 18
    Last Post: 06-15-2011, 05:04 PM
  4. Replies: 11
    Last Post: 08-01-2009, 07:40 PM
  5. Npc Dialogue(click here to continue...)
    By dont frunt in forum Help
    Replies: 2
    Last Post: 05-06-2009, 01:12 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
  •