Discuss Scratch

webreserch
Scratcher
1000+ posts

DVM admin bug

Ducks vs. Mucks

go to admin sprite
im trying to let it support more than 1 admin online before breaking

Last edited by webreserch (March 18, 2025 23:54:39)

RokCoder
Scratcher
1000+ posts

DVM admin bug

It looks to me that your code -
  1. checks that it's running in native Scratch (rather than Turbowarp, etc)
  2. checks that the username is within a list of usernames
  3. allows admin who pass the above tests to modify variables which are then stored in a cloud variable.

The problem is that cloud variables haven't worked in Scratch for over three months.

Ironically, that part would work fine in Turbowarp but you'd then have problems with usernames.

There's nothing you can do about this until Scratch cloud variables are fixed.
webreserch
Scratcher
1000+ posts

DVM admin bug

huh, i tried on turbo warp but for some reason the wheather variable
only updates to the server after i change the player collision
try the turbowarp link ill make you an admin and make admins work on turbowarp
ok you should be able to try it and see what im talking about
also youll need to change your username on turbowarp to your scratch username in order for
this to work just in case you didnt know

Last edited by webreserch (March 19, 2025 09:48:20)

RokCoder
Scratcher
1000+ posts

DVM admin bug

Ah, the logic is wrong -

if < not < <(old weather) = (weather)> or <(old player collision) = (player collision)> > > then

Should be -

if < not < <(old weather) = (weather)> and <(old player collision) = (player collision)>> > then

The problem with Turbowarp is that you have to define your username so (a) admins will have to do that for this to work and (b) anyone could pretend to be an admin. Also, the cloud variables aren't permanent. I believe they reset after they're unused for a defined period of time.
webreserch
Scratcher
1000+ posts

DVM admin bug

ohh yea gotcha it was originally using not compiled to make sure no inpersonation but for testing purposes because scratch cloud vars are down i undkd the not compiled thanks!!
webreserch
Scratcher
1000+ posts

DVM admin bug

do you want a place in the credits for admin bug fix?
i'd be more than happy to!
RokCoder
Scratcher
1000+ posts

DVM admin bug

webreserch wrote:

do you want a place in the credits for admin bug fix?
i'd be more than happy to!
I genuinely don't mind either way. Happy to help.
webreserch
Scratcher
1000+ posts

DVM admin bug

i'll put you in it feels right to i just was basiclly
checking if you didnt for some reason
But if you dont mind i will

Powered by DjangoBB