- Katılım
- 7 Şubat 2023
- Mesajlar
- 533
- Elmaslar
- 169
- Puan
- 5.680
- Konum
- Alaska, United States
- Minecraft
- Mashe1337
Discord:
mashe1337
Merhabalar, Eski bir skripti yenilemek istiyorum. Şu anda çalıştırdığımda aşağıdaki gibi bir hata alıyor. Bunları düzeltebilir misiniz?
Kod:
[21:05:34 INFO]: [Skript] Loading variables...
[21:05:34 INFO]: [Skript] Loaded 69 variables in 0.0 seconds
[21:05:34 ERROR]: [Skript] can't understand this event: 'import' (BG.sk, line 2: import:')
[21:05:34 ERROR]: [Skript] can't understand this event: 'option nms' (BG.sk, line 11: option nms:')
[21:05:34 ERROR]: [Skript] can't understand this event: 'import' (BG.sk, line 16: import:')
[21:05:34 ERROR]: [Skript] can't understand this event: 'local expression nbt of %entity%' (BG.sk, line 45: local expression nbt of %entity%:')
[21:05:34 ERROR]: [Skript] can't understand this event: 'expression %item% with lore %text%' (BG.sk, line 54: expression %item% with lore %text%:')
[21:05:34 ERROR]: [Skript] can't understand this event: 'local expression replacer %texts% with %texts% in %text%' (BG.sk, line 63: local expression replacer %texts% with %texts% in %text% :')
[21:05:34 ERROR]: [Skript] ': &e%loop-value%" with lore "||&8? &7Status: &e%{_status}%||&8? &7Playing: &e%size of {bg::arena::%loop-value%::cache::ninjas::*}%" to run function bg_join(play er, loop-value-1)' is not a valid item data (BG.sk, line 200: make a gui slot {_slot} of player with green clay named "&8╗ &7Arena: &e%loop-value%" with lore "||&8? &7Status: &e%{_status}% ||&8? &7Playing: &e%size of {bg::arena::%loop-value%::cache::ninjas::*}%" to run function bg_join(player, loop-value-1)')
[21:05:34 ERROR]: [Skript] Can't understand this condition/effect: send replacer "{player}" and "{message}" with "%player%" and message in yaml value "settings.chat-format" from "leaf.bg.c onfig" to {bg::arena::%{bg::player::%uuid of player%::arena}%::cache::ninjas::*} (BG.sk, line 387: send replacer "{player}" and "{message}" with "%player%" and message in yaml value "setti ngs.chat-format" from "leaf.bg.config" to {bg::arena::%{bg::player::%uuid of player%::arena}%::cache::ninjas::*}')
[21:05:34 ERROR]: [Skript] Can't understand this condition/effect: send replacer "{victim}", "{players-left}", "{kills}", "{tool}" and "{attacker}" with victim's display name, "%{_players- left}%", "%{bg::player::%uuid of attacker%::kills}%", "%{_display}%" and attacker's display name in yaml value "messages.kill.msg" from "leaf.bg.config" to {bg::arena::%{_arena}%::cache::n injas::*} (BG.sk, line 459: send replacer "{victim}", "{players-left}", "{kills}", "{tool}" and "{attacker}" with victim's display name, "%{_players-left}%", "%{bg::player::%uuid of attack er%::kills}%", "%{_display}%" and attacker's display name in yaml value "messages.kill.msg" from "leaf.bg.config" to {bg::arena::%{_arena}%::cache::ninjas::*}')
[21:05:34 ERROR]: [Skript] Can't understand this condition/effect: send replacer "{victim}" with victim's display name in yaml value "messages.death" from "leaf.bg.config" to {bg::arena::% {_arena}%::cache::ninjas::*} (BG.sk, line 461: send replacer "{victim}" with victim's display name in yaml value "messages.death" from "leaf.bg.config" to {bg::arena::%{_arena}%::cache::ni njas::*}')
[21:05:34 ERROR]: [Skript] Can't understand this condition/effect: victim.spigot().respawn() (BG.sk, line 471: victim.spigot().respawn()')
[21:05:34 ERROR]: [Skript] Can't understand this condition/effect: send replacer "{player}" with {_p}'s display name in yaml value "messages.leave" from "leaf.bg.config" to {bg::arena::%{b g::player::%{_uuid}%::arena}%::cache::ninjas::*} (BG.sk, line 542: send replacer "{player}" with {_p}'s display name in yaml value "messages.leave" from "leaf.bg.config" to {bg::arena::%{b g::player::%{_uuid}%::arena}%::cache::ninjas::*}')
[21:05:34 ERROR]: [Skript] Can't understand this condition/effect: send replacer "{player}" and "{players-count}" with {_p}'s display name and "%size of {bg::arena::%{_arena}%::cache::ninj as::*}%" in yaml value "messages.join" from "leaf.bg.config" to {bg::arena::%{_arena}%::cache::ninjas::*} (BG.sk, line 563: send replacer "{player}" and "{players-count}" with {_p}'s displ ay name and "%size of {bg::arena::%{_arena}%::cache::ninjas::*}%" in yaml value "messages.join" from "leaf.bg.config" to {bg::arena::%{_arena}%::cache::ninjas::*}')
[21:05:35 ERROR]: [Skript] Can't understand this condition/effect: add "{Silent:1,NoGravity:1b}" to nbt of {_base} (BG.sk, line 649: add "{Silent:1,NoGravity:1b}" to nbt of {_base}')
[21:05:35 ERROR]: [Skript] Can't understand this condition/effect: {_w}.getWorldBorder().setSize({bg::arena::%{_arena}%::cache::border::current-size}, {_time}) (BG.sk, line 666: {_w}.getWo rldBorder().setSize({bg::arena::%{_arena}%::cache::border::current-size}, {_time})')
[21:05:35 ERROR]: [Skript] Can't understand this condition/effect: {_pos}.getChunk().load() (BG.sk, line 707: {_pos}.getChunk().load()')
[21:05:35 ERROR]: [Skript] Can't understand this condition/effect: add "{Silent:1,NoGravity:1b,CustomName:""%yaml value ""settings.mix.dragon-name"" from ""leaf.bg.config""%"",DragonPhase: 10}" to nbt of {_plane} (BG.sk, line 726: add "{Silent:1,NoGravity:1b,CustomName:""%yaml value ""settings.mix.dragon-name"" from ""leaf.bg.config""%"",DragonPhase: 10}" to nbt of {_plane} ')
[21:05:35 ERROR]: [Skript] Can't understand this condition/effect: {_w}.getWorldBorder().setSize({bg::arena::%{_arena}%::cache::border::current-size}) (BG.sk, line 731: {_w}.getWorldBorder ().setSize({bg::arena::%{_arena}%::cache::border::current-size})')
[21:05:35 ERROR]: [Skript] Can't understand this condition/effect: {_w}.getWorldBorder().setCenter({bg::arena::%{_arena}%::cache::game-border}) (BG.sk, line 732: {_w}.getWorldBorder().setC enter({bg::arena::%{_arena}%::cache::game-border})')
[21:05:35 ERROR]: [Skript] Can't understand this condition/effect: loop-value-1.spigot().setCollidesWithEntities(false) (BG.sk, line 740: loop-value-1.spigot().setCollidesWithEntities(fals e)')
[21:05:35 ERROR]: [Skript] Can't understand this condition/effect: add "{Rotation:[%{_yaw}-10%f, %{_start}'s pitch%f]}" to nbt of {_plane} (BG.sk, line 744: add "{Rotation:[%{_yaw}-10%f, % {_start}'s pitch%f]}" to nbt of {_plane}')
[21:05:35 ERROR]: [Skript] Can't understand this condition/effect: {_p}.spigot().setCollidesWithEntities(true) (BG.sk, line 785: {_p}.spigot().setCollidesWithEntities(true)')
[21:05:35 ERROR]: [Skript] Can't understand this condition/effect: add "{Silent:1,NoGravity:1b,Invisible:1b}" to nbt of {_base} (BG.sk, line 788: add "{Silent:1,NoGravity:1b,Invisible:1b}" to nbt of {_base}')
[21:05:35 ERROR]: [Skript] Can't understand this condition/effect: add "{Pose:{Head:[265f,94f,0f]},NoGravity:1b,Invisible:1b}" to nbt of {_left} (BG.sk, line 795: add "{Pose:{Head:[265f,94 f,0f]},NoGravity:1b,Invisible:1b}" to nbt of {_left}')
[21:05:35 ERROR]: [Skript] Can't understand this condition/effect: add "{Pose:{Head:[265f,270f,0f]},NoGravity:1b,Invisible:1b}" to nbt of {_right} (BG.sk, line 802: add "{Pose:{Head:[265f, 270f,0f]},NoGravity:1b,Invisible:1b}" to nbt of {_right}')
[21:05:35 ERROR]: [Skript] Can't understand this condition/effect: add "{NoGravity:1b,Invisible:1b}" to nbt of {_center} (BG.sk, line 806: add "{NoGravity:1b,Invisible:1b}" to nbt of {_cen ter}')
[21:05:35 ERROR]: [Skript] Can't understand this condition/effect: add "{Rotation:[%{_p}'s yaw%f, %{_p}'s pitch%f]}" to nbt of {_base} (BG.sk, line 818: add "{Rotation:[%{_p}'s yaw%f, %{_p }'s pitch%f]}" to nbt of {_base}')
[21:05:35 ERROR]: [Skript] Can't understand this condition/effect: display 1 of explosion large particle at {_base} (BG.sk, line 824: display 1 of explosion large particle at {_base}')
[21:05:35 ERROR]: [Skript] Can't understand this condition/effect: send replacer "{seconds}" with "%{bg::arena::%{_arena}%::cache::seconds}%" in yaml value "messages.starting" from "leaf.b g.config" to {bg::arena::%{_arena}%::cache::ninjas::*} (BG.sk, line 855: send replacer "{seconds}" with "%{bg::arena::%{_arena}%::cache::seconds}%" in yaml value "messages.starting" from " leaf.bg.config" to {bg::arena::%{_arena}%::cache::ninjas::*}')
[21:05:35 ERROR]: [Skript] Can't understand this condition/effect: {_w}.getWorldBorder().reset() (BG.sk, line 865: {_w}.getWorldBorder().reset()')
[21:05:35 ERROR]: [Skript] Can't understand this condition/effect: {_w}.getWorldBorder().setSize(10000) (BG.sk, line 866: {_w}.getWorldBorder().setSize(10000)')
[21:05:35 ERROR]: [Skript] Can't understand this loop: 'loop ...{_w}.getEntities()' (BG.sk, line 880: loop ...{_w}.getEntities():')
[21:05:35 ERROR]: [Skript] Can't understand this loop: 'loop ...{_p}.getActivePotionEffects()' (BG.sk, line 894: loop ...{_p}.getActivePotionEffects():')
[21:05:35 ERROR]: [Skript] Can't understand this expression: '{_target}.toVector().subtract({_p}.getLocation().toVector())' (BG.sk, line 913: set {_vector} to {_target}.toVector().subtract ({_p}.getLocation().toVector())')
[21:05:35 ERROR]: [Skript] Can't understand this expression: '{_p}.getEyeLocation().getDirection()' (BG.sk, line 914: set {_direction} to {_p}.getEyeLocation().getDirection()')
[21:05:35 ERROR]: [Skript] Can't understand this expression: '{_vector}.angle({_direction})' (BG.sk, line 915: set {_angle} to {_vector}.angle({_direction})')
[21:05:35 WARN]: [Skript] List is missing 'and' or 'or', defaulting to 'and': "?", "?", "?", "?" (BG.sk, line 917: set {_directions::*} to "?", "?", "?", "?"')
[21:05:35 ERROR]: [Skript] Can't compare '{_vector}.crossProduct({_direction}).getY()' with a number (BG.sk, line 923: if {_vector}.crossProduct({_direction}).getY() > 0.0:')
[21:05:35 ERROR]: [Skript] 'else' has to be placed just after an 'if' or 'else if' section (BG.sk, line 925: else:')
