Aller au contenu

Question

Posté(e)

Version de Minecraft : 1.8.8
Version de Skript : 2.2-Fixes-V9b

Addons utilisés: SkRayFall, TusKe, WildSkript, SkQuery

Description du script :

Bonjour, j'ai commencé a créer un ScoreBoard pour mon serveur RPG, mais il m''y affiche des erreurs que je n'arrive pas a trouver... 
Ce qui est bizarre, c'est que les 3 première lignes de mon scoreboard s'affiche mais pas les autres.
Merci a vous pour votre aide !

Les erreurs:
 

> [05:01:34 ERROR]: [Skript] Can't understand this condition/effect: wipe {_p}'s to sidebar (sb.sk, line 3: wipe {_p}'s to sidebar')
> [05:01:35 ERROR]: [Skript] Can't understand this condition/effect: set score " &e» &fClasse: &7Chasseur" to sidebar of {_p} to 8 (sb.sk, line 9: set score " &e» &fClasse: &7Chasseur" to sidebar of {_p} to 8')
> [05:01:35 ERROR]: [Skript] Can't understand this condition/effect: set score " &e» &fGuilde: &&c✘" to sidebar of {_p} to 7 (sb.sk, line 10: set score " &e» &fGuilde: &&c✘" to sidebar of {_p} to 7')
> [05:01:35 ERROR]: [Skript] Can't understand this condition/effect: set score " &e» &Team: &cWathrogs" to sidebar of {_p} to 6 (sb.sk, line 11: set score " &e» &Team: &cWathrogs" to sidebar of {_p} to 6')
> [05:01:35 ERROR]: [Skript] Can't understand this condition/effect: set score " &e» &fMana: &d50/50" to sidebar of {_p} to 5 (sb.sk, line 12: set score " &e» &fMana: &d50/50" to sidebar of {_p} to 5')
> [05:01:35 ERROR]: [Skript] Can't understand this condition/effect: set score " &e» &fStamina: &a10/10" to sidebar of {_p} to 4 (sb.sk, line 13: set score " &e» &fStamina: &a10/10" to sidebar of {_p} to 4')
> [05:01:35 ERROR]: [Skript] Can't understand this condition/effect: set score "&8Connectés: &7%amount of player%" to sidebar of {_p} to 2 (sb.sk, line 15: set score "&8Connectés: &7%amount of player%" to sidebar of {_p} to 2')
> [05:01:35 ERROR]: [Skript] Invalid use of quotes ("). If you want to use quotes in "quoted text", double them: "". (sb.sk, line 17: set id based score "&6play.zeranium.fr" in sidebar of {_p} to 0 with id "Ip.%{_p}%')
> [05:01:35 ERROR]: [Skript] The function 'Ip' does not exist (sb.sk, line 19: Ip(player)')

 



Code:

on join:
    set {_p} to player
    wipe {_p}'s to sidebar
    set name of sidebar of {_p} to "  &6&lZeranium  "
    set score "&a            " in sidebar of {_p} to 12
    set score "&eProfil:" in sidebar of {_p} to 11
    set score " &e» &fGrade: &7Adventurer" in sidebar of {_p} to 10
    set score " &e» &fGemmes: &70" in sidebar of {_p} to 9
    set score " &e» &fClasse: &7Chasseur" to sidebar of {_p} to 8
    set score " &e» &fGuilde: &&c✘" to sidebar of {_p} to 7
    set score " &e» &Team: &cWathrogs" to sidebar of {_p} to 6
    set score " &e» &fMana: &d50/50" to sidebar of {_p} to 5
    set score " &e» &fStamina: &a10/10" to sidebar of {_p} to 4
    set score "&a            " in sidebar of {_p} to 3
    set score "&8Connectés: &7%amount of player%" to sidebar of {_p} to 2
    set score "&a            " in sidebar of {_p} to 1
    set id based score  "&6play.zeranium.fr" in sidebar of {_p} to 0 with id "Ip.%{_p}%
    wait 1 second
    Ip(player)

function Ip(p: player):
    while {_p} is online:
        wait 1 second
        if {_p} is online:
            edit score id "Ip.%{_p}%" to "&6play.zeranium.fr" and 0
            wait 2 tick
        else:
            stop
        if {_p} is online:
            edit score id "Ip.%{_p}%" to "&ep&6lay.zeranium.fr" and 0
            wait 2 tick
        else:
            stop
        if {_p} is online:
            edit score id "Ip.%{_p}%" to "&fp&e&6lay.zeranium.fr" and 0
            wait 2 tick
        else:
            stop
        if {_p} is online:
            edit score id "Ip.%{_p}%" to "&ep&fl&e&6ay.zeranium.fr" and 0
            wait 2 tick
        else:
            stop
        if {_p} is online:
            edit score id "Ip.%{_p}%" to "&6p&el&fa&ey&6.zeranium.fr" and 0
            wait 2 tick
        else:
            stop
        if {_p} is online:
            edit score id "Ip.%{_p}%" to "&6pl&ea&fy&e.&6zeranium.fr" and 0
            wait 2 tick
        else:
            stop
        if {_p} is online:
            edit score id "Ip.%{_p}%" to "&6pla&ey&f.&ez&6eranium.fr" and 0
            wait 2 tick
        else:
            stop
        if {_p} is online:
            edit score id "Ip.%{_p}%" to "&6play&e.&fz&ee&6ranium.fr" and 0
            wait 2 tick
        else:
            stop
        if {_p} is online:
            edit score id "Ip.%{_p}%" to "&6play.&ez&fe&er&6anium.fr" and 0
            wait 2 tick
        else:
            stop
        if {_p} is online:
            edit score id "Ip.%{_p}%" to "&6play.z&ee&fr&ea&6nium.fr" and 0
            wait 2 tick
        else:
            stop
        if {_p} is online:
            edit score id "Ip.%{_p}%" to "&6play.ze&er&fa&en&6ium.fr" and 0
            wait 2 tick
        else:
            stop
        if {_p} is online:
            edit score id "Ip.%{_p}%" to "&6play.zer&ea&fn&ei&6um.fr" and 0
            wait 2 tick
        else:
            stop
        if {_p} is online:
            edit score id "Ip.%{_p}%" to "&6play.zera&en&fi&eu&6m.fr" and 0
            wait 2 tick
        else:
            stop
        if {_p} is online:
            edit score id "Ip.%{_p}%" to "&6play.zeran&ei&fu&em&6.fr" and 0
            wait 2 tick
        else:
            stop
        if {_p} is online:
            edit score id "Ip.%{_p}%" to "&6play.zerani&eu&fm&e.&6fr" and 0
            wait 2 tick
        else:
            stop
        if {_p} is online:
            edit score id "Ip.%{_p}%" to "&6play.zeraniu&em&f.&ef&6r" and 0
            wait 2 tick
        else:
            stop
        if {_p} is online:
            edit score id "Ip.%{_p}%" to "&6play.zeranium&e.&ff&er" and 0
            wait 2 tick
        else:
            stop
        if {_p} is online:
            edit score id "Ip.%{_p}%" to "&6play.zeranium.&ef&fr" and 0
            wait 2 tick
        else:
            stop
        if {_p} is online:
            edit score id "Ip.%{_p}%" to "&6play.zeranium.f&er" and 0
            wait 2 tick
        else:
            stop
        if {_p} is online:
            edit score id "Ip.%{_p}%" to "&6play.zeranium.fr" and 0
        else:
            stop
            

sbp1.png

4 réponses à cette question

Messages recommandés

  • 0
Posté(e)

C'est "in sidebar of player", et pas "to sidebar"

  • 0
Posté(e)
il y a une heure, KneaXy a dit :

C'est "in sidebar of player", et pas "to sidebar"

Merci, mais je viens d'essayer, mais pas tout ne marche, voila les erreurs:

 

Can't understand this condition/effect: wipe {_p}'s to sidebar  (sb.sk, line 3: wipe {_p}'s to sidebar')
'the player' can only ever have one valu at most, thus the 'amount of ...' expression is useless. Use '...exist' instead to fing out whether the expression has a value. (sb.sk, line 15: set score "&8Connectés: &7%amount of player%" in sidebar of {_p} to 2')
Invalid use of quotes ("). If you want to use quotes in "quoted text", double them "". (sb.sk, line 17: set id based score "&6play.zeranium.fr" in sidebar of {_p} to 0 with "Ip%{_p}%')
The function 'Ip' does not exist 'sb.sk, line 19: Ip(player)')

 

  • 0
Posté(e) (modifié)
il y a 1 minute, Choukrouteuuh__ a dit :

Merci, mais je viens d'essayer, mais pas tout ne marche, voila les erreurs:

 


Can't understand this condition/effect: wipe {_p}'s to sidebar  (sb.sk, line 3: wipe {_p}'s to sidebar')
'the player' can only ever have one valu at most, thus the 'amount of ...' expression is useless. Use '...exist' instead to fing out whether the expression has a value. (sb.sk, line 15: set score "&8Connectés: &7%amount of player%" in sidebar of {_p} to 2')
Invalid use of quotes ("). If you want to use quotes in "quoted text", double them "". (sb.sk, line 17: set id based score "&6play.zeranium.fr" in sidebar of {_p} to 0 with "Ip%{_p}%')
The function 'Ip' does not exist 'sb.sk, line 19: Ip(player)')

 

wipe {_p}'s sidebar

Pourquoi tu mets des "to" partout ? Y'en a nulle part
Et pour les 2 autres erreurs, lis et tu comprendras

Modifié par Invité
Invité
Ce sujet ne peut plus recevoir de nouvelles réponses.
×
×
  • Créer...

Information importante

Nous avons placé des cookies sur votre appareil pour aider à améliorer ce site. Vous pouvez choisir d’ajuster vos paramètres de cookie, sinon nous supposerons que vous êtes d’accord pour continuer.