#Skbee

1 messages ยท Page 1 of 1 (latest)

golden lake
#

SkBee just murdered half of my brain cells

#
    set {_players::*} to (players of bound with id "{@var_prefix}.lobby_create")
    broadcast "&e%{_players::*}%"
    loop {_players::*}:
        broadcast "&c%loop-value%"
        if bound at loop-value is bound with id "test":
            broadcast "1"
#

if i delete the line with condition checking for bound at loop-value, and broadcast "1" then red players are two
no console errors

golden lake
#

.

#

.

#

.

#

Aaaaaand problem with boss bars

    set {{@var_prefix}::remove::bossbar} to bossbar named "{@var_prefix}" with title {@bossbar_title} with color {@bossbar_color} with style {@bossbar_style} with progress 100

    set {_players::*} to (players of bound with id "{@var_prefix}.arena_create")

    broadcast "&b%{_players::*}%"

    set bar title of {{@var_prefix}::remove::bossbar} to {@bossbar_title}
    add {_players::*} to bar players of {{@var_prefix}::remove::bossbar}

    broadcast "&2%bar players of {{@var_prefix}::remove::bossbar}%"
keen compass
#

Skbee

willow sparrow
#

Skbee

golden lake
#
function JPLavaJumpingBoard():
    set {_players::*} to (players of bound with id "test")
    broadcast "&e%{_players::*}%"
    loop {_players::*} where [gamemode of input is adventure]:
        broadcast "&c%loop-value%"
        if bound at loop-value is bound with id "test":
            broadcast "1"

This won't work, even if both players have adventure

#

But if you delete condition with bound it works

#

OR. If you keep the condition with bounds, and delete filters it will work too

muted iron
#

so just to double check, you realized its not an skbee issue and i can close the issue on github?

golden lake
#

I mean it can be still caused by skbee

#

Since any other condition in loop works with the filter

muted iron
#

ok ill leave it open, and when you figure it out let me know ๐Ÿ˜‰
cause as far as i can tell its not an skbee issue

golden lake
#

Well i would like to say it as well

#
function JPLavaJumpingBoard():
    set {_players::*} to (players of bound with id "test")
    broadcast "&e%{_players::*}%"
    loop {_players::*} where [gamemode of input is adventure]:
        broadcast "&c%loop-value%"
        if bound at loop-value is bound with id "test":
            broadcast "1"

This doesn't work ^^^

and this works

function JPLavaJumpingBoard():
    set {_players::*} to (players of bound with id "test")
    broadcast "&e%{_players::*}%"
    loop {_players::*} where [gamemode of input is adventure]:
        broadcast "&c%loop-value%"
        if loop-value has permission "test":
            broadcast "1"
#

Well. I think you are able to reproduce it now? With the filter. But i think it's not necessary to think about fixing. Just mark it as known bug of old version

If all addons i need are ready for 2.7 i don't care about it, and noone else reported it ๐Ÿ˜„

#

Also i can just filter the player before the loop. I will give it more testing(when i will get my braincells)

muted iron
#

i tried ur function, works for me

#

(ignore the blue line i was testing something)

#

oh wait i get an error when using your first function

golden lake
#

On version 2.6.4 ๐Ÿ˜„ 2.7 skript works for me

#

I had some problems(console errors) with addons after updating on 2.7, so i had to delete them from testing server

muted iron
#

ok, this is a skript issue not an skbee issue

#

in the function i did this
broadcast "&c%loop-value% :: %location of loop-value%"

outcome:

golden lake
#

Lol

willow sparrow
#

anyways off topic question but shane why are you calling it an skbee issue and not a skbee issue

golden lake
#

An issue, but "skbee" just jumped in the sentence ๐Ÿ˜„ Like alien

muted iron
#

because "s" sounds like "ess", which in turn you use "an"

willow sparrow
#

what about skript

muted iron
#

"ess kay bee"
"sk-rip-ed"

willow sparrow
#

ah

golden lake
#

So i guess the bossbar issue is caused by skript as well. I'll test it on 2.7 version after i get my mood back

willow sparrow
#

am i weird for spelling skbee like sk bee and not ess kay bee

muted iron
#

you can say it however you wanna say it

willow sparrow
#

i'm lithuanian so sk bee just sounds way easier

fickle flint
#

SlayBee ๐Ÿ’…

past hare
oblique citrus