I hate to sound lazy, but I don't want to relearn skript from scratch, especially since most of it seems to still be intact. But I'm getting all sorts of errors and issues with my scripts taken from an older skript from a few years ago to the newest one for spigot 2.12. Here's what the console tells me:
Some of the potion stuff refers to plugins I can't find updated versions of, so they can be ignored. About half the errors would be fixed if I knew what it wanted in order to reference a location such as "block 8 blocks above targeted entity". And yes , this all did work at one time, with maybe 1 error and 1 or 2 warnings.
"damage cause is wither" also used to work. Is it damage type now? It used to be a damage type, not just a potion.
and "loop-block isn't a direction"? This is making my head hurt. The word that comes after "above" is going to be an object, in english, in anything. Not a direction.
And from playing I have a suspicion there's a decent amount non-functional that isn't showing up as errors. I've attached all my scripts.
Thanks for any help.
code_language.skript:
[21:50:49 ERROR]: [Skript] There's no location in an on chunk generate event (br
idge.sk, line 26: loop blocks from block at {_loc} to block 49 blocks below bloc
k at {_loc}:')
[21:50:49 ERROR]: [Skript] Can't compare 'block 2 blocks below vehicle of player
' with an item type (cartsncombat.sk, line 71: if block 2 blocks below vehicle o
f player is air:')
[21:50:49 ERROR]: [Skript] 'else' has to be placed just after an 'if' or 'else i
f' section (cartsncombat.sk, line 77: else:')
[21:50:50 ERROR]: [Skript] the compass target of the player can't be set to 'blo
ck 128 blocks in front of player' because the latter is not a location (compass.
sk, line 10: set the player's compass target to block 128 blocks in front of pla
yer')
[21:50:52 ERROR]: [Skript] Can't compare a damage cause with a potion (custom.sk
, line 281: if damage cause is poison:')
[21:50:52 ERROR]: [Skript] Can't compare a damage cause with a potion (custom.sk
, line 367: if damage cause is poison:')
[21:50:52 ERROR]: [Skript] Can't compare a damage cause with a potion (custom.sk
, line 369: if damage cause is wither:')
[21:50:53 ERROR]: [Skript] ':8265 or potion of:16425 or potion of:8233 or potion
of:16393 or potion of:8201 or potion of:16457' is not a valid item data (custom
.sk, line 625: if tool is potion of:8265 or potion of:16425 or potion of:8233 or
potion of:16393 or potion of:8201 or potion of:16457:')
[21:50:53 ERROR]: [Skript] ':8265 or potion of:16425 or potion of:8233 or potion
of:16393 or potion of:8201 or potion of:16457' is not a valid item data (custom
.sk, line 629: if item is potion of:8265 or potion of:16425 or potion of:8233 or
potion of:16393 or potion of:8201 or potion of:16457:')
[21:50:53 ERROR]: [Skript] can't understand this event: 'on consume potion' (cus
tom.sk, line 632: on consume potion:')
[21:50:53 ERROR]: [Skript] There's no loop that matches 'loop-entity' (custom.sk
, line 739: loop-entity exists')
[21:50:55 WARN]: [Skript] Possible name conflict of variables {deathchest::%loop
-index%} and {deathchest::*} (there might be more conflicts). (deathchest.sk, li
ne 29: clear {deathchest::%loop-index%}')
[21:50:55 WARN]: [Skript] Starting a variable's name with an expression is disco
uraged ({%arg 1%::*}). You could prefix it with the script's name: {dragon.%arg
1%::*} (dragon.sk, line 16: clear {%arg 1%::*}')
[21:50:55 WARN]: [Skript] Possible name conflict of variables {%arg 1%::*} and {
dragonspawn::*} (there might be more conflicts). (dragon.sk, line 16: clear {%ar
g 1%::*}')
[21:50:55 ERROR]: [Skript] Can't understand this expression: 'block 10 blocks ab
ove targeted block' (dragon.sk, line 109: set {_loc} to block 10 blocks above ta
rgeted block')
[21:50:55 ERROR]: [Skript] There are multiple loops that match loop-value. Use l
oop-value-1/2/3/etc. to specify which loop's value you want. (dragon.sk, line 18
1: distance between loop-entity and loop-value is greater than {_dist}:')
[21:50:55 WARN]: [Skript] Possible name conflict of variables {blocks::*} and {%
arg 1%::*} (there might be more conflicts). (earth.sk, line 37: add location of
loop-block to {_blocks::*}')
[21:50:55 ERROR]: [Skript] Can't understand this expression: 'the block 2 blocks
above the targeted entity' (earth.sk, line 63: set {_yloc3} to the block 2 bloc
ks above the targeted entity')
[21:50:55 ERROR]: [Skript] Can't understand this expression: 'the block 3 blocks
above the targeted entity' (earth.sk, line 64: set {_yloc4} to the block 3 bloc
ks above the targeted entity')
[21:50:55 ERROR]: [Skript] Can't understand this expression: 'the block 4 blocks
above the targeted entity' (earth.sk, line 65: set {_yloc5} to the block 4 bloc
ks above the targeted entity')
[21:50:55 ERROR]: [Skript] Can't understand this expression: 'the block 5 blocks
above the targeted entity' (earth.sk, line 66: set {_yloc6} to the block 5 bloc
ks above the targeted entity')
[21:50:55 ERROR]: [Skript] There are multiple loops that match loop-value. Use l
oop-value-1/2/3/etc. to specify which loop's value you want. (earth.sk, line 123
: distance between location of event-block and block at loop-value is less than
3:')
[21:50:55 ERROR]: [Skript] There are multiple loops that match loop-value. Use l
oop-value-1/2/3/etc. to specify which loop's value you want. (earth.sk, line 130
: distance between event-block and block at loop-value is less than 3:')
[21:50:56 ERROR]: [Skript] Can't compare 'block 8 blocks above targeted entity'
with an item type (earth.sk, line 223: block 8 blocks above targeted entity is n
ot air:')
[21:50:56 ERROR]: [Skript] Can't understand this condition/effect: set block 8 b
locks above targeted entity to anvil (earth.sk, line 230: set block 8 blocks abo
ve targeted entity to anvil')
[21:50:56 ERROR]: [Skript] There's no loop that matches 'loop-player' (earth.sk,
line 463: execute console command "/playsound ambient.weather.rain %loop-player
%"')
[21:50:57 ERROR]: [Skript] loop-block is not a direction (earth.sk, line 652: th
e block 2 blocks above loop-block is air')
[21:50:57 ERROR]: [Skript] the loop-block is not a direction (earth.sk, line 654
: set {_rezloc} to the location 2 blocks above the loop-block')
[21:50:57 WARN]: [Skript] an entity cannot be saved, i.e. the contents of the va
riable {lastdeath} will be lost when the server stops. (earth.sk, line 675: set
{lastdeath} to victim')
Some of the potion stuff refers to plugins I can't find updated versions of, so they can be ignored. About half the errors would be fixed if I knew what it wanted in order to reference a location such as "block 8 blocks above targeted entity". And yes , this all did work at one time, with maybe 1 error and 1 or 2 warnings.
"damage cause is wither" also used to work. Is it damage type now? It used to be a damage type, not just a potion.
and "loop-block isn't a direction"? This is making my head hurt. The word that comes after "above" is going to be an object, in english, in anything. Not a direction.
And from playing I have a suspicion there's a decent amount non-functional that isn't showing up as errors. I've attached all my scripts.
Thanks for any help.
Attachments
Last edited: