View Single Post
  #32  
Old 06-07-2016, 01:42 PM
cannon
Hill Giant
 
Join Date: Dec 2004
Location: Pittsburgh, PA
Posts: 128
Default

Quote:
Originally Posted by Shiny151 View Post
I'm getting similar results. If I find a solution I'll post it.
Seems to have something to do with the timer / refresh. If you set the suspendinterval in the rules_value to 0 then you can continuously suspend and unsuspend unlimited times in the same zone, once you change the timer to any amount of time is when it seems to break.

EDIT: Test this out for me. In your rule_values, set the Mercs:SuspendIntervalS to 52 and your Mercs:SuspendIntervalMS to 52000 and then restart your server and test the suspend button. Watch the timer and see where it starts and where it refreshes, then attempt to continue to use the suspend/unsuspend and see if works unlimited.

Somewhere 52 seconds is getting added to the timer, then when it hits 52 the button refreshes, anything set over 52 seconds and the timer will work twice then pass the 52 second mark without refreshing then run to 0 with no refresh of the unsuspend button.

Ok, it has nothing to do with the Mercs:SuspendIntervalS time, no matter what time you set it at, once you unsuspend the merc the timer tics until you run out of time to unsuspend after you either suspend or the merc dies.
Reply With Quote