Skocz do zawartości
  • 👋 Witaj na MPCForum!

    Przeglądasz forum jako gość, co oznacza, że wiele świetnych funkcji jest jeszcze przed Tobą! 😎

    • Pełny dostęp do działów i ukrytych treści
    • Możliwość pisania i odpowiadania w tematach
    • System prywatnych wiadomości
    • Zbieranie reputacji i rozwijanie swojego profilu
    • Członkostwo w jednej z największych społeczności graczy

    👉 Dołączenie zajmie Ci mniej niż minutę – a zyskasz znacznie więcej!

    Zarejestruj się teraz

[Problem] Skript na drop i poziomy


Rekomendowane odpowiedzi

Opublikowano

Witam mam problem ze skriptem ponieważ ostatnio dodałem poziomy i punkty .

I tutaj zaczynają się problemy ......

Otóż gdy np. znajdę diaxa to punkty dodaje mi tak jak powinno być ale gdy już mam punkty na kolejny poziom nie pokazuję mi wiadomości że np. Zdobyles 2 lvl Brawo . I nie nabija się też on tak jak powinien .

Oto skript mój na drop: http://pastebin.com/x1dVsmYH

Logi z konsoli:  [17:11:42 INFO]: git-Spigot-1543 (MC: 1.7.9)

[17:11:42 INFO]: 1.7.9-R0.3-SNAPSHOT
[17:11:42 INFO]: Using locale pl_PL
[17:11:43 INFO]: Using locale pl_PL
[17:11:43 INFO]: [Vault][Economy] Essentials Economy hooked.
[17:11:43 INFO]: Essentials: Using PermissionsEx based permissions.
[17:11:43 INFO]: [EssentialsProtect] Enabling EssentialsProtect v2.13.1
[17:11:43 INFO]: [EssentialsSpawn] Enabling EssentialsSpawn v2.13.1
[17:11:43 INFO]: [AZRank] Enabling AZRank v1.3.b4
[17:11:43 INFO]: [AZRank] Found Vault and PermissionsEx and is good to go
[17:11:43 INFO]: [AZRank][Config]option: 'message' is: +player is now a(n) +group for+time
[17:11:43 INFO]: [AZRank][Config]option: 'aWhile' is:a while
[17:11:43 INFO]: [AZRank][Config]option: 'ever' is: ever
[17:11:43 INFO]: [AZRank][Config]option: 'broadcastRankChange' is: true
[17:11:43 INFO]: [AZRank][Config]option: 'allowOpsChanges' is: true
[17:11:43 INFO]: [AZRank][Config]option: 'logEverything' is: false
[17:11:43 INFO]: [AZRank][Config]option: 'checkInterval' is: 10seconds
[17:11:43 INFO]: [AZRank] AZRank v1.3.b4 is now enabled.
[17:11:43 INFO]: [RedLine] Enabling RedLine v1.0
[17:11:43 INFO]: [AuthMe] Enabling AuthMe v3.3.4
[17:11:43 INFO]: [AuthMe] Loading Configuration File...
[17:11:43 WARN]: [AuthMe] Merge new Config Options if needed..
[17:11:43 WARN]: [AuthMe] Please check your config.yml file!
[17:11:43 INFO]: [AuthMe] Set Language: en
[17:11:43 INFO]: [AuthMe] Vault plugin detected, hook with PermissionsEx system
[17:11:43 INFO]: [AuthMe] Hook with Multiverse-Core for SpawnLocations
[17:11:43 INFO]: [AuthMe] Hook with Essentials plugin
[17:11:43 INFO]: [AuthMe] Hook with EssentialsSpawn plugin
[17:11:43 INFO]: [AuthMe] LICENSE : This product includes GeoLite data created by MaxMind, available from http://www.maxmind.com
[17:11:43 INFO]: [AuthMe] Authme 3.3.4 enabled
[17:11:43 INFO]: [EssentialsChat] Enabling EssentialsChat v2.13.1
[17:11:43 INFO]: Server permissions file permissions.yml is empty, ignoring it
[17:11:43 INFO]: CONSOLE: Reload complete.
[17:11:43 INFO]: [HolographicDisplays] Found a new version available: v2.1.9
[17:11:43 INFO]: [HolographicDisplays] Download it on Bukkit Dev:
[17:11:43 INFO]: [HolographicDisplays] dev.bukkit.org/bukkit-plugins/holographic-displays
[17:11:43 INFO]: [skript] Checking for the latest version of Skript...
[17:11:43 ERROR]: [skript] indentation error: expected 16 spaces, but found 12 spaces (Amulety.sk, line 58: give player diamond sword named "&e&oExcalibur"')
[17:11:43 WARN]: [skript] 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. (Amulety.sk, line 57: trigger:')
[17:11:44 INFO]: [skript] You're currently running the latest stable version of Skript.
[17:11:45 WARN]: [skript] Using an ID instead of an alias is discouraged and will likely not be supported in future versions of Skript anymore. Please replace '322:1' with e.g. 'enchanted golden apple'. (BoyFarmer.sk, line 2: register new shaped recipe for obsidian named "&6Boy Farmer" using obsidian, obsidian, obsidian, obsidian, 322:1, obsidian, obsidian, obsidian, obsidian')
[17:11:46 ERROR]: [skript] indentation error: expected 24 spaces, but found 32 spaces (Chat.sk, line 121: set {chat.status} to false')
[17:11:46 ERROR]: [skript] indentation error: expected 24 spaces, but found 32 spaces (Chat.sk, line 122: broadcast "&8» &cCzat zostal wylaczony&8!"')
[17:11:46 ERROR]: [skript] Unexpected entry 'permissions'. Check whether it's spelled correctly or remove it. (Chat.sk, line 3: permissions: clear.chat')
[17:11:46 ERROR]: [skript] 'permission "chat.off" or "chat.admin"' is not an item type (Chat.sk, line 120: if player has permission "chat.off" or "chat.admin"')
[17:11:52 INFO]: [TECZA]Wlaczanie...
[17:11:54 WARN]: [skript] 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. (Drop.sk, line 9: Chat:')
[17:11:54 ERROR]: [skript] 'any block' is not an item type (Drop.sk, line 435: on break of any block:')
[17:11:54 ERROR]: [skript] 'diamond pickaxe or iron pickaxeor none' is not an item type (Drop.sk, line 468: if player is holding {@diamondkilof1} or {@diamondkilof2}or {@diamondkilof3} or {@diamondkilof4} or {@diamondkilof5}:')
[17:11:54 ERROR]: [skript] undefined option {@goldpoints} (Drop.sk, line 491: add {@goldpoints} to {points::%player%}')
[17:11:54 ERROR]: [skript] undefined option {@ironpoints} (Drop.sk, line 501: add {@ironpoints} to {points::%player%}')
[17:11:54 ERROR]: [skript] undefined option {@tntpoints} (Drop.sk, line 511: add {@tntpoints} to {points::%player%}')
[17:11:54 ERROR]: [skript] undefined option {@pearlpoints} (Drop.sk, line 521: add {@pearlpoints} to {points::%player%}')
[17:11:54 ERROR]: [skript] undefined option {@redstonepoints} (Drop.sk, line 531: add {@redstonepoints} to {points::%player%}')
[17:11:54 ERROR]: [skript] undefined option {@tokenpoints} (Drop.sk, line 542: add {@tokenpoints} to {points::%player%}')
[17:11:54 ERROR]: [skript] undefined option {@vipgoldpoints} (Drop.sk, line 581: add {@vipgoldpoints} to {points::%player%}')
[17:11:54 ERROR]: [skript] undefined option {@vipironpoints} (Drop.sk, line 591: add {@vipironpoints} to {points::%player%}')
[17:11:54 ERROR]: [skript] undefined option {@viptntpoints} (Drop.sk, line 601: add {@viptntpoints} to {points::%player%}')
[17:11:54 ERROR]: [skript] undefined option {@vippearlpoints} (Drop.sk, line 611: add {@vippearlpoints} to {points::%player%}')
[17:11:55 ERROR]: [skript] undefined option {@vipredstonepoints} (Drop.sk, line 621: add {@vipredstonepoints} to {points::%player%}')
[17:11:55 ERROR]: [skript] undefined option {@viptokenpoints} (Drop.sk, line 632: add {@viptokenpoints} to {points::%player%}')
[17:11:55 ERROR]: [skript] Unexpected entry 'else'. Check whether it's spelled correctly or remove it. (Drop.sk, line 864: else:')
[17:11:55 ERROR]: [skript] a random number between 5 and 1 of 1-exprerience orb can't be added to a player because the former is neither an item type, an inventory nor an experience point (Drzewo.sk, line 6: give a random number between 5 and 1 of Exp to the player')
[17:11:55 ERROR]: [skript] a random number between 5 and 100 of 1-exprerience orb can't be added to a player because the former is neither an item type, an inventory nor an experience point (Drzewo.sk, line 7: give a random number between 5 and 100 of Xp to the player')
[17:11:56 ERROR]: [skript] indentation error: expected 16 spaces, but found 12 spaces (InfoODrop.sk, line 3: send "&eDROP"')
[17:11:56 ERROR]: [skript] indentation error: expected 16 spaces, but found 12 spaces (InfoODrop.sk, line 4: send "&7Drop Gracza&8: &8/&eDrop Gracz"')
[17:11:56 ERROR]: [skript] indentation error: expected 16 spaces, but found 12 spaces (InfoODrop.sk, line 5: send "&7Drop Vipa&8: &8/&eDrop Vip"')
[17:11:56 ERROR]: [skript] indentation error: expected 16 spaces, but found 12 spaces (InfoODrop.sk, line 6: send "&eDROP"')
[17:11:56 ERROR]: [skript] invalid line - all code has to be put into triggers (Konkurs.sk, line 1: ##########')
[17:11:56 ERROR]: [skript] invalid line - all code has to be put into triggers (Konkurs.sk, line 3: ##########')
[17:11:56 WARN]: [skript] Using an ID instead of an alias is discouraged and will likely not be supported in future versions of Skript anymore. Please replace '322:1' with e.g. 'enchanted golden apple'. (Konkurs.sk, line 49: give {@ilosc} {@item} to player')
[17:11:56 ERROR]: [skript] indentation error: expected 16 spaces, but found '->->________' [-> = tab, _ = space, ? = other whitespace] (Masarnia.sk, line 8: push the player horizontally forward at speed 2')
[17:11:56 ERROR]: [skript] indentation error: expected 16 spaces, but found '->->________' [-> = tab, _ = space, ? = other whitespace] (Masarnia.sk, line 12: push the player horizontally forward at speed 2')
[17:11:56 ERROR]: [skript] 'player' is not a number (Masarnia.sk, line 7: push the player upwards at speed 5')
[17:11:56 ERROR]: [skript] 'player' is not a number (Masarnia.sk, line 11: push the player upwards at speed 5')
[17:11:57 ERROR]: [skript] '"world or world_nether"' is not a world (Skocznia.sk, line 9: player is in world "{@swiat}"')
[17:11:57 ERROR]: [skript] indentation error: expected 8 spaces, but found 2 tabs (Ziemia.sk, line 13: wait 50 second')
[17:11:57 INFO]: [skript] Loaded 32 scripts with a total of 56 triggers and 37 commands in 13.52 seconds
[17:11:57 INFO]: [skript] Finished loading.
[17:11:57 INFO]: ----------------------------------------------------------
[17:11:57 INFO]: [ChestCommands] Could not find a compatible NMS code for this bukkit version. Attributes will show up on items.If you're using a new version, expect an update soon. The plugin will still work.
[17:11:57 INFO]: [ChestCommands] In the menu "CRAFTINGI:" two items have the same position: X=3Y=3
[17:11:57 INFO]: ----------------------------------------------------------
[17:11:57 INFO]: [ChestCommands] Found an update: v3.1(Your version: v2.2.1)
[17:11:57 INFO]: [ChestCommands] Type "/chc update" or download it from:
[17:11:57 INFO]: [ChestCommands] dev.bukkit.org/bukkit-plugins/chest-commands
[17:11:57 INFO]: [AuthMe] kinga160 logged in!
[17:11:57 INFO]: [AuthMe] TomoyaKun logged in!
[17:11:57 INFO]: Piotr2416 lost connection: Disconnected
[17:11:57 INFO]: [-] Piotr2416
[17:11:57 INFO]: [1vs1] ***** 1vs1 Version Checker *****
[17:11:57 WARN]: [1vs1] Newest Build: #211 is out!
[17:11:57 WARN]: [1vs1] Current Build: #199
[17:11:57 WARN]: [1vs1] Use /1vs1 update to update automatically
[17:11:57 INFO]: [1vs1] *********************************
[17:11:57 INFO]: [Vault] Checking for Updates:
[17:11:57 WARN]: [Vault] Stable Version: 1.5.3 is out! You are still running version: 1.2.31
[17:11:57 WARN]: [Vault] Update at: http://dev.bukkit.org/server-mods/vault
[17:11:58 INFO]: [TECZA]Wlaczony pomyslni

 

Proszę o pomoc !

 

GwKVT9z.jpg

Opublikowano

W niektórych linijkach masz za mało spacji! Popraw to :)
Oraz zadam podstawowe pytanie czy posiadasz WildSkript i Skript + ?
 
Np:
[17:11:56 ERROR]: [skript] indentation error: expected 16 spaces, but found 12 spaces (InfoODrop.sk, line 3: send "&eDROP"')
[17:11:56 ERROR]: [skript] indentation error: expected 16 spaces, but found 12 spaces (InfoODrop.sk, line 4: send "&7Drop Gracza&8: &8/&eDrop Gracz"')
[17:11:56 ERROR]: [skript] indentation error: expected 16 spaces, but found 12 spaces (InfoODrop.sk, line 5: send "&7Drop Vipa&8: &8/&eDrop Vip"')
[17:11:56 ERROR]: [skript] indentation error: expected 16 spaces, but found 12 spaces (InfoODrop.sk, line 6: send "&eDROP"')

26_unnamed.png

Opublikowano

Masz niezdefiniowane opcje

i nie dodaje punktów

[17:11:54 ERROR]: [skript] undefined option {@goldpoints} (Drop.sk, line 491: add {@goldpoints} to {points::%player%}')
[17:11:54 ERROR]: [skript] undefined option {@ironpoints} (Drop.sk, line 501: add {@ironpoints} to {points::%player%}')
[17:11:54 ERROR]: [skript] undefined option {@tntpoints} (Drop.sk, line 511: add {@tntpoints} to {points::%player%}')
[17:11:54 ERROR]: [skript] undefined option {@pearlpoints} (Drop.sk, line 521: add {@pearlpoints} to {points::%player%}')
[17:11:54 ERROR]: [skript] undefined option {@redstonepoints} (Drop.sk, line 531: add {@redstonepoints} to {points::%player%}')
[17:11:54 ERROR]: [skript] undefined option {@tokenpoints} (Drop.sk, line 542: add {@tokenpoints} to {points::%player%}')
[17:11:54 ERROR]: [skript] undefined option {@vipgoldpoints} (Drop.sk, line 581: add {@vipgoldpoints} to {points::%player%}')
[17:11:54 ERROR]: [skript] undefined option {@vipironpoints} (Drop.sk, line 591: add {@vipironpoints} to {points::%player%}')
[17:11:54 ERROR]: [skript] undefined option {@viptntpoints} (Drop.sk, line 601: add {@viptntpoints} to {points::%player%}')
[17:11:54 ERROR]: [skript] undefined option {@vippearlpoints} (Drop.sk, line 611: add {@vippearlpoints} to {points::%player%}')
[17:11:55 ERROR]: [skript] undefined option {@vipredstonepoints} (Drop.sk, line 621: add {@vipredstonepoints} to {points::%player%}')

[17:11:55 ERROR]: [skript] undefined option {@viptokenpoints} (Drop.sk, line 632: add {@viptokenpoints} to {points::%player%}'

Jeśli pomogłem daj lajka!

Zarchiwizowany

Ten temat przebywa obecnie w archiwum. Dodawanie nowych odpowiedzi zostało zablokowane.

×
×
  • Dodaj nową pozycję...