#Lategame Upgrades

1 messages Β· Page 19 of 1

fading marten
#

Yeh

#

I mean

#

I'm assuming that

#

both of em basically informed it's the messing with how fast/slow time is moving

steady trail
#

Yeah, I knew that

#

Since..

#

Extend deadline?

fading marten
#

so I'm like: "Ok - then if you just instantly change time backwards... it shouldn't fuck with things" mentally

#

but for all I know, batby'll come in here be like "No, if time is edited backwards - the spawn curve watermelon squash code fucks up" -3-... I apologize that I thought the systems were coded flawlessly. If editing time backwards still screw things up - I apologize for thinking it wouldn't πŸ˜“

steady trail
#

Having 10+ days (in code) fucks up enemy spawns, period.

magic citrus
#

BUG REPORT:
after recent update non host players can see nvg battery at top, and some players cant stop using the terminal. Once they interact with the terminal they get stuck and cant leave it.

fading marten
#

gib log to a github report o, o

steady trail
#

So a bandaid was made to prevent ever reaching past 3 days when spawning enemies.

fading marten
#

oh really? o ,o

#

which bandaid

steady trail
#

Mine and uhhh

#

ExtendDealinrByQuota?

#

I don't remember the name now.

fading marten
#

oh LGU prevents spawn mechanics screwing up when it's large deadlines?

steady trail
fading marten
#

Cool o _o

#

is that advertised on the page and I just missed it? ., .

steady trail
#

It's just a quick switch.

#

I mean

fading marten
#

that's something to advertise. That's helpful as hecc

steady trail
#

I didn't think it was relevant to post.

magic citrus
steady trail
#

This on clients too, I. assume?

magic citrus
#

nope no error logs

#

i just redownloaded the previous one 3.3.1 and it works fine

steady trail
#

Hmm

magic citrus
#

3.4.0 the newest has this glitch only

steady trail
#

But the host doesn't see this.

#

Only clients.

magic citrus
#

yep

#

the host in our case didnt experience none of these we tried 2 different host

fading marten
#

the logs should still state something, right? .,. ... even if no errors are outputted - maybe a warning?

magic citrus
#

hmm let us redownload the newest version then

fading marten
#

I feel like every single softlock I've ever experienced though has given fat errors

#

like the one with lucky dice - was a giant wall of errors

#

or the LP fix

#

How does a softlock not show errors... I love the world of coding -u-... I probably should've continued doing Java

magic citrus
#

this is the best i can do i cant stop it it spams that couple of lines i sent above

steady trail
#

Onoes.

fading marten
#

something lethalexpansioncore is doing?

magic citrus
steady trail
#

Uhh

#

It could be me assuming things wrong.

#

As I tested with LLL

#

Not with LE

fading marten
#

looks like LEC tries to patch the terminal for something

steady trail
#

Because the problem I had is that someone probing and then someone joining after.

#

They wouldnt see the same set of weathers.

#

Thus the patch which is right now crashing

#

Whose job is to put any set weathers through probe to the client too.

unborn rampart
#

Just curious, are you sure this is caused by the quantum disruptor? I think the vanilla game itself has a possible entity spawn time at 7.40 or 7.50 AM (I don't really remember the specific time), so it is possible that those spawned just before your ship lands at 8.00 AM (depending on RNG).

fading marten
magic citrus
#

so solution is uninstall LEC?

steady trail
#

Don't know

fading marten
magic citrus
#

or use LGU 3.3.1

steady trail
#

On mobile for troubleshoot isnpain

magic citrus
fading marten
#

huh..

magic citrus
#

this is the only single mod that uses LEC

fading marten
#

hm...

#

now that I mention it, does any scrap-adding mod use LLL?...

#

does LLL have the ability to add scrap, and I just don't have one?

unborn rampart
fading marten
#

have u seen the message I linked? XD

#

A girl and Herobrine spawning in before the ship even lands

#

I'd make the day 2x faster to not deal with that for half the day

fading marten
#

although fun fact-.... or not really so fun fact, I do believe I was haunted by both the girl AND herobrine at the same time.

#

LethalLevelLoader

magic citrus
#

yeah we dont evenhave LLL

fading marten
#

oh wasn't really thinking ye had it or not - was moreso wondering if LLL had scrap-adding capabilities

steady trail
magic citrus
fading marten
#

mhm mhm .w.

magic citrus
unborn rampart
fading marten
#

That happened prior to most start-of-level messages

#

the ship hasn't landed

magic citrus
unborn rampart
#

Ouch

fading marten
#

in fact

#

that IS cropped.

#

there were a few MORE enemies below

#

but I took that image cause it showed both girl and herobrine

#

("Cropped" as in, I could've scrolled and showed more repeating spawning messages)

fading marten
magic citrus
#

so host doesnt have any red text. we will try switching so i become the host and he becomes client

steady trail
#

I didn't even think that would be possible, lol.

fading marten
steady trail
#

The most important component is not initialized at the time this code is executed.

magic citrus
#

update: now I see the nvg battery at top even in new game (we never bought the nvgs), and both of us can leave the terminal

steady trail
#

Can?

magic citrus
#

yep CAN

#

πŸ˜„

steady trail
fading marten
#

how is... it not initialized? . ,. ... what

steady trail
#

Can't really predict that.

fading marten
#

can't control it either, right?

steady trail
#

Ye.

#

Unity stuff.

fading marten
#

it's basically an arbitrary order

#

I'd question "what harm could happen if numerous things load at the same time-" ... but I guess Unity things

#

-w-'

steady trail
#

Lemme try real quick with two locals.

junior urchin
#

How did you fix the problem of players not being able to leave terminal ?

steady trail
#

How is it even doing htat

fading marten
#

🀣

magic citrus
#

atleast im not the only one i guess

fading marten
steady trail
#

Great.

#

My PC's so nice.

#

That one of the instances didn't load.

magic citrus
#

i mean i could send you the mod code list maybe that helps?

steady trail
#

I can't get stuck and I can't have NV UI appear out of nowhere.

#

Reee.

magic citrus
#

@steady trail want me to send you the whole mod list in pictures or the mod list code?

steady trail
#

Uhh.

#

Mod list in txt.

#

Unless there's no moons

#

Then gib code.

#

Because waiting 15 minutes to download is pain.

magic citrus
junior urchin
#

In my case, host did not have any issue leaving the terminal

magic citrus
#

018e58ad-27ac-a8be-b2cb-9812703c475d

magic citrus
#

only clients couldnt

#

like look at this πŸ˜‚

#

(the 2nd grey or black bar is sanity mod bar shows sanity level)

#

and rn im the host but client still does not see that nvg bar

#

i bet u guys are like this rn

real gust
#

second window got stuck with your mod code

magic citrus
#

πŸ€”

#

ill start removing some client mods i guess

real gust
#

LethalRichPresence spam is real

#

holy shit haha

magic citrus
#

okay something is SERIOUSLY broken, mimics are invisible lol

real gust
#
[Info   : Unity Log] In terminal menu: True
[Info   : Unity Log] PLAYER OPENED MENU
[Info   : Unity Log] In terminal menu: False
[Info   : Unity Log] PLAYER OPENED MENU
[Info   : Unity Log] In terminal menu: False
[Info   : Unity Log] PLAYER OPENED MENU
[Info   : Unity Log] In terminal menu: False
[Error  : Unity Log] NullReferenceException: Object reference not set to an instance of an object
Stack trace:
(wrapper dynamic-method) Terminal.DMD<Terminal::QuitTerminal>(Terminal)
Terminal.PressESC (UnityEngine.InputSystem.InputAction+CallbackContext context) (at <af9b1eec498a45aebd42601d6ab85015>:IL_0013)
UnityEngine.InputSystem.Utilities.DelegateHelpers.InvokeCallbacksSafe[TValue] (UnityEngine.InputSystem.Utilities.CallbackArray`1[System.Action`1[TValue]]& callbacks, TValue argument, System.String callbackName, System.Object context) (at <dbb0ce7b96144bd8bcbcb8b0d765f970>:IL_001B)
UnityEngine.InputSystem.LowLevel.<>c__DisplayClass7_0:<set_onUpdate>b__0(NativeInputUpdateType, NativeInputEventBuffer*)
UnityEngineInternal.Input.NativeInputSystem:NotifyUpdate(NativeInputUpdateType, IntPtr)

[Error  : Unity Log] NullReferenceException while executing 'performed' callbacks of 'Movement/OpenMenu[/Keyboard/escape,/Keyboard/tab]'```
magic citrus
#

okay uninstall rich thing

real gust
#

thats a lot of debug lines haha

magic citrus
#

uninstalled lethalrich was not the solution

real gust
#

i know, just rambling about the spam

magic citrus
#

okay so i tried pressing esc while interracting with terminal this is the error code i get

#

@steady trail are you still alive? πŸ˜„

steady trail
#

I'm like

#

Babysitting a freshman on computer science stuff.

#

While playing DRG with friends.

#

While also troubleshooting this.

magic citrus
#

oh lmfao sorry to bother

magic citrus
tawdry wadi
#

I will say btw I've never changed the config for CullFactory

#

I just use it at defaults

magic citrus
#

okay short term fix is simply disable LEC(LethalExpensionCore)

#

fucking hell i hate when mods clash each other

spark canopy
#

LLL's goal rn is to get everyone away from LEC tbf

magic citrus
#

welp sadly Immersive scraps uses LEC :/

#

and we or atleast I like immersive scraps mod

spark canopy
#

yeah that's annoying cuz i like immersive scraps as well

steady trail
#

I don't even touch PressEsc, what the hell?

#

Maybe because Weather is crashing so everything else is fucked

steady trail
#

I just need to make sure that the clients see the same weather so anything before they access terminal should be fine.

magic citrus
#

where do i place this file?

steady trail
#

The same place as where the r2modmanager puts.

#

Which should be BepInEx/plugins/LGU

magic citrus
#

tyty will try

#

@steady trail the file solved this issue thanks! ❀️

steady trail
#

Ok so after client connects, not after weather.

magic citrus
#

we will start testing more and see if we encounter any other issue

torpid ferry
#

Could you give me a rundown on the reason for LethalThings and LCSoundTool?

steady trail
torpid ferry
#

What happened to LGU dungeons when running Loadstone? I am out of the loop.

spark canopy
tawdry wadi
#

I've heard so many times LethalThings is unoptimized but I've had no problems tbh

spark canopy
#

the scrap is the unoptimized part of LethalThings

tawdry wadi
#

I've had other issues with it but never performance related ones

spark canopy
#

its minor tho tbf

feral crane
#

Yeah I don’t think it’s unoptimized

#

Errors it throws might cause game slowdown though

#

(Which it does do a bit)

spark canopy
#

but many things are hardcoded which will break some mods

tawdry wadi
#

Usually only happens if you don't make a new save

torpid ferry
# steady trail It should still work with it.

I remember LC Better Saves causing upgrades to migrate and not load properly. Was this fixed.

Also, did I message the wrong person? I scrolled up to find the developer but I noticed you dropping .dll files.

tawdry wadi
#

Plus it's not the only popular mod that breaks things, Cough MEOF causing spawn rates to go insane Cough

steady trail
torpid ferry
indigo prawn
#

Yeah spike is the owner now everything is at his discretion. Curious though where did you see my handle? I thought I changed everything to point to him.

spark canopy
spark canopy
#

prolly cuz you're the thread op yea

feral crane
#

:P heheh

indigo prawn
#

Oh yeah it says my name beside the post

feral crane
#

It’s fine though

indigo prawn
#

That'll do it

magic citrus
#

@steady trail the fix u made works fine!! Thanks your a life saver πŸ˜„

tawdry wadi
#

I'm surprised WhiteSpike doesn't have the modder role btw

steady trail
#

I do.

#

I just don't have the coloured ones.

tawdry wadi
#

Oh okay you just don't have the code role

spark canopy
#

get yourself one 😭

torpid ferry
steady trail
#

But I like this colour.

indigo prawn
#

Very based

tawdry wadi
spark canopy
tawdry wadi
#

6 dogs on Eclipsed Titans, 8 on Eclipsed Rends, etc

torpid ferry
tawdry wadi
#

And then Coppertiel's response was "8 dogs seems pretty normal to me" πŸ˜‚ I was like "No the game hard codes it at 3-4 max by default"

spark canopy
#

8 dogs is nothing to me

tawdry wadi
#

Lmfao

spark canopy
#

i have too many dogs at home

torpid ferry
steady trail
#

I know.

torpid ferry
#

I think it was public before but is now hidden unless you have the modder role.

steady trail
#

But I like being white-coloured name.

tawdry wadi
#

He knows, he wants a white one

steady trail
tawdry wadi
#

@gusty flint can we get a custom white role for WhiteSpike?

torpid ferry
#

hahahahahaha

#

preferential treatment?

torpid ferry
#

Also how does Loadstone break LGU?

#

I was about to implement it and I saw this in chat thankfully.

torpid ferry
#

Or has an attempt already been made?

spark canopy
steady trail
torpid ferry
#

Woot

torpid ferry
steady trail
#

Now to find out why you appear.

fading marten
#

WhiteSpike when they find the bug:

steady trail
#

Like

#

It doesn't appear on the first ever game you join.

#

Only second and past.

fading marten
#

that sounds like a big clue

steady trail
#

Because it's null for some reason?

#

Then how did you not crash?

fading marten
#

cause it

#

was null problem.

#

I'll see myself out

steady trail
#

Please have mercy, I'm just a child.

flint canyon
steady trail
tawdry wadi
#

Now what we have KeepEnemyPower I think that functionality of MEOF could be removed

#

Just cus I really don't like having 8 dogs on Eclipsed Rend due to using a bunch of custom enemy mods πŸ˜…

steady trail
#

Haha death.

#

At least you aren't yoinked from the ship by a giant.-

tawdry wadi
#

I also noticed I had custom enemies spawning in more often after removing MEOF so I think MEOF seems to prioritize masked spawning too and mess with other spawns

steady trail
#

lands into moon
goes outside waiting for ship to land first
sees friend disappear and hear giant eating noises

tawdry wadi
#

Lmfao

#

Xu's mod makes that great, it's satisfying to have a Redwood eat the giant after and be like "Yes Vengeance!!!!"

torpid ferry
tawdry wadi
# torpid ferry If you do not remove it. At least put a bool toggle in the config with a good de...

Well the implementation originally sort of made sense since the Vanilla game would lower power levels when killing an enemy but now that we have this mod https://thunderstore.io/c/lethal-company/p/JS03/KeepEnemyPower/ it's no longer needed, and it avoids the bug of too many dogs spawning lol

#

I was using this mod last night when I streamed and had MEOF removed and no more than 3 dogs spawned on Eclipsed Rend πŸ™‚

#

My main guess is the power level adjusting stuff in MEO was for the zombie apocolypse mode stuff

#

But @flint canyon would know more about this than me

#

I do agree with SourceShard though that adding a bool toggle to disable the power level adjustment stuff with a description of what it's meant for would be a great idea though @flint canyon

steady trail
#

Adding config is fun.
Just makes code look like it's held by hopes and dreams.

#

(jk, it's fine)

#

Huh.

#

@real gust Any idea why this is happening after a client joins? hmm

#

Because it breaks the client's night vision, lol.

flint canyon
#

and zombie apocalypse kind of never really worked properly

#

digging into vanilla spawn mechanics is on my todo list

rotund field
# flint canyon digging into vanilla spawn mechanics is on my todo list

If you need help figuring out exactly how it works, I recommend testing with #1213985212686532638. It lets you control the spawn curves of individual enemies and a bunch of other spawning related stuff. I also made a Desmos graph to help visualise the animation curves without needing Unity :))

flint canyon
#

looks useful, thanks

steady trail
#

Off to sleep I go now.

real gust
candid ginkgo
hard tapir
#

Lol my group just discovered the terminal softlocking and I see the mod updated in the middle of our session and fixed it. Thanks for saving our tuesday night

loud radish
#

so... latest update breaks cheaper fuel (even when engine upgrade is disabled). heck.

wintry anvil
#

im so stupid

#

i forgot to remove every mod that would change item's data

#

"SmartItemSaving", remove it, and get outdated storage mod run as normal, problem fixed

#

need sleep to cooldown overloaded brain now

loud radish
tender vortex
#

am i able to delete csync despite it being a dependancy? its been causing issues now that its been added

steady trail
steady trail
#

When I made syncedEntry, it stopped dying so either that's not how you exclude data members from being synchronized. Or other magic is involved.

#

Maybe because of it being color

steady trail
steady trail
#

As they appear the same way as unused values appear, you know?

mortal berry
#

Apparently, forcing a certain weather on a moon doesn't seem to work currently. (That or I'm doing it wrong)

I tried "probe assurance eclipsed" and it gives the confirm/deny prompt, but then it errors out, saying it's an invalid weather (even though assurance can definitely be eclipsed).

#

Is it because assurance is already affected by a weather, and it needs to be clear, is my syntax wrong, or is it something else?

steady trail
#

Hmm

#

The invalid weather would be that an unused weather (Dust Clouds) was selected by the algorithm.

#

And that's usually when the moon doesn't allow the selected weather.

tawdry wadi
#

I kind of wonder why Dust Clouds even exists in the game code

steady trail
tawdry wadi
#

My guess is maybe it was gonna be used for planets like Experimenation, Assurance, and Offense at some point?

steady trail
#

Could be also something that was forgotten.

#

It just happens.

tawdry wadi
#

True

steady trail
#

Like spider meant to be faster when on low hp

tawdry wadi
#

Oh it does speed up in vanilla when it has 1 or 2 hits left

#

Lol

steady trail
#

At like.

#

Version 46.

#

The code was there since 40.

tawdry wadi
#

Ah

steady trail
#

It was just not being executed because it had two health variables.

tawdry wadi
#

Arachnophilia makes them too fast in chases by default but I do love Arachnophilia lol

steady trail
tawdry wadi
#

That 1.25 speed just has them zooming and you're guaranteed to die almost everytime unless you adjust it

#

πŸ˜‚

steady trail
#

So wait

steady trail
#

Because you're not supposed to get an invalid weather prompt after the confirn prompt.

mortal berry
#

Yes, and I input 'c' for confirm, and it gives me the error

steady trail
steady trail
#

No, you need the full word.

mortal berry
#

Unless I need to put in the full 'confirm'

#

Oh, come on really?

#

I understand needing the full word for everything else

steady trail
#

I mean

#

If you're using a mod that changes loot based on loot.

#

Based on weather *

tawdry wadi
mortal berry
#

But I've kinda gotten used to just hitting 'c' to confirm for almost everything else (stores, moons, etc)

steady trail
#

Yeah, I know.

#

I just feel like.

mortal berry
#

Using shortcuts might cause conflicts

steady trail
#

Typing the full word makes sure that you want that thing.

#

Typing c can lead you to not realize fast enough that the weather you picked was wrong and couldn't correct without spending more money.

#

Because you can already put input like "Mar" for March or "ti" for titan.

mortal berry
#

Well, that makes sense, but the error message said that the weather was invalid, and not that the input for 'confirm or deny' was bad.

steady trail
#

Really?

mortal berry
#

Yeah, lemme double check

steady trail
mortal berry
#

Okay, I see it now

#

The line does match up, but it confused me because I think the wording is a bit vague.

steady trail
#

I basically took it from the contract one.

mortal berry
#

I suggest it should say something like "Cannot interpret user's confirmation, request has been cancelled. No credits have been charged."

steady trail
mortal berry
#

That could also go for the contracts as well, since that's not context specific

steady trail
#

Ye

#

It's just a generic "confirm failed" message.

#

That's fine.

mortal berry
#

Just refer to the confirmation prompt directly. It had me thinking the initial probe request was bad, even though it brought up the confirmation prompt, and that was what threw me for a loop.

steady trail
#

Oki oki

torn mason
#

hi! a friend of mine when using the "reset lgu" command stated "lgu save was not found"

steady trail
#

And they had upgrades?

#

No wait

#

Reset lgu is everyone's.

#

I think

#

It has been a while since I last messed with save manipulation.

torn mason
#

the lategame info says that it only wipes the client's save

steady trail
#

Hm

#

And you have upgrades before?

torn mason
#

fresh save

steady trail
#

So you have nothing.

torn mason
#

ok not technically fresh save its day 2

#

i set hunter to cost 1 and bought it

#

and i just used forceCredits to buy running shoes and my friend does not have it

steady trail
#

Even after load lgu <yourName> typed in terminal by your friend?

torn mason
#

yup

#

the upgrades don't activate for them

steady trail
#

Can they provide their logs to look for any error pop-ups?

torn mason
#

where can we find it?

steady trail
#

In the BepInEx folder.

torn mason
steady trail
#

For fuck sake, missing components.

#

Like how, reeee

#

I don't understand how I'm possible to have a gamrObjrct but not its components.
It just doesn't make sense. angy

vocal anvil
#

it means the assetbundle bundles gameobjects with components of a class that wasnt loaded in the game

steady trail
#

Then why does it sometimes work sometimes not?

#

It would be full on not work.

vocal anvil
#

what mod is this for

steady trail
#

Essentially giving players options to spend credits, either credits, items or commands for changing behaviors.

vocal anvil
#

no like

#

usually that can happen if for some reason the bundle can get loaded before the mod

steady trail
#

Like some other mod loading the bundle before I do?

#

The thing is the prefabs at the bundle level only have the network object.

#

The components that are manipulated are added at code which then registered as network prefab.

steady trail
#

Its just odd that Get Component is throwing NRE instead of returning null.

vocal anvil
#

its not

#

show code

steady trail
#

I'm on phone right now but I can try point to what you need.

#

https://github.com/Malcolm-Q/LC-LateGameUpgrades/blob/main/MoreShipUpgrades%2FManagers%2FLGUStore.cs#L343

One of the cases that throws NRE at Get Component.

https://github.com/Malcolm-Q/LC-LateGameUpgrades/blob/main/MoreShipUpgrades%2FMisc%2FUpgrades%2FBaseUpgrade.cs#L45

Where the gameobjects are added to the manipulated array (which is then called on the same classes' Start)

GitHub

Repo for the LateGameUpgrades Lethal Company Mod. Contribute to Malcolm-Q/LC-LateGameUpgrades development by creating an account on GitHub.

GitHub

Repo for the LateGameUpgrades Lethal Company Mod. Contribute to Malcolm-Q/LC-LateGameUpgrades development by creating an account on GitHub.

torn mason
#

we opened a new save after reinstalling LGU and now my friend can't open the LGU store at all

#

like it isn't there

vocal anvil
steady trail
#

How so?

vocal anvil
#

UpgradeBus.Instance.UpgradeObjects[name].GetComponent<BaseUpgrade>().Load();
this is super unsafe code cuz your not doing trygetvalue on the dict or trygetcomponent

#

both these could throw NRE's and i bet its the former

steady trail
#

I would get a key not present if it was not in the dictionary, would I not?

vocal anvil
#

i could be wrong but pretty sure when you use the dict like that it just throws an NRE

youd know forsure if you use the safe ways to get those though cuz you can throw your own errors on else

steady trail
#

[Error : Unity Log] NullReferenceException
Stack trace:
UnityEngine.GameObject.GetComponent[T] () (at <e27997765c1848b09d8073e5d642717a>:IL_0021)
MoreShipUpgrades.Managers.LguStore.UpdateUpgrades (System.String name, System.Boolean increment) (at <fc910d3e4a7542f386fc02746360f8ef>:IL_00D7)
MoreShipUpgrades.Managers.LguStore.HandleUpgradeClientRpc (System.String name, System.Boolean increment) (at <fc910d3e4a7542f386fc02746360f8ef>:IL_0131

This is the stack trace I'm getting.
From what I am understanding, the dict did not give me a null value otherwise get Component wouldn't be in the stack trace.

vocal anvil
#

fair

#

check if the value is null

steady trail
#

Of get Component?

vocal anvil
#

nah of the dict

#

UpgradeBus.Instance.UpgradeObjects[name].GetComponent<BaseUpgrade>().Load();

the actual value in your keyvaluepair could be null

#

<string, null>

steady trail
#

Right.

vocal anvil
#

nothing in the code looked like a reason why that might happen

#

but programming yknow

steady trail
#

But then wouldn't it not throw before Get Component is called?

#

The thing that is confusing me is that Get Component is in the stack trace.

vocal anvil
#

wait im derping

#

i overanalysed this

vocal anvil
#

its not throwing an NRE because get component is null

#

its because get component was null and your using it like it wasnt

steady trail
#

Then why is Get Component in the stack trace?

#

It should not if it returned null

vocal anvil
#

i could be wrong

#

i'd null check the three unsafe references in those lines tho first

#

reduce loose ends

torn mason
#

ok so the odd issue was resolved by having my friend start his own save first before joining (after launching the game)

livid ocean
#

is there currently a bug that prevents everyone but the host from using LGU

tawdry wadi
#

If there's one thing that bugs me about LGU

#

it's how all the commands show up on the terminal home page rather than it having like a seperate subdirectory to show them

#

Lol

#

it looks so messy

steady trail
#

I could make that

torn mason
#

also, me and my friend just bought the NV goggles, does turning off the "lose NV on death" setting make the goggles shared?

#

because we bought only 1 but when my friend equipped them i also received one

steady trail
#

Googles have the individual config

real gust
steady trail
#

So making it string might fix that issue.

#

Though I would have to parse to color.

worthy aspen
#

Do LGU contracts generally work well with custom interiors?

steady trail
#

They should, yes. It was implemented to not really care what interior it is.

worthy aspen
#

Because last time I got an exterminator contract on Office all of the hoarding bugs spawned in the void and was causing major performance issues

steady trail
#

And it has no vents? Because it uses a vent to spawn the contract object.

#

Since using the vanilla item spawn was more times putting out of bounds then in.

worthy aspen
#

the egg spawned correctly but not the hoarding bugs

steady trail
#

They should as they use the same position as the egg.

#

@real gust Yup.

#

Which then leads to blank LGU store page.

real gust
#

this also break lethalconfig

steady trail
#

Can you look at it or busy right now?

real gust
#

I can try

#

Im banging my head trying to make a hoarderbug that's friendly

#

and help gather scrap

#

._.

steady trail
#

You would have to put the nest close or on the player, probably.

torn mason
#

seems like the audio from samples from the hunter upgrades are playing globally, friend can hear it despite being in the facility and im on the ship and vice versa

real gust
#

im duplicating the hoarderbugai script and removing the chase/attack part and putting the nest at the dungeon entrace

steady verge
#

Anyone else have the problm where other clients that are not host cant use the lgu command in the terminal?

#

but the upgrades work fine on them they just cant seem to use the lgu command to open the store in the terminal

torn mason
steady verge
torn mason
#

yeah just for a moment and then they can join back

steady verge
#

Alright thanks!

torn mason
# steady verge Alright thanks!

oh and, if you ever do re-load that save file, everyone has to type "load lgu playername" (replace playername with host's username)

real gust
#
client.nightVision.color = NVGColor;```
steady trail
#

Also there's "RevertSync"

#

from SyncedInstance.

real gust
#

csync temporary sync the files

steady trail
#

Ye.

#

What happens if the person joins again? Lol.

#

Double sync?

real gust
#

sync again? xD

#

my game was mad with the mic

steady trail
#

Try several times.

real gust
#

keep connection and disconnecting with client?

steady trail
#

Ye.

real gust
#

client now have the bar stuck but can't use nvg

#

Individual Purchase = true

#

but no errors about color

#

start is not called on reconnect

#

maybe that causes the ui to stay active

#

since you turn it off inside the start function

steady trail
#

Yeah, I put it disabled on Unity. hmm

#

Like others like walkie gps and similar.

real gust
#

hmm

#

i did not test futher, had to make lunch and clean the kitchen haha

wintry anvil
#

me again, Im looking for LC modding tutorial, trying to make a furnace...

#

you interacted it with scraps, and it read the scrap value and delete scraps that you holdding, and if you push a button on furnace, it spawn a scrap with have same value as total scraps you insert in furnace.

real gust
#
Stack trace:
MoreShipUpgrades.UpgradeComponents.TierUpgrades.NightVision.TurnOn () (at <bd40a2efbfe544a8ab76f4bcea447cf4>:IL_0057)
MoreShipUpgrades.UpgradeComponents.TierUpgrades.NightVision.Toggle () (at <bd40a2efbfe544a8ab76f4bcea447cf4>:IL_0065)
MoreShipUpgrades.Input.Keybinds.OnNvgActionPerformed (UnityEngine.InputSystem.InputAction+CallbackContext context) (at <bd40a2efbfe544a8ab76f4bcea447cf4>:IL_0066)
UnityEngine.InputSystem.Utilities.DelegateHelpers.InvokeCallbacksSafe[TValue] (UnityEngine.InputSystem.Utilities.CallbackArray`1[System.Action`1[TValue]]& callbacks, TValue argument, System.String callbackName, System.Object context) (at <dbb0ce7b96144bd8bcbcb8b0d765f970>:IL_001B)
UnityEngine.InputSystem.LowLevel.<>c__DisplayClass7_0:<set_onUpdate>b__0(NativeInputUpdateType, NativeInputEventBuffer*)
UnityEngineInternal.Input.NativeInputSystem:NotifyUpdate(NativeInputUpdateType, IntPtr)```
#

client log

wintry anvil
#

@steady trail is it hard to make a function like this? like read the current value of scraps that you holding it, or interactive with furniture...

#

Or if the same function project is already in your todo-list (or you decide add it soon), you must be the Godfather of our brothers.

torn mason
#

whitespike really is the godfather of mods

real gust
#

client nvg turns on but it's white (the default color of vanilla night vision?)

torn mason
#

default NV is green i believe

wintry anvil
#

or just gimme some tutorial, iwill try it by myself _(;3

steady trail
real gust
#

could be

wintry anvil
steady trail
#

How you want it to be acquired is different story as I'm not knowledgable enough about furniture purchases/objects.

wintry anvil
steady trail
#

Right.

wintry anvil
steady trail
#

This new thing just stores the scrap value.
Whenever you want to withdraw from it, you just interact with a button in it and it dispenses a scrap with that value.

wintry anvil
#

maybe not a furniture, some tools from terminal store instead

wintry anvil
real gust
#
[Info   :More Ship Upgrades] [LguStore] Save file received, registering upgrade objects and deserializing.
[Info   :More Ship Upgrades] [LguStore] SHARED SAVE FILE: Loading index 0 save under steam ID: 76561197980358676
[Info   :More Ship Upgrades] [UpgradeBus] Sale data empty, continuing...
[Info   :More Ship Upgrades] [LguStore] Applying loaded upgrades...
[Error  : Unity Log] NullReferenceException: Object reference not set to an instance of an object
Stack trace:
MoreShipUpgrades.Misc.Upgrades.BaseUpgrade.Load () (at <bd40a2efbfe544a8ab76f4bcea447cf4>:IL_0027)
MoreShipUpgrades.Managers.LguStore+<WaitForUpgradeObject>d__32.MoveNext () (at <bd40a2efbfe544a8ab76f4bcea447cf4>:IL_0135)
UnityEngine.SetupCoroutine.InvokeMoveNext (System.Collections.IEnumerator enumerator, System.IntPtr returnValueAddress) (at <e27997765c1848b09d8073e5d642717a>:IL_0026)

[Info   :More Ship Upgrades] [UpgradeBus] Sale data empty, continuing...
[Info   :More Ship Upgrades] [LguStore] Applying loaded upgrades...
[Error  : Unity Log] NullReferenceException: Object reference not set to an instance of an object
Stack trace:
MoreShipUpgrades.Misc.Upgrades.BaseUpgrade.Load () (at <bd40a2efbfe544a8ab76f4bcea447cf4>:IL_0027)
MoreShipUpgrades.Managers.LguStore+<WaitForUpgradeObject>d__32.MoveNext () (at <bd40a2efbfe544a8ab76f4bcea447cf4>:IL_0135)
UnityEngine.SetupCoroutine.InvokeMoveNext (System.Collections.IEnumerator enumerator, System.IntPtr returnValueAddress) (at <e27997765c1848b09d8073e5d642717a>:IL_0026)```
#

load lgu

#

host have the nvg but when the client connected the nvg was not enabled

steady trail
#

snorts

#

Because Show Chat Notification is also not shared.

real gust
#

im trying something now

#

just need a couple of trys to make all run

steady trail
#

Worst case scenario, we make two configs.

real gust
#

im testing without updating the second profile dll

steady trail
#

Nice.

real gust
#

that explain why im not seeing my prints

#
{
    logger.LogDebug($"[NVG]: {SyncedInstance<PluginConfig>.Default.NIGHT_VIS_COLOR.Value}");
}
catch (Exception ex)
{
    logger.LogDebug("[NVG]: default");
}
try
{
    logger.LogDebug($"[NVG]: {SyncedInstance<PluginConfig>.Instance.NIGHT_VIS_COLOR.Value}");
}
catch (Exception ex)
{
    logger.LogDebug("[NVG]: instance");
}
try
{
    logger.LogDebug($"[NVG]: {UpgradeBus.Instance.PluginConfiguration.NIGHT_VIS_COLOR.Value}");
}
catch (Exception ex)
{
    logger.LogDebug("[NVG]: bus");
}```
#

host
[Debug :More Ship Upgrades] [NV Headset Batteries] [NVG]: 00FF00FF
[Debug :More Ship Upgrades] [NV Headset Batteries] [NVG]: 00FF00FF
[Debug :More Ship Upgrades] [NV Headset Batteries] [NVG]: 00FF00FF

client
[Debug :More Ship Upgrades] [NV Headset Batteries] [NVG]: 00FF00FF
[Debug :More Ship Upgrades] [NV Headset Batteries] [NVG]: instance
[Debug :More Ship Upgrades] [NV Headset Batteries] [NVG]: bus

#

yep

#

[Debug :More Ship Upgrades] [NV Headset Batteries] [NVG]: FF0000FF
[Debug :More Ship Upgrades] [NV Headset Batteries] [NVG]: instance
[Debug :More Ship Upgrades] [NV Headset Batteries] [NVG]: bus

#

changed client color to see

#

SyncedInstance<PluginConfig>.Default is where the configs go

#

SyncedInstance<PluginConfig>.Instance / UpgradeBus.Instance.PluginConfiguration is SyncedEntry and SyncedInstance<PluginConfig>.Default is ConfigEntry

steady trail
#

As in it's client's config.

real gust
#

yes

#

if its a ConfigEntry we should use the default route

swift horizon
#

A color is just 4 ints right? You could store those since they xan be serialized

real gust
#

its not that

#

the mod uses csync to syncronize the configs

#

but some are client side only, like the color

#

we just used the wrong call for client only config

#

the color is stored as hex value

bitter arrow
#

Hi, i wanted to ask, im playing with 3 ppl and now only host can buy upgrades, and if me or anyone else but host will leave and return back, they will not have any upgrades, and it wouldnt be a problem because of load lgu command but some upgrades seems to not work either, for example running shoes, ty for reply

feral crane
feral crane
bitter arrow
#

yes

#

no i dont have a lot of mods, mostly cosmetics and thats it

feral crane
worthy aspen
#

Is LGU compatible with AC?

steady trail
#

So long as you turn off the upgrades/perks that apply the same thing, yes.

worthy aspen
#

Thanks!

bitter arrow
worthy aspen
#

Do you guys think keeping upgrades after being fired is fair or nah?

#

Trying to balance my modpack

granite moth
#

nah

candid ginkgo
#

Only furniture because that's cute and makes your friends feel a sense of progression. Useful upgrades certainly not.

hasty quail
#

Is keeping the useful upgrades balanced? Absolutely not. Is it FUN though? Yes

#

My roommate and fiancΓ©e and I are playing with LGU and have "keep upgrades after quota failure" set to true. Gives us stuff to work towards across quota failures, and makes failing quota actually fun, since we can start fresh with a bunch of overpowered upgrades. It encourages us to sell more than just enough to meet quota, so we can buy more upgrades

unborn rampart
#

Depends on what kind of experience you're looking for. Personally I prefer not keeping any upgrades after being fired. The upgrades give more of a reason to work for during the run and adds complexity as to how to balance your spending. If you prefer having a sense of progression after each run, then keeping upgrades can also be a fun way to play the game.

hasty quail
#

Hmmmm, now none of the upgrades are applying to anyone on the ship except me (the host) again

steep hull
#

I found a bug about masked player that, once the host killed them, its posture is still standing, but the host see them is lying on floor. I dunno is that a bug with the saving hostage contract mission as this happened after we do that contract

hasty quail
hasty quail
#

A non-host player log file

#

Downgrading to 3.3.1 for now. Since 3.4.0 still didn't work, and also got one of my players stuck on the console

#

3.3.1 is working as intended. Kinda sucks that we can't try out the new upgrades, but oh well, that's just what happens sometimes when you play modded games

fading marten
#

lategame store is a command .,.?

#

huh

#

I just use "lgu" o -o

velvet sentinel
#

wait, diversity can cause conflict in lgu? how come?

hot fern
#

I found out today that Diversity has some conflicts with a decent amount of mods

#

And I'm not just talking the obvious ones, like ones that effect Bracken / Thumper / Ghost

#

Like anything that effects your movespeed for one

velvet sentinel
#

damn.. i really like the walker, bracken revamp and snareflea revamp

hot fern
#

yeah same

velvet sentinel
#

shit

hot fern
#

Apparently they're coming out with an update...soonish? It addresses a lot of the bugs

velvet sentinel
#

iirc, the mod have some condition for the player like broken legs and arm like that. If I disable that, could it fix the conflict with movement speed?

hot fern
#

Mmm...honestly I didn't try

#

That sounds like it could be an issue tho

velvet sentinel
#

😭

#

guess we gotta go load lgu each run

steep hull
feral crane
#

LCBetterSaves is no longer incompatible but the issue still occurs

hasty quail
#

I don't even use LCBetterSaves

steep hull
#

metoo never heard LCBetterSaves

feral crane
#

@steady trail someones having an issue where the LGU store doesn't load up, it just gives an empty screen. Here's some logs:

#

thats host ^

#

this is client ^

#

Everything works for host normally

tawdry wadi
steady trail
#

That is why clients are seeing blank screens, yes.

tawdry wadi
#

Cus I've never had Arachnophilia throw that error

steady trail
#

It's because of the colour's.

#

Snack should be looking at that since they were the ones who made the csync thing.

tawdry wadi
#

Aight

#

I was interested in that error cus it happened around the time a friend joined my lobby with broken cosmetics and we're trying to find the cause of it

#

lol

frail briar
#

Hi
Has the issue of LGU save file not applying upgrades when loading a save file been mentioned? Seems like something along those lines have already been mentioned a litle bit above, but not sure what exactly?

steady trail
#

It has, though the roots of it may differ.

frail briar
#

Need any more info?

steady trail
#

Theres blank LGU screen due to config things.

steady trail
#

Though with the consistency I'm getting with related issues, I probably know what it's gonna say.

frail briar
#

I saw someone earlier mention only host got some upgrades, but playing solo im not getting any, they are just wiped when exiting and reloading the game

#

How would i go about finding the logs?

steady trail
#

In the BepInEx folder.

frail briar
#

...Just the entire "LogOutput.txt" in BepInEx?

steady trail
#

Ye

#

Since I don't force people to know what to filter out of it, I just ask all of it.

frail briar
#

Alrighty

steady trail
#

Did you had locksmith before in this save?

#

As in purchase able.

frail briar
#

I had downgraded the mod version so I went and updated it back to 3.4.1

I also noticed that items did not weigh anything and running shoes seemed to apply the full upgrade on the first unlock, so seemingly something works when re-applied?

#

Yes? I forgot I had it disabled when I started the run, but went and re-enabled it when I looked at the new updates config

steady trail
#

Because the issue is that it's off and there were sales associated with it.

#

But since it doesn't exist, it will crash.

#

That's probably why you're not getting any buffs on boot.

frail briar
#

Lmao

steady trail
#

I will make a fix on this when I come back from class.

frail briar
#

Would that mean disabling it again will fix something for me in the meantime?

steady trail
#

Enable it should. It's enabled now?

#

On these logs.

frail briar
#

Yes

#

The issue still occurs from what I can test, with locksmith enabled in config

steady trail
#

Ah

#

Because the sale Data includes all upgrades that are enabled, even ones that aren't on sale.

#

So it's a mix of both.

frail briar
#

Ah ok

steady trail
#

This wasn't an issue before because sales were never saved before, lol

#

So yeah, I will look at it when I come back.

frail briar
#

Yea I read that in the changelogs, nice feature btw :)

steady trail
#

I'm just doing what people ask/suggest.

#

So long it's reasonable. Haha

frail briar
#

Im not sure if this is a related issue or not, but the part of better scanner that is meant to work through walls dont seem to be working, even on a save file where the other LGU upgrades applied on loadup

steady trail
#

On enemies or scrap?

#

Or both?

frail briar
#

Both it seems

#

The terminal commands seem to work like they should though

#

^It also scans from further away like it should, its only through walls

frail briar
#

Just tested it: Loading up a new save and buying it makes it work like normal, so I guess it is related to the saving stuff

bitter arrow
#

Hi, im trying testing stuff, and its all become so broken idk what to do😭

steady trail
#

Define broken

bitter arrow
#

the whole upgrade system, after restarting its just doesnt work, load lgu doesnt work either, and if ull type reset lgu then u will lose any opportunity to restore at least any upgrades :(

steady trail
#

And you have the logs of when restarting and it just doesn't work?

bitter arrow
#

i sent logs to the lovestruck while i was in game, mine and host's

steady trail
#

#1178407269994594435 message
So these ones?

bitter arrow
#

yeah

steady trail
#

So it's just the store not appearing?

#

That's just an issue with config serializer not being able to serialize colour and apparently we had to do extra steps for that.

#

Which aren't described in any document I could find related to it.

bitter arrow
#

nooooo upgrades doesnt work!!!!!

#

after restarting

steady trail
#

I don't see any other errors in the logs besides the synchronization one which causes a blank lgu screen.

bitter arrow
#

you can try with someone and ull see the problem, we tried clean modpack with only lgu, problem is actual but idk how to fix it

#

i can describe steps if needed so

steady trail
#

I don't really have anyone to test with, most are playing something else at this point.
The problem is due to the lack of custom terminal nodes (objects represented in the store), it won't execute any upgrade initializations or increments.

#

And the lack of custom terminal nodes is caused by configuration synchronization failing.

real gust
#

if anyone can help test it

steady trail
#

Is that with the NV config change?

#

To string, I reckon.

real gust
#

nv, chat

#

wheelbarrow

steady trail
#

Chat?

#

What was wrong with chat, lol.

real gust
#

chat notification

#

it's client side

steady trail
#

Isn't that like

#

Ah.

#

You mean that.

real gust
#

yep yep

steady trail
#

I thought you meant the serialization problem.

#

Which is why you switched colour to string.

real gust
#

anything using ConfigEntry i changed to use the syncinstance

#

and nv i changed back to string

steady trail
#

Ok, it should be fine.

#

Just give me a heads up when you decide to PR.

#

As I have compiler stuff to do and mess around with Smart-BFT.

real gust
#

looks fine now

bitter arrow
steady trail
#

But I already know about the issue.

bitter arrow
#

i mean, ur saying u dont have anyone to test with

steady trail
#

And the cause of it.

bitter arrow
#

oh

steady trail
#

Right.

#

But I already said that Snack was working on a solution for it.

bitter arrow
#

oki oki

real gust
bitter arrow
#

sure

steady trail
#

If it loads the lgu store, it should work.

real gust
#

@steady trail sent the pr

#

i need to eat something haha

bitter arrow
#

tysm :D

surreal bison
#

the file works for us also

real gust
#

nice

#

it should be included in the next mod release

#

let's hope that I didn't forget anything

torn mason
real gust
#

modding is a hell of a drug

steady trail
rotund field
#

Reminds me of Conway's Game of Life every time

steady trail
#

Yee.

#

I had to make that parallelized too.
It was fun.

gusty flint
#

higher than last year by a hundo lol

#

o wait no this is both included

real gust
#

game of life that uses your github activity as starting pattern

steady trail
#

Now there should be less issues with store not loading.

real gust
#

nice

stiff imp
real gust
#

i don't think it is

#

our upgrade adds to the value, BuyRateSettings replace the value

#

if im reading the right place

median egret
#

Hey @steady trail, did you test your how/if your probe weather command works with WeatherTweaks? I'm asking because i'm rewriting a ton of stuff internally and i'm interested in keeping as much compatibility as possible πŸ˜…

steady trail
#

Last I checked, it was working.

#

As in it set to the weather I put in.

#

If there's any other systems I needed to test, I don't know.

stiff imp
#

I'm guessing they're referring to the randomization, since WeatherTweaks changes that system so the current weather influences the chances of the next weather

median egret
#

what i'm interested in is: i'm reworking my internal functions for the next release, and i'm ditching synchronizing just the LevelWeatherType of levels and moving to my own WeatherType implementation for multiple weathers/changing weathers to work

#

and (from what i can see) it's not working for me

#

the currentWeather is changing, but it's not getting set on other clients + the displays show up WeatherTweaks's values

#

so this is something i'm gonna take care of on my end

#

yup, tested and can confirm: on openingDoorsSequence the weathers (and effects) are sent to all clients, and it's not using LevelWeatherType

#

i'm gonna cook something to fix that

median egret
#

i think i managed to get it working + synced, i'll test it right now

tawdry wadi
#

Glad you figured this out before I have to stream tn

#

Lol

#

You would have been flooded with bug reports

#

πŸ˜…

median egret
tawdry wadi
#

I don't stream for another hour and a half

#

Lol

median egret
#

i'm waking up in 6 hours πŸ₯²

tawdry wadi
#

Are you saying it won't be fixed til then and we need to use WeatherTweaks stable?

#

XD

median egret
#

oh god no

tawdry wadi
#

lol

median egret
#

it's gonna get fixed asap

#

it's confirmed working on host + clients, pushing update rn

tawdry wadi
#

Noice

median egret
#

so basically what i'm doing: i'm catching a call to SyncWeather on LGU's end, converting the weather type to my mod's one and syncing all stuff on my end πŸ˜‡

#

it's such a hacky job πŸ₯²

tawdry wadi
#

Haha I've been avoiding using the probe feature cus I fear it'll cause desyncs

median egret
#

fear no more

fading marten
#

**Crucial **detail:

#

||(not actually that crucial, but I noticed they're the same -3-)||

steady trail
#

The version?

#

I'm too lazy to change this.

#

So do I have to change anything to make the weather easier or nah?

spark canopy
#

i think mrov would drop dead if you change smth weather-related and it broke weathertweaks

hasty quail
#

Question: I see LGU has gotten an update today. Did this fix the bug me and some other people were having that prevented players other than the host from getting previously purchased upgrades to apply to them?

median egret
median egret
vocal anvil
median egret
#

I'm gonna cry if this goes to trash

real gust
vocal anvil
#

i mean sure but would be worth it

#

making a torch is hard in the caveman era but if we jump to the future

real gust
#

you can test and report back to us yoiled

vocal anvil
#

if we get a level/item/enemy type so system

#

were in heaven

hasty quail
#

I dunno what our problem was. I was host and all of our previously purchased upgrades worked for me, but not for the other players. The lategame store wouldn't come up for them and load lgu [my username] did not work to fix it for them

#

We'll try to test the update and see if it works tonight

median egret
#

we have literally 0 idea what's coming

#

I mean - new enemy and stuff

#

but we're in the dark when it comes to any code reworks

vocal anvil
#

yeeee but i think its a pretty strong theory that the weather system might only be shit because it hasnt been updated in awhile

ashen laurel
#

Dont want to read every message in here so I appologize if this is repeated. I think I am having a bug where other people in the lobby don't get upgrades I have bought, after reloading a save. I made sure I had the shared upgrades config setting on. For example If I buy running shoes, everyone gets it and we all run faster, then we get off for the night, and reload the save the next day, I will still have running shoes and be fast, but my friends wont. Then If i purchase the next level of running shoes, both of us go up one level, but I am one level ahead. Weird. Not sure if this is a bug, conflict with another mod( I kind of doubt it, unless it has to do with a save mod I have), or a weird setting I havn't seen. Any help would be appreciated! Thanks

real gust
#

are you using the update that released today?

ashen laurel
#

Yes. But this was happening before the update, as well as now with the update.

real gust
#

i see some people talking about lcbettersave and incompatibility

ashen laurel
#

I do indeed have that mod 😬

real gust
#

i'm not sure if that's a problem

#

you will have to test or search here about that

#

i remember some scrap mod also causing problem with shoes

ashen laurel
#

Any suggestions for alternatives? I could try testing it, but I do not want to get rid of it... Can't play late game without it. I want all the items in ship to save.

real gust
#

stamina too

ashen laurel
real gust
#

i mostly play with cosmetic only mods

#

ask them to type load lgu yourname

#

in the terminal

ashen laurel
#

Oooo that sounds like good knowledge to have lol. Trying it now

ashen laurel
#

Ok interesting stuff. I have a bunch of upgrades purchased from the last time we played (protein powder, lightning rod, running shoes, etc), the only thing I purchased today was lvl 4 of back muscles (showing lvl 2 on my friends screen. When he did the "load lgu myname" then typed lgu, it just shows lvl 4 for back muscles

real gust
#

so back muscles is right but everything else still wrong?

ashen laurel
#

Yup they saw that, (their sharing their screen rn so I can see lol)

#

Yes, I believe so

real gust
#

drop a log from both of you here

#

so it can be analyzed later

ashen laurel
real gust
ashen laurel
#

Getting his. That copy log to clipboard with discord formating wasn't working. I assume maybe the file is too big for the clipboard but idk. If all mods post messages in this log, its no wonder its so big. I have like 29 mods on lol

real gust
#

you can also use this option

#

open BepInEx folder

#

and the log should be there

#

LogOutput.log

real gust
ashen laurel
#

Hopefully these don't have any personal information lmao. Didnt think to check prior to uploading. I see mine has my game name, but im not worried about that

steady trail
#

flips desk

ashen laurel
#

Ok, hopefully someone smarter than I, can figure something out haha. I will continue to test a little. I appreciate the help @real gust

steady trail
#

UnityEngine.GameObject.GetComponent[T] () (at <e27997765c1848b09d8073e5d642717a>:IL_0021) angy

real gust
#

should not have any personal info

#

ingame nick, your windows name and your steamid i think

steady trail
#

Windows?

#

Oh because file paths.

real gust
#

yeah

vocal anvil
real gust
#

man, the shadow log spam is massive

ashen laurel
#

Is that from a mod or just base game? I see it says unity

real gust
#

too much entities shadows maybe?

#

removed all shadow logs from your friend log. size went from 50mb to 3mb

#

do you have any mod that change the limit of scrap inside the ship?

ashen laurel
ashen laurel
zealous zenith
ashen laurel
zealous zenith
#

It also doesn't matter whether or not the other players were in the server while the upgrades were being bought. Once they leave, they won't have the upgrades when they rejoin

real gust
#

3.4.0 was the csync update

steady trail
#

I'm gonna do stupid shit and see if it works.

real gust
#

3.4.2 is today's update that fixed some stuff related to it

zealous zenith
#

I tested it again today with 3.4.2 but it still doesn't work, sadly

ashen laurel
#

I don't know what version but its been like this for weeks. When did 3.4.0 come out?

#

Maybe even 2 months

real gust
#

19/03, sorry

ashen laurel
#

Yeah its happened before then definitely

zealous zenith
#

Rn my friend and I are still playing 3.3.1 and that works fine for us

ashen laurel
#

Are there hidden commands to give the upgrades to everyone? Next time we play on that save I want to be able to have them

real gust
#

can you tell me any upgrade that dont load and load lgu dont fix it?

zealous zenith
real gust
#

you can give yourself money and buy

#

forcecredit?

zealous zenith
zealous zenith
#

and it's pretty time consuming to buy every upgrade every time we want to play

ashen laurel
steady trail
#

Because if this works, it means that it was here since 2.x.x releases.

real gust
#

i can't reproduce it locally

ashen laurel
#

Ill try to reproduce in a minute

real gust
#

if you can test the new dll

#

BepInEx\plugins\malco-Lategame_Upgrades\MoreShipUpgrades

ashen laurel
#

The one WhiteSpike just sent?

real gust
#

yes

ashen laurel
#

Put it in the directory you just sent?

real gust
#

yep

#

you and your friend

zealous zenith
real gust
#

whitespike is the mod maintainer

ashen laurel
#

Alright, going to eat then I will test. Want me to test with no mods (other than dependencies), or with my current mod setup

zealous zenith
#

I'm testing it rn, I'm just waiting for my friend to join

real gust
#

current setup

ashen laurel
#

Sounds good, thanks guys!

steady trail
#

I don't see many avenues for the gameObject to just decide "I don't want to work on this machine".

real gust
#

black magic

#

i tell you

ashen laurel
#

Does the log file recreate every run?

real gust
#

yes

steady trail
#

By default, yes.

#

Run being executing the program.

ashen laurel
#

I've never coded any mods, but I am a cs major, and program some for work. And I agree, some bugs are just black magic lmao

real gust
#

some even wait for you to go to sleep

steady trail
#

It's 1 AM and I am supposed to be awake at 8:00 so that I can get the dude arriving at 8:30.

real gust
#

you in the morning

#

that's why I have melatonin with me.

#

great when I need to wake up early

zealous zenith
steady trail
#

Wait.

#

Can you give the logs of them then.

zealous zenith
#

Not sure where to get logs from

steady trail
real gust
zealous zenith
real gust
steady trail
#

Is this hosts or clients?

zealous zenith
zealous zenith
#

he bought upgrades and then I joined

#

and then after I joined he bought some too

#

both work with load lgu

real gust
#

because the save only saves when you get back from the planet

zealous zenith
#

Oh

#

So we should save, then rejoin and test if that works?

steady trail
#

To check if saving works, yeah

#

But I don't see the errors anymore.

real gust
#

no more ghost components?

steady trail
#

Which is like how the fuck this was working since 2.x.x releases.

real gust
#

mono being mono

steady trail
real gust
zealous zenith
zealous zenith
steady trail
#

Uh the host shouldn't be needed.

zealous zenith
#

kk

steady trail
#

As you said that it always worked.

zealous zenith
#

Well I'm glad I could be of help

steady trail
#

Now I can sleep

zealous zenith
#

Nighty night

ashen laurel
zealous zenith
ashen laurel
#

missed the s .... facepalm, shoudlve tried that thanks

zealous zenith
#

Relatable.

ashen laurel
#

God theres this bug (probably with some mod) but when you try to invite friends, a distorted-ish screen popus up and doesnt let you click anything - like it doesnt have focus, so annoying.

#

Anywho, we just tested and it didnt work.. :/ I will say what I did just to make sure I didnt do it wrong. I downloaded the .dll and put it in Thunderstore Mod Manager\DataFolder\LethalCompany\profiles\Default\BepInEx\plugins\malco-Lategame_Upgrades\MoreShipUpgrades restarted thunderstore, and got my friend to do the same. Then I made a world, bought an upgrade (protein powder), we both had it. I landed at company and took back off. Then exited the game once we were in the air. Reloaded, and he did not have it. Did I miss anything?

#

Even had him do "load lgu myname", and it didnt show up for him. Probably shouldve tested with something like the weight reducer or run speed so we could see if he physically had it, but yeah

zealous zenith
ashen laurel
#

Yeah tried that, and it didnt show that he had the upgrade I had bought

zealous zenith
#

I tested it both alone, with only dependencies and in our actual save, and both worked

real gust
#

its the profile that you use

ashen laurel
#

default is the profile I use

real gust
#

oh ok

#

drop the logs here

ashen laurel
#

Jk just realozed that was the last log

ashen laurel
#

howd you test it without another person @real gust ? I will test more later, I would love to figure this out before playing again haha

real gust
#

lan play

#

if you go to help section of r2modman

#

it shows you a command line to add to a shortcut

#

i just make 2 profiles with the same mods but different names

#

and launch both with that

zealous zenith
#

Just experienced this

#

pre 3.4.0 had this bug too where sometimes they wouldn't get the upgrades but having them restart the game fixes it, and still works with this new test build

ashen laurel
#

interesting ok thanks

ashen laurel
toxic agate
#

The lategame mode applies to me, but other team members don't. I did the same code, does anyone know how to solve the problem?

It was okay when I played until yesterday, but when I hosted today, it was applied in red letters, but when the team member came in, the red letters disappeared, and it was not applied to the team member.

real gust
#

Tell them to type at the terminal load lgu yourname

toxic agate
#

so thx My friends are cheering. I'm sorry for my poor English

spark canopy
#

when closing the game

steady trail
#

While in a game?

wintry anvil
#

ohno, im doing lgu chinese translation yesterday, and it updated

#

nvm, string not changed, it still work

spark canopy
steady trail
#

So ApplicationQuit calls Disconnect(), coolio.

#

I guess it's an attempt for when you decide to quit the game while in a save file.

spark canopy
#

gives another error but it doesn't seem to come from this mod anymore

#

so yeah it fixes the error πŸ‘

dark rampart
#

guys what to do

#

We left the game, rejoined and only host has all the upgrades

velvet sentinel
#

tell your friend to "load lgu (host username)" on the terminal

dark rampart
#

Thanks alot

#

thats neat

frail briar
#

Havent seen this mentioned on the changelogs, but it seems the animation on samples have on again / causing lag when dropped?

steady trail