1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Fixed Action delay on Players is much higher than EA

Discussion in 'Archived Bug Reports' started by Lokai, Jun 14, 2018.

  1. Lokai
    Offline

    Moderator ServUO Developer

    Joined:
    Dec 4, 2014
    Messages:
    1,061
    Likes Received:
    153
    I just tested as a Player on EA, and there is no delay dragging/dropping items from bag to bag.

    How to duplicate in latest ServUO:
    • Set up Macro to organize gems from bag to bag.
    • Run organizer as Admin - no delay
    • Run organizer as Player - huge delay

    I have tried changing this in Mobile.cs and recompiled Server:

    Code (C#):
    1. private static int m_ActionDelay = 500;
    to this:

    Code (C#):
    1. private static int m_ActionDelay = 50;
    This did not fix it.
     
  2. Vorspire
    Offline

    Vorspire Vita-Nex: Core
    Admin ServUO Developer

    Joined:
    Jul 29, 2013
    Messages:
    1,050
    Likes Received:
    186
  3. Tasanar
    Offline

    Moderator

    Joined:
    Oct 16, 2014
    Messages:
    4,144
    Likes Received:
    93
    Why AOS though? Like @Lokai said there is almost no delay when moving items around in a container yet you can notice it on ServUO...
     
  4. Lokai
    Offline

    Moderator ServUO Developer

    Joined:
    Dec 4, 2014
    Messages:
    1,061
    Likes Received:
    153
  5. Tasanar
    Offline

    Moderator

    Joined:
    Oct 16, 2014
    Messages:
    4,144
    Likes Received:
    93
    The problem is does this action delay affect all actions?

    Moving stuff from within your own bags should have the delay tuned down if it is not as noticeable on EA, so an exception would need to be coded.
     
  6. Lokai
    Offline

    Moderator ServUO Developer

    Joined:
    Dec 4, 2014
    Messages:
    1,061
    Likes Received:
    153
    This is most noticeable on the "Lift" action. I am not sure what other actions are impacted.

    After testing this on my server, I think the value in Mobile of 500 is not too far off. The setting in CurrentExpansion that doubles it is very restricting for players, and does NOT reflect what is on EA servers. I personally changed the value in CurrentExpansion to 350, and that seems reasonable, but I can also see setting it as high as 500. It is most noticeable when using macros, as manually clicking and dragging CAN take almost a second to do anyway, but it feels like an eternity when you hold down SHIFT and start dragging things off a corpse quickly only to have the system constantly block you because it thinks you are moving too fast. What?
     
  7. Po0ka
    Offline

    Po0ka Active Member

    Joined:
    Aug 19, 2014
    Messages:
    663
    Likes Received:
    76
    I actually didn't know it was serversided, here i am now, setting the value to 0 xD
     
    • Like Like x 1
  8. Vorspire
    Offline

    Vorspire Vita-Nex: Core
    Admin ServUO Developer

    Joined:
    Jul 29, 2013
    Messages:
    1,050
    Likes Received:
    186
    Setting it to 0 could open up exploits for halting your server. Set it to at least 100 (ms)
     
    • Two Thumbs Up Two Thumbs Up x 1
  9. Po0ka
    Offline

    Po0ka Active Member

    Joined:
    Aug 19, 2014
    Messages:
    663
    Likes Received:
    76
    Ya, left it at 250 xD
     
  10. Tasanar
    Offline

    Moderator

    Joined:
    Oct 16, 2014
    Messages:
    4,144
    Likes Received:
    93
    After looking into it, I can confirm 500 seems not that far off. Does anyone have any objections to me sending a PR to change it to 500 down from 1000? It is pretty easy to test on EA.
     
  11. Dexter_Lexia
    Offline

    Moderator ServUO Developer

    Joined:
    Jul 3, 2014
    Messages:
    3,460
    Likes Received:
    139
  12. Vorspire
    Offline

    Vorspire Vita-Nex: Core
    Admin ServUO Developer

    Joined:
    Jul 29, 2013
    Messages:
    1,050
    Likes Received:
    186
    It was 1000 for AOS. 500 for pre-AOS. If it's back down to 500 on OSI, make sure it's behind a post-AOS era check please.
     
  13. Tasanar
    Offline

    Moderator

    Joined:
    Oct 16, 2014
    Messages:
    4,144
    Likes Received:
    93
    So TOL?
     
    • Agree Agree x 1
Similar Threads: Action delay
Forum Title Date
General Discussion issues with action delay of the items. Oct 3, 2016
Custom Releases NPC Factions/Fighters Jul 18, 2018
Archived Bug Reports Recent changes and pet command reaction problems Jun 19, 2018
Script Support Faction ONLY Teleport-er! Possible? May 10, 2018
Archived Bug Reports Issue with Old Factions? Jan 20, 2018
Archived Bug Reports Faction Vendor Items VvV only Oct 15, 2017
Archived Bug Reports EC Tame Action Button Sep 24, 2017