Yardımcı Olurmusunuz

KharooNn

Marangoz
En iyi cevaplar
0
Selam arkadaşlar. Kendi çapımca bir skript yazmaya çalışıyordum ama bir hata aldım yardımcı olurmusunuz

Kod:
on break of coal core:
     if player is in world "world":
        chance of 30%:
            give a coal named "[Linyit]" to player
        chance of 10%:
            give a nether_star named "[W-Token]" to player
        chance of 20%:
            give a coal named "[Tas Komuru]" to player
        chance of 20%:
            give a coal named "[Antrasit]" to player
        chance of 40%:
            give a coal named "[Turba]" to player

Aldığım hata:
Linki görebilmek için üye olmanız gerekiyor. Giriş yap veya üye ol.

[17:28:46] [Server thread/INFO]: [0;37;22m[[0;33;22mSkript[0;37;22m][m Reloading [0;33;22mbatu.sk[m...[m [17:28:46] [Server thread/WARN]: 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. (batu.sk, line 1: ��o n b r e a k o f c o a l c o r e :')
[17:28:46] [Server thread/WARN]: 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. (batu.sk, line 3: i f p l a y e r i s i n w o r l d " w o r l d " :')
[17:28:46] [Server thread/WARN]: 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. (batu.sk, line 5: c h a n c e o f 3 0 % :')
[17:28:46] [Server thread/WARN]: 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. (batu.sk, line 9: c h a n c e o f 1 0 % :')
[17:28:46] [Server thread/WARN]: 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. (batu.sk, line 13: c h a n c e o f 2 0 % :')
[17:28:46] [Server thread/WARN]: 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. (batu.sk, line 17: c h a n c e o f 2 0 % :')
[17:28:46] [Server thread/WARN]: 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. (batu.sk, line 21: c h a n c e o f 4 0 % :')
[17:28:46] [Server thread/ERROR]: invalid line - all code has to be put into triggers (batu.sk, line 7: g i v e a c o a l n a m e d " [ L i n y i t ] " t o p l a y e r')
[17:28:46] [Server thread/ERROR]: invalid line - all code has to be put into triggers (batu.sk, line 11: g i v e a n e t h e r _ s t a r n a m e d " [ W - T o k e n ] " t o p l a y e r')
[17:28:46] [Server thread/ERROR]: invalid line - all code has to be put into triggers (batu.sk, line 15: g i v e a c o a l n a m e d " [ T a s K o m u r u ] " t o p l a y e r')
[17:28:46] [Server thread/ERROR]: invalid line - all code has to be put into triggers (batu.sk, line 19: g i v e a c o a l n a m e d " [ A n t r a s i t ] " t o p l a y e r')
[17:28:46] [Server thread/ERROR]: invalid line - all code has to be put into triggers (batu.sk, line 23: g i v e a c o a l n a m e d " [ T u r b a ] " t o p l a y e r')
[17:28:46] [Server thread/WARN]: 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. (batu.sk, line 1: ��o n b r e a k o f c o a l c o r e :')
[17:28:46] [Server thread/WARN]: 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. (batu.sk, line 3: i f p l a y e r i s i n w o r l d " w o r l d " :')
[17:28:46] [Server thread/WARN]: 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. (batu.sk, line 5: c h a n c e o f 3 0 % :')
[17:28:46] [Server thread/WARN]: 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. (batu.sk, line 9: c h a n c e o f 1 0 % :')
[17:28:46] [Server thread/WARN]: 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. (batu.sk, line 13: c h a n c e o f 2 0 % :')
[17:28:46] [Server thread/WARN]: 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. (batu.sk, line 17: c h a n c e o f 2 0 % :')
[17:28:46] [Server thread/WARN]: 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. (batu.sk, line 21: c h a n c e o f 4 0 % :')
[17:28:46] [Server thread/ERROR]: can't understand this event: '��o n b r e a k o f c o a l c o r e ' (batu.sk, line 1: ��o n b r e a k o f c o a l c o r e :')
[17:28:46] [Server thread/ERROR]: can't understand this event: 'i f p l a y e r i s i n w o r l d " w o r l d " ' (batu.sk, line 3: i f p l a y e r i s i n w o r l d " w o r l d " :')
[17:28:46] [Server thread/ERROR]: can't understand this event: 'c h a n c e o f 3 0 % ' (batu.sk, line 5: c h a n c e o f 3 0 % :')
[17:28:46] [Server thread/ERROR]: invalid line - all code has to be put into triggers (batu.sk, line 7: g i v e a c o a l n a m e d " [ L i n y i t ] " t o p l a y e r')
[17:28:46] [Server thread/ERROR]: can't understand this event: 'c h a n c e o f 1 0 % ' (batu.sk, line 9: c h a n c e o f 1 0 % :')
[17:28:46] [Server thread/ERROR]: invalid line - all code has to be put into triggers (batu.sk, line 11: g i v e a n e t h e r _ s t a r n a m e d " [ W - T o k e n ] " t o p l a y e r')
[17:28:46] [Server thread/ERROR]: can't understand this event: 'c h a n c e o f 2 0 % ' (batu.sk, line 13: c h a n c e o f 2 0 % :')
[17:28:46] [Server thread/ERROR]: invalid line - all code has to be put into triggers (batu.sk, line 15: g i v e a c o a l n a m e d " [ T a s K o m u r u ] " t o p l a y e r')
[17:28:46] [Server thread/ERROR]: can't understand this event: 'c h a n c e o f 2 0 % ' (batu.sk, line 17: c h a n c e o f 2 0 % :')
[17:28:46] [Server thread/ERROR]: invalid line - all code has to be put into triggers (batu.sk, line 19: g i v e a c o a l n a m e d " [ A n t r a s i t ] " t o p l a y e r')
[17:28:46] [Server thread/ERROR]: can't understand this event: 'c h a n c e o f 4 0 % ' (batu.sk, line 21: c h a n c e o f 4 0 % :')
[17:28:46] [Server thread/ERROR]: invalid line - all code has to be put into triggers (batu.sk, line 23: g i v e a c o a l n a m e d " [ T u r b a ] " t o p l a y e r')
[17:28:46] [Server thread/INFO]: [0;37;22m[[0;33;22mSkript[0;37;22m][m [0;31;22mEncountered 17 errors while reloading [0;33;22mbatu.sk[m![m
 

ShiodomeMiuna

Nether Yerlisi
En iyi cevaplar
11
Bütün kodu kopyala, biryere yapıştır, aynısını kendi ellerinle yaz. Karakterlerin arasına görünmeyen fakat hata çıkartabilecek birsürü ASCII karakter girmiş.
 

ShortPallMall

AtinaSaga.Com Türkiyenin ilk MMOSurvival sunucusu
En iyi cevaplar
2
Kod:
on break of coal core:
     if player is in world "world":
        chance of 30%:
            give a coal named "[Linyit]" to player
        chance of 10%:
            give a nether star named named "[W-Token]" to player
        chance of 20%:
            give a coal named "[Tas Komuru]" to player
        chance of 20%:
            give a coal named "[Antrasit]" to player
        else:
            give a coal named "[Turba]" to player
Kod:
on break of coal core:
     if player is in world "world":
        chance of 30%:
            give a coal named "[Linyit]" to player
        chance of 10%:
            give a nether star named named "[W-Token]" to player
        chance of 20%:
            give a coal named "[Tas Komuru]" to player
        chance of 20%:
            give a coal named "[Antrasit]" to player
        else:
            give a coal named "[Turba]" to player

denermisin
 

KharooNn

Marangoz
En iyi cevaplar
0
Bütün kodu kopyala, biryere yapıştır, aynısını kendi ellerinle yaz. Karakterlerin arasına görünmeyen fakat hata çıkartabilecek birsürü ASCII karakter girmiş.
Teşekkürler düzeldi

Kod:
on break of coal core:
     if player is in world "world":
        chance of 30%:
            give a coal named "[Linyit]" to player
        chance of 10%:
            give a nether star named named "[W-Token]" to player
        chance of 20%:
            give a coal named "[Tas Komuru]" to player
        chance of 20%:
            give a coal named "[Antrasit]" to player
        else:
            give a coal named "[Turba]" to player
Kod:
on break of coal core:
     if player is in world "world":
        chance of 30%:
            give a coal named "[Linyit]" to player
        chance of 10%:
            give a nether star named named "[W-Token]" to player
        chance of 20%:
            give a coal named "[Tas Komuru]" to player
        chance of 20%:
            give a coal named "[Antrasit]" to player
        else:
            give a coal named "[Turba]" to player

denermisin
Hocam çalışmadı ama yinede teşekkürler düşünmen yeter. Büyük ihtimale benden kaynaklanan bir hatadır

Bütün kodu kopyala, biryere yapıştır, aynısını kendi ellerinle yaz. Karakterlerin arasına görünmeyen fakat hata çıkartabilecek birsürü ASCII karakter girmiş.
Skript plugininde consol da şu şekilde bir hata alıyorum yardımcı olabilirmisin

[Skript] Enabling Skript v2.2-dev26f
[00:19:20 INFO]: [Skript] Your configuration has been updated to the latest version. A backup of your old config file has been created as config_2017-07-25_00-19-20.sk
[00:19:20 ERROR]: [Skript] The plugin priority has to be one of lowest, low, normal, high, or highest.
[00:19:20 INFO]: [Skript] Loaded a total of 12584 english aliases
[00:19:20 INFO]: [Skript] - created by & ┬® Peter G├╝ttinger aka Njol -
[00:19:20 INFO]: Server permissions file permissions.yml is empty, ignoring it
[00:19:20 INFO]: Done (2,653s)! For help, type "help" or "?"
[00:19:20 INFO]: [Skript] Loading variables...
[00:19:20 INFO]: [Skript] Loaded 0 variables in 0.0 seconds
[00:19:20 ERROR]: [Skript] can't understand this event: 'on break of coal core' (maden.sk, line 1: on break of coal core:')
[00:19:20 INFO]: [Skript] Loaded 1 script with a total of 0 triggers and 0 commands in 0.01 seconds
[00:19:20 INFO]: [Skript] Finished loading.
[00:19:20 INFO]: UUID of player batuhank is 2490e654-bf5c-3aba-9456-a97819a1e7be
[00:19:20 INFO]: batuhank[/25.41.188.90:14515] logged in with entity id 253 at ([world]93.8366242891822, 85.0, 260.69999998807907)
[00:20:08 INFO]: batuhank issued server command: /skript
[00:20:11 INFO]: batuhank issued server command: /skript enable
[00:20:28 INFO]: batuhank issued server command: /skript reload madden
[00:20:33 INFO]: batuhank issued server command: /skript reload maden
 

Bernard

Бернард
Danışman
Geliştirici
En iyi cevaplar
61
Hiçbir sıkıntı çıkartmayacak şekilde:
Kod:
on break of coal ore:
     if player is in world "world":
        chance of 30%:
            give a coal named "[Linyit]" to player
        chance of 10%:
            give a nether star named named "[W-Token]" to player
        chance of 20%:
            give a coal named "[Tas Komuru]" to player
        chance of 20%:
            give a coal named "[Antrasit]" to player
        else:
            give a coal named "[Turba]" to player
 

ShortPallMall

AtinaSaga.Com Türkiyenin ilk MMOSurvival sunucusu
En iyi cevaplar
2
Hiçbir sıkıntı çıkartmayacak şekilde:
Kod:
on break of coal ore:
     if player is in world "world":
        chance of 30%:
            give a coal named "[Linyit]" to player
        chance of 10%:
            give a nether star named named "[W-Token]" to player
        chance of 20%:
            give a coal named "[Tas Komuru]" to player
        chance of 20%:
            give a coal named "[Antrasit]" to player
        else:
            give a coal named "[Turba]" to player
Kod:
on break of coal ore:
     if player is in world "world":
        chance of 30%:
            give a coal named "[Linyit]" to player
            stop
        chance of 10%:
            give a nether star named named "[W-Token]" to player
            stop
        chance of 20%:
            give a coal named "[Tas Komuru]" to player
            stop
        chance of 20%:
            give a coal named "[Antrasit]" to player
            stop
        else:
            give a coal named "[Turba]" to player
stoplarda önemli dimi 2 şans aynı anda çıkabilir :)
 

KharooNn

Marangoz
En iyi cevaplar
0
Kod:
on break of coal ore:
     if player is in world "world":
        chance of 30%:
            give a coal named "[Linyit]" to player
            stop
        chance of 10%:
            give a nether star named named "[W-Token]" to player
            stop
        chance of 20%:
            give a coal named "[Tas Komuru]" to player
            stop
        chance of 20%:
            give a coal named "[Antrasit]" to player
            stop
        else:
            give a coal named "[Turba]" to player
stoplarda önemli dimi 2 şans aynı anda çıkabilir :)
teşekkürler
 
Üst