Skript

Skript

743k Downloads

Messages sent in wrong order

m-surowiec opened this issue · 1 comments

commented

Skript/Server Version

[19:07:54 INFO]: [Skript] Skript's aliases can be found here: https://github.com/SkriptLang/skript-aliases
[19:07:54 INFO]: [Skript] Skript's documentation can be found here: https://docs.skriptlang.org/
[19:07:54 INFO]: [Skript] Skript's tutorials can be found here: https://docs.skriptlang.org/tutorials
[19:07:54 INFO]: [Skript] Server Version: git-Paper-496 (MC: 1.20.4)
[19:07:54 INFO]: [Skript] Skript Version: 2.8.0 (skriptlang-github)
[19:07:54 INFO]: [Skript] Installed Skript Addons: 
[19:07:54 INFO]: [Skript]  - skript-placeholders v1.5.2 (https://github.com/APickledWalrus/skript-placeholders)
[19:07:54 INFO]: [Skript]  - Skellett v2.0.9 (https://forums.skunity.com/resources/skellett.24/)
[19:07:54 INFO]: [Skript]  - skript-reflect v2.4 (https://github.com/SkriptLang/skript-reflect)
[19:07:54 INFO]: [Skript]  - skRayFall v1.9.28 (https://sk.rayfall.net/)
[19:07:54 INFO]: [Skript]  - SkQuery v4.1.10
[19:07:54 INFO]: [Skript]  - SkBee v3.1.0 (https://github.com/ShaneBeee/SkBee)
[19:07:54 INFO]: [Skript] Installed dependencies: 
[19:07:54 INFO]: [Skript]  - Vault v1.7.3-b131
[19:07:54 INFO]: [Skript]  - WorldGuard v7.0.9+5934e49

Bug Description

The code responsible for sending the message components is inconsistent, sometimes causing the elements to be sent in the wrong order. This results in a broken message where parts of the text are displayed out of order.
This happens at random and I can't really tell why

command /k [<string>]:
    aliases: komendy
    trigger:
        send "&8&m----------------&8 [ <##00c596>&lK<##01c996>&lo<##03cd97>&lm<##04d197>&le<##06d698>&ln<##07da98>&ld<##09de99>&ly <##0ae299>&lS<##0be699>&lu<##0dea9a>&lr<##0eee9a>&lv<##10f39b>&li<##11f79b>&lv<##13fb9c>&la<##14ff9c>&ll &8] &8&m----------------"
        send ""
        send "   &8• <##14ff9c><tooltip:&8» &fKliknij aby użyć komendy><run command:/pomoc>/pomoc <reset>&8- &7Panel serwera, graj bez komend.        <tooltip:&8» &fKliknij aby otworzyć Mapę Serwera><run command:/mapa>&a&l[ MAPA ]<reset>"
        send "   &8• <##00c596><tooltip:&8» &fKliknij aby użyć komendy><run command:/d pomoc>/d pomoc <reset>&8- &7Podstawowe komendy do działkek."
        send "                                                                    &b&l<tooltip:&8» &fKliknij aby wygenerować Kanał Głosowy><run command:/audio>[ VC ] <reset>" 
        send "                          &7&l⇩ MOŻNA KLIKNĄĆ ⇩"
        send "    <##9dda67><tooltip:&8» &fKliknij aby użyć komendy><run command:/zarobek pomoc>/zarobek pomoc <reset>&8- <##5dec93><tooltip:&8» &fKliknij aby użyć komendy><run command:/codzienne pomoc>/codzienne pomoc<reset> &8- <##33bcbd><tooltip:&8» &fKliknij aby użyć komendy><run command:/magazyny pomoc><##33bcbd>/<##32b5c2>m<##31aec7>a<##30a8cc>g<##30a1d1>a<##2f9ad6>z<##2e93db>y<##2d8ddf>n<##2c86e4>y <##2b7fe9>p<##2b78ee>o<##2a72f3>m<##296bf8>o<##2864fd>c<reset>"
        send "<##00c596><tooltip:&8» &fKliknij aby użyć komendy><run command:/druzyna pomoc>/druzyna pomoc <reset>&8- <##39e2d3><tooltip:&8» &fKliknij aby użyć komendy><run command:/dodatki pomoc>/dodatki pomoc <reset>&8- <tooltip:&8» &fKliknij aby użyć komendy><run command:/slub pomoc>&a/slub pomoc<reset> &8- &f<tooltip:&8» &fKliknij aby użyć komendy><run command:/inne pomoc>/inne pomoc<reset>"
        send "      <##ff9595><tooltip:&8» &fKliknij aby użyć komendy><run command:/meble pomoc>/meble pomoc<reset>                                  <##00C596><tooltip:&8» &fKliknij aby użyć komendy><run command:/duele pomoc>/duele pomoc<reset>"
        send "&8&m----------------&8 [ <##00c596>&lK<##01c996>&lo<##03cd97>&lm<##04d197>&le<##06d698>&ln<##07da98>&ld<##09de99>&ly <##0ae299>&lS<##0be699>&lu<##0dea9a>&lr<##0eee9a>&lv<##10f39b>&li<##11f79b>&lv<##13fb9c>&la<##14ff9c>&ll &8] &8&m----------------"

Expected Behavior

The message should be sent like written in the code

Steps to Reproduce

Can't really tell, it happens every once in a while and in every script, doesn't matter what it contains

Errors or Screenshots

image
image

Other

No response

Agreement

  • I have read the guidelines above and affirm I am following them with this report.
commented

Does your server have any other plugins that deal with chat messages?

Additionally, does this keep happening if you use 2.8.6 with no addons?