Bulundu kodu düzeltir misiniz

  • Konuyu Başlatan Konuyu Başlatan burak51efe51
  • Başlangıç tarihi Başlangıç tarihi
  • Görüntüleme 722
Durum
Üzgünüz bu konu cevaplar için kapatılmıştır...

burak51efe51

Somon Balığı Selam Vermeye Geldi
Katılım
21 Nisan 2022
Mesajlar
24
Elmaslar
1
Puan
1.995
Konum
Niğde
Minecraft
Burak_efe51

Discord:

Burak Efe#3826

bu kod hata veriyor
yardım eder misiniz
variables:
thirst_level: 100

on join:
- send "&eHoş geldin! Su kaynaklarına dikkat etmelisin."
- wait 1 tick
- set player's hunger bar to 20
- add objective "thirst" with criteria dummy
- setdisplay belowname thirst
- set max value of objective "thirst" to 100

on player move:
- if player is not holding water bucket:
- if biome at player's location is desert:
- if thirst_level < 25:
- send action bar "&cSusuzluk " & thirst_level
- else:
- set thirst_level to thirst_level - 3
- wait 30 ticks
- set score of player's thirst objective to thirst_level
- else:
- if thirst_level < 10:
- send action bar "&cSusuzluk " & thirst_level
- else:
- set thirst_level to thirst_level - 1
- wait 30 ticks
- set score of player's thirst objective to thirst_level

on player damage:
- if cause of damage is fire:
- if thirst_level < 10:
- send action bar "&cSıcaklık vücudundan suyu çekiyor. Hızlıca bir su kaynağına gitmelisin."
- damage player by 1
- else:
- set thirst_level to thirst_level - 2
- set score of player's thirst objective to thirst_level

on potion splash:
- if type of potion is water bottle:
- set thirst_level to min(thirst_level + 8, 100)
- send action bar "&aSusuzluk " & thirst_level
- set score of player's thirst objective to thirst_level

[19:33:17] [Server thread/ERROR]: 'thirst_level: 100' is not an entry (like 'name : value') (susuzluk.sk, line 2: thirst_level: 100')
[19:33:17] [Server thread/ERROR]: Can't understand this condition/effect: - send "&eHo┼ş geldin! Su kaynaklar─▒na dikkat etmelisin." (susuzluk.sk, line 5: - send "&eHo┼ş geldin! Su kaynaklar─▒na dikkat etmelisin."')
[19:33:17] [Server thread/ERROR]: Can't understand this condition/effect: - wait 1 tick (susuzluk.sk, line 6: - wait 1 tick')
[19:33:17] [Server thread/ERROR]: Can't understand this condition/effect: - set player's hunger bar to 20 (susuzluk.sk, line 7: - set player's hunger bar to 20')
[19:33:17] [Server thread/ERROR]: Can't understand this condition/effect: - add objective "thirst" with criteria dummy (susuzluk.sk, line 8: - add objective "thirst" with criteria dummy')
[19:33:17] [Server thread/ERROR]: Can't understand this condition/effect: - setdisplay belowname thirst (susuzluk.sk, line 9: - setdisplay belowname thirst')
[19:33:17] [Server thread/ERROR]: Can't understand this condition/effect: - set max value of objective "thirst" to 100 (susuzluk.sk, line 10: - set max value of objective "thirst" to 100')
[19:33:17] [Server thread/ERROR]: can't understand this event: 'on player move' (susuzluk.sk, line 12: on player move:')
[19:33:17] [Server thread/ERROR]: can't understand this event: 'on player damage' (susuzluk.sk, line 29: on player damage:')
[19:33:17] [Server thread/ERROR]: can't understand this event: 'on potion splash' (susuzluk.sk, line 38: on potion splash:')
 
skriptte çalışan bi yer varmı
 
hocam skripti komple çöpe atarsanız daha iyi çalışacaktır
 
bu kod hata veriyor
yardım eder misiniz
variables:
thirst_level: 100

on join:
- send "&eHoş geldin! Su kaynaklarına dikkat etmelisin."
- wait 1 tick
- set player's hunger bar to 20
- add objective "thirst" with criteria dummy
- setdisplay belowname thirst
- set max value of objective "thirst" to 100

on player move:
- if player is not holding water bucket:
- if biome at player's location is desert:
- if thirst_level < 25:
- send action bar "&cSusuzluk " & thirst_level
- else:
- set thirst_level to thirst_level - 3
- wait 30 ticks
- set score of player's thirst objective to thirst_level
- else:
- if thirst_level < 10:
- send action bar "&cSusuzluk " & thirst_level
- else:
- set thirst_level to thirst_level - 1
- wait 30 ticks
- set score of player's thirst objective to thirst_level

on player damage:
- if cause of damage is fire:
- if thirst_level < 10:
- send action bar "&cSıcaklık vücudundan suyu çekiyor. Hızlıca bir su kaynağına gitmelisin."
- damage player by 1
- else:
- set thirst_level to thirst_level - 2
- set score of player's thirst objective to thirst_level

on potion splash:
- if type of potion is water bottle:
- set thirst_level to min(thirst_level + 8, 100)
- send action bar "&aSusuzluk " & thirst_level
- set score of player's thirst objective to thirst_level

[19:33:17] [Server thread/ERROR]: 'thirst_level: 100' is not an entry (like 'name : value') (susuzluk.sk, line 2: thirst_level: 100')
[19:33:17] [Server thread/ERROR]: Can't understand this condition/effect: - send "&eHo┼ş geldin! Su kaynaklar─▒na dikkat etmelisin." (susuzluk.sk, line 5: - send "&eHo┼ş geldin! Su kaynaklar─▒na dikkat etmelisin."')
[19:33:17] [Server thread/ERROR]: Can't understand this condition/effect: - wait 1 tick (susuzluk.sk, line 6: - wait 1 tick')
[19:33:17] [Server thread/ERROR]: Can't understand this condition/effect: - set player's hunger bar to 20 (susuzluk.sk, line 7: - set player's hunger bar to 20')
[19:33:17] [Server thread/ERROR]: Can't understand this condition/effect: - add objective "thirst" with criteria dummy (susuzluk.sk, line 8: - add objective "thirst" with criteria dummy')
[19:33:17] [Server thread/ERROR]: Can't understand this condition/effect: - setdisplay belowname thirst (susuzluk.sk, line 9: - setdisplay belowname thirst')
[19:33:17] [Server thread/ERROR]: Can't understand this condition/effect: - set max value of objective "thirst" to 100 (susuzluk.sk, line 10: - set max value of objective "thirst" to 100')
[19:33:17] [Server thread/ERROR]: can't understand this event: 'on player move' (susuzluk.sk, line 12: on player move:')
[19:33:17] [Server thread/ERROR]: can't understand this event: 'on player damage' (susuzluk.sk, line 29: on player damage:')
[19:33:17] [Server thread/ERROR]: can't understand this event: 'on potion splash' (susuzluk.sk, line 38: on potion splash:')
Merhaba, Hocam siz bence bize istediğiniz skriptin olayını anlatın biz yeni bir skript yazalım. Aslında düzeltilebilir fakat temiz bir skript'in daha iyi olacağını düşünüyorum. Yanlış anlamayın çünkü hocam bu skript biraz ölmüş gibi diyebiliriz, yaşamıyor.
 
Son düzenleme:
hocam şu - şeyleri kaldır bitsin iş
 
Merhaba, Hocam siz bence bize istediğiniz skriptin olayını anlatın biz yeni bir skript yazalım. Aslında düzeltilebilir fakat temiz bir skript'in daha iyi olacağını düşünüyorum. Yanlış anlamayın çünkü hocam bu skript biraz ölmüş gibi diyebiliriz, yaşamıyor.
hocam susuzluk skript i yazmaya çalıştımda olmamış, olayını anlatayım
çölde biraz yüyünce susuzluk değeri 3 olarak düşücek
olayın blok sayısı 29 olacak şekilde
çöl dışında yürüyünce 1 olarak düşücek
ve bu her 10 saniyede bir action bar a "su %(sayısı)" olarak verilecek
eğer susuzluk seviyesi 0 ise her 20 saniye olacak şekilde şahıs hasar yiyecek 1 kalp
max su 100 olacak şekilde
 
Son düzenleme:
Hocam discorduma ulaşırsanız yardımcı olayım.
 
hocam kolay gelsin sorun çözüldü mü?
 
Durum
Üzgünüz bu konu cevaplar için kapatılmıştır...

Hala Discord sunucumuza katılmadın mı?

Büyük bir topluluğun parçası ol, etkinliklere katıl ve özel hediyeler kazanma şansı yakala!

Şimdi Katıl
Üst