Skocz do zawartości
  • 0

problem stoniarka


Nieaktywny

Pytanie

Mam problem ze stowniarką, są 4 błędy i nie działa

every 0.00001 real second:
    loop {hardcorestoniarka::*}:
    if block above loop-value is air:
    set block above loop-value to stone
On place sponge:
    add location of target block to {hardcorestoniarka::*}
on break sponge:
    loop {hardcorestoniarka::*}:
    if loop-value is location of target block:
    remove location of target block from {hardcorestoniarka::*}
2017-09-01 14:32:01 [SEVERE] There's no loop that matches 'loop-value' (drop.sk, line 23: 'if block above loop-value is air:')
2017-09-01 14:32:01 [SEVERE] There's no loop that matches 'loop-value' (drop.sk, line 24: 'set block above loop-value to stone')
2017-09-01 14:32:01 [SEVERE] There's no loop that matches 'loop-value' (drop.sk, line 29: 'if loop-value is location of target block:')
Odnośnik do komentarza
https://skript.pl/temat/21283-problem-stoniarka/
Udostępnij na innych stronach

11 odpowiedzi na to pytanie

Rekomendowane odpowiedzi

  • 0
every 0.00001 real second:
    loop {hardcorestoniarka::*}:
    	if block above loop-value is air:
    		set block above loop-value to stone
On place sponge:
    add location of target block to {hardcorestoniarka::*}
on break sponge:
    loop {hardcorestoniarka::*}:
    	if loop-value is location of target block:
    		remove location of target block from {hardcorestoniarka::*}

 

Odnośnik do komentarza
https://skript.pl/temat/21283-problem-stoniarka/#findComment-144644
Udostępnij na innych stronach

  • 0

demon wwstawil stoniarki ;/ wiec se je ustaw jak chcesz

on place sponge block:
    if name of player's tool is "&6&lStoniarka":
        add location of block to {stoniarka::*}
        add location of block above block to {stone::*}
        set block above block to stone

on break sponge:
    loop {stoniarka::*}:
        if loop-value is location of block:
            remove location of block from {stoniarka::*}
            remove location of block above from {stone::*}
            cancel event
            set block to air
            drop sponge named "&6&lStoniarka"
on break stone:
    loop {stone::*}:
        if loop-value is location of target block:
            player has permission "stoniarka.svip":
                set block to stone
            else:
                player has permission "stoniarka.vip":
                    wait 0.5 second
                    set block to stone
                else:
                    wait 1 second
                    set block to stone

Odnośnik do komentarza
https://skript.pl/temat/21283-problem-stoniarka/#findComment-144645
Udostępnij na innych stronach

  • 0

@00Maciek00 2017-09-01 14:52:11 [SEVERE] 'sponge block' is not an item type (drop.sk, line 21: 'on place sponge block:')

@Kuba_2003TV 

2017-09-01 14:50:50 [SEVERE] indentation error: expected 8 spaces, but found '____->' [-> = tab, _ = space, ? = other whitespace] (drop.sk, line 23: 'if block above loop-value is air:')
2017-09-01 14:50:50 [SEVERE] indentation error: expected 8 spaces, but found '____->->' [-> = tab, _ = space, ? = other whitespace] (drop.sk, line 24: 'set block above loop-value to stone')
2017-09-01 14:50:50 [WARNING] Empty configuration section! You might want to indent one or more of the subsequent lines to make them belong to this section or remove the colon at the end of the line if you don't want this line to start a section. (drop.sk, line 22: 'loop {hardcorestoniarka::*}:')
2017-09-01 14:50:50 [SEVERE] indentation error: expected 8 spaces, but found '____->' [-> = tab, _ = space, ? = other whitespace] (drop.sk, line 29: 'if loop-value is location of target block:')
2017-09-01 14:50:50 [SEVERE] indentation error: expected 8 spaces, but found '____->->' [-> = tab, _ = space, ? = other whitespace] (drop.sk, line 30: 'remove location of target block from {hardcorestoniarka::*}')
Odnośnik do komentarza
https://skript.pl/temat/21283-problem-stoniarka/#findComment-144646
Udostępnij na innych stronach

  • 0
Teraz, ivall napisał:

@00Maciek00 2017-09-01 14:52:11 [SEVERE] 'sponge block' is not an item type (drop.sk, line 21: 'on place sponge block:')

@Kuba_2003TV 

2017-09-01 14:50:50 [SEVERE] indentation error: expected 8 spaces, but found '____->' [-> = tab, _ = space, ? = other whitespace] (drop.sk, line 23: 'if block above loop-value is air:')
2017-09-01 14:50:50 [SEVERE] indentation error: expected 8 spaces, but found '____->->' [-> = tab, _ = space, ? = other whitespace] (drop.sk, line 24: 'set block above loop-value to stone')
2017-09-01 14:50:50 [WARNING] Empty configuration section! You might want to indent one or more of the subsequent lines to make them belong to this section or remove the colon at the end of the line if you don't want this line to start a section. (drop.sk, line 22: 'loop {hardcorestoniarka::*}:')
2017-09-01 14:50:50 [SEVERE] indentation error: expected 8 spaces, but found '____->' [-> = tab, _ = space, ? = other whitespace] (drop.sk, line 29: 'if loop-value is location of target block:')
2017-09-01 14:50:50 [SEVERE] indentation error: expected 8 spaces, but found '____->->' [-> = tab, _ = space, ? = other whitespace] (drop.sk, line 30: 'remove location of target block from {hardcorestoniarka::*}')

on load:
    set {_stone} to "stoniarka"

dodaj to ;p
 

Odnośnik do komentarza
https://skript.pl/temat/21283-problem-stoniarka/#findComment-144647
Udostępnij na innych stronach

  • 0

on load:
    set {_stone} to "stoniarka"
on place sponge block:
    if name of player's tool is "&6&lStoniarka":
        add location of block to {stoniarka::*}
        add location of block above block to {stone::*}
        set block above block to stone

on break sponge:
    loop {stoniarka::*}:
        if loop-value is location of block:
            remove location of block from {stoniarka::*}
            remove location of block above from {stone::*}
            cancel event
            set block to air
            drop sponge named "&6&lStoniarka"
on break stone:
    loop {stone::*}:
        if loop-value is location of target block:
            player has permission "stoniarka.svip":
                set block to stone
            else:
                player has permission "stoniarka.vip":
                    wait 0.5 second
                    set block to stone
                else:
                    wait 1 second
                    set block to stone
            
command /stoniarka:
    trigger:
        player has permission "stoniarka.daj":
            give sponge named "&6&lStoniarka" to player

 

nie pomoge bo mi to dziala 

Odnośnik do komentarza
https://skript.pl/temat/21283-problem-stoniarka/#findComment-144652
Udostępnij na innych stronach

  • 0
every 1 real second:
    loop {hardcorestoniarka::*}:
    	if block above loop-value is not stone:
    		set block above loop-value to stone

on place:
	if event-block is sponge:
    	add event-block to {hardcorestoniarka::*}

on break:
	if event-block is sponge:
    	loop {hardcorestoniarka::*}:
    		if loop-value is event-block:
    			remove event-block from {hardcorestoniarka::*}

 

Odnośnik do komentarza
https://skript.pl/temat/21283-problem-stoniarka/#findComment-144680
Udostępnij na innych stronach

Nieaktywny
Ten temat został zamknięty. Brak możliwości dodania odpowiedzi.
  • Ostatnio przeglądający   0 użytkowników

    • Brak zarejestrowanych użytkowników przeglądających tę stronę.
×
×
  • Dodaj nową pozycję...