#plugins-dev-chat
1 messages Β· Page 94 of 1
wdym
like
on some times
it triggers the event twice
in the same frame
and it doesn't tell me if the effect is being removed or added
so

so yeah
Yo did anyone figure out a new way to turn a body into bones without a skeleton present?
I used this:
public void TurnRagdollIntoBones(DynamicRagdoll doll)
{
var newRagdoll = SpawnRagdoll(doll.Info.RoleType, doll.Info.StartPosition, doll.Info.Nickname, new Scp3114DamageHandler(doll, false), doll.Info.StartRotation, doll.transform.localScale);
if (newRagdoll is not DynamicRagdoll dynDoll)
return;
NetworkServer.Destroy(doll.gameObject);
ReferenceHub.HostHub.roleManager.ServerSetRole(RoleTypeId.Scp3114, RoleChangeReason.RemoteAdmin, RoleSpawnFlags.All);
if (ReferenceHub.HostHub.roleManager.CurrentRole is not Scp3114Role scp3114Role)
return;
Scp3114RagdollToBonesConverter.ServerConvertNew(scp3114Role, dynDoll);
ReferenceHub.HostHub.roleManager.ServerSetRole(RoleTypeId.None, RoleChangeReason.RemoteAdmin, RoleSpawnFlags.All);
}
But after the newest update this makes the server disconnect itself
spawn a dummy as skeleton quickly and ig just make them take the body and dispose of the dummy
I was converting Python dictionaries to C# dictionaries
Worked π
The problem is I keep making shit like this
Something itches my brain whenever I do the craziest one lines of code
It is very buggy
I have like 3 separate issues on the GitHub about it
could you have done that in a less readable way
It made sense while I was making it haha
The event isn't called when duration changes, only intensity
So an effect could be getting updated and the code straight up will not pick it up
Also, the duration it gives isn't accurate, because the ChangeState function or whatever does Intensity then Duration, but the event is called when Intensity is set and grabs the effect duration for the args, but the duration isn't set yet so the reference is stale, and leads me to believe that it's likely changing the duration in in the UpdatedEffect event won't actually do anything
Patches or Updating effect
I actually helped a guy figure out a patch for this a while back cause they had the exact someone question
.
Why can't you just json serialize the dictionary π
I'm not a python guy but there's some __ shit that lets you access the key-value pairs
And a normal serializer would be able to convert a dictionary to json anyway
json.dumps
Oh you were
O
You were making the C# syntaxes
Now it's making sense π
Haha yeah I had this python program for a data analysis thing I was doing for another game
I wanted to port it to C# cause I know C# alright atp and I wanted better speed
Wait, did you
Why can't you load the JSON in C#
Rider has this feature called "paste JSON as classes/records"
I was using VS code at the time
never used it but overrated
Rider's great for game dev
Won't ever switch back to VS after using it
The only time I use VS is the occasional hiccup with Rider's C++ debugger that VS handles a little better
i tried rider wasnt fan
btw im looking at https://github.com/northwood-studios/LabAPI/issues/244 and had alook at the history around the FirstPersonMovementModule and FPCMotor classes and i couldnt actually find any changes that seemed like it would effect dummies. do you know if you maybe had a patch in the previous update that facilitated the behaviour
if you did thats fine, and i will just add a line to ServerOverridePosition to make dummies work, i was just trying to figure out what changes could of broke it so i could understand the problem better
https://ratcentral.skibiditoilet.net/π/9n671wjm.png
How can i fix this?
I would check if their role changes to spectator/overwatch if you disable gameplay data from yourself
In RA

use netstandard ?
I thought it broke the project
used it and it worked
Where's your fan
definitly not riding
Yeah it works
You get a few warnings but most things are fine
Nothing comes to mind no
No patch that would affect the bug afaik
Wow we're all just a bunch of nerds
if it helps it only affects dummies
tried going into noclip with a player and it didn't work
so it's probably just that ReceivedPosition thingy
supposing the dummy doesn't send one
its alittle odd, since FPC distrubuter should be sending the cached relative position which is just calculated each frame by doing new RelativePosition(Position)
^ for dummies and local players that is
When noclipping, the game does Position = ReceivedPosition
which is the issue for dummies since apparently that's always 0,0,0
ahh
What's the method to check if someone is leaving the server? i want their last known position and role...
didnt have any shenanigans with role happen here, serverOverridePosition just doesnt work when i tested
i think you can test if the player is changing their role to Destroyed if they are leaving
they change to spectator before destroyed
there might not be a good way then
:c
check for uh
NetworkManager something
OnDisconnect
maybe
isn't that probably at the same time as PlayerLeftEventArgs?
PlayerLeft args happens in OnDestroy()
I noticed that there's on OnStopClient which calls an action OnBeforePlayerDestroyed
That might be worth checking out
is there no like DamageHandler or smth that I can use to check if the person is disconnecting? there has to be some good method to doing this π
nope
it's just "unknown cause of death"
if you really want to i guess you can analyze the stack trace but at that point just patch
don't believe me, just patch
I mean I figure adding an action to the ReferenceHub isn't a lot of work
But what do I know lol
that's like ugh
just add a DisconnectionDamageHandler
Ikr
I hate actions because they suck to patch
They pmo
Yo can we get PlayerPreAuthenticatingEventArgs moved a bit higher? It triggers after all challenge, ban and other checks are ran π
shouldnβt that be during preauth?
rather than after?
It is during preauth, but for ex. banned players will not trigger it
check if the damage handler is universal with id Crushed and if the player died on surface
Thanks did work
np
bagoly mondja verΓ©bnek 
lmao
Ironic
no
im not wanna play in minecraft
address?
ton or btc
I can't set velocity how can I set the velocity?
just delete this line
the rigid body one?
No you cannot set the velocity
You can add it
how can I add velocity?
You can?
work
The fpc one you can't
david with primiary
Thats pickup
thats fpc too
I think your intellisense died
third-party program moment
Is the RigidBody property of type RigidBody?
lemme restart it
lemme check
WTF I ADDED THAT?
lemme add it again.
just use visual studio
Its not parent of AssemblyCSharp
bruh had to unadd and add.
visual studio code moment
rider is better in So any ways.
at this point use notepad
you have 2
8 years ago
black and white
really old and v4 only
Yea obv i think all of those got taken down for newer version
I don't care about cracking sl ac, who wants to cheat on this game, i think you are a delusional guy for cheating on this game or anyone who does
like this fucking game you can be good even by not just standing
Ive seen kids join a server with cheats and they didnt even set it up
ANANAHAHAHAHHA
like they were weirdly rotating and spinning
Spinbot?
obviously turned towards nearest player
obv
And then left cause I guess they couldnt make it work or idk XD
like cheaters on this game have the brain of a goldfish
Im probably gonna be roasted by some cheater dming me but at this point im going to laugh at them
Goldfish wins
I was in VC one time and we came to conclusion that goldfish has about 1KB ram
(my source is that I made it up)
I studied that in my psychology classes and a gold fish has a short memory that wipes like after a minute
the only thing they store for long time is just what food is
GC.Collect()
goldfish:
while(true) {
Memory.Add(new Info());
yield return Timing.WaitForSeconds(60);
Memory.Clear();
}
while(true)
also that is WRONG
why do people not just do while(true)
Now you like it?
no
whats wrong with it
That was to genocide
move to rust, better c 
move to python the fastest language ever
can we throw this person out the discord
all ai models use python underhead, yes
im done with sl this game is full of meanie
;(
The cia is lying that this game is full of meanie?
This chat doesnt like Python and Javascript
And Java
everything is better than python even JS
FUN FUN FUN FUN FUN FUN FUN FUN FUN FUN FUN FUN FUN FUN FUN FUN FUN FUN FUN FUN FUN FUN FUN FUN FUN FUN FUN FUN FUN FUN FUN FUN FUN FUN FUN FUN FUN FUN FUN FUN FUN FUN FUN FUN FUN FUN FUN FUN FUN FUN FUN FUN FUN FUN FUN FUN FUN FUN FUN FUN FUN FUN FUN FUN FUN FUN FUN FUN FUN FUN FUN FUN FUN FUN FUN FUN FUN FUN FUN FUN FUN FUN FUN FUN FUN FUN FUN FUN
THAT FUCKING FUn
real
i wanted to throw my monitor out of the window
I could choose between Java, Python and C++ on my final IT matriculation examination. Why no C#? 
when i saw FUN FUN FUN FUN FUN FUN FUN FUN
c++
c++
Better
Those 2 are slow asf and a pain in the ass
Depends what he would have to do XD
assembly π
i did do some stuff in assembly
it wasn't that bad
java is far worst
Speed didn't matter. I chose java due to it being C#-like and having a lot of util functions.
ig you like torture
Yes it is depending on what you are doing
ye
brother made a calculator which has more memory leaks than code lmao
Never tried and never seen someone using it
well its the "better" NodeJS
what about Rust?
Chat i will ask all of you
Should i play
- Dead Space Remake 2023
- War Thunder
- I buy and play Alien
sadly the new mafia cost alot
RUST MENTION
nice game but too many racists
Rust and racism?
real
Crazy
i mean
Since when are crabs racist
we were talking abt the game
I know
Also coconuts migrate
they're trying to implement goroutine-style threading on it but its also rust so everything takes 10 years
it seems pretty interesting
it just lets you turn normal functions into async right?
well
https://ratcentral.skibiditoilet.net/π/19j631ly.png
I mean 1 for SL Cheater vs 0 for goldfish (they are atleast more evolved to understand the concept)
sync functions into async
i do wish rust had that
yup
its still gc'd tho
which has its own issues
i do think rust async is fucked and incredibly confusing
i was doing a discord bot in rust
if u wanted an event listener to run on a different thread which u want 99% of the times
its this whole ordeal
C# wins once again
me?
async traits
that was it
umm
im a student rn but im going into academia
probably
i always do discord bots in typescript, but discord.js sucks i think so i need to find a new wrapper or smth
iβve used go
fucking hate it
yeah
oh go syntax is literally just
the syntax makes me dizzy
they decided to make it "quirky" for no fucking reason
tell me why the fuck a map is defined like that
a lot of language devs go
you know what
we need our language to be different
lets just fuck over the syntax
i must admit that c# has the best syntax imo
meh
i mean rust doesn't have that much syntax sugar
well
ig it has the run of the mill async / iterators / etc
idk i just really like rust, maybe its just because c++ makes it look absolutely perfect in comparison
oh yea
i do really like that about rust
my biggest complaint about rust is that i think people sometimes try to act like its a functional language or capable of functional style shit
which
no
nom is a really good example of this - its a parser combinator like haskell and other functional languages have, but its also incredibly annoying to use at every opportunity because of borrowing / cloning / generics / etc
you very very quickly get these massive type chains (is that a term? idk)
diesel too - it uses rust's type system to make sure statements can be converted into valid sql, but that results in huge types and makes generic programming with it basically impossible
also makes errors practically unreadable
a lot of these functional languages are really high level
to the point where the difference between unboxed and boxed is considered very low level
so its pretty easy to abstract things
rust on the other had requires you to do a lot of mental gymnastics to satisfy the borrow checker and everything
use AddForce
you probably forgot to reference UnityEngine.PhysicsModule
a good example is references - it's not uncommon when you're working with slices or iterators for things to be behind 2 or 3 references (e.g &&&i32)
I never forgot I just had to re-add.
https://github.com/jsmod2-java-c/JSmod2-Core
Btw who remember about this
anyway. how do I start a grenade fuse?
someone here is a nintendo fan, i want to ask about a game lol but i don't wanna spoil it
if i search up on google 100% i get spoilers
I am a nintendio fan ask me in DMs and see if I played the gmar
u cna use .copied() to remove some layers of indirection and u can use deconstruction to make it easier to work with (i.e. |&&text|)
FACTUAL statement
Axwabo what you think about this
"java is slow asf" 
at least it has the convenience of a GC
it's "go func yourself"
wait until you hear about one of the first proposals for extension members
what
the
mane i got softbanned for pinging some guy
skill issue
changed color
not off choice
hello dear moderator can i get my serverhost role back
what there are so many dev channels
i never saw this
i thought it was just 3
wdym
activate grenade pickup
this?
if you have the grenade, yes
yes it's client side
you could override the player's rotation but that's ping-dependent and looks shit when aussie joins america
isnt there new attachment stuff
i swear they were in a new update no
man recoil = false would be cool
well you can put on attachments that reduce recoil but then the gun isn't customizable
plus you can't fully eliminate it
i thought some dev said firearms were more moddable in 14.1.3. im tweaking
nevermind i am schizoprehnic
didn't work
at the end im downloading that game
which one
Xenoblade for the nintendo switch
a game that i heard was similar to nier in style and mechanics
so why not
and i played already pyra and mythra on super smash bros
btw the game is 100% legal
pirating is bad π΄ββ οΈ
@unique crane i have a question for you what const are you guys using for AntiScp207.GetDamageModifier while returning 0f and 1f ? or it is hardocoded ?
huh
why?
the decompiled one is better π
haHHAHAHHAHA
cuz they don't exist
if they was outside the method i would
yep
like this one
oh
it's just not seen where it's used
(i mean supposing very hard that it's here
)
on my DnSpy
On VisualStudio
mid mid mid mid
Nier MID?
me too ive never played either of those games im just trying to spread some hate β€οΈβπ©Ή π₯Ή
Trust me nier is a great game
I still miss pascal
;(
not my type but it looks good
idk maro told me to take a break
i am just seeing something that do not take count the HumeShield
I NEED TO BUG REPORT
i would like to mary you yamato -- is that ok?
i already have a men :3
mary
bloody mary?
i am a femboy :3
you
(my men will transform into a girl)
I hope i do
that not the updated version when i give the guys a real picture of my femboy pic
im the guys
he haven't start but really want
this one
i mean as soon as i have the money i will go start the all procedure
Its full exiled...

the first thing i saw
this chat is
when becoming a contributor
This is NOT femboy chat
Crazy david doesn't like femboys
yes i have the video
I did not say that
fuck off
Wait thats you?
Yes
Crazy
XD
:3
the real me
also i know some people probable save the pic please do not do illegal stuff with it :3
yamato moment
nobody saved ts bro π
Should have not posted screenshot of yourself in a maid outfit online
Thats like
crazy idea
You know that if you check fucking exiled is full
(i already sent phone number e-mail real adresse my passport (without bad info)
||(im guilty too tho, but mine are private and will remain private)||
Bro you are stupid
next level
i want too
pls
He is french
how to doxx yourself step n7umero uno
no one is gonna go visit him
its france
bruhhhhhh
exactly
i would never
i always wanted but nobody did
the only things was phone number
and only people who really made it was for joking
Honestly thank god
Yamato though more femboys are gonna show up 
AJAHAHAHHAHAHAH
ahahah
https://ratcentral.skibiditoilet.net/π/hackpwtw.png
i love having a vpn
368Kb/s
ts so tuff bro
369Kb/s
Bro its proton
My honest reaction
free plan
broke ah
8h 12m until death
mullvad has great speed
what you downloading
Im downloading something i cannot say else im getting destroyed by a company with red color
send me too femboy photo
"piracy is bad"
holup
im not sending anything
guys piracy isnt good
to anyone
fr
well i actually dont want it
and i will never
i first thought you were referring to a big red flag with yellow decorations
excuse me
because all nw staff love lgbt
lol

are you lgtbq
no
hi
hi natural
what is that
cishet people in plugin dev chat 
ohh
best way i can put it
you make frontend on c#?
yes
i did it once
razor pages is hell
easier react or next js
i just get ai to do my frontend tbh
typical ai coder
i am not afraid of it
[TAC] moul7anout
i do not enjoy it. i will not make it. it does not need logical thinking
download war thunder
4-6 ranks
how do u enjoy frontend
suicide mission
"let me just open up photoshop but i have to write everything instead of doing it graphically and i want to kms after 10 mins"
- said nobody ever
react is horrible
CSS hater
eh
i like it but it does get annoying sometimes
you just said it

btw yes, sometimes i work with blazor
then what
demon
use any framework other than react
we have cool things like
vue, svelte, astro
but most people still enjoy react hell
tail wind easier
because it's shit
yet u still use c#
but all used it
yes tailwind for frontend logic
that's what i'm saying
some people are just
its easier
ugh
what's your point with this
on the client, too?
i would like to see that
Wasm is pretty cool
none i was just waiting for someone to call it out
how many do you have
so sad that te serrver no longer has the "how have we not killed this mf yet" gif
who
this thing
ngl i must say i think the thigh highs with cat paws should be comfy
him name is david
????
Please keep these kinds of things to yourself
Primiary
idk but honestly thigh highs and a skirt are comfy asf
honestly male peak is becoming a girl
btw bypassed the antishit of my gov
loving it
just by doing 1.1.1.1 in my dns
logic trans or femboys?
Cloudflare DNS on top
bruh
fr i love being able to download stuff freely and access website
magic
answer my question 
bro its life experience you must do
disagree
something average between axwabo and david
wait what
what is this sentence
who's the trans here? david?
my brain is dying trying to understand
java reference?
i don't think so
oh no
when war thunder
sometimes i think to myself
"murder"
Even this dexter is cool
i loved this show when i was a child
do yall think labapi will get something to set/start fuse on grenades soon?
to set the fuse time you can do
TimedGrenadeProjectile::RemainingTime
SpawnActive has a timer
Automatically is -1
TimedGrenadeProjectile.SpawnActive(player.Position, ItemType.GrenadeHE, player, 0.1f);
does anyone know how i add an AudioPlayer which is not attached to an player? like it gets his position from the player but his parent is not the player.
what
oh
you're gonna have to rely on server side syncing
so just dont add a parent and make it positioned at the player, and then every frame set the position to player
Well i want to make it static like a box which doesn't move you know?
oh you just wanna place it once and not have it follow the player?
then just spawn at the player and then do nothing
Uh like how?
It doesn't Work If its Not parentet
LightSourceToy light = LightSourceToy.Create(player.Position);
what
this is for a light
but same applies to speakers
Well i'm using Killers AudioPlayer github repo plugin
oh
Sorry i didn't mention before lol
yea that might be it
I need a pickup to change position and add velocity
well
.Position
pickup.Position
is it possible to get a UserGroup by name? atleast i hope it is...
yes
how if i may ask
π
sjelmm
Some method there should contain something
there is SetGroup but that requires a UserGroup instance
it's ServerStatic.PermissionsHandler.GetGroup()
Does anyone they appear see keycards appearing on the floor out of nowhere on their server?
Pocket dimension moment?
I've heard apparently 914 might have some issues with spawning keycards around the facility but I haven't seen it myself so π€·
Wait.. yes
idk what's causing it but we just have random keycards of different types appearing on the ground
Pickup pickup;
pickup.Rigidbody.linearVelocity = Vector3.up;
known bug
im not sure why personally but this is a pretty common issue
How tall is the player character?
I want to create a model but I need a reference point for how large a unit is in the game
unity units are pretty much just metric, so 1 unit is 1 meter
Yeah but like
I don't have any idea how 1 meter scales to the objects in the game
How long is 1 unit in the game?
It's like when people duplicate keys from an image
They put a coin next to it to get a reference point
I need something like that
not sure i understand what you mean with the keys from an image
anyways, a player is 1.8 units tall, and a room is 15 units wide for example
They use a penny for scale
Because otherwise the key could be the size of a door for all they know
ahh i understand now
This is really helpful, thank you :)
but yeah you model stuff where 1 unit is equal to 1 meter, thats how unity/scpsl interprets it
I'm doing it slightly different and way more jank because I don't wanna learn unity
I don't wanna learn blender nor unity atm so I'm using the tools I already know
I'm going to use some CAD software to make the rudimentary models I need out of primitives, export the step, process it using a python script, and then put it into my plugin
icic
CAD software for models is wild
You could use BAMER
At that point make a framework for exporting from a CAD software 
Then I'd have to learn BAMER
-# you could use the MER file format or the sloc format to export and then load with an existing plugin
Blender
Then I'd have to learn blender
For MER
I don't know blender
I don't know unity
I do know CAD
I know it pretty well actually
Insane behavior
Well also I like making things nice and exact
But it's familiar so go for it
But that's sort of a secondary benefit
The world without snapping and transform inputs and vertex snapping would be a horrible place
I know I'm yapping unity shit
But I hate it when two objects in a schematic are ever-so-slightly misaligned
-# bump so you don't have to reinvent the loading process
Won't happen with CAD :)
See okay
I have a terrible idea
But I already have like the first half of it working
Ah
Which is I can just get a list of position, scales, and rotations
Then use that to place primitives
So you like fueling the map editor wars 
Well like I can build it in CAD, export it as a .step, and then parse that in Python
My first tests are working
How can you tell if it's a primitive
Do you check the object name or the vertices
im going to open your locker now thank you
Well I build the model as separate parts
Each part is one cube or cylinder
I ripped the image from the internet so go ahead lol
HAHHAHAHHA
Honestly
No spheres? 
For my purposes, I don't need spheres
OBJ is gross
It's all triangles
The STEP format preserves the parts
Anything that is good for exporting
It's possible
It's just unity being stupid (or me being stupid)
What's wrong with triangles
Its impossible for a simple reason you cannot do much because its triangles
The fact that it's not my original model
Even quad meshes aren't non-distorted quads π
Bruh
It gives me a mesh
That's... 3D modeling basics so
yea i know
i will stay in hangout while playing this game, battle sucks ass boring asf, but story it seems nice ig
the stream crashed the game
FUCK
Yeah but then why are we dunking on wavefront
I just don't like OBJ because it gives me a mesh and it makes my life harder because of it
That's it
Yea
Nintendo sued them though so I stopped using it lmao
Idc about the BIG N
yuzu on top
and still fucking works amazing
Me neither but they stopped supporting it
Yuzu is great but because of the suit it's discontinued
All tthe best emulators got sued
scp sl vertex toy when
Fuck nintendo bro
thats funnier
Do you want a single vertex? 
vertex toy with list of vertices to connect to to form a mesh 
public override void OnPlayerSendingVoiceMessage(PlayerSendingVoiceMessageEventArgs ev)
{
if (ev.Message.Channel != VoiceChatChannel.ScpChat) return;
if (!ActiveProxChat.Contains(ev.Player.NetworkId)) return;
foreach (Player listener in Player.GetAll(PlayerSearchFlags.AuthenticatedPlayers))
{
if (listener.RoleBase is not IVoiceRole voiceRole) continue;
if (voiceRole.VoiceModule.ValidateReceive(ev.Player.ReferenceHub, VoiceChatChannel.Proximity) is
VoiceChatChannel.None) continue;
listener.Connection.Send(ev.Message);
}
}
So why is this not working
what happens when you try this
People don't hear me when I have proximity chat enabled
public override void OnPlayerSendingVoiceMessage(PlayerSendingVoiceMessageEventArgs ev)
{
if (ev.Message.Channel != VoiceChatChannel.ScpChat) return;
if (!ActiveProxChat.Contains(ev.Player.NetworkId)) return;
foreach (Player listener in Player.GetAll(PlayerSearchFlags.AuthenticatedPlayers))
{
if (ev.Player == listener) continue;
Vector3 position = listener.CurrentlySpectating?.Position ?? listener.Camera.position;
if (Vector3.Distance(position, ev.Player.Position) <= MaxDistance) listener.Connection.Send(ev.Message);
}
}
This code worked
But I thought it'd be best to not bake in the max distance myself and instead use SL's proximity chat handling
ValidateReceive might be returning VoiceChatChannel.None
copy paste not working xD
But why is that the problem
From what I can tell looking at the HumanVoiceModule the ValidateReceive should be passing the proximity check and returning a non-None channel
odd
Is it something with visibility?
Cause the check proximity function is just calling VisibilityController::ValidateVisibility
public virtual bool ValidateVisibility(ReferenceHub hub)
{
return !(hub.roleManager.CurrentRole is ICustomVisibilityRole currentRole) || (currentRole.VisibilityController.GetActiveFlags(this.Owner) & ~this.IgnoredFlags) == InvisibilityFlags.None;
}
it discards scpchat
Wha
Which is why I pass in VoiceChatChannel.Proximity
where
.
this doesn't change it
Why do I need to change the message to do ValidateReceive
also you should probably use the receiving event
Why
Because ValidateReceive doesn't take in the Message as an argument
Just a reference hub and a channel
And why would I use the receiving event
because you wanna modify it for certain players, no?
I just want to send the message to players in proximity
right
but then you need to set the channel on the message
you simply check if it's scp that
Then why did this work
Setting voice chat channel on the message has done nothing for me in the past
Which brings me back to this
ummmmm
was this before 14.1.3
Yes
i think they made changes to this such that None now doesnt play anything on the client
I changed my Prox Chat with 14.1.3 cause I was fixing up my plugin
Oh
So my old code doesn't work anymore either
Interesting
i guess you can use this #1402403566932590722
but i don't get how your first code doesn't work while your new one does
it was done for to accomidate the role sync changes otherwise you would hear ghost voices every now and again
It's just an updated fork of https://github.com/Jesus-QC/ScpProximityChat/blob/master/ScpProximityChat/Features/ScpProximityChatHandler.cs
checks out
i know
Me neither
But this explains it
test your new code in the new version, i guarantee it doesn't work
Probably not
so the solution is just to change the channel
Yeah
The interesting thing I noticed is that for some reason in the old prox chat plugin, setting the Channel was happening inside the loop
Which is sub-optimal
You don't need to set it with every send
no visibility control
?
Yeah
but then why the distance check
The distance check is for a config setting for max distance
if (Vector3.Distance(msg.Speaker.transform.position, referenceHub.transform.position) >= ScpProximityChatModule.Config.MaxProximityDistance)
continue;
@slate flume can I message you later once you get this working for some tips on this code chunk you're working on?
I think it's very relevant to a project I'm trying to write
right
Of course!
@true cedar why
NEVERMIND
you can just for through the string
Yea
no need for a span even
yea
if ((ch > '\u0060' && ch < '\u007B') || ch == '-' || ch == '/')
*copes in pattern matching enthusiast*
grave accent
also why does everyone use for instead of foreach with collections π
int idx = 0
foreach()
idx++
fair

try finally
no???








