#Issue with parsing or something

1 messages · Page 1 of 1 (latest)

marsh urchin
#
# save armor beforehand
    if {_player}'s helmet is not air:
        set {player_data::%{_player}'s uuid%::inventory::armor::helmet} to {_player}'s helmet
        set {_player}'s helmet to air

    if {_player}'s chestplate is not air:
        set {player_data::%{_player}'s uuid%::inventory::armor::chestplate} to {_player}'s chestplate
        set {_player}'s chestplate to air

    if {_player}'s leggings is not air:
        set {player_data::%{_player}'s uuid%::inventory::armor::leggings} to {_player}'s leggings
        set {_player}'s leggings to air

    if {_player}'s boots is not air:
        set {player_data::%{_player}'s uuid%::inventory::armor::boots} to {_player}'s boots
        set {_player}'s boots to air


    # save offhand before hand
    if off hand item of {_player} is not air:
        set {player_data::%{_player}'s uuid%::inventory::offhand} to {_player}'s off hand item
        set {_player}'s off hand item to air


    set {player_data::%{_player}'s uuid%::inventory::items::*} to all items in {_player}'s inventory
dusky trellis
#

AI 🗣️

fathom karmaBOT
#

It is recommended that you don't use AI agents for multiple reasons:


2) Blindly trusting code from any source is a bad idea, especially on production servers. Even if the code that was generated appears to work, you have no clue what vulnerabilities it introduces or fails to protect against.

3) Using AI to write your code takes away from your learning and doesn't challenge you to develop problem solving skills.```
While AI can be used as a tool, it is necessary to understand what it is doing and check any code it creates. Since this is a learning community, we want to support your personal growth. As a result, we don't allow generated content in our help channels ([Rule 8](<#welcome-to-skunity message>))
marsh urchin
#

how is it AI lmao

vocal crown
#

doesnt look ai generated to me
actually looks like it should work
try commenting out all the lines and see which one is causing the severe error
and send /sk info

marsh urchin
#

there are no errors when setting it but just spills all that shi-

marsh urchin
# vocal crown doesnt look ai generated to me actually looks like it should work try commenting...

What im trying to do here is this:

# save armor beforehand
    if {_player}'s helmet is not air:
        set {player_data::%{_player}'s uuid%::inventory::armor::helmet} to {_player}'s helmet  
        set {_player}'s helmet to air 


    # save offhand before hand
    if off hand item of {_player} is not air:
        set {player_data::%{_player}'s uuid%::inventory::offhand} to {_player}'s off hand item
        set {_player}'s off hand item to air


    set {player_data::%{_player}'s uuid%::inventory::items::*} to all items in {_player}'s inventory

    if {_clear_inv} is true:
        clear {_player}'s inventory

    set {_json} to {player_data::%{_player}'s uuid%::*}'s formatted json

works for other things, here it is trying to save the player armor and off hand. then store it into the {player_data::%{_player}'s uuid%::*} list (json), then upload to remote api server

vocal crown
#

update skript and skbee (and your other addons), remove skrayfall and skquery

plush dew
#

update the contractor of the cortex

#

should work

marsh urchin
marsh urchin
broken iris
#

No, you dont

vocal crown
marsh urchin
#

since server go oofy if i dont have skquery

marsh urchin
vocal crown
marsh urchin
#

oh?

#

alright then

vocal crown
marsh urchin
#

i will have to change alot of stuff

broken iris
#

Yes, but then you get to delete buggy addons!

vocal crown
#

99% of the time these errors are caused by old addons

marsh urchin
#

fair

dusky trellis
#

its not ai

#

sighn

marsh urchin
#

lmao what do you expect?