#[Rework WIP] ghostCodes - Alpha testing via version 2.5.2

1 messages · Page 3 of 1

pastel widget
#

should probably double check that one

molten dune
#

Im looking at the code rn lol

#

I was about to say the config description wrong

#

what do you think is better, cooldown or just count every time the command is run

#

cuz I agree spamming it till it works is lame if there's no consequence to that

pastel widget
#

My slightly above 8th grade reading comprehension comes clutch yet again

#

Should be total attempts

#

and if you ask me

#

I love gambling

molten dune
#

ight that's easy, i'll update the description on the config item too

pastel widget
#

Should be a punishment for failing...

molten dune
#

ive been meaning to push an update since toilheads was updated

#

yeah I totally agree

pastel widget
#

Maybe uh

#

Trigger

#

a hunt

molten dune
#

LMAO, nah that's evil

pastel widget
#

configureable...

molten dune
pastel widget
#

config option to punish a failed deathnote?

molten dune
#

trigger the chase or just her staring at you

pastel widget
#

Im evil

molten dune
#

for the sake of my sanity im not making that configurable kekw

#

between chase and staring

pastel widget
#

I say if you wish death upon your teammates

#

The failure of such shall be the same for you

molten dune
#

chase it is

pastel widget
#

Chase

#

immediate chase

#

Im thinking of my phasmo days

#

I love triggering cursed hunts

molten dune
#

very valid

#

expect ggDeathNoteFailChase to be in the next config

#

thankfully Zeekers made the ghost girl AI fairly simple

pastel widget
#

huh

#

quick question now i think about it

#

wait

#

no

#

wait

#

ok

#

lets say

#

hypothetically

#

Youre on a moon that is using the insanity setting right

#

And you have the GCGhostGirlOnly shit right

#

Because these 2 only work directly against the ghostgirl and not the ghostcodes themselves

#

But weirdly enough, the emotes prevention isnt one of the defaults you set

molten dune
#

so, the defaults are really just there as examples

pastel widget
#

So does that mean, on an insanity ghostcodes moon, if somehow by the will of Evil, a ghost girl spawns, will you be able to use the emote counterplay against her?

molten dune
#

the only one that would actually work outside ghostgirlenhanced is the terminal reboot

#

I'm 99% sure no, because if the moon is in the bypass list I disable the enhanced mode

#

... this is awkward

pastel widget
#

So it really doesnt matter if I have these here or not right?

molten dune
#

I just realized that i'm not even checking for whether ggShowerCheck is enabled kekw

pastel widget
#

...

molten dune
#

so it's just always on

pastel widget
#

oop pt.3

molten dune
#

and yes, by some will or way if ghost girl spawned on a moon you had in a bypass list those checks would work in current update

#

it shouldnt be like that tho

#

will fix in next update

pastel widget
#

im glad im doing a deep look at the mod

#

literally sticking my hand in the middle of every config and seeing if it breaks

#

i feel bad because its more work for you

molten dune
#

seriously I appreciate it

#

hard to test all these things on my own, nice to have someone else taking a look

pastel widget
#

anything I can do to help

#

always

molten dune
#

this should have had next to the config value || Plugin.instance.bypassGGE

#

because that's how I determine if the moon is a bypass moon or not

pastel widget
#

me when

molten dune
#

and then this one just has a comment to add the config option but I never did lol

#

i know a lot of it looks like gibberish but ye, def a lot of missed stuff which is my bad

pastel widget
#

I point out the SMALLEST UNNOTICABLE UNIMPORTANT DETAILS ABOUT THE CONFIGS

#

idk if its the perfectionist in me

#

but

#

for every other config setting the check is at the top of its section

#

literally unimportant

molten dune
#

LOL

#

I can fix that

pastel widget
#

it is literally not even ruining anything

molten dune
#

nah but it does help with readability/clarity

pastel widget
#

the brain of mine just saw it and said "Well thats a bit quirky"

#

yea

molten dune
#

its def more like i add config options after i make sure things work

#

and its a lot of copy pasting other config options

#

because i cba to type every line of code i use lol

pastel widget
#

now that i look closer the only config with its check first then its setting is the the shower

#

which is the one i also have question about

pastel widget
#

uh

#

just like the death note

#

how does it check if the shower...works?

#

actually

#

this gets solved pretty easily naturally

#

since the death note one you dont have a time limit

#

with the shower and emote you are literally fighting for your life

molten dune
#

which makes me think maybe at one point zeekers did have that as an option in the game, but then removed it

pastel widget
#

I was gonna say that if I go in the shower, and it fails, cant i just go out and back in to do another check

#

but i realize

#

you are actively going to die because this is to get her to stop chasing you

molten dune
#

so yeah, it's kind of a counter play to the ghost girl entirely

#

you can just sit in the shower for the rest of the day and not die

pastel widget
#

unless you can speed hump the shower before she touches you it cant really be abused

#

oh wait its an infinite check?

molten dune
#

but if you have the chance of it working lower, it can fail and she can kill you

pastel widget
#

Does it check everytime you enter or every like second you are in the shower

molten dune
#

I could add a cool down but at the moment it's checked every single time a code is sent during rapidfire

#

which is like at most a 3 second delay

pastel widget
#

wait hold on sorry im stupid

molten dune
#

i think just having the odds of it working being lower fixes the cheesing aspect of it though

pastel widget
#

does rapidfire trigger everytime you get chased, or its just equivalent to the rapidfire intervals

molten dune
#

yes rapidfire starts when you are being chased

pastel widget
#

Time to stick my hand in the gears

#

So

#

hypothetically

#

lets say

#

You have the ghost girl

#

Be limited

#

by setting this to false

pastel widget
#

and you're weird and set

#

the youre code limit

#

to like 20

#

or 10

#

after the limit is hit

#

the shower will no longer work for the ghost girl

molten dune
#

yes

#

the emote/shower checks only work when there are still codes to be sent

#

when you hit the max codes, basically everything about ghostCodes stops

pastel widget
#

hmmmm

#

i dont see a balance or gameplay issue here

molten dune
#

yeah i mean, if people REALLY want those checks to still work without any active codes I can address that later

pastel widget
#

Nah, most people will never touch the configs like I touch configs

molten dune
pastel widget
#

so i just presented to you a 1% chance of people doing that with your mod

molten dune
#

yeah hahaha

#

I appreciate it

pastel widget
#

np

#

i really feel bad grilling you about every single config option

molten dune
#

anyway, just looking at the configs you helped me find i think like 2 or 3 issues

#

so thanks for that

pastel widget
#

np

#

back to the emotes now that a new scenario entered my mind

#

is there a proximity

molten dune
#

no proximity

#

it's just living players emoting

pastel widget
#

hmmmm

#

does it check before the chase happens as well

molten dune
#

so you can hit up a buddy on the walkie to hit the griddy rq

#

no only during the chase

#

same as shower, it checks every time a code is sent in rapid fire

pastel widget
#

ok

#

so if im alone in a corner bout to get clapped

#

and i radio my friends to hit that yoinkly sploink

#

i can be saved

molten dune
#

when I was testing it I had to set the chance of it working to 100% to make sure it actually works

#

because sometimes I wasnt sure if it was just her hitting the end of her chase

molten dune
pastel widget
#

the evil in my brain is saying you should have proximity, but thats no fun, this is balanced enough'

molten dune
#

very simple math stuff really

pastel widget
#

so every insanity mode trigger, it checks if you are dancing and then rolls the dice

molten dune
#

nah the !girlIsChasing check will make sure if there is no ghost girl chasing it stops any other code from running

#

insanity mode has it's own emote buff tho

#

via the emoteBuff config option

#

that one removes a certain amount of sanity from the total [emoteBuffNum]

#

insanity mode is basically higher sanity faster codes, then max sanity triggers the rapidfire

pastel widget
#

i meant rapidfire

#

mb

molten dune
#

ah gotcha no worries

pastel widget
#

When the ghost girl chase is active, and you emote, every rapidfire code trigger that is sent is also when the emote stop chance is rolled

molten dune
molten dune
#

Im guessing you can see why it's hard to explain everything in the config file kekw

pastel widget
#

yea

#

Config files are what scare me the most

molten dune
#

its hard because while you want everything to be configurable, it also makes things more and more complicated

#

you have to start accounting for all different combinations of stuff

fringe inlet
#

all good haha

pastel widget
#

Its why the top 3 mods I have kinda avoided until now are TerminalStuff, LGU, and emblem

#

But im a strong asset now

#

Im brave enough to ask questions and look stupid

#

But its the right thing to do for ghostcodes, your mod having all the configurbility is great

molten dune
#

when it comes to configs, i dont think there's dumb questions

pastel widget
#

Like

#

this one

#

uh

#

is this like 5%

#

or

molten dune
#

nah just hard insanity value

pastel widget
#

5 whatever insanity is measured in

molten dune
#

insanity is measured by max 50 per player

pastel widget
#

what is "max" insanity

#

oh

#

OH SHIT

molten dune
#

it's a player property that slowly rises throughout the day

pastel widget
#

no wonder ive been tweakin

molten dune
#

especially if you're alone or in the facility

pastel widget
#

i had this at like 10 thinking it was 10%

molten dune
#

LOL

#

I could add something to clarify that mb

pastel widget
pastel widget
molten dune
#

i could also change it to a percentage if that's more intuitive from a user side

#

like percentage of max insanity value

pastel widget
#

also is that per body

molten dune
#

per dead player, you dont even have to see it

pastel widget
#

oh

#

player deaths

#

LIKE MORALE

#

AH SHIT

molten dune
#

ye lol

pastel widget
#

so like thats why im always tweakin

#

all my homies die

#

i play with like 6-8 people

molten dune
#

im pretty sure the base game already raises player sanity when they see a dead body

#

thats the whole player effect thing that happens when you see one

molten dune
pastel widget
#

I alone

molten dune
#

def where an emote buff would come in handy

pastel widget
#

honored one

#

so is this

#

per

#

emote...

#

Like

molten dune
#

yes, per player emoting

pastel widget
#

Im over here tweakin out of my mind

#

at 45 insanity

#

If my buddy hits that griddy 4 times in a row

#

can he just obliterate my insanity

molten dune
#

well no, it doesnt matter how many times you emote

#

like every time the sanity is calculated the number will be removed

#

but not from your actual sanity, just my mod's own sanity values

#

and it's updated to match player sanity every time the emote is checked

#

so like you got 45 sanity, my mod grabs that says oh look a player is emoting, 35

#

because all my sanity stuff does is change how frequent codes are run

pastel widget
#

ok understand

molten dune
#

that one is a bit harder to explain without getting into the weeds

pastel widget
#

would be neat to see the decrease happen on mods like insanity display tho

molten dune
#

yeah I didnt want to mess with the actual game's sanity values

#

to avoid compatibility issues

pastel widget
#

thats fine,

#

could probably ask the insanitydisplay dev if they could find a way to read ghostcodes insanity

molten dune
#

I could make my sanity values public for people to grab/display

#

if they want to

pastel widget
#

ill ask in a bit

molten dune
#

currently it's an internal float in my Plugin.cs file

#

internal float groupSanity = 0f;

#

all I'd have to do for people to be able to read it is set it to public

#

well, i might keep it internally set tho, not sure how i feel about other mods modifying that number lol

#

i'll change it to this unless someone has a good idea where they want to manipulate the value

#

public float groupSanity { get; internal set; } = 0f;

azure solstice
#

@molten dune any plans to have ghostcodes mess with the Mobile Turret in Moonswept?

#

Lol

pastel widget
#

Assuming

#

the cooldown

#

is how many hours it can be active for

molten dune
pastel widget
azure solstice
pastel widget
#

imagine a boomba

#

but not a mine

#

but a turret

azure solstice
molten dune
#

I can try to add compat

#

if it's just boomba but a turret that's pretty cool

#

i'll have to look at whether they add the turret to the terminal as a code to disable or not (like toilheads does)

molten dune
# pastel widget

so remember how we were talking about how you going thru the configs is helping me find issues...

pastel widget
#

o-

pastel widget
molten dune
#

that should be checking for the rapidFireCooldown config option

#

but it's not so it's always enabled atm

#

so yes oop pt.4

pastel widget
#

damn.

#

whats the cooldown supposed to do

molten dune
#

that's whether or not this check is enabled

#

basically setting it to false would not run any of this code and ghostCodes would just keep running in rapidfire until there were no more codes or the person's sanity values lowered below the max threshold

#

which is what older versions of ghostCodes would do

#

the cool down was introduced in the rework as a highly requested feature

#

so not suprised no one has complained they cant turn it off lol

pastel widget
#

wait so the cooldown is linked to the hour limit

molten dune
#

yes yes

pastel widget
#

or supposed to

#

ok

#

but it doesnt rn

molten dune
#

yeah it does nothing rn

#

but it's supposed to enable the hour limit or not

pastel widget
molten dune
#

this is what happens when you add config options last CatDespair

pastel widget
#

Small note, should probably add something that explains their relation

#

Because it isnt exactly clear they relate

molten dune
#

yeah honestly, i guess the config option isn't 100% necessary

#

the rapidFireCooldown config option

#

I can just raise the max hours to 24

pastel widget
#

would be possible for you to set like -1 for no limit

molten dune
#

that would open up 0 as a possible option

#

which, in testing, was really weird

pastel widget
#

was gonna suggest 0 but most people use -1 as the disable int32 value thingy

molten dune
#

you'd basically be in the tier before max insanity, trigger rapidFire, it'd stop a few seconds later and then you're on cooldown before it loops back to the tier before max insanity again

molten dune
#

i'd actually have to add a line for -1

#

anyway, now that's its been about 3 different things you've found I think it's time I go through to make sure everything in the config is actually tied to something in my code kekw

pastel widget
#

Should probably

#

have the enable change option above the changes

molten dune
#

gotcha, gonna clean that up as well

pastel widget
#

oh

#

wait a second

#

does this include ALL Modules

molten dune
#

yes, at the moment it applies to all config items

#

personally I dont like that idea, because you could disable modnetworking or something if you were trying to break the mod

pastel widget
#

ooooooooooooo

#

ok

#

I like that

#

not the

#

breaking

#

of the mod

#

but i thought it was limited

molten dune
#

im probably gonna add some extra filtering so that isnt possible later on lol

pastel widget
#

so like

#

ggShowerCheck,ggDeathNote,ggEmoteCheck,rfRLcolorChange,closeAllRegularDoorsEvent,openAllRegularDoorsEvent,openSingleDoorEvent,closeSingleDoorEvent,lockSingleDoorChance,unlockSingleDoorChance

#

the urge to sling slurs and hate speech...

#

i mean

#

uh

pastel widget
#

BONGO

#

HEY

#

MAN

#

whatcha doin here

molten dune
molten dune
pastel widget
#

wait

#

there is no uh

#

wait no

#

I found it

#

its up here

#

right?

molten dune
#

yeah lmao

pastel widget
#

and that montior config is ONLY for the monitor messages right

molten dune
#

also, im pretty sure with generalimprovements(i think this mod, the one that allows for changing all the different monitor's texts and adding new ones) makes that whole event not do anything atm

molten dune
pastel widget
#

fuck

molten dune
#

I was using the signal translator's messages at first, but figured people would want to be able to configure each of them differently

molten dune
pastel widget
#

so

#

signal translator has gg only option

molten dune
#

yep all that is just for the signal translator

pastel widget
#

but how about monitor messages

molten dune
#

hmm, yeah i think for that, it would go in the ghostgirlonlylist

#

signal translator is handled slightly different because it's not really part of the whole system like everything else

#

it's not handled like a code event but just ran every time a code is picked atm. the message frequency determines how often the signalTranslator will actually send a message or not

#

idk if that makes sense

pastel widget
#

ok

#

my config

#

is done.

woven canyon
#

im going to obliterate it

pastel widget
#

I WORKED SO HARD

#

my brain is overheating

molten dune
#

just wait till the next update kekw

pastel widget
#

Ive fucked myself

molten dune
#

💀

pastel widget
#

By configuring your mod with extreme attention to detail ive then noticed config errors that would need to be changed therefore making me have to update my said configs

#

But it was a pleasure having you help

#

I will be expecting to see you later this week for when I sit down and cry doing terminalstuff

molten dune
#

I seriously do appreciate it

#

always helpful having a second pair of eyes on stuff

molten dune
#

im really gaslighting yall with all these config options that do nothing smh

#

changed my config items from just internal to public get, internal set so that I can see how many references each option has in my code

#

helping me find those random mistakes here and there

pastel widget
#

nyehhh

#

gridding on the ghost is not working

molten dune
#

working with the base emotes?

#

might be an issue with custom emotes compatibility

#

which would be sad

pastel widget
#

tried base dancing

#

ill try more

#

also

molten dune
#

that should work, try setting the chance higher

pastel widget
#

chance is 95

#

oh

#

i know why it didnt work

#

rapidfire isnt working :)

#

i broke something

molten dune
pastel widget
#

question

#

if I am

#

alive

#

Do I count

#

as 50% of living players

molten dune
#

yeah

#

especially if it's just 1 player

#

its 1/1 so you're 100%

#

so question, are you on experimentation while you're testing?

#

and is it not in the bypass list?

pastel widget
#

yes

#

actually lemme just

azure solstice
molten dune
#

that shouldnt be possible

pastel widget
#

behold the log of truth

molten dune
molten dune
#

that one specifically

pastel widget
#

this uh

#

seems...wrong

molten dune
#

i was just about to send that

#

did you die here or was it end of the day?

pastel widget
#

i have godmode

#

so she touched me

#

but i lived

molten dune
#

hmm

#

also, did you have ghost girl ignoring code count or nah

pastel widget
molten dune
#

hmmmm

pastel widget
#

imma just hold these rn

#

ggShowerCheck,ggDeathNote,ggEmoteCheck,rfRLcolorChange,closeAllRegularDoorsEvent,openAllRegularDoorsEvent,openSingleDoorEvent,closeSingleDoorEvent,lockSingleDoorChance,unlockSingleDoorChance,monitorsOnShipEvent

molten dune
#

so the log about ghost girl being bored of sending codes is here

#

wondering if I should simplify that

#

basically if it was just this

return !StartOfRound.Instance.allPlayersDead

and allplayersdead is true

it'd return false because of the !

pastel widget
#

I found

#

even more quirkiness

#

Dont know if this is intended or not

#

if it is its understandable

#

but the "locking doors" can lock doors open

molten dune
#

lol yeah I knew about that one, I think it's kind of funny so not trying to fix it at the moment

pastel widget
#

it really fucks with my playstyle, and kinda works

molten dune
#

think the biggest change is that, no matter what if the ship is leaving or all players are dead it will return false

#

maybe this way you'll stop getting codes in orbit @azure solstice lol

acoustic elbow
#

Is this mod the mod that makes doors produce the alarm sound when their forced closed?

azure solstice
#

Btw I wonder if SuitsTerminal could be updated to remove TerminalAPI as a dependency at some point

#

🤔

molten dune
acoustic elbow
#

Ah

#

I’ve been wondering what mod that is for a while now

molten dune
molten dune
acoustic elbow
#

I fear it isn’t

molten dune
#

I chose not to use TerminalAPI for ghostCodes simply because the commands that are added is a very small part of the mod and I didnt want to add a dependency just because of it

azure solstice
molten dune
#

I wonder if it's just the lack of recent updates

azure solstice
#

I just thought for what suitsTerminal does it may not need it

#

Could be

#

XD

molten dune
#

if I didnt still offer the legacy terminal commands support, yeah it wouldnt

#

but i still have the legacy commands which makes a command for every suit and every page rather than using the menu I made

#

eh, maybe I stop supporting it in another update and just tell people to use the old version if they want the legacy commands shrug

azure solstice
molten dune
# pastel widget it really fucks with my playstyle, and kinda works

also back on the locked doors thing, still not 100% sure if I need to write an Rpc (networking required method) for locking doors. Specifically if a client is being haunted and a ghost code is supposed to lock a door, im not sure if the door will also be locked for the host

#

everything else has Rpc's built-in to the vanilla code, just not locking doors

molten dune
azure solstice
molten dune
#

^saving that for later

pastel widget
#

ok weird

#

i got it working

#

maybe

acoustic elbow
pastel widget
#

HM

molten dune
# pastel widget

yeah im gonna tweak the stop chasing logic a bit, i think some variables aren't getting reset properly when the chase ends

pastel widget
#

0h right

#

discovered some things

#

does ghost girl remove the limit on rapidfire mode

#

because if not, rapidfire never occurs, meaning the emote checks and shower checks dont occur either

molten dune
#

yes theres no limit on rapidFire when triggered by ghost girl

#

because the chase sequences are never that long anyway

#

it SHOULD only happen during chase sequences in that mode

pastel widget
#

i had many chases where rapidfire never occured

molten dune
#

that is very odd

#

could you send me a profile code to test with?

#

i was working on an update last night and my internet went out on me 🙃

pastel widget
#

my profile is fucked up rn

#

been tearing my modpack apart

#

testing all night

#

@molten dune I can tell you

#

that Football even if doesnt activate codeghosts herself

#

does have the same ghostcodes light trigger

molten dune
#

very odd, i didnt see anything like that in my testing

#

football spawns as a completely different enemy entity in code

pastel widget
molten dune
pastel widget
#

ill try

#

i could be on that crack

molten dune
#

if like a turret started going off or doors closed or whatever then i'd have to believe you

molten dune
#

#thunderstore-releases message

#

[V50 Compatible] ghostCodes v2.0.4

#

[2.0.4] CURRENT VERSION

  • Removed [rapidFireCooldown] config option and adjusted [rapidFireMaxHours] to be configured to include the entire day if no cooldown is wanted.
  • Added check to make sure commands are only created for actual players for the deathNote feature.
  • Fixed various issues where the config options were not actually being implemented in the mod's code, thank you @pastel widget on discord for taking a deep look at the config.
    • Completed a complete config cleanup to make sure no further items are being missed.
    • Changed how configuration items are created with helper methods to make things easier going forward (for me).
  • Added cooldown check to ToilHead interactions, thanks @rotund rampart for adding the public variables
  • Switched insanity mode buffs/debuffs to be percentage based configuration options instead of direct numbers.
    • This is to make creating the config a bit more intuitive, as not everyone knows the max possible sanity values and how it all works.
  • Adjusted logic determining if codes should/can continue to be a bit more straight forward following reports that somehow codes were running in orbit.
  • Added new config item [modifiedConfigItemsList] to hold any config items that were modified by gcGhostGirlOnly.
    • DO NOT MODIFY [modifiedConfigItemsList], this config item will be populated on it's own and emptied if no items need to be returned to their initial state.
  • Added new section for walkie talkie interactions [Walkies]
    • new interaction [ggBreatheOnWalkies] will play the ghost girl breathing sound effect over all walkie talkies
    • [ggBreatheOnWalkies] is based on chance value [ggBreatheOnWalkiesChance]
  • Added new section for Item interactions [Item]
    • currently all config options in this section are related to any item with a battery
    • Drain all players, a random one, or the haunted one's items of battery by a configured percentage [gcBatteryDrainPercentage]
  • Added config options to enable/disable entire sections: Items, Walkies, Ship Stuff, and Regular Doors.
  • Added error handling for rare scenario where everything in the config is disabled and no possible actions can be chosen to run as a ghost code.
  • Updated README with new stuff.

https://thunderstore.io/c/lethal-company/p/darmuh/ghostCodes/

pastel widget
#

Ah shit

#

time to find the new bugs 💜 Trollge

#

i mean

#

thank u darmuh

pastel widget
#

Yea new bug found

molten dune
pastel widget
#

thers like a 1% chance for a ghost girl to send a code to your pc that shuts it off

#

is this intential game design? should at least be a 10% chance

molten dune
#

thank you my valiant beta testers catsmile

pastel widget
#

small imperfection detected

#

scolding @molten dune

#

Embrion should be listed there

molten dune
#

eh, probably but i'll let people add that on their own 🙂

pastel widget
molten dune
#

next update 🙂

pastel widget
#

very festive

molten dune
#

im sure someone will still touch it

pastel widget
#

Me

molten dune
pastel widget
molten dune
molten dune
#

you get the general idea though no?

pastel widget
#

only change i would do is

molten dune
#

i only changed a few words from the config item above it lmao

pastel widget
#

ggDeathNoteFailChase

Enable or Disable triggering a ghost girl chase on failed attempt to transfer the haunting.

molten dune
#

congrats you've contributed to ghostCodes

pastel widget
#

I expect my seat in the credits

molten dune
molten dune
pastel widget
#

you're getting evil with it

molten dune
pastel widget
#

this is cruel

#

and evil

#

and i love it

molten dune
pastel widget
#

however this feels like a personal attack

#

so im having only girl be able to do this

molten dune
#

valid valid

pastel widget
#

and then i read the next line

molten dune
#

you can have both shrug

pastel widget
#

hm

molten dune
#

thats what configs are for tho, however you wanna do it lol

pastel widget
#

I think out of the 3 drains

#

I will only have the hauntings one

molten dune
#

that's valid 👍

pastel widget
#

I set things that directly attack the player to be ghost girl unique

#

because shes already not real with all the new entities and mobs

#

You only see her like twice every couple times u play

molten dune
#

ye that makes sense

pastel widget
#

So im trying to make her absolutely busted

molten dune
#

for consistency

pastel widget
#

and on no ghost girl moons i want just basic malfunctions, things that can be chalked up as "tech issues"

molten dune
#

and with this version now im not too worried about the ghostgirlonlylist messing up people's configs on crashes

pastel widget
#

right you changed how this works right

molten dune
#

since I cache the original values in that config setting that you aren't supposed to touch 🙂

molten dune
#

note that it's only in insanityMode where that value is ever used

pastel widget
#

My brain is slow, the cooldown means that once we peak mental illness and everything starts to shit itself, it can only do it for an hour lets say,

#

but is that 1 hour total

molten dune
#

having insanitymode disabled means no rapidfire at all on non ghost girl moons (when bypass is activated)

pastel widget
#

for the entire time on the moon

#

or an hour at a time

molten dune
#

nah it's 1 hour total per shit hitting the fan

pastel widget
#

ok

#

i may increase it to 2

#

nah

molten dune
#

yeah that's fair, 1 was starting to feel kinda short in my testing

pastel widget
#

sike

#

im going to 3

molten dune
#

hahaha

pastel widget
#

Oh right

molten dune
#

yeah without the cooldown before, the point was if you hit that point of insanity it meant you needed to gtfo the facility

pastel widget
#

I saw this before

#

thought it was funny

#

Realizing now tis an mistake?

#

When I saw the ##### i thought it was like shes just cursing at you

#

but now that i look at the default value

#

uh

#

me when the double comma no value?

molten dune
#

it is supposed to be #####, not sure why the mod manager cant display it

pastel widget
#

oh ok

#

Dance for me is WILD

#

i love it

molten dune
#

i just couldnt think of anything when i was making default values so i put that kekw

#

i didnt want it to just be copy paste of the signal translator defaults after all

pastel widget
#

since uh

#

monitors dont work

#

with gi

#

I might disable it to remove it from the weight pool

molten dune
#

yeah not atm, still need to look into that

#

makes sense to disable it

#

need to look at how GI handles that specific part of it's code to see if compatibility is possible without having something built in for me

pastel widget
#

hold this for me rq

#

rfRLcolorChange,closeAllRegularDoorsEvent,openAllRegularDoorsEvent,openSingleDoorEvent,closeSingleDoorEvent,lockSingleDoorChance,unlockSingleDoorChance,monitorsOnShipEvent

molten dune
#

remember the chance ones can be removed, they're not bool config items

#

only the true/false stuff can be changed in the ghostgirlonlylist

pastel widget
#

oop

#

yea i sloppily copy and pasted that shit

#

im cleaning it rn

#

but question

#

technically I dont need this to be gg only right

molten dune
#

technically no, unless you had a moon in the bypass list where a ghostgirl could spawn

#

if a ghost girl spawned in one of the other modes, this one will work

pastel widget
#

I have features that can enable ghost girls spawning on moons they shouldnt be able to

molten dune
#

so in that case, you can add it to the ghostgirlonlylist so that it doesnt activate outside ghostgirlenhanced mode

pastel widget
#

I want it if possible to have the ghost girl abilities be availble to her almost anywhere she is

#

however

#

since how it works

#

if we are not on a ghost girl controlled moon

#

all of her counterplay will not work

#

shower and emote wont trigger because she doesnt activate rapidfire on moons she doesnt naturally spawn on

molten dune
#

i mean you can disable ghostgirlbypass completely then

#

and just not have the backup modes ever

#

since a ghost girl can spawn on any map with your additions

pastel widget
#

that is true

#

but her actual chances of spawning are close to none

#

and I would like your mod to do cool things without collecting dust

molten dune
#

definitely something to ponder for ya

pastel widget
#

waiting for a gg spawn

molten dune
#

yeah thats fair

#

but yeah without ghost girl enhanced mode active a lot of the ghost girl stuff wont activate

#

only some of the smaller ghostcode things but they have nothing to do with hauntings

#

other than someone is actively being haunted

molten dune
#

so if i were you putting together your modpack, if you want to keep ghost girl interactions consistently under ghost girl enhanced I wouldnt spawn her on any maps that are in the bypass list

pastel widget
#

thats the thing to

#

Im a professional super villian

#

I have a events mod

#

with LGU Contracts

#

meaning after the 2nd quota, you have a chance for the schizophrenia event

#

which spawns in ghost girls

#

Now i gotta think

molten dune
#

LOL

pastel widget
#

Does this event function on moons that have her spawn predetermined

molten dune
#

i mean if it's multiple ghost girls I think it still differs a bit. And having the vanilla aspect of it wont be too bad

pastel widget
#

I believe so

#

so

#

Im gonna move this

#

gcDrainAllBatteriesChance

#

to ghost girl controlled moons only

molten dune
#

makes sense

pastel widget
#

im stupid

pastel widget
#

I can just have her

#

regularDoorsSectionStuff

#

control the entire section

#

right?

molten dune
#

yepp

#

new feature 🙂

pastel widget
#

this means

#

it will try to not spam the same ones

#

over and over again

molten dune
#

yes thats it

pastel widget
#

Ok

#

did some tests

#

she doesnt always when triggering rapid fire turn the lights red

#

but everything seems to be working

#

also idk if this is intetional or not

#

but she can breathe on ur walkie even if its off

molten dune
molten dune
molten dune
pastel widget
#

hm

#

when she "breathes" is that actually emitting sound from the walkie

molten dune
#

havent done any testing in multiplayer so lmk when you find out 🙂

pastel widget
molten dune
pastel widget
molten dune
#

my guess is yes, but hard to test sound related things in a lan session by myself

#

I know it works in multiplayer, thats about it 🙂

#

btw, if anyone can speak Portuguese and help me understand what this request is saying I'd appreciate the assistance. https://github.com/darmuh/ghostCodes/issues/9

I'm doubting google translate because it's saying that they befriended the ghost girl ai?

GitHub

All is well? Me and my friends noticed that we made friends with the IA once and after that we were never able to activate it again, can you please instruct us how to activate the ghost girl's ...

quick crow
#

is the ####### in monitorMessages intentional?

molten dune
molten dune
#

Pushed a quick update, not a lot changed. See changelog below:

[2.0.5] CURRENT VERSION

  • Hotfix for issue discovered with reboot command causing base-game player teleport function not to work.
    • Small tweak was made for how the terminal is locked out from other players.
#

ignore the double "current version" in the latest changelog facepalm

pastel widget
#

@molten dune

#

I failed?

#

Ok so

#

My configs rn

#

Specifically the rfRLcolorChange

#

I assumed this means this is disabled and only ghost girls can touch this right

#

Same with the closed and locked doors

#

However when playing on VOW

#

a non ghost girl spawning moon

#

All of these things happened

#

maybe it was the new entity i was testing that fucked with shit

#

Imma do some more testing

leaden needle
#

Quick question! So i'm playing on v49. Which is the last v49 supported version? is it 2.0.3?
nvm found out that it was 1.5.1

#

@molten dune
also unrelated question, but is it possibility that maybe in the future you can see your buddy doing things live on the terminal with darmuhsTerminalStuff? I know that AlwaysOnDisplay is a option and i really like it! Gives a cool vibe. But would be nice to also see exactly what a player is doing at the terminal (especially when dead). Maybe it's alittle unneccerary for such a small thing lol

molten dune
molten dune
#

there's maybe a few things that wont sync up, due to the limitation that obviously I cant network the terminal perfectly. But for the most part you can see what they're doin 🙂

molten dune
#

also of note, the config option you mentioned, rfRLcolorChange, only changes the color of the lights during rapidfire. They will still flicker

molten dune
#

looking now, I dont think there's a config option to just disable the lights flickering during rapidfire. Might be worth adding

pastel widget
#

I was trying to change only the light color change

molten dune
#

ahhhh gotcha

#

let me check something really quick

#

ok yeah, it's not in the banned config item list i made so it should work

#

these are the config items that i will not allow to be changed between modes

#

only because changing them mid game could lead to some odd situations that could brick the mod

leaden needle
leaden needle
leaden needle
molten dune
# leaden needle 2.0.0 100% works on v49

Awesome! You could also try the latest version. I think there’s a good chance it works too. Just note there were some bugs in 2.0.0 that were discovered and patched out in later versions 👍

leaden needle
#

alright awesome, will try it

pastel widget
#

@molten dune

#

When you can

#

I require your attention

#

I got some bugs for you to squash

molten dune
#

LMAO

#

lay them on me

pastel widget
#

so

#

remember the issue earlier

#

with me being on a ghost girl bypassed moon, and the ghost girl only configs still activating

#

yea its that

#

let me get my shit together

#

So

#

using this

#

it means on these moons

#

the lights will NOT change colors

molten dune
#

so is the issue that the config options aren't working or?

pastel widget
#

FUCK

#

AS SOON AS I TRY TO SHOW YOU ITS NOT WORKING IT WORKS

molten dune
#

💀

azure solstice
#

I'm sorry

#

lol

leaden needle
#

latest version seems to work on v49 😄

#

dunno how you did it, but you da man, maaaaan

molten dune
pastel widget
#

ok

#

nvm

pastel widget
#

GhostCodes survived my stress tests

#

Now of course I move onto your terminalstuff mod

molten dune
fringe inlet
#

I am working on the v50 version now though. 😛

#

So it is in the past

molten dune
#

gotcha gotcha, just figured i'd let ya know 🫡

#

looking forward to the v50 pack

fringe inlet
#

Should be out tomorrow. Tonight if I work fast.

It will be without moons, but all of the other features are working.

molten dune
#

nice!

fringe inlet
#

Oh and much less scrap variety untill those mods update

molten dune
#

yeah that makes sense

azure solstice
#

@molten dune Why do the facility lights turn on after the insanity flashing when there's no Appy?

#

XD

molten dune
#

if you play with facility meltdown though, the lights do flicker slowly in that mod (i check if a meltdown event is active and disable the lights portion of my code so that facility meltdown has full control over lights)

limpid yacht
#

when playing with ghostCodes solo, I noticed the rapidfire was almost always occuring immediately regardless of solo buffs. so I checked the logs and it looks like death bonus is being applied even though I'm playing solo. my best guess is it's related to MoreCompany, but I don't know for sure. is this a known issue?

molten dune
#

however, taking a peak at the relevant code it looks like I forgot to add something that makes sure the player slot is player controlled. So thank you for the report

limpid yacht
#

gotcha, thanks for the quick reply

#

I'll keep it disabled until the next update

molten dune
#

I think, especially as a solo player, you probably never would need it enabled

limpid yacht
#

that's true, yeah. I had it on because I use the same modpack when playing with friends, I just happened to be playing solo this time

molten dune
#

ahhh gotcha, that makes sense

limpid yacht
#

disabling the death bonus did help, although it seems like this issue is also affecting the solo bonus. the SoloAssist log message isnt showing up and rapid fire is happening sooner than it should be (based on how I set up the config)

molten dune
#

hmm, that's odd

#

do you have extensive logging enabled?

limpid yacht
#

yeah

#

and I have log level set to All

molten dune
#

check for this when you first start loading into the moon

"SoloAssist Activated"

#

no there's a config option in ghostcodes called extensiveLogging

limpid yacht
#

yeah I have that enabled

molten dune
#

if that is disabled, you wont see most log messages

#

gotcha, then yeah look for "SoloAssist Activated"

limpid yacht
#

control + F says 0 occurrences

molten dune
#

very odd

#

can you send your config

#

like in a pastebin or something

limpid yacht
#

the config just for ghostCodes?

molten dune
#

yeah, thanks

#

I'm going to look into it

limpid yacht
#

👍

#

lmk if you want the logs or the modpack code

molten dune
#

both would be good to drop here

limpid yacht
#

modpack code 018f1880-84be-edba-924b-adab8ad28195

#

my assumption is that its related to MoreCompany

#

/shrug but idk

#

¯_(ツ)_/¯

molten dune
molten dune
cloud isle
#

One message removed from a suspended account.

molten dune
cloud isle
#

One message removed from a suspended account.

acoustic wharf
pastel widget
#

i have no clue
what caused this
or what combination of mods caused this
so im gonna point fingers at everyone and no one

azure solstice
#

@molten dune issue with ghostCodes to report

#

When it would flicker the lights on the ship I would have my stream drop some frames

#

So it's causing networking spikes when it does that

#

I disabled the ship stuff for now

azure solstice
#

I think it's only an issue on Custom Moons, but it's still an issue lol

azure solstice
#

LOL

#

Btw @pastel widget What mod has the custom colors for the performance report screen?

#

I need it

#

lol

#

Ah it's BetterExp

pastel widget
#

its vanilla

mellow glen
#

Honestly this is kinda creepy.

molten dune
molten dune
pastel widget
molten dune
#

yeah i dont think so either but if anything points towards it i'll definitely have a look

azure solstice
molten dune
azure solstice
digital agate
molten dune
#

but it'd be like someone sitting by the light switch interacting with it every few seconds

digital agate
#

hmm, if it's actually only doing it every few seconds that does seem strange

digital agate
#

I honestly wouldn't really think so

#

.4 seconds is a long interval for something that probably only takes a few bytes to communicate (assuming Unity isn't incredibly inefficient)

#

what I would wonder is if there's some weird loop that causes it to spam messages, but I'm not sure how to test that without WireShark

#

WireShark could help determine if that's the issue at the very least

#

I would suspect that it's either some other functionality under the same option if @azure solstice stopped having the issue after disabling that option, or maybe it was a coincidence

molten dune
#

yeah not sure, i do appreciate you weighing in

azure solstice
#

and both times my stream dropped a few frames, and when the lights stopped flashing it recovered

#

Disabling the ship stuff made it go away entirely

molten dune
#

hmm, that's very odd

#

both times same moon?

azure solstice
#

Yeah

#

Junic

molten dune
#

i'd like to try to reproduce it in my own dev environment

#

anything notable in the logs?

crisp sinew
#

how close do players need to be to each other while emoting to count as a group emote for the ggEmoteCheck feature? Or is it not even distance based and you can emote from anywhere on the map inside or out and the feature will still add you to the pool of emoters to decide if the little girl should cancel a chase?

molten dune
crisp sinew
#

awww... I liked the idea of having to huddle around a haunted player and emote in a group like it's some sort of friendship ritual, makes Little Girl sort of do the same thing as Butler in that it forces people to stay together to mitigate a haunting

molten dune
#

maybe one day in the future i'll make that a configurable, as it is right now it's just a very simple check among all players

azure solstice
#

@molten dune for some reason I can't reproduce the issues I got with network spikes anymore with the ship features on so I suspect it was a mod incompatibility issue before and a mod update fixed it

#

However I would love for you to fix the bug where Insanity mode kicks in and restores power after the Apparatus has been pulled

#

XD

keen vine
#

Does ghost codes have an option to increase the chance to be haunted?

#

I think that'd be a cool config option to mess with @molten dune

#

similar to how the better mimics mod allows you to crank the spawnrate if you want

#

to see the mimics more lol

azure solstice
#

@molten dune Is it possible ghostCodes in V55 might be randomly buying store items?

#

I've had the Item Dropship come bringing items a couple times today and I did nothing

#

XD

molten dune
# keen vine to see the mimics more lol

at the moment there isn't one. I can see about trying to add this as an option in a future update (while leaving it untouched if a custom value has not been set)

molten dune
# azure solstice XD

that would be a very odd interaction lol. I'll take a look at the diffs for v55 at some point and see if this is possible

keen vine
#

crank it to 11

azure solstice
#

I never touched it

#

lmfao

molten dune
#

LMAO wtf

#

that is really funny and maybe something I should add as a feature in the future

azure solstice
#

😂

quick crow
#

that reminds me of an idea i had a while ago, a random dropship landing with four circuit bee hives (bees still attached of course)

mellow glen
molten dune
#

pushed hotfix for v55, no other changes in the update

#

[2.0.6] CURRENT VERSION

  • Recompiled for use with V55 Game Update.
  • Updated project to utilize plugin version number wherever possible, including compiling the assembly with the version number.
    • Now when I update the version number in one spot, it'll update it everywhere (except the changelog, keeping that manual)
#

ghostCodes v2.0.6

azure solstice
azure solstice
#

Btw @molten dune A bug report

#

But when rebooting the Terminal with ghostcodes, some of the changed colors in TerminalStuff revert to default green

molten dune
molten dune
azure solstice
molten dune
#

I may also add a command to terminalstuff that basically refreshes customization configuration settings

molten dune
azure solstice
#

I mean maybe with terminalstuff if Ghostcodes is detected, maybe have the Restart command replace Reboot

#

To avoid the color issues?

molten dune
#

ah you mean the keyword?

azure solstice
#

Yeah

molten dune
#

because restart in terminalstuff is VERY different from ghostcodes lol

#

that is supposed to restart the game save completely

azure solstice
#

Ahhhh lol

molten dune
#

I can def add the ability to change the keyword for the reboot command in this mod, tho I may make it just a few different options

azure solstice
#

Man I'm gonna be so glad to see this mod get some config cleanup

#

LOL

molten dune
azure solstice
#

Mod needs it holy shit

#

XD

molten dune
#

there's a lot to clean up with this mod, but I need to finish my backend cleanup first before I can

#

basically, porting the terminal stuff between mods is incredibly inefficient

azure solstice
#

Yeah I could imagine

molten dune
#

so i'm trying to create a general purpose library for my mods to use, similar to how mrov has mrovLib

azure solstice
#

lol

molten dune
#

lmao, name still being determined. I kinda want my library to be opensource so if anyone wants to improve the library they can

#

so i dont think i'll name it darmuhlib

molten dune
proven merlin
molten dune
pure star
#

At first i was going to ignore this error, but when i was looking through the logs it happenned multiple times, so i think it's worth sending here just in case it helps 👍

[00:19:19.3940222] [Error : Unity Log] ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
Stack trace:
System.Collections.Generic.List1[T].get_Item (System.Int32 index) (at <787acc3c9a4c471ba7d971300105af24>:IL_00009) ghostCodes.NetHandler.PlayGhostAudioonTerminal (System.Int32 num) (at <24031e090e6943cd8a53d20e134dbc7c>:IL_00001) ghostCodes.NetHandler.GGTermAudioClientRpc (System.Int32 num) (at <24031e090e6943cd8a53d20e134dbc7c>:IL_000ce) ghostCodes.NetHandler.__rpc_handler_1150680842 (Unity.Netcode.NetworkBehaviour target, Unity.Netcode.FastBufferReader reader, Unity.Netcode.__RpcParams rpcParams) (at <24031e090e6943cd8a53d20e134dbc7c>:IL_0003b) Unity.Netcode.RpcMessageHelpers.Handle (Unity.Netcode.NetworkContext& context, Unity.Netcode.RpcMetadata& metadata, Unity.Netcode.FastBufferReader& payload, Unity.Netcode.__RpcParams& rpcParams) (at <895801699cfc4b4ab52267f31e2a4998>:IL_0004e) Rethrow as Exception: Unhandled RPC exception! UnityEngine.Logger:LogException(Exception, Object) AsyncLoggers.Wrappers.Unity.<>c__DisplayClass4_0:<LogException>b__0() (at ./src/Wrappers/Unity/AsyncLoggerWrapper.cs:36) AsyncLoggers.Wrappers.Unity.<>c__DisplayClass28_0:<wrapCallback>b__0() (at ./src/Wrappers/Unity/AsyncLoggerWrapper.cs:136) AsyncLoggers.Wrappers.JobWrapper:LogWorker() (at ./src/Wrappers/JobWrapper.cs:84) AsyncLoggers.Wrappers.LogJob:Execute() (at ./src/Wrappers/JobWrapper.cs:68) Unity.Jobs.JobStruct1:Execute(LogJob&, IntPtr, IntPtr, JobRanges&, Int32)

molten dune
pure star
molten dune
#

I do appreciate the logs it'll help me narrow down some common issues

faint bay
#

So, if I disable GGEbypass, does that mean ghost codes won't happen unless a ghost girl spawns? I'm more or less trying to disable the mod outside of moons where one has spawned.

molten dune
pure star
#

idk if i already sended this, but it seems that ghostCodes isn't as frequent as it should be because of these errors, i see a lot of events in solo but barely any in multiplayer

[02:04:33.3773029] [Error : Unity Log] NullReferenceException: Object reference not set to an instance of an object
Stack trace:
ghostCodes.Bools.AreAnyPlayersInShip () (at <24031e090e6943cd8a53d20e134dbc7c>:IL_00036)
ghostCodes.CodeActions.ShipStuff () (at <24031e090e6943cd8a53d20e134dbc7c>:IL_00001)
ghostCodes.CodeActions.InitPossibleActions (StartOfRound instance, System.Int32 randomObjectNum) (at <24031e090e6943cd8a53d20e134dbc7c>:IL_00018)
ghostCodes.CodeHandling.HandleGhostCodeSending (StartOfRound instance) (at <24031e090e6943cd8a53d20e134dbc7c>:IL_0001a)
ghostCodes.Coroutines+<GhostGirlEnhanced>d__9.MoveNext () (at <24031e090e6943cd8a53d20e134dbc7c>:IL_00071)
UnityEngine.SetupCoroutine.InvokeMoveNext (System.Collections.IEnumerator enumerator, System.IntPtr returnValueAddress) (at <e27997765c1848b09d8073e5d642717a>:IL_00026)
UnityEngine.MonoBehaviour:StartCoroutine(IEnumerator)
ghostCodes.StaringInHauntPatch:Postfix(DressGirlAI)
DressGirlAI:SetHauntStarePosition(Vector3, Single)
DressGirlAI:TryFindingHauntPosition(Boolean, Boolean)
DressGirlAI:Update()

molten dune
#

I'll add it to my list

quick crow
#

is this still working...

molten dune
#

Eh, sorta

#

Needs an update

#

There’s a few regular errors that get thrown but otherwise the mod should work fine

#

This is my last project that I need to move to OpenLib

desert summit
fringe inlet
#

@molten dune

I just got back to working on Shattered Company after a hiatus.

I have a couple questions. How do the Teleporter Ghost Codes work? Is Ghost Codes stable for v61?

fringe inlet
#

Missing name in description

molten dune
molten dune
#

deprecated this mod for the time being since I've gotten reports this mod is severely broken in the latest update