#[2.7.0] SCP-3114

1 messages · Page 1 of 1 (latest)

runic venture
runic venture
lost plume
#

SCP-3114 keeps spawning every round, is there a way to prevent that? Love the plugin :)

runic venture
runic venture
lost plume
#

Yeah I’m pretty sure, I had also a case where there was two scp-939’s

#

Not sure if the plugin was causing it

lost plume
lost plume
#

🫡

runic venture
# lost plume 🫡

Tell me if something is wrong and turn on ping, otherwise I can't see that someone wrote to me

lost plume
#

Will do

#

thanks :)

lost plume
#

@runic venture ok tested it with some dummies, and this is the result lol:

#

Tested it with like 30 dummies

runic venture
errant island
#

Hey apologies for this being unhelpful, because I don't have any logs (not my server). But we tried this out the other day and had some similar experiences, some rounds had a random skeleton, one round had 2 SCP-249s, one round actually had no SCPs at all, etc. Just thought I'd confirm the unexpected behavior!

#

Oh wait found 1 round of logs lol. Idk what this means but yeah. Like i said some rounds it seemed to be working, other rounds had some wild bugs lol

runic venture
errant island
#

Did you fix the duplicates or sumn? Also lmk if you want help with the plugin or anything

#

Sadly I must go to my real software job first

runic venture
#

My plugin, unlike others, does not respawn the SCP. My plugin changes the queue function for the SCP

errant island
#

Yeah that sounds like a better approach, nice. I need to better understand how the original queue function works lol

lost plume
#

oh wait it happened again

runic venture
runic venture
lost plume
#

Yea

runic venture
lost plume
#

testing 🫡

runic venture
# errant island Yeah that sounds like a better approach, nice. I need to better understand how t...
    public static PlayerRoleBase[] SpawnableScps
    {
        get
        {
            if (_cacheSet)
            {
                return _cachedSpawnableScps;
            }

            List<PlayerRoleBase> list = new List<PlayerRoleBase>();
            foreach (KeyValuePair<RoleTypeId, PlayerRoleBase> allRole in PlayerRoleLoader.AllRoles)
            {
                if (allRole.Value is ISpawnableScp)
                {
                    list.Add(allRole.Value);
                }
            }

            _cacheSet = true;
            _chancesArray = new float[list.Count];
            return _cachedSpawnableScps = list.ToArray();
        }
    }

    public static RoleTypeId NextScp
    {
        get
        {
            float num = 0f;
            int num2 = SpawnableScps.Length;
            for (int i = 0; i < num2; i++)
            {
                PlayerRoleBase playerRoleBase = SpawnableScps[i];
                if (EnqueuedScps.Contains(playerRoleBase.RoleTypeId))
                {
                    _chancesArray[i] = 0f;
                    continue;
                }

                float spawnChance = (SpawnableScps[i] as ISpawnableScp).GetSpawnChance(EnqueuedScps);
                spawnChance = Mathf.Max(spawnChance, 0f);
                num += spawnChance;
                _chancesArray[i] = spawnChance;
            }

            if (num == 0f)
            {
                return RandomLeastFrequentScp;
            }

            float num3 = Random.Range(0f, num);
            for (int j = 0; j < num2; j++)
            {
                num3 -= _chancesArray[j];
                if (!(num3 >= 0f))
                {
                    return SpawnableScps[j].RoleTypeId;
                }
            }

            return SpawnableScps[num2 - 1].RoleTypeId;
        }
    }
runic venture
lost plume
#

its still happening 😢

runic venture
lost plume
#

ill try again

lost plume
runic venture
lost plume
#

thanks :)

runic venture
lost plume
#

huh

runic venture
runic venture
# lost plume huh

If this version can't fix the problem, then it's 100% a problem on your side

lost plume
#

alr

runic venture
lost plume
runic venture
lost plume
#

not sure what changed lmao

runic venture
lost plume
#

ill try 30 ppl, that should be 5 scp's

#

looks good with 30 people

runic venture
lost plume
#

40 ppl also works no duplicate scp's

#

45 should be 7 scp's (all the playable's except the zombie in the game)

runic venture
lost plume
#

thanks for your hard work and time <3

runic venture
lost plume
#

wait I think 096 is not spawning anymore. Lemme test some more

lost plume
#

yeah there is no 096 anymore :(

#

tested it also without the plugin and 096 spawns

runic venture
lost plume
#

weird i tried it with like 50 dummies and there are only max 6 scp's

runic venture
lost plume
#

EPIC

runic venture
#

[2.4.0] SCP-3114

lost plume
#

I think you uploaded the wrong plugin lol?

#

AntiSLCrush.dll

runic venture
lost plume
#

lmaoo

runic venture
lost plume
#

you are the best, thanks!

errant island
errant island
#

Glad yall got it fixed though well done, I’ll try it out again soon 🫡

runic venture
#

[2.4.1] SCP-3114

errant island
#

Just an idea but I think it'd be cool if the spawn chance was configurable.

Also, since players can normally configure their preferences for whether they are assigned a specific SCP role, what if there was a slider bar or something in ServerSpecific settings so that each player could set their skeleton prefs just like other SCPs?

errant island
#

also im kinda bored so i could work on that for you if ur intersted, idk just lmk

runic venture
coral wigeon
#

Does this plugin work as intended now?

coral wigeon
#

Is there any chance for a configuration that allows strangle to be available after a certain amount of humans are on the server?

#

I think 3114's strength only comes in low pop where he can just pick people off alone

errant island
runic venture
errant island
#

Oh

gaunt perch
#

@runic venture Where can I find the config.yml file

runic venture
gaunt perch
#

nevermind

#

found it

errant gyro
#

008

runic venture
final urchin
#

can i disable the automatic spawn at all

#

like

#

if i disable it, it will never spawn unless manually spawned yes?

#

Bc this doesnt sound like it

runic venture
final urchin
#

would it be possible to add another configuration to disable the disguise ability as well? I realized it sounds like odd, but I do plan to implement a custom SCP

final urchin
#

dw ill figure it out, thx for the information

runic venture
#

[2.6.0] SCP-3114

runic venture
#

[2.7.0] SCP-3114

errant island
#

@runic venture hey just curious did you ever get the spawn-chance code working well? I am thinking of making an unrelated plugin that would also involve patching the spawning code

runic venture
#

You can find it in Scp3114Role

errant island
modern galleon
#

can you config it where is spawns or his health?

runic venture
#

I'll update today if I don't forget

modern galleon
#

Please update it

#

I need it badly

#

I would be thankfull

#

I’ll remind you in like 5 hours okay? @runic venture

modern galleon
#

I’ll check home

modern galleon
#

te config works ill check quickly if it works in game

#

when changing settings

modern galleon
#

Everything works

#

Thanks a lot

modern galleon
#

@runic venture

#

hey

#

so

#

when someone uses the body as SCP

#

nvm

runic venture
modern galleon
#

Sometimes it glitches and appears really tall

#

Only you can see it

#

But yk

#

It’s glitchy

runic venture