#So i updated to the newest version of SKbee and all the sudden my scoreboard isnt working.

1 messages · Page 1 of 1 (latest)

drowsy tiger
#

I tried to go through docs and this is what i did and it still didnt fix it.

mint bane
#

send code

delicate smelt
#

line 3 needs quotes

drowsy tiger
#

like skript is so dumb

drowsy tiger
# mint bane send code

on load: set title of player's scoreboard to "Le Title" set line 1 of scoreboard of player to dirt set line 1 of scoreboard of player to "dirt"

this isnt the full skript becuase my other one has like 200 lines of code cuz its animated

delicate smelt
#

there's no player in an on load: event

drowsy tiger
#

so i have to loop all players?

#

id guess

#

but then it sends there is no loop

delicate smelt
#

no, you can use on join:

drowsy tiger
#

but i need it to cycle the colors in the skript

#

is it not possible anymore?

delicate smelt
#

thats still possible

#

you just need to move your code into a new event

drowsy tiger
#

im using every 61 ticks

#

cuz its the perfect timing for the animation

#

but i have to loop all players and i run into the same problem

#

so idk

#

how i would makw it

delicate smelt
#

either every 61 ticks: loop all players: #update scoreboard or on join: #update scoreboard wait 61 ticks

drowsy tiger
#

gg 😭

#

how do i even add that

#

its 122 lines of code

drowsy tiger
delicate smelt
#

why are lines 9 and 10 out of order

#

and if the title is not changing, you dont need to bother setting it in the loop

drowsy tiger
mint bane
#

the timing is gonna be off because you have waits inside the loop

#

it would be easier to do this in a join imo

drowsy tiger
#

you mean i put the whole thing in a function and do a on join: function

#

how do i make it loop forever though?

#

@mint bane

delicate smelt
#

with a while loop

#
  while player is online:
    #do stuff
    wait 61 ticks```
#

since you have waits in the main code, you might not need the wait 61 ticks line unless you need to delay for timing

drowsy tiger
#

right

#

so while the player is online it will constantly do stuff?

mint bane
#

i would opt for while player is connected

#

in case they leave and rejoin within 61 ticks

drowsy tiger
mint bane
#

?

#

it doesn’t check if the player is online while the wait is happening

#

so if they leave an come back within 61 ticks the loop still thinks you are online so it keeps going

#

but you joined again so you started a second loop

#

and then they fight

#

connected fixes that because it won’t be true when you rejoin

#

it’s special to that one time you joined

drowsy tiger
#

yea but how do i make it repeat the loop?

#

@mint bane

mint bane
#

wdym

#

it’s a while loop

#

it repeats while the condition is true

drowsy tiger
#

oh dang i didnt know it works like that

#

alr thanks

#

its still not working

#

it says that it isnt an item type

#

im so done with this

mint bane
#

send code and error

drowsy tiger
mint bane
#

can you send a pic of /sk info

drowsy tiger
#

its weird right? it happened after i updated skbee to newest version

mint bane
#

well yeah

#

the newest version requires skript 2.10+

#

why are you on 2.8

#

you should at least be on 2.9

#

also do you really need skellet query and jade

#

i feel like they don’t add anything useful

drowsy tiger
mint bane
#

well either downgrade skbee or upgrade everything else

#

and either way i would update skript to 2.9

drowsy tiger
#

when i upgrade skript do i have to save all skripts and add them back after? or is there an easier way

mint bane
#

just replace the jar

#

you don’t have to delete the skript folder

drowsy tiger
#

oh okay

delicate smelt
drowsy tiger
#

i did

#

but it didnt fix the problem

#

its so weird

#

i updated the rest of the plugins and now they all load but none of them actually work

hard palm