Witam, próbuje sobie zrobić skrypt na wypadania rud z kamienia ale oczywiście błędy być muszą :(
Najgorsze jest to, że nie rozumiem o co w nich chodzi. Potrzebuje szybko ukończyć skrypt, gdyż jest mi on potrzebny na mym serwerze, a nie chce go zaśmiecać pluginami ;(
Proszę o pomoc.
Skrypt:
# Informacje o Skrypcie:# Nazwa: AvatarDrops[TM].# Autor: SkepsonTV.# Wersja: 1.0.0 Alpha.# Dla: AvatarServ 2014 Edition.on mine of stone: if player's tool is wooden pickaxe or stone pickaxe or iron picaxe or golden pickaxe or diamond pickaxe: chance of 6% drop 1 coal stop chance of 4% drop 4 coal stop if player's tool is stone pickaxe or iron pickaxe or golden pickaxe or diamond pickaxe: chance of 5% drop 1 iron ore stop chance of 3% drop 3 iron ore stop chance of 7% drop 2 redstone stop chance of 5% drop 3 lapis lazuli stop if player's tool is iron pickaxe or golden pickaxe or diamond pickaxe: chance of 1% drop 5 diamond stop chance of 1% drop 1 emerald stop on mine of netherrack: if player's tool is wooden pickaxe or stone pickaxe or iron pickaxe or golden pixkaxe or diamond pickaxe: chance of 9% drop 2 quartz ore stop on mine of enderstone: if player's tool is wooden pickaxe or stone pickaxe or iron pickaxe or golden pickaxe or diamond pickaxe: chance of 4% drop 1 ender pearl stop on mine of iron ore chance of 100% drop cobblestone stop on mine of gold ore chance of 100% drop cobblestone stop on mine of diamond ore chance of 100% drop cobblestone stop on mine of emerald ore chance of 100% drop cobblestone stop
Błędy:
[20:15:15] [BŁĄD]: indentation error: expected 0 tabs, but found 1 tab (AvatarDrops.sk, line 50: chance of 100%') [20:15:15] [BŁĄD]: indentation error: expected 0 tabs, but found 1 tab (AvatarDrops.sk, line 51: drop cobblestone') [20:15:15] [BŁĄD]: indentation error: expected 0 tabs, but found 1 tab (AvatarDrops.sk, line 52: stop') [20:15:15] [BŁĄD]: indentation error: expected 0 tabs, but found 1 tab (AvatarDrops.sk, line 55: chance of 100%') [20:15:15] [BŁĄD]: indentation error: expected 0 tabs, but found 1 tab (AvatarDrops.sk, line 56: drop cobblestone') [20:15:15] [BŁĄD]: indentation error: expected 0 tabs, but found 1 tab (AvatarDrops.sk, line 57: stop') [20:15:15] [BŁĄD]: indentation error: expected 0 tabs, but found 1 tab (AvatarDrops.sk, line 60: chance of 100%') [20:15:15] [BŁĄD]: indentation error: expected 0 tabs, but found 1 tab (AvatarDrops.sk, line 61: drop cobblestone') [20:15:15] [BŁĄD]: indentation error: expected 0 tabs, but found 1 tab (AvatarDrops.sk, line 62: stop') [20:15:15] [BŁĄD]: indentation error: expected 0 tabs, but found 1 tab (AvatarDrops.sk, line 65: chance of 100%') [20:15:15] [BŁĄD]: indentation error: expected 0 tabs, but found 1 tab (AvatarDrops.sk, line 66: drop cobblestone') [20:15:15] [BŁĄD]: indentation error: expected 0 tabs, but found 1 tab (AvatarDrops.sk, line 67: stop') [20:15:15] [BŁĄD]: Can't compare a slot with ('wooden pickaxe', 'stone pickaxe', 'iron picaxe', 'golden pickaxe' or 'diamond pickaxe') (AvatarDrops.sk, line 9: if player's tool is wooden pickaxe or stone pickaxe or iron picaxe or golden pickaxe or diamond pickaxe:') [20:15:15] [BŁĄD]: Can't compare a slot with ('wooden pickaxe', 'stone pickaxe', 'iron pickaxe', 'golden pixkaxe' or 'diamond pickaxe') (AvatarDrops.sk, line 38: if player's tool is wooden pickaxe or stone pickaxe or iron pickaxe or golden pixkaxe or diamond pickaxe:') [20:15:15] [BŁĄD]: 'enderstone' is not an item type (AvatarDrops.sk, line 43: on mine of enderstone:') [20:15:15] [BŁĄD]: invalid line - all code has to be put into triggers (AvatarDrops.sk, line 49: on mine of iron ore') [20:15:15] [BŁĄD]: invalid line - all code has to be put into triggers (AvatarDrops.sk, line 54: on mine of gold ore') [20:15:15] [BŁĄD]: invalid line - all code has to be put into triggers (AvatarDrops.sk, line 59: on mine of diamond ore') [20:15:15] [BŁĄD]: invalid line - all code has to be put into triggers (AvatarDrops.sk, line 64: on mine of emerald ore') [20:15:15] [INFO]: [skript] Encountered 19 errors while reloading AvatarDrops.sk!
Pytanie
SkepsonTV 20
Witam, próbuje sobie zrobić skrypt na wypadania rud z kamienia ale oczywiście błędy być muszą :(
Najgorsze jest to, że nie rozumiem o co w nich chodzi. Potrzebuje szybko ukończyć skrypt, gdyż jest mi on potrzebny na mym serwerze, a nie chce go zaśmiecać pluginami ;(
Proszę o pomoc.
Skrypt:
Błędy:
[20:15:15] [BŁĄD]: indentation error: expected 0 tabs, but found 1 tab (AvatarDrops.sk, line 50: chance of 100%')
[20:15:15] [BŁĄD]: indentation error: expected 0 tabs, but found 1 tab (AvatarDrops.sk, line 51: drop cobblestone')
[20:15:15] [BŁĄD]: indentation error: expected 0 tabs, but found 1 tab (AvatarDrops.sk, line 52: stop')
[20:15:15] [BŁĄD]: indentation error: expected 0 tabs, but found 1 tab (AvatarDrops.sk, line 55: chance of 100%')
[20:15:15] [BŁĄD]: indentation error: expected 0 tabs, but found 1 tab (AvatarDrops.sk, line 56: drop cobblestone')
[20:15:15] [BŁĄD]: indentation error: expected 0 tabs, but found 1 tab (AvatarDrops.sk, line 57: stop')
[20:15:15] [BŁĄD]: indentation error: expected 0 tabs, but found 1 tab (AvatarDrops.sk, line 60: chance of 100%')
[20:15:15] [BŁĄD]: indentation error: expected 0 tabs, but found 1 tab (AvatarDrops.sk, line 61: drop cobblestone')
[20:15:15] [BŁĄD]: indentation error: expected 0 tabs, but found 1 tab (AvatarDrops.sk, line 62: stop')
[20:15:15] [BŁĄD]: indentation error: expected 0 tabs, but found 1 tab (AvatarDrops.sk, line 65: chance of 100%')
[20:15:15] [BŁĄD]: indentation error: expected 0 tabs, but found 1 tab (AvatarDrops.sk, line 66: drop cobblestone')
[20:15:15] [BŁĄD]: indentation error: expected 0 tabs, but found 1 tab (AvatarDrops.sk, line 67: stop')
[20:15:15] [BŁĄD]: Can't compare a slot with ('wooden pickaxe', 'stone pickaxe', 'iron picaxe', 'golden pickaxe' or 'diamond pickaxe') (AvatarDrops.sk, line 9: if player's tool is wooden pickaxe or stone pickaxe or iron picaxe or golden pickaxe or diamond pickaxe:')
[20:15:15] [BŁĄD]: Can't compare a slot with ('wooden pickaxe', 'stone pickaxe', 'iron pickaxe', 'golden pixkaxe' or 'diamond pickaxe') (AvatarDrops.sk, line 38: if player's tool is wooden pickaxe or stone pickaxe or iron pickaxe or golden pixkaxe or diamond pickaxe:')
[20:15:15] [BŁĄD]: 'enderstone' is not an item type (AvatarDrops.sk, line 43: on mine of enderstone:')
[20:15:15] [BŁĄD]: invalid line - all code has to be put into triggers (AvatarDrops.sk, line 49: on mine of iron ore')
[20:15:15] [BŁĄD]: invalid line - all code has to be put into triggers (AvatarDrops.sk, line 54: on mine of gold ore')
[20:15:15] [BŁĄD]: invalid line - all code has to be put into triggers (AvatarDrops.sk, line 59: on mine of diamond ore')
[20:15:15] [BŁĄD]: invalid line - all code has to be put into triggers (AvatarDrops.sk, line 64: on mine of emerald ore')
[20:15:15] [INFO]: [skript] Encountered 19 errors while reloading AvatarDrops.sk!
Wersja Skript: 2.1.2
Wersja CB: 1.7.2 R.03 BETA
Odnośnik do komentarza
Udostępnij na innych stronach
5 odpowiedzi na to pytanie
Rekomendowane odpowiedzi