Solved Server freezes when doing /booster

  • Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the community!

    Now, what are you waiting for? Join the community now!

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out skUnity Downloads for downloads and any other information about Skript!

Status
Not open for further replies.

Reframed

Member
Mar 8, 2017
11
0
0
Server Version: 1.8.8
Skript Version: WheezyGold's 2.2-Mineplex-Core-Patch (Since its the only one that seemed to properly work for me)
Code: https://pastebin.com/cfaK5uMq

So basically everytime I run /booster my server freezes, I get timed out and I need to restart it.
[doublepost=1499094745,1499093153][/doublepost]Okay, so one thing I found out is that it has to do with the part:

Code:
set {_future} to {booster.server.Double.cooldown}
                add 60 minutes to {_future}
                set {_difference} to difference between now and {_future}
                set {_difference} to "%{_difference}%" parsed as text
                set {_splitt::*} to {_difference} split at " "
                if {_splitt::4} is set:
                    set {_seconds} to "%{_splitt::4}%" parsed as number
                    set {_difference} to "%{_splitt::1}% Min. %rounded {_seconds}% Sec."
                else:
                    set {_seconds} to "%{_splitt::1}%" parsed as number
                    set {_difference} to "%rounded {_seconds}% Seconds"
 
Server Version: 1.8.8
Skript Version: WheezyGold's 2.2-Mineplex-Core-Patch (Since its the only one that seemed to properly work for me)
Code: https://pastebin.com/cfaK5uMq

So basically everytime I run /booster my server freezes, I get timed out and I need to restart it.
[doublepost=1499094745,1499093153][/doublepost]Okay, so one thing I found out is that it has to do with the part:

Code:
set {_future} to {booster.server.Double.cooldown}
                add 60 minutes to {_future}
                set {_difference} to difference between now and {_future}
                set {_difference} to "%{_difference}%" parsed as text
                set {_splitt::*} to {_difference} split at " "
                if {_splitt::4} is set:
                    set {_seconds} to "%{_splitt::4}%" parsed as number
                    set {_difference} to "%{_splitt::1}% Min. %rounded {_seconds}% Sec."
                else:
                    set {_seconds} to "%{_splitt::1}%" parsed as number
                    set {_difference} to "%rounded {_seconds}% Seconds"
what addons are you using?
 
Status
Not open for further replies.