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
    92
    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  
    Registered Member
    Mark_'s Avatar
    Join Date
    Jul 2020
    Posts
    34
    Thanks given
    32
    Thanks received
    28
    Discord
    View profile
    Rep Power
    98
    Thats the point of space bar ?

    [Only registered and activated users can see links. ]
    [Only registered and activated users can see links. ]
    Reply With Quote  
     

  4. #3  
    zen2
    Corey's Avatar
    Join Date
    Feb 2012
    Age
    23
    Posts
    1,388
    Thanks given
    1,090
    Thanks received
    1,450
    Discord
    View profile
    Rep Power
    5000
    Don't press space.
    [Only registered and activated users can see links. ]
    Reply With Quote  
     

  5. Thankful users:


  6. #4  
    Ⱨ₳Ɽ₳₥ ₳₴ ₣Ʉ₵₭

    A Furry's Avatar
    Join Date
    Sep 2014
    Age
    23
    Posts
    2,779
    Thanks given
    2,123
    Thanks received
    1,968
    Discord
    View profile
    Rep Power
    5000





    Reply With Quote  
     

  7. #5  
    Be the change you wanna see!

    Nozemi's Avatar
    Join Date
    Jul 2010
    Posts
    378
    Thanks given
    166
    Thanks received
    182
    Discord
    View profile
    Rep Power
    852
    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.
    [Only registered and activated users can see links. ]
    Reply With Quote  
     

  8. #6  
    zen2
    Corey's Avatar
    Join Date
    Feb 2012
    Age
    23
    Posts
    1,388
    Thanks given
    1,090
    Thanks received
    1,450
    Discord
    View profile
    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.
    [Only registered and activated users can see links. ]
    Reply With Quote  
     

  9. #7  
    Registered Member

    Join Date
    Jul 2016
    Posts
    92
    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  
    zen2
    Corey's Avatar
    Join Date
    Feb 2012
    Age
    23
    Posts
    1,388
    Thanks given
    1,090
    Thanks received
    1,450
    Discord
    View profile
    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
    [Only registered and activated users can see links. ]
    Reply With Quote  
     

  11. Thankful user:


  12. #9  
    Registered Member

    Join Date
    Jul 2016
    Posts
    92
    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
    979
    Thanks given
    474
    Thanks received
    293
    Rep Power
    881
    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
  •