#plugins-dev-chat

1 messages · Page 138 of 1

pulsar locust
#

This is also just to remind me of what I need to do for it

#

And they broke the embed again

celest thorn
#

nah i just write shitty comments or else just info

#

just on really complicated logic

teal junco
#

or did i misread you

teal junco
pulsar locust
# teal junco or did i misread you

hackclub is focused on open source projects, a concise readme is a massive requirement considering other people might use it
The implementation details are just there to remind myself mostly
And also readme padding

grand flower
#

unless your comments are "add a and b" or "water is wet" it's fine

pulsar locust
grand flower
#

i'd rather tell someone to comment a tiny bit less over telling them they need to add a ton of comments everywhere

teal junco
#

ive also never had incentive to document any of my code because most of it lies in that zone where i can personally understand it by looking

pulsar locust
#

Oh also I still need to add the GPLv3 license, right now it's ARR since I forgot to add a license

teal junco
#

but i still add xml to my classes most of the time

teal junco
restive turret
dire iron
#

I may be stupid,but I cant figure it out

teal junco
#

and if i ever do collab i want to do it with a programmer to which i am on equal footing to prevent any dynamics or complexes from forming

restive turret
#

Make sure you are IClonable

pulsar locust
restive turret
pulsar locust
#

And also I'd like to clarify because of how wakatime works, it only tracks time as you are actively typing

#

Not just for having the project open

teal junco
restive turret
teal junco
#

i dont have that many programmer friends though

pulsar locust
pulsar locust
restive turret
#

Bruh

teal junco
grand flower
#

the only thing I track is work hours i don't need a reminder of how much time programming takes in my life heh

restive turret
#

I just know "oh im shaking, time to eat" "oh im shaking again time to eat again, must be more than 3 hour"

teal junco
#

well i do have friends who are programmers but im just not amazingly close with any of them

teal junco
#

and my main friend group totally do not know how to code

restive turret
#

I know the current time by how hungry I am

celest thorn
pulsar locust
grand flower
#

My closest friend group is mostly devs I've worked with at different studios

teal junco
#

so im basically alone, i cannot scream about plugin bullshit to them and have them understand what im feeling. very sad, very emo.

grand flower
#

one of which was my lead for a while heh

#

we stuck together at 3 different jobs

#

until we finally had to split

restive turret
#

That's funny

grand flower
#

yeah

#

love them

teal junco
pulsar locust
# pulsar locust

Also placeholder ahh name
It's just the best name I've come up with

#

I need to start working on the auth and first setup stuff again soon

restive turret
icy knoll
# pulsar locust

ive gone back to vsc from webstorm because webstorm is so slow with imports and typescript it's so bad 😭

pulsar locust
#

But I have used webstorm a lot so it's gonna stay as my top editor for a while

#

Also fun fact about the session code for my project
I pulled a laravel

#

logged in or not, you will have a session

#

Just no associated user

teal junco
#

so I dont know if he could handle that

#

anyways he was very sad about being left out and pestered the owner to bring him on as an MER dev even though he knew nothing about it

pulsar locust
#

I have 20h in zed, 22h in webstorm

teal junco
pulsar locust
#

Anyway, this is Godot stuff but who can guess why I had to nest 2 array constructors

restive turret
teal junco
#

my editor is just VS

#

its a very happy life.

restive turret
#

VScode is for file diffs

teal junco
#

No it is kind of sad

restive turret
#

And project with just text files

#

Like the yaml custom roles

#

Or plugin config edit

#

Notepad just to see "fast" whats inside

pulsar locust
#

I'd rather use npp over notepad

teal junco
#

npp is giga fire

restive turret
#

I use notepad for doing fast things

teal junco
#

i mean npp has ++ in the name its gotta be objectively better

restive turret
pulsar locust
#

Notepad++ is built to be fast too

#

It uses pure win32 apis

#

Which is why it's not officially ported to other platforms

upper vapor
icy knoll
upper vapor
#

idk either tbh

pulsar locust
teal junco
#

Its a hard line

#

i will tell you thar

pulsar locust
#

Nvm

#

I do think that comment is real but I don't know where it comes from

wanton turtle
#

it's from the uh

#

you know

teal junco
#

no we dont

wanton turtle
#

errmmmm

#

y'knowww

restive turret
#

nah

wanton turtle
#

Decomposes you

restive turret
#

D:

frail zinc
upper vapor
#

The post is not peak

#

Hubert's comment is

pallid galleon
#

Is there a way to stop bullets from colliding with a trigger?

pallid galleon
static meteor
pallid galleon
#

ty!

wary swift
#

does anyone know prefab tantrum?

restive turret
#

Personally or?

hearty shard
restive turret
#

I'm sorry

#

Will do worst next time

static meteor
# wary swift does anyone know prefab tantrum?

I think this would work


TantrumEnvironmentalHazard tantrum = UnityEngine.Object.Instantiate(new TantrumEnvironmentalHazard());
tantrum.SynchronizedPosition = new RelativePosition(targetPosition);

NetworkServer.Spawn(tantrum.gameObject);
wary swift
#

Ty

#

I find it on discord exiled

hearty shard
#

why are we not grabbing the prefab

#

yea like

#

thats not gonna work

#

@wary swift

#

you need the prefab not new()

#

NetworkClient.prefabs

viral root
#

Is there a way to remove the laser beam from the micro hid?

cyan crown
#

i don't think so

worn gull
#

If I shoot a gun how can I make it silent?

cyan crown
#

ragdolls😼

restive turret
#

Press K to instantly die

static meteor
#

Client side

dire iron
#

I try running a test server for my plugins but this keeps showing up

royal mica
#

you need to add those DLLs to the dependencies folder

#

Though why do you have Web included?!

#

and MVC

#

are you hosting a website in PluginAPI?!

#

I heavily advise against doing that

glad pagoda
royal mica
#

WHAT

#

ok now I want to make one

#

you literally receive an email in game

#

as an object

#

that pops up like the images

dire iron
#

Bruh i got 0 idea what I am doing at this point lmao

dire iron
#

You.

hearty shard
#

not me

#

im not here

royal mica
dire iron
#

No idea,and idk how to get rid of them

hearty shard
icy knoll
dire iron
#

How

dire iron
royal mica
#

Are you using Rider?

#

IF so, don't cause you are clearly using it

dire iron
royal mica
#

The main question why are you importing that

dire iron
#

Idk.

#

I'm new to this

royal mica
#

No worries, we'll walk through

#

can you put a // at the start of it

#

so there'll be errors where it is used

#

don't auto fix it

#

so we can see why it used

#

and then can you send the code part that is using it

dire iron
royal mica
#

Were this project autogenerated?

dire iron
#

yes i think

royal mica
#

Cause that is for a web application

#

you do not need any of them

#

You mustn't have any of those, rather

dire iron
#

do i try it now?

#

now its only 3 instead of 4

royal mica
#

Yup, you need to remove those

dire iron
#

where would i find them

#

is this one?

obtuse spruce
#

Is this a ragebait ?

dire iron
obtuse spruce
#

ASP.SCPSL

dire iron
#

I got one last question.

#

Where do i find the file System_Admin

icy knoll
#

what

static meteor
dire iron
#

Give myself admin in my own server lmao.

static meteor
#

Set the usergroup?

#

or in config_remoteadmin.txt

 - STEAM64ID or Discord ID: owner
static meteor
warped prairie
#

When trying to set player.ReferenceHub.serverRoles.Network_myText for their badge, Whats the character limit on that? if you try to put in a tag over that limit will it break and default to null?

worthy rune
#

i dont think theres a limit placed by SL, but there could be a limit by mirror(which should be pretty large)

upper vapor
# dire iron

idk how you got this, but use the class library template when creating a plugin
it's also recommended to choose the .NET 8 or .NET 9 SDK, then edit the csproj to have <TargetFramework>net48</TargetFramework> instead of what you chose

upper vapor
dire iron
#

I deleted alot of things

upper vapor
#

yeah you're not supposed to do razor pages in SL 😭

dire iron
#

Still trying to find that damn remoteadmin file

dire iron
#

I really am blind. Thx.

upper vapor
#

np

slender depot
#

Is there a way to give player infinite stamina without harmony patching?

upper vapor
#

so the answer is no

hearty shard
#

no patch required

upper vapor
#

huh

hearty shard
celest thorn
#

just add it to the player prefab :3

#

when the scene loads obv

upper vapor
#

right but what do you do with index syncing

hearty shard
celest thorn
hearty shard
#

Client doesnt give one fuck

#

if its out of range

#

Not sure why it doesnt care but yk

#

I'll take it

celest thorn
#

if it didn't

#

we couldn't do custom effects

fresh zenith
#

hey uh how can i restart the server (not the round)?

celest thorn
#

sr

fresh zenith
#

(i mean via LabAPI)

celest thorn
#

Server.Restart()

fresh zenith
#

i tried. it said: No.

celest thorn
#

can you show code?

fresh zenith
#

yea ofc

upper vapor
#

async...

celest thorn
#

oh my god....

#

async

#

Use MEC

#

Timings

#

please...

upper vapor
#

Timing.CallDelayed(5, Server.Restart)

fresh zenith
#

its not optimized its just a proof of concept-

celest thorn
upper vapor
celest thorn
fresh zenith
celest thorn
#

everytime you do a task you are just throwing knives at unity

celest thorn
#

none does

#

but this is how it works

fresh zenith
upper vapor
#

assembly-csharp-firstpass

celest thorn
#

section

upper vapor
#

can we remove MEC and just use awaitables

#

:3

celest thorn
#

can we just make SL in Mono directly

#

without using unity

upper vapor
#

not in mono

#

😭

fresh zenith
#

make SL in assembly Trolley

celest thorn
fresh zenith
#

does anyone want to make an SCP:SL but in assembly project? Trolley

#

Assembly:SL

upper vapor
#

@cyan crown better start porting toomuchtrolling

unique crane
#

biggest waste of time

celest thorn
unique crane
#

wdym

upper vapor
celest thorn
unique crane
#

what

celest thorn
#

wait better her original video

celest thorn
upper vapor
#

real

#

hey

#

await doesn't scare Unity

hearty shard
upper vapor
#

the ThreadPool-based task scheduler does

celest thorn
#

please guys who i need to pay to port sl into guts bacteria?

celest thorn
#

task

upper vapor
royal mica
hearty shard
celest thorn
royal mica
#

Mirror bullshit

hearty shard
fresh zenith
royal mica
upper vapor
hearty shard
#

it shouldnt?

royal mica
#

Yes, that is exactly what happened

#

For me also

#

when that happens, the server completly breaks, all commands return "You are not connected to a server"

#

as if the RA and other shit are executed by the server player

hearty shard
#

its telling the server that it IS a server

#

and isnt a client

royal mica
#

Yes but that still fully break when the player is killed

hearty shard
royal mica
#

If you force disconnect the server player, everything responds with you are not conneted to the server

hearty shard
royal mica
#

Client do not receive the data

hearty shard
#

im trying to see where false is set

upper vapor
#

look at usages of active

#

🤯

hearty shard
#

on Shutdown its called

hearty shard
#

theres a lot more than u think

upper vapor
#

filter setter

#

click the green arrow thingy in rider and deactivate it (getter)

hearty shard
#

anyway

hearty shard
#

instead of clicking on active then filtering

#

its set to false on application quit

upper vapor
#

yeah you can do that too

#

well

#

time to dive deeper into shutdown

hearty shard
royal mica
upper vapor
#

your sl clone to assembly

cyan crown
#

man i'm not as good as some other programmers here i'm just a nooby

royal mica
#

that is what everyone tells to themselves

#

it'Ll never stop

warped prairie
cyan crown
#

😼

#

Gate B looks so sigma

celest thorn
upper vapor
royal mica
celest thorn
#

and makes it already better

upper vapor
#

Petition to make the surface chaos Gate openable

celest thorn
upper vapor
#

15.0: the nuke everything update

celest thorn
#

btw should i change my profile for halloween?

upper vapor
celest thorn
#

this is the funniest shit

restive turret
celest thorn
restive turret
#

I don't even know what your profile would be in Halloween

upper vapor
#

Aren't ghosts made out of... ghost?

celest thorn
upper vapor
#

Right

celest thorn
#

that is technically slime

#

so

#

yes

upper vapor
#

What the helly

celest thorn
#

a good question would be can you piss on the moon? not like eggman but just go there and piss?

upper vapor
#

I think @teal junco could answer this toomuchtrolling

upper vapor
#

But it would take longer than on earth

upper vapor
celest thorn
upper vapor
#

Who's gonna do shitting in sl

#

And diarrhea

celest thorn
#

im ok with pissing

upper vapor
#

Pissing is weird

celest thorn
#

but shitting is a little bit too much

icy knoll
celest thorn
upper vapor
#

Then why is shitting weird

celest thorn
icy knoll
celest thorn
#

so no guys no piss on the moon

#

so sad

upper vapor
celest thorn
upper vapor
#

In a spacesuit, possible

celest thorn
upper vapor
#

Uh

#

Idk

#

But don't expose any part of your body to the nothingness of space

#

You'll die xd

celest thorn
#

guys we need to make the big bang again but this time hope that there's atmosphere on the moon so we can piss on the moon

upper vapor
#

Make it in SL

celest thorn
upper vapor
#

Read what you wrote

#

🚽 🚽 🚽 🚽
🧍‍♂️ 🧍‍♂️ 🧍‍♂️ 🧍‍♂️

celest thorn
#

crazy

upper vapor
#

Pissing in assembly

celest thorn
#

i need to save all pics i have for my profile picture

#

so i don't loose them

#

done

upper vapor
#

Insane

celest thorn
#

the pic is really good quality crazy i found it from a twitter called "pyraforever"

upper vapor
true cedar
#

popufur

#

i have not heard that in a while

celest thorn
upper vapor
#

Popular furry

upper vapor
celest thorn
#

Instead of reply

upper vapor
#

XDDDDD

celest thorn
#

I swear it was a mistake, im not a furry you can ask all of my best friend

celest thorn
#

bro i swear if i find you

#

im gonna punch you

unique crane
#

Well at least it wont hurt that much with that your fursuit XDDDD

unique crane
#

Just kidiiiing

celest thorn
#

I hope a thunder strikes you

unique crane
#

Good that I live in a city

cyan crown
#

inmo it looks ass lol

celest thorn
#

btw fun fact technically pyra could strike people with Siren so i don't count it as like a thunder (because its a fucking beam of light) but same

still thistle
#

<

fresh zenith
celest thorn
#

for NES games

fresh zenith
#

ik

restive turret
#

but he did use C# to asm or something

celest thorn
restive turret
#

ye

viral root
#

how do i disable collisions with a toy? Because toy.GameObject.GetComponent<BoxCollider>().enabled = false; doesnt work

static meteor
fresh zenith
#

does the Server idle mode stop all coroutines? or does it interfere any other way with plugins?

hearty shard
#

If you want them not slowed then set them in realtime rather than update

slow grotto
cyan crown
grand flower
#

me when I commit copyright violation

cyan crown
#

I currently dont have a model for it

#

So im using the original one

grand flower
#

im teasing, who cares if you don't publish your project

cyan crown
#

Yeah no one does lmao

teal junco
#

i forgot the real name

#

but it just means how far to view someones name

warped prairie
#

Scp SL 2 is gonna be lit

slate flume
restive turret
#

Real

fresh zenith
midnight laurel
#

still unity 😔

soft turtle
#

How to get FirstPersonControl from a player

upper vapor
#

The module?

#

It's in IFpcRole

royal mica
#

You need to check if the current role is an iFpcRole

#
            if (player.ReferenceHub.roleManager.CurrentRole is not IFpcRole fpcRole) {
                return;
            }
soft turtle
#

It's not in IFpcRole.FpcModule

soft turtle
upper vapor
#

That's probably somewhere in the fpc module or one of its members

soft turtle
soft turtle
upper vapor
#

Uh

#

Pretty sure you need to patch then

soft turtle
celest thorn
#

hello

#

yea im back to the old one

restive turret
#

who are you

celest thorn
restive turret
#

scary

celest thorn
#

crazy

#

im the ghost haunting the ghost

cyan crown
#

By default its 5 to 4 units as far as i remember its still unfinished you probably saw the global tag there in the video

cyan crown
#

I'm still thinking of how do i approach map gen script my idea so far is to make a tool that takes screenshots of rooms from top view each room has its own color and ID then using that 2D tool i can make around 10 to 20 layouts that get grouped up when round starts

upper vapor
unique crane
#

💀

cyan crown
#

😂 it happens no worries

royal mica
upper vapor
celest thorn
cyan crown
#

💀

#

This fucking channel man

celest thorn
cyan crown
slate flume
#

They pass one System.Random instance to every function call

#

If you don't emulate the base-game exactly 1:1, your map gen will be fucked

harsh thorn
#

you havent seen old mapgen code

#

either way there is likely a reason for it being done like that

#

as new mapgen is quite recent

cyan crown
#

i'm still stuck with not being able to get it to work

celest thorn
harsh thorn
celest thorn
#

So we could’ve moved rooms and stuff

harsh thorn
#

old mapgen was not serverside

cyan crown
#

zero could you send me your github repo that has map gen script

#

i need it for eductional purposes

celest thorn
harsh thorn
#

old mapgen does the same what it does now, it gives the client a seed and will generate on the client AND server

cyan crown
celest thorn
#

or never made one

cyan crown
#

someone here told me to check my map gen script

harsh thorn
#

only 2 or 3 rooms had a networkidentiy (and could therefore be moved)

cyan crown
#

i don't remember who was it :(

celest thorn
#

100%

cyan crown
#

since my idea was to start with one room that expands and makes other rooms

harsh thorn
#

so you cant move any other ones

celest thorn
#

not like old 13.0

#

i remember 106 being one that was showcased to be moved

harsh thorn
#

there were only 2 mapgen versions iirc

#

yeah 106 room had a netid

#

that one could be moved

celest thorn
#

why?

harsh thorn
#

old 939 room too

celest thorn
#

lol

#

yea i remember thta

harsh thorn
#

and therefore needed a netid

celest thorn
#

i always thought you were able to move all rooms

#

in the past

#

idk who told me that but was a ton of time ago

slate flume
harsh thorn
#

no?

celest thorn
#

i wanna be able to move rooms

#

or spawn rooms

harsh thorn
#

that would break like 20 other things

celest thorn
#

thats so amazing

harsh thorn
#

you need to realise that you cant have nested netids

#

so that means anything inside a room that has a netid, needs to be turned into a prefab

#

spawned at runtime

celest thorn
#

but imagine

#

rooms

#

in the void

#

parkour between rooms

harsh thorn
#

its not a case of "just add it"

#

needs a whole change of how stuff works

celest thorn
#

crazy thats why my begging never worked

harsh thorn
#

as theres some limitations of how netids work

slate flume
harsh thorn
celest thorn
#

ig the only that worked was the culling toy

#

lol

restive turret
harsh thorn
#

simply cant have nested netids, thats how mirror works

harsh thorn
#

also requires a rework of current mapgen

restive turret
#

You havent seen mirrors throwing error then

harsh thorn
#

cuz right now the rooms are spawned locally and on the server

slate flume
#

Hey Cedric did you see the NREs I posted in cedmod

celest thorn
#

can we get 5 big booms because of mirror we can't have moving rooms

harsh thorn
#

so itd need to be changed to make the server do it

harsh thorn
slate flume
harsh thorn
slate flume
celest thorn
restive turret
celest thorn
harsh thorn
restive turret
slate flume
#

I love how my LocalAdminLogs are almost entirely base-game error reports

celest thorn
#

and other stuff

slate flume
celest thorn
#

thats me messing up with packets

celest thorn
#

and always found it

celest thorn
#

wait

#

remove the Secret Laboratory part

#

SCP

worn gull
restive turret
celest thorn
#

but now i don't have problems

#

because NO problems

#

they work

#

and im fine

hearty shard
#

hi slime

celest thorn
#

until david doesn't break them (as he promised to me many times)

restive turret
celest thorn
restive turret
restive turret
celest thorn
#

or just my network messages?

restive turret
#

Huh

celest thorn
#

you are incarnation of evil

hearty shard
#

when ruei4

worthy rune
harsh thorn
#

but not in terms of spawning

slate flume
unique crane
hearty shard
#

💔

worthy rune
harsh thorn
#

i havent seen that then

worthy rune
#

all rooms have netids

#

because lights

slate flume
#

Hey riptide

#

What's your least favorite part of the SL codebase

worthy rune
#

and they have nested network Id objects

harsh thorn
worthy rune
#

because mirror was modified to make it work

slate flume
harsh thorn
#

isnt it a sub object

worthy rune
harsh thorn
#

guess that was changed then

worthy rune
#

just not on the root

harsh thorn
#

yeah thats what i meant

worthy rune
#

which doesnt matter in this context anyway

harsh thorn
#

whoever modified mirror gets to re-modify it when we update it

worthy rune
#

since the child networkId objects are on that Child room object

worthy rune
harsh thorn
#

its why i dont want people modifying mirror

worthy rune
#

would of been simpler to just do it properly within mirrors framework

harsh thorn
#

because when we need to update it for some random sec reason

#

we discover that 40 things broke that were modded in

worthy rune
#

yeah

worthy rune
harsh thorn
#

last i checked it was like

room -> some netid
-> some other netid

#

which does work

harsh thorn
#

iirc theres some code in mapgen thatl link them together

#

which works

#

as the rooms are not spawned by the server on a network level

worthy rune
harsh thorn
#

pre refactor characterclassmanager

#

serverroles is something

#

from the same time as ccm

#

just not refactored yet

worthy rune
slate flume
worthy rune
#

they really could of used network messages and ditched the NetworkId on the room and avoided it all but i guess at the time they didnt know how to use them

harsh thorn
#

well netid is needed for some parts of the room

#

like lights

hearty shard
harsh thorn
#

unless you custom implement that all

harsh thorn
worthy rune
harsh thorn
#

and badges

slate flume
#

Why does it sucks so bad

#

What did Hubert do this time

worthy rune
# harsh thorn like lights

i mean to handle lights they could of avoided modifying mirror and just making a message to control the lights(you might say wont the lights not be synced properly for a rejoining player, well they currently dont anyway so its not like it matters)

harsh thorn
slate flume
harsh thorn
#

then when mapgen was reworked it was just done like that with the netids to not change that

#

cuz itd either be what you said
or reworking rooms to have 1 netid and network spawn the entire room

worthy rune
#

i find it hard to justify looking at the code that was written, but i cant read the minds of the programmers that wrote it or what kind of state mirror/(other network solution) was like back then so idk

harsh thorn
#

there was likely some kind of reasoning behind it

restive turret
slate flume
#

I wanna be able to change team comps before players spawn
The easiest way to do that is ev.IsAllowed = false; on all the OnRoleChanging events, store the new roles, parse and edit all of the roles, and then spawn everyone back in

#

This is ugly

#

This is stupid

#

The other way is to manually patch all SCP and Human spawning code but that's hard and also ugly and stupid

restive turret
#

well it not only done one one place

#

HumanSpawner.AssignHumanRoleToRandomPlayer
ScpSpawner.AssignScp

hearty shard
#

tldr

#

make round start event call later and then combine human and scp spawns

royal mica
#

Or prefix patch the RoleAssigner.OnRoundStarted() and create your own

upper vapor
#

me when

#

roundstarted event?

#

-# idk what the invocation order is

worn gull
#

SB knows what is the problem?

slate flume
royal mica
slate flume
#

You guys are acting like I didn't already say this

#

I already looked at doing it

#

It sucks

restive turret
#

ok ok then proprose how would you do it

royal mica
#

Are you publicizing?

slate flume
slate flume
royal mica
#

Cause then you can just sub to RoleAssigned.OnPlayerSpawned

upper vapor
royal mica
#

and then just edit things

royal mica
#

no need to patch things

slate flume
#

I literally

#

Just said this

#

And how it's bad

royal mica
#

Why is it bad

slate flume
royal mica
#

that is not the easiest way

slate flume
#

What is the easiest way then

#

Because RoleAssigned.OnPlayerSpawned isn't what I'm looking for

#

Because I'm not trying to change individual player's roles, I want to change team comp and shit

royal mica
#
            RoleAssigner.OnPlayersSpawned += () => {
                foreach (var referenceHub in ReferenceHub.AllHubs) {
                    referenceHub.roleManager.ServerSetRole(RoleTypeId.Tutorial, RoleChangeReason.RoundStart);
                }
            };
slate flume
#

LMAO no

#

Not what I'm doing

slate flume
#

Back to here

#

Please read

upper vapor
#

round started event...

royal mica
#

You are literally doing this

#

just very convoluted way

slate flume
#

No I'm not

upper vapor
slate flume
#

No I'm not

#

To change the composition of a team I need the knowledge of what other players' roles are

upper vapor
#

the players don't spawn properly

royal mica
#

You have access to their roles already

slate flume
#

I have access to one player's role

#

The player who's spawning

#

Not fucking everyone else

#

The only way to get that is to delay until after everyone spawns and changes their roles retroactively

royal mica
#

You have a literal list of who spaned

upper vapor
slate flume
#

Listen to me please

#

You get a list of the players who have spawned

#

It's literally called AlreadySpawnedPlayers

royal mica
#

Yes?

slate flume
#

Not a list of all the people who haven't fucking spawned

#

I don't know how much more clear I need to make this point

royal mica
#

You have a list. You need to reverse filter

slate flume
#

Have you read

#

A single word

#

Of anything I've said

royal mica
#

Yes I did it multiple times

slate flume
#

THEN READ

#

FUCK ME

#

I need to know what other the other player's roles are

#

Not just who has spawned

royal mica
#

I'm trying to understand, not trying to ragebait, but you literally have a list of ALL players, with IsAlive flag, that tells if they are spawned or not, their role already updated with the correct info

#

Also all of these are POST spawning, but same frame

upper vapor
slate flume
upper vapor
#

think for a bit

slate flume
#

Hence my recommendation

upper vapor
#

what's the issue with changing roles the same frame

#

-# nothing?

slate flume
royal mica
#

IF you are doing things in the same frame, it'll happen as if the previous action did not happen

restive turret
slate flume
upper vapor
royal mica
hearty shard
slate flume
#

David is working on it

upper vapor
#

okay makes sense

hearty shard
#

if (newRole == 106 && current == 106) dontdothis()

restive turret
hearty shard
hearty shard
#

oh okay

restive turret
royal mica
#

it doesn't store + persist it

hearty shard
slate flume
upper vapor
slate flume
#

I mean

hearty shard
# upper vapor what

the event is called before roles are assigned, this is for after they are decided, but before they fully spawn

slate flume
#

Then put it in something else

#

Idrc what

royal mica
#

so essentially you want to separate the role assignment and actual spawning, I see

#

Now I completly understand

slate flume
#

I just want easy access to change roles after the assignments are determined without changing players roles multiple times in the same frame

#

Or on subsequent frames

#

It would make life 1000000x easier for me

#

And it avoids any and all jank arising from changing player roles too quickly and avoids unnecessary network messages

#

David's already said he's working on it, I only made the side note cause I'm excited for it

upper vapor
#

you know what else would make life 100000000x easier for you

royal mica
#

OR! What if

slate flume
royal mica
#

You could define your own spawning class

#

you could define the assignment logic and spawning in a custom class and then set that at the start of the server

hearty shard
slate flume
#

That would be dope

unique crane
#

its in todo for labapi

hearty shard
#

david....

#

DAVID.

#

GET TO WORK

unique crane
#

and im doing something else right now

slate flume
#

I appreciate it

upper vapor
hearty shard
#

he was mean to me

hearty shard
#

oh its fbi

burnt hearth
#

hi

hearty shard
#

hi!

slate flume
upper vapor
burnt hearth
slate flume
royal mica
#

something like

class MySpawningLogic : CustomSpawnLogic {
  public override RoleTypeId AssignRole(List<(Player, RoleTypeId)> pastAssignment, Player player) {
    if (pastAssignments.Count % 3 == 0) return RoleTypeId.SCP0492;
    return RoleTypeId.ClassD;
  }

  public override void OnSpawnPlayers(List<(Player, RoleTypeId)> player) {
    players.ForEach(p => p.First.SetRole(p.Second);
  }
}
royal mica
#

just a quick random and very wrong scatch

slate flume
#

Wait I need to find a thing

upper vapor
upper vapor
#

XXXXXXDDDDDDDDDDDDDD

slate flume
unique crane
#

im too old for this

#

is it some next brainrot

upper vapor
restive turret
#

yes

slate flume
upper vapor
#

👴

hearty shard
slate flume
#

I'm so exhausted

slate flume
#

I hosted a bachelor party yesterday

slate flume
#

And I'm like

#

Ugh

upper vapor
slate flume
#

My brother's getting married

upper vapor
#

merry brother

slate flume
#

A lot of drinking and a lot of smoking

#

And a lot of fucking smash bros

#

Played for like 3 hours

#

Straight

#

It was 7 people

#

7 player smash

#

For 3 hours

upper vapor
#

how could you play straight if you were drunk

storm bridge
#

When will you learn?

upper vapor
#

probably a negative amount, actually

slate flume
#

I think you need to look at the meme more closely

upper vapor
#

i took a galactic poop today

upper vapor
#

you can only count to 4?

slate flume
#

Yeah

slate flume
#

Fucking peak

#

I've been getting so heated on the internet lately

#

Been being a huge dickhead for no reason

#

Something primal emerges in me when I talk to people online

#

Really embarrassing

upper vapor
modern lark
#

Cassie having a delay between messages makes it impossible to create countdown easily, someone already tried it ?

#

I know you asked something related Mr ThatGuy :p

slate flume
#

This is true

#

You can send it in the same message and tweak the pause time

#

Or you can send, clear, send, iirc
But pause is what worked for me

modern lark
#

Will try to clear

slate flume
modern lark
#

this'll be easier for my case, because I wanted to make Cassie countdown anything

slate flume
#

@teal junco is a CASSIE expert

#

It used to be a big part of his work

modern lark
#

CASSIE expert, nioe thing for a CV Kek

slate flume
#

I think SL development actually hurts someone's resume tbh

#

Just shows you're a degen lmao

hearty shard
#

cool

slate flume
spring swan
slate flume
celest thorn
upper vapor
#

so uh

#

it's cooked

#

sometimes, not even clearing helps

teal junco
#

idk exactly what he wants but cassie clearing usyally makes a big delay (depending on how long the remaining message is)

#

so you typically wanna know exactly what you want cassie to say before you even send

keen halo
#

NO

#

I put em on first

icy knoll
keen halo
keen halo
icy knoll
#

omg same!

keen halo
#

Well

#

Im uhhh

hearty shard
keen halo
warped prairie
#

Just spam out those keywords

plain gazelle
#

If i jump inside a moving waypoint toy, i move with it. But when i land on the cube that is also moving with it, i no longer move with the waypoint toy

cyan crown
#

🥹 😼

#

only took me 6 hours

restive turret
#

Lel

cyan crown
#

teleport is still delayed and i found a issue that the chase theme stops looping after a while

#

😿

#

fix something the other thing breaks

restive turret
#

I call myself The Breaker, what i do is breaking changes

plain gazelle
#

How do WaypointToys work?
Does a player need to be fully in them to move with them?

plain gazelle
#

I set the scale to 1 and the BoundsSize to 2 4 2, but i only move with it if im like perfectly in the center

Edit: Nvm i had a scaled parent...