Tuske is dead? No more GUI stuff?

  • 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!

  • 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.

pepper82

Member
Jan 26, 2017
272
1
18
41
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?
 
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)
 
or Sk-NbeeT (Same syntax as vanilla)
I had to do one minor change to it, due to it colliding with Skript for other named stuff.
New syntax is:
code_language.skript:
inventory name of %inventory%

ex:
if inventory name of current inventory of player = "MyGUI":
 
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:
command /testi [<text>]:
    trigger:
        open virtual chest inventory with 3 rows named "test" to player
        set {_i} to 0
        set {_p} to player
        set {_item} to APPLE
        set {_name} to {_item}'s name
        add "test1" to {_lore::*}
        add "test2" to {_lore::*}
        loop 3 times:
            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})
            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
 
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:
command /testi [<text>]:
    trigger:
        open virtual chest inventory with 3 rows named "test" to player
        set {_i} to 0
        set {_p} to player
        set {_item} to APPLE
        set {_name} to {_item}'s name
        add "test1" to {_lore::*}
        add "test2" to {_lore::*}
        loop 3 times:
            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})
            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
This error has nothing to do with Tuske.
Even using a similar line to give an item:
code_language.skript:
give player {_item} named {_itemname} with lore {_lore::*}
will throw the same error. So it seems to be a Skript issue.
 
Status
Not open for further replies.