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.

Tuske is dead? No more GUI stuff?

Discussion in 'Skript' started by pepper82, Aug 6, 2019.

  1. pepper82

    pepper82 Member

    Joined:
    Jan 26, 2017
    Messages:
    235
    Likes Received:
    1
    Hi all,

    wondering if Tuske is dead for 1.14.4? At least all my inventories I built with it seem to be broken. Does anybody know if it will be fixed or is there a working replacement?
     
  2. aescraft

    aescraft Well-Known Member

    Joined:
    Mar 1, 2017
    Messages:
    289
    Likes Received:
    13
    Skquery I think.
     
  3. ShaneBee

    Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,007
    Likes Received:
    138
    Ive used Tuske in 1.14.4 and it seems to work fine.
     
  4. Runakai1

    Runakai1 Well-Known Member

    Joined:
    Apr 27, 2018
    Messages:
    386
    Likes Received:
    20
    TuSKe works but iirc is not maintained unless Pikachu decides to update his fork. I'd recommend using vanilla GUIS. The inventory name expression does not work, therefore Skript-mirror, (event.getView().getTitle() is "Inventoryname":emoji_slight_smile:, SkQuery (simply: name of event-inventory) or Sk-NbeeT (Same syntax as vanilla)
     
    • Agree Agree x 1
  5. ShaneBee

    Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,007
    Likes Received:
    138
    I had to do one minor change to it, due to it colliding with Skript for other named stuff.
    New syntax is:
    Code (Skript):
    1. inventory name of %inventory%
    2.  
    3. ex:
    4. if inventory name of current inventory of player = "MyGUI":
     
  6. pepper82

    pepper82 Member

    Joined:
    Jan 26, 2017
    Messages:
    235
    Likes Received:
    1
    I can not get my guis to work on 1.14.4. For example (this works in 1.13.2 but not in 1.14):

    Code (Text):
    1. command /testi [<text>]:
    2.     trigger:
    3.         open virtual chest inventory with 3 rows named "test" to player
    4.         set {_i} to 0
    5.         set {_p} to player
    6.         set {_item} to APPLE
    7.         set {_name} to {_item}'s name
    8.         add "test1" to {_lore::*}
    9.         add "test2" to {_lore::*}
    10.         loop 3 times:
    11.             make a gui slot {_i} of {_p} with {_item} with name {_itemname} with lore {_lore::*} to run function Guma_BuySlot({_id},loop-number - 1,{_p})
    12.             add 1 to {_i}
    gives me this error:
    https://pastebin.com/XhaKSsPR

    Replacing the {_item} in the "make gui slot" effect with "APPLE" makes it work. Must be any issues with variables / itemtypes in guis I guess
     
  7. ShaneBee

    Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,007
    Likes Received:
    138
    This error has nothing to do with Tuske.
    Even using a similar line to give an item:
    Code (Skript):
    1. give player {_item} named {_itemname} with lore {_lore::*}
    will throw the same error. So it seems to be a Skript issue.
     
Loading...