supermichalpol
Użytkownik-
Ilość zawartości
28 -
Rejestracja
-
Ostatnia wizyta
Informacje
-
Płeć
Mężczyzna
Ostatnie wizyty
909 wyświetleń profilu
Osiągnięcia supermichalpol
Początkujący I (2/13)
0
Reputacja
-
Proszę o zamknięcie tematu
-
OK, problem leżał po stronie pluginu, ale autor naprawił buga. Temat do zamknięcia.
-
supermichalpol zareagował(a) na odpowiedź na pytanie:
Problem z skryptem
-
supermichalpol zareagował(a) na odpowiedź na pytanie:
Problem z skryptem
-
supermichalpol zareagował(a) na odpowiedź na pytanie:
Problem z skryptem
-
supermichalpol zareagował(a) na odpowiedź na pytanie:
Problem z skryptem
-
supermichalpol zareagował(a) na odpowiedź na pytanie:
Problem z skryptem
-
supermichalpol zareagował(a) na odpowiedź na pytanie:
Problem z skryptem
-
supermichalpol zareagował(a) na odpowiedź na pytanie:
Problem z skryptem
-
supermichalpol zareagował(a) na odpowiedź na pytanie:
Problem z skryptem
-
OK zrobiłem taki skrypt: on join:player PremiumStatus is equals to CRACKED: {whitelista::%player%} is not set: kick player due to "Nie masz premium"Ale pokazuje za to error, że mam usunąć dwukropek w 2 linijce: [09:34:44 INFO]: [Skript] Reloading the config and all scripts...[09:34:44 INFO]: Loaded a total of 11504 english aliases[09:34:44 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. (dodajpremium.sk, line 1: on join:')[09:34:44 ERROR]: can't understand this event: 'player PremiumStatus is equals to CRACKED' (dodajpremium.sk, line 2: player PremiumStatus is equals to CRACKED:')[09:34:44 INFO]: Loaded 1 script with a total of 1 trigger and 0 commands in 0 seconds[09:34:44 INFO]: [Skript] Encountered 1 error while reloading the config and all scripts!A jak ten dwukropek w drugiej linijce usunę to pokazują się takie errory: [09:36:15 INFO]: [Skript] Reloading the config and all scripts...[09:36:15 INFO]: Loaded a total of 11504 english aliases[09:36:15 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. (dodajpremium.sk, line 1: on join:')[09:36:15 ERROR]: indentation error: expected 0 tabs, but found 3 spaces (dodajpremium.sk, line 3: {whitelista::%player%} is not set:')[09:36:15 ERROR]: indentation error: expected 0 tabs, but found 6 spaces (dodajpremium.sk, line 4: kick player due to "Nie masz premium"')[09:36:15 ERROR]: invalid line - all code has to be put into triggers (dodajpremium.sk, line 2: player PremiumStatus is equals to CRACKED')[09:36:15 INFO]: Loaded 1 script with a total of 1 trigger and 0 commands in 0 seconds[09:36:15 INFO]: [Skript] Encountered 3 errors while reloading the config and all scripts!
-
ok usunąłem dwukropek w pierwszej linijce i teraz taki error się pokazuje:
-
spróbowałem tego skrytpu co napisałeś to pokazuje się taki błąd:
-
supermichalpol zareagował(a) na odpowiedź na pytanie:
Problem z skryptem
-
Jest mi to bardzo potrzebne. Tylko, że ta whitelista w pluginie robi tak, że WSZYSCY gracze premium mogą wejść, i niektórzy co są na liście i mają no-premium. A ja chce tego użyć na serwerze publicznym, więc wpisywanie ich do whitelisty ręcznie nie wchodzi w grę ;-;
-
Pobrałem najnowszą wersję skript i tego pluginu auto-in. Za to dopiero teraz zauważyłem oto taki fragment ERRORA: [18:51:41 ERROR]: #!#![18:51:41 ERROR]: #!#! [Skript] Severe Error:[18:51:41 ERROR]: #!#! Could not load dodajpremium.sk[18:51:41 ERROR]: #!#![18:51:41 ERROR]: #!#! If you're developing an add-on for Skript this likely means that you have done something wrong.[18:51:41 ERROR]: #!#! If you're a server admin however please go to http://dev.bukkit.org/server-mods/skript/tickets/[18:51:41 ERROR]: #!#! and check whether this error has already been reported.[18:51:41 ERROR]: #!#! If not please create a new ticket with a meaningful title, copy & paste this whole error into it,[18:51:41 ERROR]: #!#! and describe what you did before it happened and/or whatyou think caused the error.[18:51:41 ERROR]: #!#! If you think that it's a trigger that's causing the error please post the trigger as well.[18:51:41 ERROR]: #!#! By following this guide fixing the error should be easy and done fast.[18:51:41 ERROR]: #!#![18:51:41 ERROR]: #!#! Stack trace:[18:51:41 ERROR]: #!#! ch.njol.skript.lang.SkriptParser$MalformedPatternException: Missing closing bracket ')' [pattern: set ((AutoInWhiteListStatus|AutoIn WhiteList Status|AutoIn White List Status) of %offlineplayers/strings%|%offlineplayers/strings% ((AutoInWhiteListStatus|AutoIn WhiteList Status|AutoIn White List Status)) to BLACK_LISTED][18:51:41 ERROR]: #!#! at ch.njol.skript.lang.SkriptParser.nextBracket(SkriptParser.java:730)[18:51:41 ERROR]: #!#! at ch.njol.skript.lang.SkriptParser.parse_i(SkriptParser.java:1068)[18:51:41 ERROR]: #!#! at ch.njol.skript.lang.SkriptParser.parse_i(SkriptParser.java:981)[18:51:41 ERROR]: #!#! at ch.njol.skript.lang.SkriptParser.parse_i(SkriptParser.java:942)[18:51:41 ERROR]: #!#! at ch.njol.skript.lang.SkriptParser.parse_i(SkriptParser.java:942)[18:51:41 ERROR]: #!#! at ch.njol.skript.lang.SkriptParser.parse(SkriptParser.java:209)[18:51:41 ERROR]: #!#! at ch.njol.skript.lang.SkriptParser.parse(SkriptParser.java:164)[18:51:41 ERROR]: #!#! at ch.njol.skript.lang.Statement.parse(Statement.java:42)[18:51:41 ERROR]: #!#! at ch.njol.skript.ScriptLoader.loadItems(ScriptLoader.java:615)[18:51:41 ERROR]: #!#! at ch.njol.skript.command.Commands.loadCommand(Commands.java:449)[18:51:41 ERROR]: #!#! at ch.njol.skript.ScriptLoader.loadScript(ScriptLoader.java:462)[18:51:41 ERROR]: #!#! at ch.njol.skript.ScriptLoader.loadScripts(ScriptLoader.java:239)[18:51:41 ERROR]: #!#! at ch.njol.skript.ScriptLoader.loadScripts(ScriptLoader.java:193)[18:51:41 ERROR]: #!#! at ch.njol.skript.Skript$2.run(Skript.java:378)[18:51:41 ERROR]: #!#! at org.bukkit.craftbukkit.v1_7_R4.scheduler.CraftTask.run(CraftTask.java:71)[18:51:41 ERROR]: #!#! at org.bukkit.craftbukkit.v1_7_R4.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:350)[18:51:41 ERROR]: #!#! at net.minecraft.server.v1_7_R4.MinecraftServer.v(MinecraftServer.java:641)[18:51:41 ERROR]: #!#! at net.minecraft.server.v1_7_R4.DedicatedServer.v(DedicatedServer.java:289)[18:51:41 ERROR]: #!#! at net.minecraft.server.v1_7_R4.MinecraftServer.u(MinecraftServer.java:584)[18:51:41 ERROR]: #!#! at net.minecraft.server.v1_7_R4.MinecraftServer.run(MinecraftServer.java:490)[18:51:41 ERROR]: #!#! at net.minecraft.server.v1_7_R4.ThreadServerApplication.run(SourceFile:628)[18:51:41 ERROR]: #!#![18:51:41 ERROR]: #!#! Version Information:[18:51:41 ERROR]: #!#! Skript: 2.1.2[18:51:41 ERROR]: #!#! Bukkit: 1.7.10-R0.1-SNAPSHOT[18:51:41 ERROR]: #!#! Minecraft: 1.7.10[18:51:41 ERROR]: #!#! Java: 1.7.0_67[18:51:41 ERROR]: #!#![18:51:41 ERROR]: #!#! Running CraftBukkit: false[18:51:41 ERROR]: #!#![18:51:41 ERROR]: #!#! Current node: set AutoInWhiteListStatus of arg to WHITE_LISTED (dodajpremium.sk, line 5)[18:51:41 ERROR]: #!#! Current item: null[18:51:41 ERROR]: #!#![18:51:41 ERROR]: #!#! Thread: Server thread[18:51:41 ERROR]: #!#![18:51:41 ERROR]: #!#! End of Error.[18:51:41 ERROR]: #!#!
-
Zrobiłem tak i nadal nic: I usunąłem zbędne rzeczy i skrypt wygląda tak: command /dodajpremium <offlineplayer>: description: dodanie gracza do listy usage: /dodajpremium <gracz> trigger: set AutoInWhiteListStatus of arg to WHITE_LISTED
-
Próbowałem tak wcześniej i jak to zrobiłem to nie wykrywało skryptu:
-
Nadal pokazuje się error:
-
Witam, otóż próbuje napisać skrypt pod plugin Auto-In wykorzystując jego API. A oto mój skrypt: command /dodajpremium <offlineplayer>: description: dodanie gracza do listy aliases: dp usage: /dodajpremium <gracz> permission: premium.add trigger: set AutoInWhiteListStatus of %offlinePlayer% to WHITE_LISTEDAle pokazuje mi się cały czas error w 7 linijce, i mam pytanie jak to naprawić? Jeden użytkownik napisał, że mam dodać do tego "Add arg to exceptions" ale nie wiem gdzie mam to wstawić. Proszę o szybką pomoc :). Oczywiście za pomoc dam like :D. PS: Proszę oto API pluginu pod skript: [*] # %player% PremiumStatus is [not] equals to (PREMIUM|CRACKED|EXCEPTION|ERROR|NOT_LOGGED_IN) [*] # %player% PremiumStatus is [not] (premium|exception|error|cracked|cracked Exact|Not Logged In|Vaild) [*] # %offlinePlayer% AutoInWhiteListStatus is [not] equals to (BLACK_LISTED|WHITE_LISTED|UNKNOWN|PREMIUM) [*] # %offlinePlayer% AutoInWhiteListStatus is [not] (Joinable|BlackListed|WhiteListed|Unknown|Premium) [*] # %offlinePlayer% has [not] enabled login [*] # %offlinePlayer% is [not] exception [*] # add %offlinePlayer% to exceptions [*] # remove %offlinePlayer% from exceptions [*] # add %offlinePlayer% to enabled logins [*] # remove %offlinePlayer% from enabled logins [*] # set PremiumStatus of %player% to (PREMIUM|CRACKED|EXCEPTION|ERROR|NOT_LOGGED_IN) [*] # set AutoInWhiteListStatus of %offlinePlayer% to (BLACK_LISTED|WHITE_LISTED|UNKNOWN) [*] # remove AutoInWhiteListStatus of %offlinePlayer% [*] # enable AutoIn whitelist [*] # disable AutoIn whitelist [*] # is AutoIn whitelist enabled [*] # force login %player% [*] # force register %offlinePlayer% [*] # force logout %player% [*] # is registered %player% [*] # is logged in %player% [*] # save AutoIn configuration file [*] # reload AutoIn configuration file [*] # on pre force login: [*] # on force login:
-
supermichalpol obserwuje zawartość Problem z skryptem
-
@refesh
-
Proszę niech ktoś mi pomoże :) Dam likea :D
-
hmm coś mi to nie działa, bo jak dodam te "set AutoInWhiteListStatus of %offlinePlayer% to WHITE_LISTED" po "Add arg to exceptions" to pokazuje mi się error. No chyba, że źle zrozumie to jakby ktoś mógł napisać dla mnie ten skript lub mi wytłumaczyć jak napisać ten skript to był bym bardzo wdzięczny :D.
-
Nie, nie oto mi chodziło. Ten plugin ma wbudowane coś takiego, że można dodawać nicki graczy no-premium do whitelisty. I kiedy ją się włączy tą whiteliste to osoby premium mogą wchodzić normalnie, i niektóre osoby no-premium które są na whiteliście. No to wtedy do czego ma służyć te API dla skript o którym autor pisze tutaj: http://bukkit.pl/threads/1-7-0-1-7-10-1-8-auto-in-v1-0-v1-9-beta-api-skript-auto-logowanie-graczy-z-premium-i-wi%C4%99cej.10081/ ? Bo ja nie rozumiem wtedy.
