1. 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 comminuty!

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

  2. LOOKING FOR A VERSION OF SKRIPT??:

    You can always check our our Wiki for downloads and any other information about Skript!

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

GUI manager: SkQuery or TuSKe+?

Discussion in 'Skript' started by FUZIK, Jul 22, 2017.

Thread Status:
Not open for further replies.
  1. FUZIK

    FUZIK Well-Known Member

    Joined:
    Jan 26, 2017
    Messages:
    114
    Likes Received:
    10
    What it is more better use?
    1. SkQuery
    2. TuSKe + SkQuery
    thanks for all!
     
    #1 FUZIK, Jul 22, 2017
    Last edited: Jul 22, 2017
  2. ShaneBee

    Resource Staff Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,124
    Likes Received:
    164
    Why do you need skStuff though ?
     
  3. ShaneBee

    Resource Staff Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,124
    Likes Received:
    164
    sorry. "SkQuery".
     
  4. ShaneBee

    Resource Staff Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,124
    Likes Received:
    164
    Skellett :emoji_grinning:
     
    • Agree Agree x 1
  5. ShaneBee

    Resource Staff Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,124
    Likes Received:
    164
    Yeah, skellet's much better!
     
  6. ShaneBee

    Resource Staff Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,124
    Likes Received:
    164
    TuSKe works without SkQuery. SkQuery is old, it lacks with many bugs. I remade it all in tuske just to fix all this and add a bunch of features, such as performance too. In case you need help to see all features, you can check it in my github or this tutorial.
     
  7. ShaneBee

    Resource Staff Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,124
    Likes Received:
    164
    Personally, I prefer Tuske for the performance & the features in to work around with GUI.
    I just got a problem with it , it needs a lot of time to load everytime and i don't know how to fix that.
    However , @Tuke_Nuke did a really great job with his addon.
     
  8. ShaneBee

    Resource Staff Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,124
    Likes Received:
    164
    Tuske advanced guis load a lot faster than the simple gui format
     
  9. ShaneBee

    Resource Staff Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,124
    Likes Received:
    164
    Long syntax = long parse time
     
  10. ShaneBee

    Resource Staff Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,124
    Likes Received:
    164
    Not really , im just using the default type of sintax like skquery , the load time is like insane.
    Tuske takes more than 1 minute.
    Skquery not more than 5 seconds.
     
    • Agree Agree x 1
  11. ShaneBee

    Resource Staff Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,124
    Likes Received:
    164
    dev29 also takes lots of time to parse. And the syntax takes almost always as much time to parse because of the optional stuff and all.
     
  12. ShaneBee

    Resource Staff Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,124
    Likes Received:
    164
    So there isn't a way to load gui sintax faster? (like skQuery)
     
  13. ShaneBee

    Resource Staff Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,124
    Likes Received:
    164
    It depends on the syntax, there are also words that makes the parser yet slower. And I don't have this issue to be honest, I've used skQuery's format slot and TuSKe's GUI Manager and it's the same load time for me.

    Skellett doesn't have anything similar to the format slot? It just adds "event values" for the inventory click event, not needed if you're running the bensku's fork (as these event values are in vanilla Skript now).
     
  14. ShaneBee

    Resource Staff Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,124
    Likes Received:
    164
    @Snow-Pyon

    I tested it out with same sintax and same words.
    Using latest version of bensku fork & tuske.

    SkQuery load time: Loading in a punch of seconds
    Tuske: Loading in about 20 seconds

    Code:
    Code (Skript):
    1. function loadingPanel(p: player):
    2.     open virtual chest inventory with size 5 named "&9Loading..." to {_p}
    3.     loop 3 times:
    4.         create a gui slot 23 of {_p} with Air named " " to do nothing
    5.         create a gui slot 21 of {_p} with Light Green Stained Glass Pane named " " to do nothing
    6.         wait 2 ticks
    7.         create a gui slot 21 of {_p} with Air named " " to do nothing
    8.         create a gui slot 22 of {_p} with Light Green Stained Glass Pane named " " to do nothing
    9.         wait 2 ticks
    10.         create a gui slot 22 of {_p} with Air named " " to do nothing
    11.         create a gui slot 23 of {_p} with Light Green Stained Glass Pane named " " to do nothing
    12.         wait 2 ticks
    13.     create a gui slot 21 of {_p} with Air named " " to do nothing
    14.     create a gui slot 22 of {_p} with Air named " " to do nothing
    15.     create a gui slot 23 of {_p} with Air named " " to do nothing
     
  15. ShaneBee

    Resource Staff Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,124
    Likes Received:
    164
    Well, I mainly use make rather than create, and you know that the last version has parser issues, so it isn't the best one for try it.
     
  16. ShaneBee

    Resource Staff Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,124
    Likes Received:
    164
    That's a Skript issue sadly, and just to correct, It's not the length of syntax that makes it parse longer but some other stuffs like the amount of parameters.
    Even if I change the syntax to like gui %number% %player% %item%, which technically is so small, it would take the same time (or about a bit faster, but irrelevant).

    The only way I found was to completely change the format of syntax, which uses less parameters and loads faster (more than anything related to guis). It is called Advanced GUIs, currently the only tutorial about it is in my github.
     
    • Like Like x 2
Thread Status:
Not open for further replies.
Loading...