• Visit Rebornbuddy
  • Need help from a Coder please! (Inject Key Event: Sleep for 82)

    Discussion in 'Archives' started by ridz89, Jul 28, 2016.

    1. ridz89

      ridz89 Member

      Joined:
      Jul 1, 2012
      Messages:
      249
      Likes Received:
      3
      Trophy Points:
      18
      Everything is working great btw, excellent work. I just want to make whirling blades move alot faster.

      When using whirling blades with alcor plugin, it spams the following in the log (key 7 is whirling blades):

      [UseAt] 7 False {306, 731}
      [InjectKeyEvent] 85 ms sleep for 82.
      [UseAt] 7 False {314, 727}
      [InjectKeyEvent] 94 ms sleep for 82.
      [UseAt] 7 False {352, 721}
      [InjectKeyEvent] 88 ms sleep for 82.
      [UseAt] 7 False {361, 718}
      [InjectKeyEvent] 26 ms sleep for 82.
      [UseAt] 7 False {608, 370}
      [InjectKeyEvent] 33 ms sleep for 82.
      [UseAt] 7 False {636, 343}
      [InjectKeyEvent] 29 ms sleep for 82.
      [UseAt] 7 False {642, 338}
      [InjectKeyEvent] 44 ms sleep for 82.

      I want to edit the "sleep 82" to something like sleep 32-50, or at least adjust it soI make the most out of my attack speed while balancing desync (e.g. not making it 1). I can move so much faster, but I am limited by this slight delay. This is not the flask or gemleveler injectkeyevent, I see those and they do not interrupt whirling blades.

      Anyone got any ideas? other people's log with whirling blades shows sleep for less than 50. I assume its in milliseconds? Unless I'm understanding this all wrong (very possible)

      Edit:

      Log attachment failed. Not that it's needed. hopefully someone knows where to edit the sleep delay!
       

      Attached Files:

      Last edited: Jul 28, 2016
    2. yfbd

      yfbd New Member

      Joined:
      Jun 16, 2016
      Messages:
      132
      Likes Received:
      0
      Trophy Points:
      0
      How are you still desyncing?
      Also that's there so you don't get kicked from the game for performing too many actions.
       
    3. ridz89

      ridz89 Member

      Joined:
      Jul 1, 2012
      Messages:
      249
      Likes Received:
      3
      Trophy Points:
      18
      sorry I worded that wrong, I'm not desyncing I just wanted to be able to edit the delay code to go faster while balancing desync of course.

      If anyone is interested or going to search forum for "make whirling blades faster" I made some changes where I notice increased my WB speeds while not causing desync. these are poor man's attempt at changing code:

      1. the main change i think is with alcor75playermover.cs line 704 change Useat( to BeginUseat( . I also lowered the blacklist time at line 586 that move skill can be used again (not sure this working)
      2. with oldroutine.cs line 1108 to line 1112 just add comment lines // to each row for (LatencyWait, FinishCurrentAction, LatencyWait). (I think this does nothing, but im too lazy to undo my changes for today, spent too many hours reading forum)

      we must go faster!!!
       
    4. yfbd

      yfbd New Member

      Joined:
      Jun 16, 2016
      Messages:
      132
      Likes Received:
      0
      Trophy Points:
      0
      You are going to hit a wall, then realise that this was all in vain.
       
    5. warhawk

      warhawk New Member

      Joined:
      Nov 8, 2016
      Messages:
      30
      Likes Received:
      0
      Trophy Points:
      0
      i got this error pls can someone help me?
      [LatencyWait] Now sleeping 58 ms.
      [UseAt] 1 False {694, 1108}
      [LatencyWait] Now sleeping 58 ms.
      [UseAt] 1 False {694, 1108}
      [LatencyWait] Now sleeping 58 ms.
      [UseAt] 1 False {694, 1108}
      [LatencyWait] Now sleeping 58 ms.
      [UseAt] 1 False {694, 1108}
      [LatencyWait] Now sleeping 58 ms.
       

    Share This Page