[YARDIM]KitPVP Skriptinde Hata

Hetanekoq

Kızıltaş Madencisi
Mesajlar
445
En iyi cevaplar
0
Beğeniler
159
Puanları
640
Arkadaşlar KitPVP Skripti yazıyordum 2 adet kiti oluşturdum ancak hata veriyor. Neresinde hata var kodun ?
Kod:
command /pyro:
    description: Pyro kitini almayi saglar |KitPVP|
    permission: kitpvp.pyro
    trigger:
        add 314 to player's inventory
        add 315 to player's inventory
        add 316 to player's inventory
        add 317 to player's inventory
        add 272 to player's inventory
        add 322 to player's inventory
        send "&9[&4KitPVP&9] &6Pyro &2kitini sectiniz." to player
command /tank
    description: Tank kitini almayi saglar |KitPVP|
    permission: kitpvp.tank
    trigger:
        add 306 to player's inventory
        add 307 to player's inventory
        add 308 to player's inventory
        add 309 to player's inventory
        add 267 to player's inventory
        add 322 to player's inventory
        send "&9[&4KitPVP&9] &bTank &2kitini sectiniz." to player
 


blackone1991

Elmas Madencisi
Mesajlar
808
En iyi cevaplar
0
Beğeniler
751
Puanları
2,540
Ruh hali
Hataya bakmadım ama;
Kod:
add 306 to player's inventory

Bunu yerine;
Kod:
give 306 to player

örnek bütün kodları bunla değiştir.
 

GodofMilker

Nether Yerlisi
Mesajlar
2,196
En iyi cevaplar
0
Beğeniler
2,562
Puanları
6,790
Ben hata göremedim ama uyarı veriyordur doğaldır 1.8'den aşağı olan sürümlerde çalışır.Hata gelmesin istiyorsan id numarasını (örnek :314) yerine ismini yazmalısın (örnek:314 yerine Golden Helmet gibi).^_^
 

blackone1991

Elmas Madencisi
Mesajlar
808
En iyi cevaplar
0
Beğeniler
751
Puanları
2,540
Ruh hali
Ben hata göremedim ama uyarı veriyordur doğaldır 1.8'den aşağı olan sürümlerde çalışır.Hata gelmesin istiyorsan id numarasını (örnek :314) yerine ismini yazmalısın (örnek:314 yerine Golden Helmet gibi).^_^

Skript yazmayalı 2 hafta olmuş aklımdan çıkmış bu :D
 

Hetanekoq

Kızıltaş Madencisi
Mesajlar
445
En iyi cevaplar
0
Beğeniler
159
Puanları
640
Ben hata göremedim ama uyarı veriyordur doğaldır 1.8'den aşağı olan sürümlerde çalışır.Hata gelmesin istiyorsan id numarasını (örnek :314) yerine ismini yazmalısın (örnek:314 yerine Golden Helmet gibi).^_^
tamam hocsm deniyicem

Son teknoloji Note III ' den gönderiyom looo.[DOUBLEPOST=1409841633,1409837623][/DOUBLEPOST]
Kod:
command /pyro:
    description: Pyro kitini almayi saglar |KitPVP|
    permission: kitpvp.pyro
    trigger:
        send "&9[&4KitPVP&9] &6Pyro &2kitini sectiniz." to player
        give a golden helmet to player
        give a golden chestplate to player
        give a golden leggings to player
        give a golden boots to player
        give a stone sword to player
        give golden apple 2 to player
command /tank
    description: Tank kitini almayi saglar |KitPVP|
    permission: kitpvp.tank
    trigger:
        send "&9[&4KitPVP&9] &bTank &2kitini sectiniz." to player
        give a iron helmet to player
        give a iron chestplate to player
        give a iron leggings to player
        give a iron boots to player
        give a iron sword to player
        give golden apple 2 to player
hocam hala sorun var kabul etmiyor
 

ShiodomeMiuna

Nether Yerlisi
Mesajlar
2,351
En iyi cevaplar
11
Beğeniler
1,190
Puanları
3,300
a ları sil.

yani şöyle bir şey olmalı :

Kod:
command /pyro:
    description: Pyro kitini almayi saglar |KitPVP|
    permission: kitpvp.pyro
    trigger:
        send "&9[&4KitPVP&9] &6Pyro &2kitini sectiniz." to player
        equip player with golden helmet
        equip player with golden chestplate
        equip player with golden leggings
        equip player with  golden boots
        give 1 stone sword to player
        give 1 golden apple to player
command /tank
    description: Tank kitini almayi saglar |KitPVP|
    permission: kitpvp.tank
    trigger:
        send "&9[&4KitPVP&9] &bTank &2kitini sectiniz." to player
        equip player with iron helmet
        equip player with iron chestplate
        equip player with iron leggings
        equip player with iron boots
        give 1 iron sword to player
        give 2 golden apple to player


equip : direk giyilmiş olarak verir. mesela kask bölümüne direk giydirir o kaskı. playerin zırhı giymesinede gerek kalmaz.
 

efeakca

Kömür Madencisi
Mesajlar
134
En iyi cevaplar
0
Beğeniler
145
Puanları
0
Bir hata olabilir ayrıca benden tavsiye kit'i vermeden önce oyuncunun envanterini temizle "clear player's inventory"
 

Hetanekoq

Kızıltaş Madencisi
Mesajlar
445
En iyi cevaplar
0
Beğeniler
159
Puanları
640
a ları sil.

yani şöyle bir şey olmalı :

Kod:
command /pyro:
    description: Pyro kitini almayi saglar |KitPVP|
    permission: kitpvp.pyro
    trigger:
        send "&9[&4KitPVP&9] &6Pyro &2kitini sectiniz." to player
        equip player with golden helmet
        equip player with golden chestplate
        equip player with golden leggings
        equip player with  golden boots
        give 1 stone sword to player
        give 1 golden apple to player
command /tank
    description: Tank kitini almayi saglar |KitPVP|
    permission: kitpvp.tank
    trigger:
        send "&9[&4KitPVP&9] &bTank &2kitini sectiniz." to player
        equip player with iron helmet
        equip player with iron chestplate
        equip player with iron leggings
        equip player with iron boots
        give 1 iron sword to player
        give 2 golden apple to player


equip : direk giyilmiş olarak verir. mesela kask bölümüne direk giydirir o kaskı. playerin zırhı giymesinede gerek kalmaz.
Hocam sizin dediğiniz gibi yaptım ancak hala sorun var.
Kod:
{\rtf1\ansi\ansicpg1254\deff0\deflang1055{\fonttbl{\f0\fnil\fcharset162{\*\fname Arial;}Arial TUR;}}
{\colortbl ;\red0\green0\blue255;}
\viewkind4\uc1\pard\cf1\f0\fs18 5.9.2014 09:21:14 [SEVERE] indentation error: expected 0 spaces, but found 4 spaces (kitpvp.sk, line 13: description: Tank kitini almayi saglar |KitPVP|')\par
5.9.2014 09:21:14 [SEVERE] indentation error: expected 0 spaces, but found 4 spaces (kitpvp.sk, line 14: permission: kitpvp.tank')\par
5.9.2014 09:21:14 [SEVERE] indentation error: expected 0 spaces, but found 4 spaces (kitpvp.sk, line 15: trigger:')\par
5.9.2014 09:21:15 [SEVERE] indentation error: expected 0 spaces, but found 8 spaces (kitpvp.sk, line 16: send "&9[&4KitPVP&9] &bTank &2kitini sectiniz." to player')\par
5.9.2014 09:21:15 [SEVERE] indentation error: expected 0 spaces, but found 8 spaces (kitpvp.sk, line 17: equip player with iron helmet')\par
5.9.2014 09:21:15 [SEVERE] indentation error: expected 0 spaces, but found 8 spaces (kitpvp.sk, line 18: equip player with iron chestplate')\par
5.9.2014 09:21:15 [SEVERE] indentation error: expected 0 spaces, but found 8 spaces (kitpvp.sk, line 19: equip player with iron leggings')\par
5.9.2014 09:21:15 [SEVERE] indentation error: expected 0 spaces, but found 8 spaces (kitpvp.sk, line 20: equip player with iron boots')\par
5.9.2014 09:21:15 [SEVERE] indentation error: expected 0 spaces, but found 8 spaces (kitpvp.sk, line 21: give 1 iron sword to player')\par
5.9.2014 09:21:17 [SEVERE] indentation error: expected 0 spaces, but found 8 spaces (kitpvp.sk, line 22: give 2 golden apple to player')\par
5.9.2014 09:21:35 [SEVERE] invalid line - all code has to be put into triggers (kitpvp.sk, line 12: command /tank')\par
5.9.2014 09:21:38 [INFO] [Skript] Encountered 11 errors while reloading kitpvp.sk!\par
5.9.2014 09:21:41 [WARNING] Can't keep up! Did the system time change, or is the server overloaded? Running 6420ms behind, skipping 128 tick(s)\par
5.9.2014 09:21:57 [INFO] [Skript] Reloading kitpvp.sk...\par
5.9.2014 09:21:57 [SEVERE] indentation error: expected 0 spaces, but found 4 spaces (kitpvp.sk, line 13: description: Tank kitini almayi saglar |KitPVP|')\par
5.9.2014 09:21:57 [SEVERE] indentation error: expected 0 spaces, but found 4 spaces (kitpvp.sk, line 14: permission: kitpvp.tank')\par
5.9.2014 09:21:57 [SEVERE] indentation error: expected 0 spaces, but found 4 spaces (kitpvp.sk, line 15: trigger:')\par
5.9.2014 09:21:57 [SEVERE] indentation error: expected 0 spaces, but found 8 spaces (kitpvp.sk, line 16: send "&9[&4KitPVP&9] &bTank &2kitini sectiniz." to player')\par
5.9.2014 09:21:57 [SEVERE] indentation error: expected 0 spaces, but found 8 spaces (kitpvp.sk, line 17: equip player with iron helmet')\par
5.9.2014 09:21:57 [SEVERE] indentation error: expected 0 spaces, but found 8 spaces (kitpvp.sk, line 18: equip player with iron chestplate')\par
5.9.2014 09:21:57 [SEVERE] indentation error: expected 0 spaces, but found 8 spaces (kitpvp.sk, line 19: equip player with iron leggings')\par
5.9.2014 09:21:57 [SEVERE] indentation error: expected 0 spaces, but found 8 spaces (kitpvp.sk, line 20: equip player with iron boots')\par
5.9.2014 09:21:57 [SEVERE] indentation error: expected 0 spaces, but found 8 spaces (kitpvp.sk, line 21: give 1 iron sword to player')\par
5.9.2014 09:21:57 [SEVERE] indentation error: expected 0 spaces, but found 8 spaces (kitpvp.sk, line 22: give 2 golden apple to player')\par
}
Sorun bu aslında kaydadeğer bir sorun yok ancak nedense kabul etmiyor.
 

blackone1991

Elmas Madencisi
Mesajlar
808
En iyi cevaplar
0
Beğeniler
751
Puanları
2,540
Ruh hali
Kod:
command /pyro:
    description: Pyro kitini almayi saglar |KitPVP|
    permission: kitpvp.pyro
    trigger:
        send "&9[&4KitPVP&9] &6Pyro &2kitini sectiniz." to player
        equip player with golden helmet
        equip player with golden chestplate
        equip player with golden leggings
        equip player with  golden boots
        give 1 stone sword to player
        give 1 golden apple to player
command /tank:
    description: Tank kitini almayi saglar |KitPVP|
    permission: kitpvp.tank
    trigger:
        send "&9[&4KitPVP&9] &bTank &2kitini sectiniz." to player
        equip player with iron helmet
        equip player with iron chestplate
        equip player with iron leggings
        equip player with iron boots
        give 1 iron sword to player
        give 2 golden apple to player
 

GodofMilker

Nether Yerlisi
Mesajlar
2,196
En iyi cevaplar
0
Beğeniler
2,562
Puanları
6,790
Hocam sizin dediğiniz gibi yaptım ancak hala sorun var.
Kod:
{\rtf1\ansi\ansicpg1254\deff0\deflang1055{\fonttbl{\f0\fnil\fcharset162{\*\fname Arial;}Arial TUR;}}
{\colortbl ;\red0\green0\blue255;}
\viewkind4\uc1\pard\cf1\f0\fs18 5.9.2014 09:21:14 [SEVERE] indentation error: expected 0 spaces, but found 4 spaces (kitpvp.sk, line 13: description: Tank kitini almayi saglar |KitPVP|')\par
5.9.2014 09:21:14 [SEVERE] indentation error: expected 0 spaces, but found 4 spaces (kitpvp.sk, line 14: permission: kitpvp.tank')\par
5.9.2014 09:21:14 [SEVERE] indentation error: expected 0 spaces, but found 4 spaces (kitpvp.sk, line 15: trigger:')\par
5.9.2014 09:21:15 [SEVERE] indentation error: expected 0 spaces, but found 8 spaces (kitpvp.sk, line 16: send "&9[&4KitPVP&9] &bTank &2kitini sectiniz." to player')\par
5.9.2014 09:21:15 [SEVERE] indentation error: expected 0 spaces, but found 8 spaces (kitpvp.sk, line 17: equip player with iron helmet')\par
5.9.2014 09:21:15 [SEVERE] indentation error: expected 0 spaces, but found 8 spaces (kitpvp.sk, line 18: equip player with iron chestplate')\par
5.9.2014 09:21:15 [SEVERE] indentation error: expected 0 spaces, but found 8 spaces (kitpvp.sk, line 19: equip player with iron leggings')\par
5.9.2014 09:21:15 [SEVERE] indentation error: expected 0 spaces, but found 8 spaces (kitpvp.sk, line 20: equip player with iron boots')\par
5.9.2014 09:21:15 [SEVERE] indentation error: expected 0 spaces, but found 8 spaces (kitpvp.sk, line 21: give 1 iron sword to player')\par
5.9.2014 09:21:17 [SEVERE] indentation error: expected 0 spaces, but found 8 spaces (kitpvp.sk, line 22: give 2 golden apple to player')\par
5.9.2014 09:21:35 [SEVERE] invalid line - all code has to be put into triggers (kitpvp.sk, line 12: command /tank')\par
5.9.2014 09:21:38 [INFO] [Skript] Encountered 11 errors while reloading kitpvp.sk!\par
5.9.2014 09:21:41 [WARNING] Can't keep up! Did the system time change, or is the server overloaded? Running 6420ms behind, skipping 128 tick(s)\par
5.9.2014 09:21:57 [INFO] [Skript] Reloading kitpvp.sk...\par
5.9.2014 09:21:57 [SEVERE] indentation error: expected 0 spaces, but found 4 spaces (kitpvp.sk, line 13: description: Tank kitini almayi saglar |KitPVP|')\par
5.9.2014 09:21:57 [SEVERE] indentation error: expected 0 spaces, but found 4 spaces (kitpvp.sk, line 14: permission: kitpvp.tank')\par
5.9.2014 09:21:57 [SEVERE] indentation error: expected 0 spaces, but found 4 spaces (kitpvp.sk, line 15: trigger:')\par
5.9.2014 09:21:57 [SEVERE] indentation error: expected 0 spaces, but found 8 spaces (kitpvp.sk, line 16: send "&9[&4KitPVP&9] &bTank &2kitini sectiniz." to player')\par
5.9.2014 09:21:57 [SEVERE] indentation error: expected 0 spaces, but found 8 spaces (kitpvp.sk, line 17: equip player with iron helmet')\par
5.9.2014 09:21:57 [SEVERE] indentation error: expected 0 spaces, but found 8 spaces (kitpvp.sk, line 18: equip player with iron chestplate')\par
5.9.2014 09:21:57 [SEVERE] indentation error: expected 0 spaces, but found 8 spaces (kitpvp.sk, line 19: equip player with iron leggings')\par
5.9.2014 09:21:57 [SEVERE] indentation error: expected 0 spaces, but found 8 spaces (kitpvp.sk, line 20: equip player with iron boots')\par
5.9.2014 09:21:57 [SEVERE] indentation error: expected 0 spaces, but found 8 spaces (kitpvp.sk, line 21: give 1 iron sword to player')\par
5.9.2014 09:21:57 [SEVERE] indentation error: expected 0 spaces, but found 8 spaces (kitpvp.sk, line 22: give 2 golden apple to player')\par
}
Sorun bu aslında kaydadeğer bir sorun yok ancak nedense kabul etmiyor.
Sorun event'ten sonra : koyulmamasıydı @blackone1991 paylaşmış zaten ^_^
 

Hetanekoq

Kızıltaş Madencisi
Mesajlar
445
En iyi cevaplar
0
Beğeniler
159
Puanları
640
Tek hatam tank tan sonra : koymamam di...
Tank tan sonra : koydum hemen deniyorum hocam[DOUBLEPOST=1409902689,1409901826][/DOUBLEPOST]Hocam çalışıyor ama bi sorum olucak benim nasıl büyülü bir item ekleyebilirim kitlere ve efekt verebilirmiyim birisi kiti seçince hocam
 

ShiodomeMiuna

Nether Yerlisi
Mesajlar
2,351
En iyi cevaplar
11
Beğeniler
1,190
Puanları
3,300
Apply diye bi ozellik vardi.[DOUBLEPOST=1409904156,1409904066][/DOUBLEPOST]Ve essentials varsa konsola give bow %player% infinity:1 yazdirirsan adama infinity 1 yay giser
 

Üst