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

Konkurs - Kto pierwszy wpisze kod


Gość

Rekomendowane odpowiedzi

Opublikowano

@UP, wlasnie ja probowalem dodac sobie te znaki na chlopski rozum ;d ale zawsze sie skrypt rozwalal ;D mysle ze bede czekal na taka werjse ;d

REAKTYWACJA DREAMSKILL

  • Odpowiedzi 67
  • Dodano
  • Ostatniej odpowiedzi
  • 3 tygodnie później...
  • 2 miesiące temu...
Opublikowano

Witam,mam problem z twoim skryptem Konkurs.Chodzi o to że jeśli gracz wpisuje /kod <treść> nie dostaje nagrody.A jak realoduje skrypt pokazuje się:

post-1059593-0-96677900-1397374924.png

"Bo rocznik to tylko cyfry, a cyfry to nie uczucia."

 

"Nie ważne jak wolno robisz postępy i tak jesteś o krok dalej niż Ci, którzy wciąż siedzą na 

 

dupie i narzekają."

Opublikowano

Wszelkie bugi zostały wyeliminowane!

Zapraszam do używania skryptu :-)


Witam,mam problem z twoim skryptem Konkurs.Chodzi o to że jeśli gracz wpisuje /kod <treść> nie dostaje nagrody.A jak realoduje skrypt pokazuje się:
attachicon.gifBez tytułu.png

  • 3 miesiące temu...
  • 10 miesięcy temu...
Opublikowano

Walić to co ża ruźnica z datą a może ktoś inny to przeczyta co napisałem i napisze taki skrypt może być to inspiracją dla młodych programistów którzy już teraz są uzależnieni od pykania na klawiature ten mały post może wpłynoć na ich całe życie.

3b15e266660738b8gen.png

Opublikowano

Skrypt stary ale ja mam błąd:

[06:53:23] [Server thread/WARN]: [Skript] Possible name conflict of variables {konkurs.znak1} and {konkurs.znak%loop-number%} (there might be more conflicts). (konkurs.sk, line 25: set {konkurs.kod} to "%{konkurs.znak1}%%{konkurs.znak2}%%{konkurs.znak3}%%{konkurs.znak4}%%{konkurs.znak5}%%{konkurs.znak6}%"')
[06:53:23] [Server thread/WARN]: [Skript] Possible name conflict of variables {konkurs.znak2} and {konkurs.znak%loop-number%} (there might be more conflicts). (konkurs.sk, line 25: set {konkurs.kod} to "%{konkurs.znak1}%%{konkurs.znak2}%%{konkurs.znak3}%%{konkurs.znak4}%%{konkurs.znak5}%%{konkurs.znak6}%"')
[06:53:23] [Server thread/WARN]: [Skript] Possible name conflict of variables {konkurs.znak3} and {konkurs.znak%loop-number%} (there might be more conflicts). (konkurs.sk, line 25: set {konkurs.kod} to "%{konkurs.znak1}%%{konkurs.znak2}%%{konkurs.znak3}%%{konkurs.znak4}%%{konkurs.znak5}%%{konkurs.znak6}%"')
[06:53:23] [Server thread/WARN]: [Skript] Possible name conflict of variables {konkurs.znak4} and {konkurs.znak%loop-number%} (there might be more conflicts). (konkurs.sk, line 25: set {konkurs.kod} to "%{konkurs.znak1}%%{konkurs.znak2}%%{konkurs.znak3}%%{konkurs.znak4}%%{konkurs.znak5}%%{konkurs.znak6}%"')
[06:53:23] [Server thread/WARN]: [Skript] Possible name conflict of variables {konkurs.znak5} and {konkurs.znak%loop-number%} (there might be more conflicts). (konkurs.sk, line 25: set {konkurs.kod} to "%{konkurs.znak1}%%{konkurs.znak2}%%{konkurs.znak3}%%{konkurs.znak4}%%{konkurs.znak5}%%{konkurs.znak6}%"')
[06:53:23] [Server thread/WARN]: [Skript] Possible name conflict of variables {konkurs.znak6} and {konkurs.znak%loop-number%} (there might be more conflicts). (konkurs.sk, line 25: set {konkurs.kod} to "%{konkurs.znak1}%%{konkurs.znak2}%%{konkurs.znak3}%%{konkurs.znak4}%%{konkurs.znak5}%%{konkurs.znak6}%"')
[06:53:23] [Server thread/ERROR]: [Skript] '6 golden_apple' is not an entity type (konkurs.sk, line 47: give {@ilosc} {@item} to player')

hex.svg

 PLAYBASE - Nowoczesna lista serwerów gier

Opublikowano

Skrypt stary ale ja mam błąd:

[06:53:23] [Server thread/WARN]: [Skript] Possible name conflict of variables {konkurs.znak1} and {konkurs.znak%loop-number%} (there might be more conflicts). (konkurs.sk, line 25: set {konkurs.kod} to "%{konkurs.znak1}%%{konkurs.znak2}%%{konkurs.znak3}%%{konkurs.znak4}%%{konkurs.znak5}%%{konkurs.znak6}%"')[06:53:23] [Server thread/WARN]: [Skript] Possible name conflict of variables {konkurs.znak2} and {konkurs.znak%loop-number%} (there might be more conflicts). (konkurs.sk, line 25: set {konkurs.kod} to "%{konkurs.znak1}%%{konkurs.znak2}%%{konkurs.znak3}%%{konkurs.znak4}%%{konkurs.znak5}%%{konkurs.znak6}%"')[06:53:23] [Server thread/WARN]: [Skript] Possible name conflict of variables {konkurs.znak3} and {konkurs.znak%loop-number%} (there might be more conflicts). (konkurs.sk, line 25: set {konkurs.kod} to "%{konkurs.znak1}%%{konkurs.znak2}%%{konkurs.znak3}%%{konkurs.znak4}%%{konkurs.znak5}%%{konkurs.znak6}%"')[06:53:23] [Server thread/WARN]: [Skript] Possible name conflict of variables {konkurs.znak4} and {konkurs.znak%loop-number%} (there might be more conflicts). (konkurs.sk, line 25: set {konkurs.kod} to "%{konkurs.znak1}%%{konkurs.znak2}%%{konkurs.znak3}%%{konkurs.znak4}%%{konkurs.znak5}%%{konkurs.znak6}%"')[06:53:23] [Server thread/WARN]: [Skript] Possible name conflict of variables {konkurs.znak5} and {konkurs.znak%loop-number%} (there might be more conflicts). (konkurs.sk, line 25: set {konkurs.kod} to "%{konkurs.znak1}%%{konkurs.znak2}%%{konkurs.znak3}%%{konkurs.znak4}%%{konkurs.znak5}%%{konkurs.znak6}%"')[06:53:23] [Server thread/WARN]: [Skript] Possible name conflict of variables {konkurs.znak6} and {konkurs.znak%loop-number%} (there might be more conflicts). (konkurs.sk, line 25: set {konkurs.kod} to "%{konkurs.znak1}%%{konkurs.znak2}%%{konkurs.znak3}%%{konkurs.znak4}%%{konkurs.znak5}%%{konkurs.znak6}%"')[06:53:23] [Server thread/ERROR]: [Skript] '6 golden_apple' is not an entity type (konkurs.sk, line 47: give {@ilosc} {@item} to player')

Golden apple a nie golden_apple.

Reszta to nie błędy ale informacje.

 

Small update.

Od teraz kod wpisujemy na chacie (bez użycia komendy)

Komenda /topw pokazująca topkę wygranych.

Update zrobiony dawno ale dopiero mi się przypomniało żeby zrobić posta.

Opublikowano

mi nie działa wyskakuje ERror


sk reload all
[21:28:18 INFO]: [Skript] Reloading the config and all scripts...
[21:28:18 ERROR]: '' is not an item type (aliases-english.sk, line 1479: '{default} = #-#')
[21:28:18 INFO]: Loaded a total of 11508 english aliases
[21:28:18 ERROR]: indentation error: expected 1 tab, but found 4 spaces (konkurs.sk, line 85: '{wygrane::%player%} is not set:')
[21:28:18 ERROR]: indentation error: expected 1 tab, but found 8 spaces (konkurs.sk, line 86: 'set {wygrane::%player%} to 0')
[21:28:18 ERROR]: indentation error: expected 1 tab, but found 4 spaces (konkurs.sk, line 87: '{nick::%player%} is not set:')
[21:28:18 ERROR]: indentation error: expected 1 tab, but found 8 spaces (konkurs.sk, line 88: 'set {nick::%player%} to uncolored display name of player')
[21:28:18 WARN]: Possible name conflict of variables {konkurs.znak1} and {konkurs.znak%loop-number%} (there might be more conflicts). (konkurs.sk, line 25: 'set {konkurs.kod} to "%{konkurs.znak1}%%{konkurs.znak2}%%{konkurs.znak3}%%{konkurs.znak4}%%{konkurs.znak5}%%{konkurs.znak6}%"')
[21:28:18 WARN]: Possible name conflict of variables {konkurs.znak1} and {konkurs.znak%loop-number%} (there might be more conflicts). (konkurs.sk, line 25: 'set {konkurs.kod} to "%{konkurs.znak1}%%{konkurs.znak2}%%{konkurs.znak3}%%{konkurs.znak4}%%{konkurs.znak5}%%{konkurs.znak6}%"')
[21:28:18 WARN]: Possible name conflict of variables {konkurs.znak2} and {konkurs.znak%loop-number%} (there might be more conflicts). (konkurs.sk, line 25: 'set {konkurs.kod} to "%{konkurs.znak1}%%{konkurs.znak2}%%{konkurs.znak3}%%{konkurs.znak4}%%{konkurs.znak5}%%{konkurs.znak6}%"')
[21:28:18 WARN]: Possible name conflict of variables {konkurs.znak2} and {konkurs.znak%loop-number%} (there might be more conflicts). (konkurs.sk, line 25: 'set {konkurs.kod} to "%{konkurs.znak1}%%{konkurs.znak2}%%{konkurs.znak3}%%{konkurs.znak4}%%{konkurs.znak5}%%{konkurs.znak6}%"')
[21:28:18 WARN]: Possible name conflict of variables {konkurs.znak3} and {konkurs.znak%loop-number%} (there might be more conflicts). (konkurs.sk, line 25: 'set {konkurs.kod} to "%{konkurs.znak1}%%{konkurs.znak2}%%{konkurs.znak3}%%{konkurs.znak4}%%{konkurs.znak5}%%{konkurs.znak6}%"')
[21:28:18 WARN]: Possible name conflict of variables {konkurs.znak3} and {konkurs.znak%loop-number%} (there might be more conflicts). (konkurs.sk, line 25: 'set {konkurs.kod} to "%{konkurs.znak1}%%{konkurs.znak2}%%{konkurs.znak3}%%{konkurs.znak4}%%{konkurs.znak5}%%{konkurs.znak6}%"')
[21:28:18 WARN]: Possible name conflict of variables {konkurs.znak4} and {konkurs.znak%loop-number%} (there might be more conflicts). (konkurs.sk, line 25: 'set {konkurs.kod} to "%{konkurs.znak1}%%{konkurs.znak2}%%{konkurs.znak3}%%{konkurs.znak4}%%{konkurs.znak5}%%{konkurs.znak6}%"')
[21:28:18 WARN]: Possible name conflict of variables {konkurs.znak4} and {konkurs.znak%loop-number%} (there might be more conflicts). (konkurs.sk, line 25: 'set {konkurs.kod} to "%{konkurs.znak1}%%{konkurs.znak2}%%{konkurs.znak3}%%{konkurs.znak4}%%{konkurs.znak5}%%{konkurs.znak6}%"')
[21:28:18 WARN]: Possible name conflict of variables {konkurs.znak5} and {konkurs.znak%loop-number%} (there might be more conflicts). (konkurs.sk, line 25: 'set {konkurs.kod} to "%{konkurs.znak1}%%{konkurs.znak2}%%{konkurs.znak3}%%{konkurs.znak4}%%{konkurs.znak5}%%{konkurs.znak6}%"')
[21:28:18 WARN]: Possible name conflict of variables {konkurs.znak5} and {konkurs.znak%loop-number%} (there might be more conflicts). (konkurs.sk, line 25: 'set {konkurs.kod} to "%{konkurs.znak1}%%{konkurs.znak2}%%{konkurs.znak3}%%{konkurs.znak4}%%{konkurs.znak5}%%{konkurs.znak6}%"')
[21:28:18 WARN]: Possible name conflict of variables {konkurs.znak6} and {konkurs.znak%loop-number%} (there might be more conflicts). (konkurs.sk, line 25: 'set {konkurs.kod} to "%{konkurs.znak1}%%{konkurs.znak2}%%{konkurs.znak3}%%{konkurs.znak4}%%{konkurs.znak5}%%{konkurs.znak6}%"')
[21:28:18 WARN]: Possible name conflict of variables {konkurs.znak6} and {konkurs.znak%loop-number%} (there might be more conflicts). (konkurs.sk, line 25: 'set {konkurs.kod} to "%{konkurs.znak1}%%{konkurs.znak2}%%{konkurs.znak3}%%{konkurs.znak4}%%{konkurs.znak5}%%{konkurs.znak6}%"')
[21:28:18 WARN]: Possible name conflict of variables {konkurs.znak1} and {konkurs.znak%loop-number%} (there might be more conflicts). (konkurs.sk, line 25: 'set {konkurs.kod} to "%{konkurs.znak1}%%{konkurs.znak2}%%{konkurs.znak3}%%{konkurs.znak4}%%{konkurs.znak5}%%{konkurs.znak6}%"')
[21:28:18 WARN]: Possible name conflict of variables {konkurs.znak1} and {konkurs.znak%loop-number%} (there might be more conflicts). (konkurs.sk, line 25: 'set {konkurs.kod} to "%{konkurs.znak1}%%{konkurs.znak2}%%{konkurs.znak3}%%{konkurs.znak4}%%{konkurs.znak5}%%{konkurs.znak6}%"')
[21:28:18 WARN]: Possible name conflict of variables {konkurs.znak2} and {konkurs.znak%loop-number%} (there might be more conflicts). (konkurs.sk, line 25: 'set {konkurs.kod} to "%{konkurs.znak1}%%{konkurs.znak2}%%{konkurs.znak3}%%{konkurs.znak4}%%{konkurs.znak5}%%{konkurs.znak6}%"')
[21:28:18 WARN]: Possible name conflict of variables {konkurs.znak2} and {konkurs.znak%loop-number%} (there might be more conflicts). (konkurs.sk, line 25: 'set {konkurs.kod} to "%{konkurs.znak1}%%{konkurs.znak2}%%{konkurs.znak3}%%{konkurs.znak4}%%{konkurs.znak5}%%{konkurs.znak6}%"')
[21:28:18 WARN]: Possible name conflict of variables {konkurs.znak3} and {konkurs.znak%loop-number%} (there might be more conflicts). (konkurs.sk, line 25: 'set {konkurs.kod} to "%{konkurs.znak1}%%{konkurs.znak2}%%{konkurs.znak3}%%{konkurs.znak4}%%{konkurs.znak5}%%{konkurs.znak6}%"')
[21:28:18 WARN]: Possible name conflict of variables {konkurs.znak3} and {konkurs.znak%loop-number%} (there might be more conflicts). (konkurs.sk, line 25: 'set {konkurs.kod} to "%{konkurs.znak1}%%{konkurs.znak2}%%{konkurs.znak3}%%{konkurs.znak4}%%{konkurs.znak5}%%{konkurs.znak6}%"')
[21:28:18 WARN]: Possible name conflict of variables {konkurs.znak4} and {konkurs.znak%loop-number%} (there might be more conflicts). (konkurs.sk, line 25: 'set {konkurs.kod} to "%{konkurs.znak1}%%{konkurs.znak2}%%{konkurs.znak3}%%{konkurs.znak4}%%{konkurs.znak5}%%{konkurs.znak6}%"')
[21:28:18 WARN]: Possible name conflict of variables {konkurs.znak4} and {konkurs.znak%loop-number%} (there might be more conflicts). (konkurs.sk, line 25: 'set {konkurs.kod} to "%{konkurs.znak1}%%{konkurs.znak2}%%{konkurs.znak3}%%{konkurs.znak4}%%{konkurs.znak5}%%{konkurs.znak6}%"')
[21:28:18 WARN]: Possible name conflict of variables {konkurs.znak5} and {konkurs.znak%loop-number%} (there might be more conflicts). (konkurs.sk, line 25: 'set {konkurs.kod} to "%{konkurs.znak1}%%{konkurs.znak2}%%{konkurs.znak3}%%{konkurs.znak4}%%{konkurs.znak5}%%{konkurs.znak6}%"')
[21:28:18 WARN]: Possible name conflict of variables {konkurs.znak5} and {konkurs.znak%loop-number%} (there might be more conflicts). (konkurs.sk, line 25: 'set {konkurs.kod} to "%{konkurs.znak1}%%{konkurs.znak2}%%{konkurs.znak3}%%{konkurs.znak4}%%{konkurs.znak5}%%{konkurs.znak6}%"')
[21:28:18 WARN]: Possible name conflict of variables {konkurs.znak6} and {konkurs.znak%loop-number%} (there might be more conflicts). (konkurs.sk, line 25: 'set {konkurs.kod} to "%{konkurs.znak1}%%{konkurs.znak2}%%{konkurs.znak3}%%{konkurs.znak4}%%{konkurs.znak5}%%{konkurs.znak6}%"')
[21:28:18 WARN]: Possible name conflict of variables {konkurs.znak6} and {konkurs.znak%loop-number%} (there might be more conflicts). (konkurs.sk, line 25: 'set {konkurs.kod} to "%{konkurs.znak1}%%{konkurs.znak2}%%{konkurs.znak3}%%{konkurs.znak4}%%{konkurs.znak5}%%{konkurs.znak6}%"')
[21:28:18 WARN]: Possible name conflict of variables {lista::*} and {lista::%loop-index%} (there might be more conflicts). (konkurs.sk, line 57: 'set {_num} to size of {_lista::*}')
[21:28:18 WARN]: Possible name conflict of variables {lista::*} and {lista::%loop-index%} (there might be more conflicts). (konkurs.sk, line 57: 'set {_num} to size of {_lista::*}')
[21:28:18 WARN]: Possible name conflict of variables {lista::*} and {lista::%loop-index%} (there might be more conflicts). (konkurs.sk, line 57: 'set {_num} to size of {_lista::*}')
[21:28:18 WARN]: Possible name conflict of variables {lista::*} and {lista::%loop-index%} (there might be more conflicts). (konkurs.sk, line 57: 'set {_num} to size of {_lista::*}')
mam skript 2.0.2 spigot 1.7.2 R0.4 enderchest edition

 

 

 

@ edit jednak działa tylko się zastanawiam czemu tak błędami sypie ps. czy działa on na wszystkich worldach już ? world , nether , end , dzialki , survival ?

To nie błędy. To ostrzeżenia. Nie zwracaj na nie uwagi. Skrypt powinien działać na wszystkich światach.
Opublikowano

a planujesz zrobić patch by tych ostrzeżeń nie było albo jak skonfigurować sam plugin skript by mi tego nie wyświetlał tylko errory ( zapycha pewnie też konsole przy /reload )

Wyłącz w configu skipta (plugins/skript/confg.sk).

linijka 140:

disable variable conflict warnings: false

zmień na:

disable variable conflict warnings: true
Opublikowano

Powiem dupy nie urywa, ponieważ w necie jest tego w luj więc? jaki tego morał? morał jest taki że to następne polskie gunwo.­

HTBCzoQ.png


Chcesz żebym zobaczył co nabazgrałeś?


dodaj @rzy4y do posta to zobacze :)


if player has name "rzy4y"


Execute command: /Give a like


Opublikowano

Powiem dupy nie urywa, ponieważ w necie jest tego w luj więc? jaki tego morał? morał jest taki że to następne polskie gunwo.­

Kolego, patrzymy na datę, to jest pierwszy skrypt tego typu.

Opublikowano

potwierdzam to jest pierwszy skrypt na losowanie. i nawet jak ich jest więcej to ten ma najskuteczniejsze działanie i rozróżnia duże i małe litery . na internecie nawet jest plugin zamiast skryptu bodajże LOTTERY ale nie da się zmienić napisu

 

ps. masz odemnie 2 plusy , za skrypt i za radę jak wyłączyć alerty :P

 

masz jakieś jeszcze skrypty ?

Wejdź na mój profil i w listę tematów :)

 

Dziękuję ci bardzo za opinię.

  • 2 tygodnie później...
Opublikowano

a jak mieć 2 takie skrypty ? bo zrobiłem sobie drugi taki skrypt i nie działa jak zrobić by się nie gryzły ?

Nie rozumiem pytania.

  • 1 rok później...

Zarchiwizowany

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

×
×
  • Dodaj nową pozycję...