Çözüldü Sanal Coin Sisteminde Oluşan Hata

Durum
Üzgünüz bu konu cevaplar için kapatılmıştır...

vForGeralt

Koydum Çalışma Masasını
Katılım
27 Haziran 2019
Mesajlar
53
Elmaslar
1
Puan
2.050
Yaş
24
Minecraft
vForGeralt

Discord:

hsynyldrrm

Selamlar. Benim bir serverim var ve bu serverde sanal coin sistemi yapmak istiyorum. Her şey tamam coinler falan geliyor fakat bu coinleri harcayacağımız menüyü açamıyorum. /sk reload coin yaptığım zamanda consolede şöyle bir hata alıyorum:
Kod:
[21:54:28] [Server thread/ERROR]: #!#! [Skript] Severe Error:
[21:54:28] [Server thread/ERROR]: #!#! Could not load coin.sk
[21:54:28] [Server thread/ERROR]: #!#!
[21:54:28] [Server thread/ERROR]: #!#! If you're developing an add-on for Skript this likely means that you have done something wrong.
[21:54:28] [Server thread/ERROR]: #!#! If you're a server admin however please go to https://github.com/bensku/Skript/issues/
[21:54:28] [Server thread/ERROR]: #!#! and check whether this error has already been reported.
[21:54:28] [Server thread/ERROR]: #!#! If not please create a new ticket with a meaningful title, copy & paste this whole error into it (or use paste service),
[21:54:28] [Server thread/ERROR]: #!#! and describe what you did before it happened and/or what you think caused the error.
[21:54:28] [Server thread/ERROR]: #!#! If you think that it's a trigger that's causing the error please post the trigger as well.
[21:54:28] [Server thread/ERROR]: #!#! By following this guide fixing the error should be easy and done fast.
[21:54:28] [Server thread/ERROR]: #!#!
[21:54:28] [Server thread/ERROR]: #!#! Stack trace:
[21:54:28] [Server thread/ERROR]: #!#! ch.njol.skript.SkriptAPIException: No class info found for faction
[21:54:28] [Server thread/ERROR]: #!#!     at ch.njol.skript.registrations.Classes.getClassInfo(Classes.java:264)
[21:54:28] [Server thread/ERROR]: #!#!     at ch.njol.skript.lang.SkriptParser.getExprInfo(SkriptParser.java:1390)
[21:54:28] [Server thread/ERROR]: #!#!     at ch.njol.skript.lang.SkriptParser.parse_i(SkriptParser.java:1111)
[21:54:28] [Server thread/ERROR]: #!#!     at ch.njol.skript.lang.SkriptParser.parse_i(SkriptParser.java:1057)
[21:54:28] [Server thread/ERROR]: #!#!     at ch.njol.skript.lang.SkriptParser.parse_i(SkriptParser.java:1057)
[21:54:28] [Server thread/ERROR]: #!#!     at ch.njol.skript.lang.SkriptParser.parse_i(SkriptParser.java:1123)
[21:54:28] [Server thread/ERROR]: #!#!     at ch.njol.skript.lang.SkriptParser.parse_i(SkriptParser.java:1084)
[21:54:28] [Server thread/ERROR]: #!#!     at ch.njol.skript.lang.SkriptParser.parse_i(SkriptParser.java:1057)
[21:54:28] [Server thread/ERROR]: #!#!     at ch.njol.skript.lang.SkriptParser.parse(SkriptParser.java:221)
[21:54:28] [Server thread/ERROR]: #!#!     at ch.njol.skript.lang.SkriptParser.parse(SkriptParser.java:176)
[21:54:28] [Server thread/ERROR]: #!#!     at ch.njol.skript.lang.Statement.parse(Statement.java:61)
[21:54:28] [Server thread/ERROR]: #!#!     at ch.njol.skript.ScriptLoader.loadItems(ScriptLoader.java:754)
[21:54:28] [Server thread/ERROR]: #!#!     at ch.njol.skript.lang.TriggerSection.<init>(TriggerSection.java:56)
[21:54:28] [Server thread/ERROR]: #!#!     at ch.njol.skript.lang.Conditional.<init>(Conditional.java:46)
[21:54:28] [Server thread/ERROR]: #!#!     at ch.njol.skript.ScriptLoader.loadItems(ScriptLoader.java:840)
[21:54:28] [Server thread/ERROR]: #!#!     at ch.njol.skript.lang.TriggerSection.<init>(TriggerSection.java:56)
[21:54:28] [Server thread/ERROR]: #!#!     at ch.njol.skript.lang.Conditional.<init>(Conditional.java:46)
[21:54:28] [Server thread/ERROR]: #!#!     at ch.njol.skript.ScriptLoader.loadItems(ScriptLoader.java:840)
[21:54:28] [Server thread/ERROR]: #!#!     at ch.njol.skript.command.Commands.loadCommand(Commands.java:467)
[21:54:28] [Server thread/ERROR]: #!#!     at ch.njol.skript.ScriptLoader.loadScript(ScriptLoader.java:472)
[21:54:28] [Server thread/ERROR]: #!#!     at ch.njol.skript.ScriptLoader.loadScripts(ScriptLoader.java:271)
[21:54:28] [Server thread/ERROR]: #!#!     at ch.njol.skript.SkriptCommand.onCommand(SkriptCommand.java:167)
[21:54:28] [Server thread/ERROR]: #!#!     at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44)
[21:54:28] [Server thread/ERROR]: #!#!     at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:141)
[21:54:28] [Server thread/ERROR]: #!#!     at org.bukkit.craftbukkit.v1_8_R1.CraftServer.dispatchCommand(CraftServer.java:646)
[21:54:28] [Server thread/ERROR]: #!#!     at net.minecraft.server.v1_8_R1.PlayerConnection.handleCommand(PlayerConnection.java:1115)
[21:54:28] [Server thread/ERROR]: #!#!     at net.minecraft.server.v1_8_R1.PlayerConnection.a(PlayerConnection.java:950)
[21:54:28] [Server thread/ERROR]: #!#!     at net.minecraft.server.v1_8_R1.PacketPlayInChat.a(PacketPlayInChat.java:26)
[21:54:28] [Server thread/ERROR]: #!#!     at net.minecraft.server.v1_8_R1.PacketPlayInChat.a(PacketPlayInChat.java:53)
[21:54:28] [Server thread/ERROR]: #!#!     at net.minecraft.server.v1_8_R1.PacketHandleTask.run(SourceFile:13)
[21:54:28] [Server thread/ERROR]: #!#!     at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
[21:54:28] [Server thread/ERROR]: #!#!     at java.util.concurrent.FutureTask.run(Unknown Source)
[21:54:28] [Server thread/ERROR]: #!#!     at net.minecraft.server.v1_8_R1.MinecraftServer.z(MinecraftServer.java:696)
[21:54:28] [Server thread/ERROR]: #!#!     at net.minecraft.server.v1_8_R1.DedicatedServer.z(DedicatedServer.java:316)
[21:54:28] [Server thread/ERROR]: #!#!     at net.minecraft.server.v1_8_R1.MinecraftServer.y(MinecraftServer.java:634)
[21:54:28] [Server thread/ERROR]: #!#!     at net.minecraft.server.v1_8_R1.MinecraftServer.run(MinecraftServer.java:537)
[21:54:28] [Server thread/ERROR]: #!#!     at java.lang.Thread.run(Unknown Source)
[21:54:28] [Server thread/ERROR]: #!#!
[21:54:28] [Server thread/ERROR]: #!#! Version Information:
[21:54:28] [Server thread/ERROR]: #!#!   Skript: 2.2-dev25
[21:54:28] [Server thread/ERROR]: #!#!   Bukkit: 1.8-R0.1-SNAPSHOT
[21:54:28] [Server thread/ERROR]: #!#!   Minecraft: 1.8
[21:54:28] [Server thread/ERROR]: #!#!   Java: 1.8.0_191 (Java HotSpot(TM) 64-Bit Server VM 25.191-b12)
[21:54:28] [Server thread/ERROR]: #!#!   OS: Windows Server 2012 R2 amd64 6.3
[21:54:28] [Server thread/ERROR]: #!#!
[21:54:28] [Server thread/ERROR]: #!#! Running CraftBukkit: false
[21:54:28] [Server thread/ERROR]: #!#!
[21:54:28] [Server thread/ERROR]: #!#! Current node: remove 1 {coin.%player%} from player (coin.sk, line 77)
[21:54:28] [Server thread/ERROR]: #!#! Current item: null
[21:54:28] [Server thread/ERROR]: #!#!
[21:54:28] [Server thread/ERROR]: #!#! Thread: Server thread
[21:54:28] [Server thread/ERROR]: #!#!
[21:54:28] [Server thread/ERROR]: #!#! End of Error.
[21:54:28] [Server thread/ERROR]: #!#!
Skript Şu şekilde:
options:

p: &e&lCoin &7>
kiriktasadet: 256
menuIsmi: &6Old&cCoin &dMenüsü

variables:

{coin.%player%} = 0
{kirilankiriktas.%player%} = 0
{oldurulen.%player%} = 0

command /coinver [<offline player>] [<number>]:
trigger:
player has permission "coinver.admin":
arg 1 isn't set:
send "{@p} &c/coinver &7<&3oyuncu&7> &7<&amiktar&7>" to player
stop
arg 2 isn't set:
send "{@p} &c/coinver &7<&3oyuncu&7> &7<&amiktar&7>" to player
stop
arg 1 is set:
add arg 2 to {coin.%arg 1%}
send "{@p} &a%arg 1% &7adlı oyuncuya &e%arg 2% &7coin verdin!" to player
send "{@p} &bYetkililerden birisi sana &e%arg 2% &bcoin verdi!" to arg 1
stop
else:
send "{@p} &cGerekli yetkiye sahip değilsin!" to player

command /coinal [<offline player>] [<number>]:
trigger:
player has permission "coinal.admin":
arg 1 isn't set:
send "{@p} &c/coinal &7<&3oyuncu&7> &7<&amiktar&7>" to player
stop
arg 2 isn't set:
send "{@p} &c/coinal &7<&3oyuncu&7> &7<&amiktar&7>" to player
stop
arg 1 is set:
remove arg 2 from {coin.%arg 1%}
send "{@p} &a%arg 1% &7adlı oyuncudan &e%arg 2% &7coin aldın!" to player
send "{@p} &bYetkililerden birisi senden &e%arg 2% &bcoin aldın!" to arg 1
stop
else:
send "{@p} &cGerekli yetkiye sahip değilsin!" to player

on break of Cobblestone:
add 1 to {kirilankiriktas.%player%}
if {kirilankiriktas.%player%} is greater than or equal to 256:
add 0.5 to {coin.%player%}
set {kirilankiriktas.%player%} to 0
remove {@kiriktasadet} Cobblestone from player
send "{@p} &6256 adet &cKırıktaş &e0.5 &6Old&cCoine Dönüştürüldü!!" to player

on death:
if attacker is a player:
if victim is a player:
add 1 to {oldurulen.%player%}
if {oldurulen.%attacker%} is greater than or equal to 10:
add 1 to {coin.%attacker%}
set {oldurulen.%attacker%} to 0
send "{@p} &610 kişi öldürdüğün için &e1 &6Old&cCoin Kazandın!" to attacker

command /oldcoin:
trigger:
send "&6Old&cCoinin &7&l>> &a%{coin.%player%}%"

command /coinsp:
trigger:
open chest with 1 rows named "{@menuIsmi}" to player
format slot 0 of player with spawner named "&4Zombi SP &8(&a1 Coin&8)" to close then run [make player execute "coinmenu kazma"]

command /cm [<text>]:
trigger:
if arg 1 is "kazma":
if {coin.%player%} is greater than or equal to 1:
remove 1 {coin.%player%} from player
give player to diamond pickaxe
else:
send "&7> &cEnvanterinde yeteri kadar {@coinIsmi} &cbulunmamakta!"

command /coinmenu [<text>]:
trigger:
player has permission "coin.menu":
arg 1 isn't set:
send "{@p} &c/coinmenu &7<&3Almak İstediğin Eşyanın İsmi7> to player
stop
if arg 1 is "diamond":
if {coin.%player%} is greater than or equal to 1
remove 1 {coin.%player%} from player
give player to 64 diamond
else:
send "&7>> &cYeterli Coinin Bulunmamakta!"
 
TuSKe yüklü mü?
 
Craftbukkit kullanıyorsanız Paperclip/Paperspigot ile değiştirin.
 
KONU ÇÖZÜLMÜŞTÜR KİLİTLENEBİLİR
 
Sorunu çözmenize rağmen, başka üyeleri aydınlatmak amacıyla çözümü yazıyorum. Çok eski sürüm skript kullanıyorsunuz (Skript: 2.2-dev25)
son sürüm skripti
Değerli ziyaretçimiz, içeriği görebilmek için şimdi giriş yapın veya kayıt olun.
elde edebilirsiniz.
 
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