#Weather Registry / Weather Tweaks / mrov

1 messages Β· Page 6 of 1

abstract pivot
#

I'm not but I feel it could be better

real yoke
#

any known incompatibilities? like brutal company minus changing the weather?

drowsy willow
drowsy willow
real yoke
drowsy willow
#

it should be in the configs folder: weathertweaks.cfg

real yoke
drowsy willow
#

πŸ€” interesting, could you send me your logs?

real yoke
steady marten
#

@drowsy willow

#

for once

#

Im ok with the fog

#

also

#

I learned this one simple trick to stop racism

#

I literally just DOUBLED every weight that goes to clear

drowsy willow
#

alrighty

#

that's good to know

viral coyote
#

Just played for a 2h session with my group and we used the betaweathertweaks

#

so far so good we didnt have any issues

drowsy willow
#

yippee πŸ˜…

#

that's great

hybrid crescent
#

I love this mod, been using the beta with everyone i play for a week now

#

Every moon is either rainy or stormy lmao

drowsy willow
steady marten
#

Mrov over here HATES the player experience

#

But with this ONE EASY FIX you can fix your weather

drowsy willow
#

😳

steady marten
#

Go into the Weathertweaks config, and find a setting called scaledownclearweather

#

You want to set this to FALSE

drowsy willow
#

is it working that badly?

steady marten
#

If that’s not enough for you, make your way onto the Weather Difficulty scaling

#

If you find a setting called maxweathermultiplier or something like that

#

It should have a value of 0.8

#

Turn that sucker all the way down to 0

#

That way the weather does not get more horrible the longer you play

#

But if you like that you can keep it

hybrid crescent
steady marten
#

Take it away Mrov

drowsy willow
#

so for value of 0.8 the clear weather can be scaled down to 20% of the config's value

steady marten
#

It makes it so you will never feel the warmth of the sun ever again for any of your runs

#

Your days will be cold

#

Wet

#

Harsh

#

And cruel

drowsy willow
#

if you have a None value set to 50 and multiplier would be 0.8 the final value would be 50* (1-0.8) = 10

hybrid crescent
#

So in simpler terms, it reduces the chance for moons to have clear weather?

drowsy willow
#

it's adding the length and player multipliers

#

and that's the max for those

#

the scaleDownClear is adding on top of that

steady marten
#

The final Mi6k Tip©️ for you is

#

If even after all that

#

Your weather looks like THIS

#

You should head on down to the Weather Change weights

#

And DOUBLE every weight for weather to change to clear

#

Like this

hybrid crescent
steady marten
#

Nice!

drowsy willow
#

because - in all honesty - i've made a little oopsie in the beta version some time ago

#

but that's good now

steady marten
#

I’m using the beta

#

Also that was the previous update screenshot

drowsy willow
#

alr

#

because - wouldn't you know it - i've accidentally removed clear weather from the calculations

#

so the possibility was never there

#

😳

#

it's all good now

spark blaze
#

does weathertweaks now get the mrov stamp of stability

drowsy willow
#

it never not had it

#

🀭

spark blaze
#

ah trueeee okay what if you give it TWO stamps of stability

#

does it become twice as stable

drowsy willow
#

😳 the modding scene is not ready to have that amount of reliability in one mod

#

πŸ˜‚

lofty silo
#

Since you know the weather system so well mrov, how hard/hellish would be to add new types of weather to the game?

drowsy willow
#

because i'd have to redo a few things in my mod to support it rn

lofty silo
#

Oh no time frame, its just a thought i had after playing helldivers 2

#

β€œI bet mrov could include fire tornados in weathertweaks boiled”

drowsy willow
#

i have some ideas and a few people that could make the game objects/code for it

mystic oxide
#

Wasnt Batby working on custom weathers? I saw him having meteor shower as a weather in a preview he sent

lofty silo
#

I’m no modder to preface, so this is just an idle curiosity question rather than something i could do

drowsy willow
#

i'm running the weather picking & syncing, so it wouldn't be that much harder to do

#

especially since i want to streamline the vanilla stuff as well

drowsy willow
#

the basics are added rn to LLL, but it's a long shot tbh

drowsy willow
wicked latch
#

There are couple things to allow custom weather registration, yeah.

drowsy willow
#

i'm not that far off, honestly

#

but i would need to spend a non-trivial amount of time to get it done to a acceptable level

#

and i don't have that time right now

#

if someone has a thing ready to be included i could make that work a bit faster

steady marten
#

As payment for the damages you’ve caused to my sanity

#

I volunteer your services to help me play test my modpack before release

steady marten
drowsy willow
#

i don't think i have enough free time today 😭

steady marten
#

Damn

#

You’re free for now Mrov

drowsy willow
#

😳

steady marten
#

Also

steady marten
#

CHANGELOGS

#

I WANT CHANGELOGS FOR LIGHTSOUT AND EVEN BETA WEATHER TWEAKS

#

hell I’ll write them for you

hybrid crescent
#

Yeah, changelogs would go hard

drowsy willow
#

.<

#

alright, i'll make ones for the beta

#

πŸ™„

#

fine

hybrid crescent
steady marten
#

I told @novel relic

#

Reason he has no BITCHES is because he didn’t have changelogs

novel relic
#

Still dont

drowsy willow
#

if this changes my life i'll get back to you

steady marten
#

And by bitches I mean people who are interested in your mod and sad modpack creators desperately holding together everything with duct tape and glue

ebon current
#

Real

#

Changelogs are the greatest

#

Occasionally I see a mod author post like "Yeah so your game wont crash in this specific circumstance anymore and also all 9 custom scrap is now spawning again! I also added compatibility to these three big mods that everyone uses" and then the changelogs are

#

- fixed stuff

drowsy willow
#

so true

steady marten
soft merlin
drowsy willow
#

computers are amazing

tall gyro
#

cant wait for the year 2038 problem, next

drowsy willow
tall gyro
#

for the time since epoch yeah

drowsy willow
#

cannot wait for old tech to break 😭

tall gyro
#

getting pretty damn close to 2038 too

#

only one more decade

trail ivy
#

I just wanted to say I love the fog

#

It's much better than vanilla

drowsy willow
#

yippee πŸ˜‡

prime meadow
#

I'd expect a person named Mist to be a discerning fog connoisseur πŸ—ΏπŸ‘

#

A vapor enthusiast, some might say

mystic oxide
#

Has this been added yet?

#

(stacked multiplier)

jovial sand
#

Yeesh even Xu asked me for weather sounds before @drowsy willow crazy times

drowsy willow
#

it was never not in πŸ‘€

#

I mean

#

It's using MeteoMultiplier

drowsy willow
jovial sand
drowsy willow
jovial sand
abstract pivot
#

I have no idea

wicked latch
#

Clearly Xu.

jovial sand
abstract pivot
#

Those must've cost a fortune!

#

Let's talk about those

wicked latch
#

THe ones I pulled out of thin air?

#

Sure, let's call them that.

jovial sand
mystic oxide
#

Lategame Upgrades

abstract pivot
#

That

jovial sand
#

And I’m lost

abstract pivot
#

It's a small ish mod for upgrades

azure dirge
#

beekeeper, hunter, and peeper my beloveds

jovial sand
abstract pivot
#

Twas a jooooke

waxen karma
#

Probably a dumb question, but does anybody know if this works fully with WeatherMultipliers?
Or does this have its own multiplier system?

drowsy willow
#

it works with MeteoMultipliers, I didn't include weathermultipliers πŸ₯²

waxen karma
#

Whichever works and is more updated, I'm still pulling my old packs out from V49 :D

prime meadow
jovial sand
#

I feel like this mod has evolved beyond the tweaks part of weatherTweaks

plucky holly
#

just had a none > stormy and it changed from stormy to stormy

#

huh

drowsy willow
#

weird, I'll take a look

drowsy willow
#

there's a small chance to change to stormy early and a 100% chance to do so later

#

and it tries to do a change between the same types of weather (even tho nothing changes)

plucky holly
#

i c

lethal magnet
#

i think there is a problem with this mod(beta) and the new version of lategame upgrades

drowsy willow
#

πŸ‘€

#

oh no

lethal magnet
#

and there is even a problem with terminal formatter and lategame upgrades

drowsy willow
#

@lethal magnet update CSync to 5.0.0

lethal magnet
#

ah oops, thanks I check if it works later

lethal magnet
#

ok that fixed it thanks

harsh flicker
#

Was this ever added?
I think i got enough moons in my pack where i think a random first day seed would be alright

harsh flicker
#

its alright, its just the first day seed, its not that deep

#

but it would be neat! when you have time!

drowsy willow
#

don't get me wrong: this will be added

#

but i honestly don't know when

#

i have a lot on my plate rn

austere slate
#

but u r hungry

harsh flicker
#

The main reason i want it is because in my pack, Aquatis is always stormy day 1
And without getting into all the details, its a pretty good moon in the pack, and we're doing like a competition thing
So i think, with how it is, its optimal to just always go aquatis for the MeteoMultiplier loot quality
I can bypass this just just messing around with seeds until i find one i like for my pack

drowsy willow
#

I understand, I'll let you know when it's in

tardy fulcrum
#

Are suggestions welcome here?

mystic oxide
#

nah he absolutely hates them

#

jk

tardy fulcrum
#

If they are, I guess I'll shoot mine

Maybe add a setting that separates the moon seed from the weather seed so you can do seeded runs with different weather patterns, and have a different internal weather seed

drowsy willow
#

i would definitely not include that in the base mod, but i'll write it down for later πŸ‘

dusky nacelle
#

Hi, I'm sorry to ask here because it's not the thread of the mod but I've seen many people talking about MeteoMultipliers here and I have two questions :

  • Is there a thread for MeteoMultipliers ?
  • Is MeteoMultipliers working in v50 ?
drowsy willow
dusky nacelle
#

Thank you ! and again, sorry for disturbing you with questions not related to your mod

drowsy willow
#

No worries!

spark folio
#

Cuz I wanna use both together so baaaadlyyy

drowsy willow
#

oh no

#

i had the patch ready wtf

spark folio
drowsy willow
#

I'll take a look at it later

#

Because yes, I'm not hiding locked moons (which will be fixed)

#

but it's really interesting it's still working

#

(although I think I know why)

spark folio
worldly sleet
#

there's also a bunch of odd spacing with selene's choice and terminalformatter, some moons have a space between them, others don't

drowsy willow
#

so it might leave the gaps somewhere πŸ˜“

worldly sleet
#

ah

#

fix that immediately!!!

drowsy willow
#

😳

#

πŸ₯Ί

worldly sleet
steady marten
#

@drowsy willow

#

I hope you are getting some nice sleep

#

I got a bug to yell at you for

#

Asteroid-13 looking real lonely

mystic oxide
steady marten
#

fuck

mystic oxide
#

It also happens without TerminalFormatter

steady marten
#

I WANTED TO YELL AT MROV FOR THIS ONE

drowsy willow
#

at least you tried πŸ₯Ί

steady marten
drowsy willow
#

i'll try

spark folio
#

@steady marten what did this poor soul do to ya?

drowsy willow
#

you'll never catch me alive πŸ₯Ί

drowsy willow
#

I've (finally) managed to fix the fog not being applied on every landing (and growing to ridiculous sizes), let me know if foggy won't have the correct density

frigid trench
#

btw TerminalFormatter seems to reliably get the risk level set by LQ presets whereas base LLL does not (only sometimes it seems).
If you ever want to show the risk levels as calculated by LLL it would be great if that could be an option (opt-out or opt-in idc) for LQ users.

drowsy willow
#

so even if LQ doesn't have its risk level set, it's still showing something from LQ?

#

Because from my testing it was only applying LQ stuff when it was explicitly set to be replaced

frigid trench
#

No, when it's set to override the risk level in LQ it shows that in TerminalFormatter.
I'm actually not sure what the behaviour with TerminalFormatter but without any LQ overrides is.
Ig it should show the calculated one from LLL unless the moon dev overrides it with its own. (just like base LLL)

However without TerminalFormatter (base LLL) it shows a mix of the calculated values and the ones overriden by by LQ. ||Maybe it's only showing the override from LQ for moons where the moon dev had it set to override the risk (+ vanilla moons) but I'm really not sure..||

I have to avoid TerminalFormatter rn as I use SelenesChoice and since I override every single risk level with LQ it's something I immediately noticed and thought I'd let you know

hybrid crescent
#

Just popping here again to say I LOVE YOUR MOD

drowsy willow
#

AFAIK I'm displaying LQ values wherever set up, using LLL ones as the deafults

drowsy willow
frigid trench
amber field
#

so, its been a while since ive noticed but special weathers never show up since like v50

#

what mod could be to blame here?

drowsy willow
#

πŸ€”

#

what's your modpack code?

amber field
drowsy willow
#

πŸ‘ i'll check it rq

amber field
#

whoops just noticed thats a screenshot with terminalformatter which i didnt add to the pack yet

drowsy willow
#

by special weathers you mean the beta version ones (combined/changing) or the uncertain ones (like unknown, eclipsed/flooded)?

amber field
#

unknowns, duals, and "certains?"

#

wait theres a beta version? should i have been using that one?

drowsy willow
#

it's a beta for a reason πŸ˜… - there's lots of new stuff in there

#

but i'm really surprised that the uncertain weathers don't show up for you

amber field
#

additionally, just a feel though, but lately our runs have been reeeally cloudy

#

like, most of the times almost all moons had some kind of weather

drowsy willow
#

i might've broken something again

#

ummm

#

that's not great πŸ˜…

wicked latch
#

Good start indeed.

drowsy willow
#

i just imported the modpack 😭

wicked latch
amber field
#

huh

drowsy willow
#

a lot of mods for v49 it seems

amber field
#

ah yes

drowsy willow
#

i clicked the button πŸ₯²

amber field
#

we do it the wrong way and just assume everyone will use updated mods, and that will download rest of dependencies

#

im sorry πŸ˜”

drowsy willow
#

no worries πŸ˜…

amber field
#

i should add those some day

drowsy willow
#

oh no

wicked latch
#

Nice.

amber field
#

so thats why things are so cloudy

drowsy willow
#

that's why the uncertain weathers are not showing up

#

the cloudy thing? πŸ€”

amber field
#

are uncertains just being parsed as regular weathers?

drowsy willow
#

no

amber field
#

oh

drowsy willow
#

i'm selecting all the weathers and adding the "display types" on top

#

so the actual weather is the same, but the display string can be anything

#

and i've fumbled the LLL patch (it seems)

#

this is after 1st day, on a new save

#

i have 4 weathertweaks versions on my pc

#

and every one of them has conflicting changes

#

this is a nightmare πŸ˜†

#

why would that happen?

#

OH WAIT NEVERMIND

#

do i really not patch LLL whatsoever?

#

YUP, I DIDN'T

#

oh my god

#

i've uploaded a fix, it should work normally now

viral geyser
#

Hey just to understand those configs, the more of these 3 configs at 1a> are set to true, the higher the percentage is that the a shown weather could be a false prediction?

drowsy willow
#

So if you have 10 moons and 2 types of uncertainty: let's assume that 2 moons will have uncertain weather in the next round - that's a separate calculation from picking which type of uncertainty will be picked

viral geyser
drowsy willow
#

it's all predefined (as of now)

#

I'll send you the values when I'm back at my PC

#

There's a fixed point in the day cycle and a chance for it to change at that point

viral geyser
#

Alrighty thanks for the infos nice to know!

amber field
#

[planetTime] is my new favorite weather

drowsy willow
#

😳

wicked latch
drowsy willow
#

oh no

#

are there any errors in the logs?

amber field
#

gimme a sec ill check

#

last lines after typing "moons" on terminal

drowsy willow
#

Oh, you're trying to use ShowMoonPriceLLL and TerminalFormatter at the same time?

amber field
#

oh wait

#

ooooh

drowsy willow
#

i am pretty sure that could be it

amber field
#

big whoops thanks

drowsy willow
#

no worries πŸ˜‡

austere slate
#

i get this error during startup

ancient depot
#

Time to use BetaTweaks

drowsy willow
ancient depot
#

@drowsy willow MROV!!!!!!

#

You broke it

drowsy willow
#

CAN YOU STOP MENTIONING ME IN 5 PLACES

#

i see it

ancient depot
#

I wanted to post it in the proper thread sorry

#

c;

#

How'd you end up doing this? lol

drowsy willow
#

πŸ₯²

wicked latch
drowsy willow
#

and so they're not in the "beta" version directory

drowsy willow
wicked latch
#

I like the passive-agressiveness.

ancient depot
ancient depot
drowsy willow
#

πŸ™‚

ancient depot
#

He knows I love him though

drowsy willow
#

can we stop doing that then 😭

ancient depot
#

It wasn't intended tbh

#

I'm sleepy so my brain went brrr lol

#

Sorry

drowsy willow
#

like for real: i know that my mods break (it's the way it is, honestly) - one message in my thread is really enough 😭

drowsy willow
drowsy willow
#

Weather Tweaks

drowsy willow
austere slate
drowsy willow
austere slate
rancid gull
#

How does weather changing work in the beta version?

#

Like is there a set time interval? Can weather change more than once?

#

actually idk if this is the place to talk about the beta version

drowsy willow
#

there's a set point in time to change, and a chance for it to actually happen

rancid gull
#

I wonder if GI's weather cam updates with the change...

rancid gull
drowsy willow
#

because it should be displaying weathertweaks weather normally

rancid gull
#

yeah "monitor" myb lmao

#

what is the testing weather?

rancid gull
#

and also the stormy aspect wasn't there either, unless it was and there wasn't supposed to be rain? didn't have any conductive items to see if lightning still applied

drowsy willow
#

version 0.14.8 should have it fixed

rancid gull
#

no like, when I landed onto the moon the weather was eclipsed/stormy, but when landing I only saw the eclipsed part

#

I'll test it again tho since it mightve been cuz it was a modded moon

drowsy willow
#

ooooh, right

#

when the weathers are divided by / (like Eclipsed/Stormy) it's a 50/50 chance between them

#

it's the uncertain weather mechanic

rancid gull
#

Ohhh that's what that meant!? Ahh alright I didn't know πŸ˜…

drowsy willow
#

no worries πŸ˜…

slow maple
#

have desync issues with the beta branch been reported ever? I assume so i'm just wondering cuz I had some today

drowsy willow
#

It's really weird if it happened

slow maple
#

I should have logs, hopefully

#

I'll check in a bit

#

I was the host though, so it wasn't on my side

#

Thing is my buddy didn't see any lightning at all during a Stormy run

drowsy willow
#

that's interesting

#

if you could get the logs from them as well it would be perfect πŸ₯Ί

slow maple
#

(only mine, my buddy's at work rn and won't be able to send the logs for like 7 more hours)

#

also dependency string

Evaisa-HookGenPatcher-0.0.5
BepInEx-BepInExPack-5.4.2100
Evaisa-LethalLib-0.15.1
Evaisa-FixPluginTypesSerialization-1.1.1
Rune580-LethalCompany_InputUtils-0.7.4
Sigurd-CSync-5.0.0
malco-Lategame_Upgrades-3.6.5
BMX-LobbyCompatibility-1.1.0
loaforc-FacilityMeltdown-2.6.10
Entity378-SellBodiesFixed-1.8.7
BaronDrakula-MoreCounterplay-1.2.1
AudioKnight-StarlancerAIFix-3.6.0
AudioKnight-StarlancerEnemyEscape-2.4.0
doggosuki-Huntdown-1.4.1
Lordfirespeed-OdinSerializer-2022.11.9
xilophor-LethalNetworkAPI-2.1.7
Hardy-LCMaxSoundsFix-1.1.0
MrHydralisk-EnhancedRadarBooster-1.7.1
Garf-MissileTurrets-1.3.3
MrHydralisk-EnhancedLockpicker-1.1.4
loaforc-loaforcsSoundAPI-1.0.12
LethalResonance-LETHALRESONANCE-4.3.3
notnotnotswipez-MoreCompany-1.9.1
NotAtomicBomb-TerminalApi-1.5.4
mrov-MrovLib-0.0.9
mrov-BetaWeatherTweaksBeta-0.14.8
AMRV-ConfigurableCompany-3.4.0
AMRV-LethalCompanyVariables-2.3.2
linkoid-DissonanceLagFix-1.0.0
TestAccount666-AnnounceMoonAndWeatherChange-2.0.3
299792458-ScanForEnemies-1.2.1
LCOS-Inverse_Coilhead-0.1.0
coderCleric-Poltergeist-1.0.2
veri-ShipWindows-2.0.6
Confusified-InsanityDisplay-1.1.4
Treyotech-Treys_Health_Text-1.3.1
CTNOriginals-CrossHair-1.1.2
TheFluff-EverythingCanDie-1.2.18
Laventin-StarshipDeliveryMod-1.1.0
WhiteSpike-Interactive_Terminal_API-1.1.0
GMODS-StorePrices-1.1.1
TestAccount666-DogSoundFix-1.1.1
Piggy-ShowCapacity-1.0.9
Hexnet111-SuitSaver-1.2.0
BatTeam-LethalFashion-1.0.7
ButteryStancakes-ClassicSuitRestoration-2.0.1
BananaPuncher714-LethalQuantities-1.2.9
Zaggy1024-PathfindingLagFix-1.2.1
TestAccount666-PoisonPuffer-1.1.0
AinaVT-LethalConfig-1.4.2
AntlerShed-EnemySkinRegistry-1.2.0
AntlerShed-EnemySkinKit-1.0.5
DistinctBlaze-ColorfulEnemyVarietyWIP-0.5.2
TestAccount666-RandomSlimeColor-1.0.1
Rocksnotch-CupboardFix-1.1.0

drowsy willow
#

alright,I'll take a look

slow maple
#

disregard the last big chunk of log, we for some reason got stuck unable to launch on embrion with almost everyone dead LMAO

bright viper
#

Hey so I got a question about the config
Are these entries still broken or have they been retired and are just leftovers from previous update?

#

Beta v0.14.10

drowsy willow
#

leftovers

#

.<

#

the config will change a bunch before the "final" release version πŸ₯²

austere slate
#

is this similar to the beta version of your mod?

abstract pivot
#

I think he does more on his mod

azure dirge
#

kinda wish he updated the ShotgunFix mod instead

drowsy willow
#

no change log, no source code

#

hmmmmm

#

my mod is very much more feature-complete

drowsy willow
drowsy willow
mystic oxide
#

When using the Malfuction mod, the info is only hidden to the host, clients can still see the moon name and weather
I'm not sure if the problem is from you, but since you made a patch for Malfuction I thought it could be WeatherTweaks

drowsy willow
#

interesting, I'll see

rancid gull
mystic oxide
#

Can they even see the lever's particles?

rancid gull
#

I also think it just doesn't apply to clients on some? Like the restricted lever pull before a certain time where the lever would jam, but that'd only work for the host as a client can still just pull the lever just fine

rancid gull
mystic oxide
#

I only use the navigation malfunction so idk about the others

rancid gull
#

I only ever had 3 of em happen, routing, door, and lever jam

#

still yet to see the madness of a full ship power outage lmao

drowsy willow
#

hmmm, seems like I've done a big oopsie with that

unique turret
#

btw @drowsy willow I think you talked with Xu about mod compatibility with modded weathers (and not doing it for LL) , and I looked into it and the only thing that seems to stop it from working is your hardcoded config files, which cause your dictionary look ups to error because the key for the custom weather doesn't exist. I was able to make the meteor shower weather from Code:Rebirth working just by adding it to the config weights.

Maybe you could look into generating part of the config dynamically? Or at least checking whether or not your config weights contain the weather or not, and not crashing when a modded weather exists and maybe including it with some weights anyways

drowsy willow
#

well, i'm planning to do a full "weather API" with ability to load custom weathers into WeatherTweaks

#

and my plan is to include compatibility with LethalLib at that point

#

because I've got 90% of the system ready right now

#

and I'd really love not to work at 3 versions of my mod separately πŸ₯²

#

for now: I'm not touching stableTweaks, I'm not changing beta, I'm working on API stuff that will - ultimately - replace Beta (and stable in the long run)

#

because at that point I'll load all custom content into one unified system

#

and the configs will be dynamic and so on

#

so yes, I'm working on that

#

but probably not in the way everyone desires

unique turret
#

I see, so basically Weather Tweaks will be completely just replaced by the new API?

drowsy willow
#

basically yeah

unique turret
#

yeah that's completely understandable

unique turret
#

how fast do you think you can get the API out btw? Cus Xu was a bit worried it'd take a long while

drowsy willow
#

I've commited some changes already, but there's like 2x this on my PC rn

ancient depot
drowsy willow
#

I just have a lot of things in my life right now, so I'm not making any promises

#

Because I really don't have the time to work on it to the level I want to πŸ₯²

drowsy willow
unique turret
#

Okay! But yeah, I can give Xu my patches for Weather Tweaks to make it compatible meanwhile lol

drowsy willow
#

alrighty

drowsy willow
ancient depot
# drowsy willow πŸ˜…

Hey it was bound to happen one of these days you've been around me enough to start taking up things after me XD

drowsy willow
#

because my plan is to have a weather-level "default" weight and a config option to override it

#

and right now I'm using LevelWeatherType to reference the vanilla stuff (unfortunately)

unique turret
# drowsy willow btw how *are* you achieving this? maybe it's something I've overlooked in my (fu...

I basically just went over all the weathers in all levels and added the weather to all the weights if it didn't exist, in a very lazy way, so basically:

if (!WeatherTweaks.ConfigManager.Weights.ContainsKey(weather.weatherType))
{
    WeatherTweaks.ConfigManager.Weights.Add(weather.weatherType, WeatherTweaks.ConfigManager.NoneWeights);
    WeatherTweaks.ConfigManager.NoneWeights.Add(weather.weatherType, 50);
    WeatherTweaks.ConfigManager.RainyWeights.Add(weather.weatherType, 50);
    WeatherTweaks.ConfigManager.StormyWeights.Add(weather.weatherType, 50);
    WeatherTweaks.ConfigManager.FloodedWeights.Add(weather.weatherType, 50);
    WeatherTweaks.ConfigManager.FoggyWeights.Add(weather.weatherType, 50);
    WeatherTweaks.ConfigManager.EclipsedWeights.Add(weather.weatherType, 50);
    Plugin.Logger.LogInfo("Added modded weather to weather tweaks");
}
drowsy willow
#

oh

#

nice

#

that's actually simpler than I thought it would be lol

unique turret
#

lol, ye it's super simple

drowsy willow
#

the bigger issue for me is: I didn't want to release this stuff in the period of time when I'm not exactly around to fix the big issues immediately (see LLL right now)

#

but honestly

#

fuck it

unique turret
#

oh, so you're gonna do it now anyways?

drowsy willow
#

bad decisions speedrun 100%

unique turret
#

lol

drowsy willow
#

I'm after 12-hour shift and have to be up in 7 hours

#

it's literally whatever

#

god, forgive me for what i'm doing right now

#

it's so shit it shouldn't be allowed to exist

drowsy willow
#

is lethallib really editing vanilla weather enum

#

oh no

#

hmm

#

honestly i cannot be fucking bothered to do it properly

drowsy willow
#

it's working

#

@abstract pivot

0.14.11

  • fixed LethalLib weathers causing dictionary errors
#

have fun

#

if anything breaks, write it here and i'll get to it when i'm back

#

thanks for using my mods and see you someday

#

and no, this update is not the weather api

ancient depot
#

Holy shit @drowsy willow You actually fixed it? I thought you weren't gonna bother

#

You mad lad

unique turret
#

Nice! πŸ”₯

ancient depot
#

@drowsy willow btw I think TS is having issues your mod update still isn't showing up lol

kind crane
#

Sorry if im dumb but do I need both main and beta for all the features?

kind crane
ancient depot
#

It's just redundant

#

Beta has the features of the stable release and more lol

#

And yeah things may break dunno but don't use both

#

XD

kind crane
kind crane
kind crane
#

cause I cant get them to appear

#

they used to

ancient depot
kind crane
drowsy willow
drowsy willow
kind crane
kind crane
drowsy willow
#

it's like that because the special stuff can get a bit overwhelming really fast

#

and it's not ideal on first day πŸ˜…

kind crane
#

where it poped up from the start

drowsy willow
#

understandable

drowsy willow
#

so I will come back to that, but I'll have to mess with LethalLib big time

#

fun

ancient depot
#

No breakdowns we need our Mrov in good mental condition

#

Take breaks when you need it, focus on your mental

drowsy willow
#

I have so much stuff right now I seriously need to take time off

kind crane
azure dirge
#

if weathers are combined, then the proper multipliers are applied
[scrap value] x [weather 1] x [weather 2] and so on

#

dunno how it works with transitional weather but im guessing it only applies the 1st weather's multiplier

#

50/50's multiplier is the resulting weather's

#

same with Unknown

#

[weather]?'s as well

drowsy willow
#

I explained it here once, I'll try to get the link later (cause it's a bit of scrolling)

kind crane
drowsy willow
#

it's fully compatible

rancid gull
#

I'm excited to see the beta features, I'd like to use it now but idk how stable it would be </3

#

combined weathers and weather changing just sounds super fun

ancient depot
rancid gull
#

πŸ‘€

ancient depot
#

Mrov needs to fix the transpiler for that one

#

lol

rancid gull
ancient depot
#

Under changing mechanics in the config

#

you'll see an option called

#

None > Stormy

#

set it to false

rancid gull
#

yeye

#

I should also uninstall/disable normal weather tweaks right?

ancient depot
#

Yeah uninstall the normal one

rancid gull
#

alr

latent sleet
ancient depot
rancid gull
#

wrath of zeus 😭

latent sleet
rancid gull
#

any config recommendations or are defaults good?

ancient depot
#

The rest of the defaults are good

#

^^

drowsy willow
#

but yeah

devout kraken
#

Hey, there is this new mod called CodeRebirth, which adds one new Weathertype. Are there any problems with Custom Weathers and the Stable Weather Tweaks? Also I just think this new Meteorite Shower Weather is a pretty cool idea and would love to use changing weather and that mod together in the future once the BetaWeatherTweaks Mod is done

abstract pivot
#

it's pretty stable afaik

ancient depot
#

Mrov updated WeatherTweaks stable for LL Weather support

#

They should both work now

abstract pivot
#

oh lol

devout kraken
devout kraken
drowsy willow
amber field
#

hey! remember me?

#

seems like Weather Tweaks' weathers dont appear on the list on my modpack after all

#

did a session yesterday and not once we saw 50/50's or uncertains

kind crane
#

oh

#

ALL session

#

strange

#

use weather tweaks beta

amber field
#

im about to start a new session rn so ill pay extra attention for the next days

kind crane
amber field
#

base, could try beta thouhg

kind crane
#

and also mrov wants some more testing on it

drowsy willow
#

everything should be printed there

drowsy willow
#

yippee!

#

hmmmmm

#
      if (!ConfigManager.UncertainWeatherEnabled.Value || !ConfigManager.MapScreenPatch.Value || !ConfigManager.TerminalForcePatch.Value)
      {
        Plugin.logger.LogInfo("Uncertain weathers are disabled.");
        return uncertainWeathers;
      }
drowsy willow
abstract pivot
#

well it does say they're disabled

amber field
drowsy willow
#

.<

#

so the condition for uncertain weather generation fails

amber field
#

the what

drowsy willow
#

and that's why there's none πŸ˜”

abstract pivot
drowsy willow
#

well

#

a few updates ago i've changed how that config entry works

#

and (i think) it should've been changed automatically to the new default πŸ€”

#

yeah

#

so it's my oopsie with not communicating that properly πŸ˜”

abstract pivot
#

do you have the thing that change's people's configs?

amber field
#

im not sure i understand what that setting does but i will trust you for it to be on true

drowsy willow
#

in case the weathers are not displayed by LLL/TerminalFormatter (for which i have explicit compatibility)

#

so the terminal and ship screen always display the same weather

#

because if some mod only displays level's weather and i'm displaying the uncertain one

#

there's gonna be a mismatch

drowsy willow
#

(for now)

amber field
#

welp glad things are finally working many thanks

drowsy willow
#

no worries, i'll change the readme to make it more clear with the next update πŸ₯Ί

unique turret
#

new version of LL is out now btw, meaning your changes are there now

mystic oxide
unique turret
#

So now you can use for example Levels.LevelTypes.ArtificeLevel instead of pretending Aritifice is a modded moon lol

#

actually yeah nvm, you need to add "Level" at the end of the moon name now

#

if you added your enemy or item to specifically these levels with the dictionaries for custom levels

leaden flume
#

yo whats madness mode

azure dirge
#

yes

leaden flume
#

thats doesnt answe my questionUAHGHHUAHGHHH

gray kayak
#

||all weathers (padding)||

drowsy willow
wicked latch
#

Don't mind my instant join. wokebear

drowsy willow
#

yippee πŸ˜„

#

fair warning: it's a mess right now 🀭

wicked latch
#

Compared to my mess, it's better.

#

Try reading my store initialization. You will probably read it four times and still miss something.

drowsy willow
#

i'm trying to add new features and mark/comment the current sections

#

because i've lost myself 3 times today

drowsy willow
#

okay, i see it

#

it's a lot

wicked latch
#

You can easily get lost in there.

#

You're busy checking one screen then you look away and you completely forget what point you were.

drowsy willow
#

πŸ₯Ί

wicked latch
#

Now imagine my pain of making a generic screen where you can define whatever input and output you want to put on the screen.

drowsy willow
#

oh god

#

😭

#

the thing that's most frustrating to me is unity editor

#

i want to have a support for displaying/creating all stuff there

#

but i'd need to have a way of auto-detecting and importing the bundles with my stuff in them

#

and i cannot add any dependencies, which is fun

wicked latch
#

(also ffs you unity editor users)

#

Like you would show each Weather Type asset?

drowsy willow
#

something akin to that

#

i like how LLL does it, but i have no idea how to achieve that

#

so a weather creator will be able to hook their things directly there

#

but i don't know how to make it work (yet), so i'm still more inclined to do things the code way

#

well, that's how LethalLib does it to this day at least

abstract pivot
#

Yeah lethallib never did anything unity side

wicked latch
#

You would prolly need your dll in the editor and you would have like a script table object and build into a bundle.

#

The API would read each bundle and see if there's any weather related stuff.

#

That or build a separate bundle specific for the API.

#

Then you would only need to find for that specific bundle format.

drowsy willow
#

but that's so much unnecessary stuff to do 😭

wicked latch
#

Unity editor stuff is also unnecessary. Lol

#

Just force them to learn coding.

drowsy willow
#

🀭

#

you're tempting me to do a dependency on my own library now hehe

#

ayoooooo

#

the way i've redone things is simplifying my code so much lmao

abstract pivot
#

Lol

abstract pivot
drowsy willow
#

i'm certain it's not difficult, i just haven't done this before, so i have no way of knowing

abstract pivot
#

Feel free to reference CR, should be similar in concept

drowsy willow
#

for me the editor stuff will be a nice addition after i'm done with the main stuff

#

after all, it took me 3 months to have a working LC setup in unity editor

#

(or to even start an editor)

abstract pivot
#

Daym

#

Yeah dw it's super simple

abstract pivot
drowsy willow
#

alrighty πŸ₯Ί

#

also the name weatherapi is not sitting right with me

#

πŸ€”

#

and i've already claimed weathertweaks, so i'm lost πŸ˜‚

#

so after extensive copy-pasting i've got the results

#

this is weathertweaks logic:

#

and that's new weatherstuff logic:

#

this feels like a small win

abstract pivot
#

Doesn't look like a small win to me lol

abstract pivot
drowsy willow
#

that's it

wicked latch
#

When I get home I will take a look at what you have.

#

This assuming trains are working properly today.

drowsy willow
wicked latch
#

Yesterday was bus strike.

#

Today is train malfunction.

#

At least tomorrow is holiday.

ancient depot
drowsy willow
#

wait

#

you're from germany?

ancient depot
drowsy willow
#

yeah

ancient depot
#

I never would have guessed

#

lol

wicked latch
#

No.

#

I'm from the forgotten lands of Portugal.

drowsy willow
#

oh

#

i wouldn't have guessed

wicked latch
#

Nobody can.

#

Only between us can we guess.

abstract pivot
#

Lemme guess

#

You're from portugal

drowsy willow
#

😳

#

holy shit

#

first try

#

oh, i need to make rpcs now

#

not great

abstract pivot
#

Shouldn't be too bad

wicked latch
#

Probably

drowsy willow
#

so - to confirm my understanding - serverRPC is sent to server, and client one to client, right?

#

the name corresponds with receiver, not sender

abstract pivot
#

Non host (i think) Clients call server rpc and only host runs code inside server rpc

#

Host calls client rpc and ALL clients run code inside client rpc

#

So usually the way to go is just making a server rpc which has a client rpc inside it which has the actual code u want everyone to run

drowsy willow
#

alrighty

#

i'll see what i can do rq

#

oh wait

#

networkvariables are a unity thing

#

i forgot to include None as a weather to be selected 🀭

#

fun

wicked latch
#

Server Rpc is called by clients and executed by server.
ClientRpc is called by server and executed by clients.

#

An exception is a client that is also a server (a host) which can do both.

drowsy willow
#

alright, fixed (kinda)

drowsy willow
#

ayooooooooo it's working

#

it's really that easy?

#

let's test multiplayer then

wicked latch
#

opens project
references missing
proceeds to copy paste

drowsy willow
#

oh, the libs?

wicked latch
#

Um.

#

Net46?

drowsy willow
#

😳

#

i've been found out

#

i got some errors on netstandard

#

and was too lazy to fix them 😭

wicked latch
drowsy willow
#

oh yeah, that one

#

what's causing that?

#

and please don't say that it's me

abstract pivot
#

Me

drowsy willow
#

🀭

drowsy willow
#

lol

wicked latch
#

Built (with spit and duct tape)

drowsy willow
#

this is the moment

abstract pivot
#

I just love it when they prefix patch false a bunch of ingame methods

drowsy willow
#

OOOOOOOOH I SEE IT

#

i need to call a relevant function from clientrpc, not inside it

#

because clientRPC is run on host as well

#

and the same with serverrpc

#

my god

abstract pivot
#

Host can run server rpc code yeah

#

Usually the way I do it is make a host check, then client rpc something I want sync'd

drowsy willow
#

if i call serverRPC the code inside is being ran as well

#

oioioi

#

i've fumbled it hard

abstract pivot
#

Lol

wicked latch
#

Nice extension method?

drowsy willow
#

🀭

#

yeah

wicked latch
#

File name different than class name.

drowsy willow
#

πŸ₯Ί

wicked latch
#

This is way too many identations.

drowsy willow
#

where are you lol

abstract pivot
#

Lemme guess, he uses {} with the namespace?

wicked latch
#

At the startup

drowsy willow
#

i see

#

umm

wicked latch
#

Also your tabs are spaces, wtf?

drowsy willow
wicked latch
#

2 spaces*

#

Sorry.

#

They're about the same size as one tho.

abstract pivot
#

Ah one of those people who changes their settings for tab

drowsy willow
wicked latch
#

Welp

drowsy willow
#

look how wide it's going >.<

wicked latch
#

Me typing resets the tab spaces, lol.

drowsy willow
#

oh no πŸ˜‚

#

that's gonna be fun

wicked latch
#

Also what's supposed to be WeatherType.Clear?

#

Which also has Vanilla and Modded.

drowsy willow
#

i'll quickly push my current changes

drowsy willow
#

None is not really a weather type per se

#

so it should be a separate thing

wicked latch
#

Right.

#

But in the context of Vanilla and Modded.

#

What's clear supposed to mean.

drowsy willow
#

this is the majority of code using it

wicked latch
#

I'm not questioning the enum, lol.

#

Is "Clear" just a default?

drowsy willow
#

it's tagged separately because there's no corresponding weather effect in the effects array

drowsy willow
#

yeah

wicked latch
#

Okie.

#

Also no conflicts with changes.

#

Oh

#

I can see why the RPCs didn't work.

drowsy willow
#

i know i have bad things in them

wicked latch
#

Well

drowsy willow
#

i'm trying to fix them right now

wicked latch
#

Besides the name of the function not having the proper postfix name.

#

I don't see this being netcode patched.

drowsy willow
#

OH is that why

wicked latch
#
  • you tried calling RPCs on non-NetworkBehaviours.
drowsy willow
#

hmmmmmm alright

wicked latch
#

You're going to need to spawn a gameobject so that you can call RPCs from it.

drowsy willow
#

okay

#

so there should be something like WeatherSyncManager that is a ScriptableObject

#

which will have those RPCs inside it

#

?

wicked latch
#

Not Scriptable, NetworkBehaviour.

drowsy willow
#

OH

wicked latch
#

You will need a prefab with that component and spawn it.

#

And this prefab needs to be registered to the NetworkManager.

drowsy willow
#

so something like this?

wicked latch
#

Umm

#

That's just.

#

Bad.

drowsy willow
#

that's not the one, wait

wicked latch
#

Because that gets called everytime a spawn happens and makes those unnecessary checks past the first spawn.

drowsy willow
#

alright, i'm kinda lost

wicked latch
#

Lol.

drowsy willow
#

so if i were to convert WeatherSync like that:

#

i need to instantiate it, right?

wicked latch
#

if (weather.Type == WeatherType.Modded) { }
Anything that this was supposed to do?

wicked latch
#

(Only host can spawn stuff btw)

drowsy willow
#

alrighty

#

so this should be done in my Startup as well

#

with a host check

wicked latch
#

I guess yeah.

drowsy willow
#

how would i do that when i don't have a gameobject?

#

do i just make an empty one?

wicked latch
#

You will need a prefab.

#

Because you need to register it in the NetworkManager.

#

I'm not sure if making an empty gameobject works though.

#

You can try, no guarantees though.

drowsy willow
#

i think that's how LLL does that

#

it's just a new GameObject

wicked latch
#

Alrighty.

wicked latch
drowsy willow
#

i think it was something to do with the enum extension

#

but i honestly don't know

wicked latch
#

This is after that supposedly.

#

I will just put a blank switch and you figure out what you need.

#

What is levelWeatherVariables supposed to do?

#

Is it the same thing as the uhh level.WeatherVariables thing?

drowsy willow
#

in startup?

#

Oh i see

wicked latch
#

Right now it's being useless thus the question. Lol

drowsy willow
#

well

#

i've added it to weathertweaks for something

#

copied it here

#

and it's there

#

lol

#

i think that my intention was to have easier access to variables on a per-level basis

#

because in weathertweaks i've started doing even more cursed stuff

#

but i'm not entirely sure right now

#

πŸ˜…

wicked latch
#

string sunAnimatorBool HyperHMM

drowsy willow
wicked latch
#

Oh.

drowsy willow
wicked latch
drowsy willow
#

🀭 we do a lil' bit of trolling here

#

what's even funnier is i really got those errors twice

wicked latch
#

You would think an exception would be thrown first.

drowsy willow
#

it's because of this

#

this is called before all classes finish initializing

#

so its local reference to StartOfRound instance is valid

#

but calling StartOfRound.Instance is not there yet

#

i wish i was joking

#

it took me so long to figure it out

wicked latch
#

Oh dear.

#

Gotta love properties.

#

Gonna have to go get some food.

#

I put the stuff I got in a branch.

#

Does it work?

#

Roll a die and find out.

drowsy willow
#

i'll see

#

you're a godsend πŸ™

#

is this working on netstandard?

wicked latch
#

It compiled.

#

So I would assume so

#

Unless your target is not netstandard.

drowsy willow
#

did you change any versions and stuff in csproj?

wicked latch
#

Uhh

#

It has latest LethalLib I guess.

#

Otherwise not really

#

Because I just made it use csproj.user file

drowsy willow
#

πŸ€”

#

alrighty

wicked latch
#

I tried using ll from nuget

#

But net46 stopped me.

drowsy willow
#

huh

#

i can see why

#

how did you fix that?

#

oh wait, wrong harmony version

#

huh i'm dumb

drowsy willow
#

i got it working πŸŽ‰

abstract pivot
#

Noice

drowsy willow
#

alright, i'm completely lost

#
[17:54:51.2241129] [Error  : Unity Log] NullReferenceException: Object reference not set to an instance of an object
Stack trace:
Unity.Netcode.NetworkVariable`1[T].set_Value (T value) (at <895801699cfc4b4ab52267f31e2a4998>:IL_0000)
WeatherAPI.WeatherSync.set_Weather (System.String value) (at <a19d2544a974457598c288b56cc7209c>:IL_000C)
WeatherAPI.WeatherSync.SetNew (System.String weathers) (at <a19d2544a974457598c288b56cc7209c>:IL_0055)
WeatherAPI.Patches.SetPlanetsWeatherPatch.GameMethodPatch (System.Int32 connectedPlayersOnServer, StartOfRound __instance) (at <a19d2544a974457598c288b56cc7209c>:IL_00FD)
(wrapper dynamic-method) StartOfRound.DMD<StartOfRound::SetPlanetsWeather>(StartOfRound,int)
WeatherAPI.Patches.TerminalStartPatch.Postfix (Terminal __instance) (at <a19d2544a974457598c288b56cc7209c>:IL_09AC)
(wrapper dynamic-method) Terminal.DMD<Terminal::Start>(Terminal)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition.Trampoline<Terminal::Start>?-1570686956(Terminal)
LethalLib.Modules.Enemies.Terminal_Start (On.Terminal+orig_Start orig, Terminal self) (at <7fedbde26c084fb2af96612740f0c4ca>:IL_0350)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition.Hook<Terminal::Start>?267693116(Terminal)
#

why does the setter not work correctly? πŸ˜”

unique turret
#

Did you check if the value you set it to was already null? πŸ€“

wicked latch
drowsy willow
#
[17:54:51.2151128] [Debug  :WeatherAPI] Instance: WeatherSync (WeatherAPI.WeatherSync)
[17:54:51.2151128] [Debug  :WeatherAPI] Weathers: System.Collections.Generic.Dictionary`2[System.String,LevelWeatherType]
[17:54:51.2151128] [Debug  :WeatherAPI] WeatherSync: Unity.Netcode.NetworkVariable`1[Unity.Collections.FixedString512Bytes]
[17:54:51.2151128] [Debug  :WeatherAPI] WeathersSynced: a default value
[17:54:51.2211129] [Info   :WeatherAPI] Setting new weathers: {"41 Experimentation":6,"220 Assurance":2,"56 Vow":6,"71 Gordion":6,"61 March":6,"20 Adamance":4,"85 Rend":-1,"7 Dine":1,"21 Offense":-1,"8 Titan":-1,"68 Artifice":-1,"44 Liquidation":-1,"5 Embrion":-1,"Atlas Abyss":5,"2 Ganimedes":6,"59 Affliction":3,"127 Eve-M":1,"71 Sector-0":5,"290 Summit":5,"813 Penumbra":5,"Secret Labs":5,"43 Orion":6,"28 Celest":5,"42 Auralis":2,"74 Solace":-1,"27 Triskelion":-1,"9 Celestria":-1,"93 Harloth":6}
[17:54:51.2221126] [Info   :WeatherAPI] Current weathers: a default value (is null? False) (is empty? False
[17:54:51.2241129] [Error  : Unity Log] NullReferenceException: Object reference not set to an instance of an object
Stack trace:
Unity.Netcode.NetworkVariable`1[T].set_Value (T value) (at <895801699cfc4b4ab52267f31e2a4998>:IL_0000)

... and it's the same error as above
#

and i'm setting it up using

    public NetworkVariable<FixedString512Bytes> WeathersSynced = new NetworkVariable<FixedString512Bytes>("a default value");
    public string Weather
    {
      get => WeathersSynced.Value.ToString();
      set => WeathersSynced.Value = new FixedString512Bytes(value);
    }
#

so it's not null at any point πŸ€”

unique turret
#

is your thing a NetworkBehavior? Are you using UnityNetcodePatcher?

drowsy willow
#

Are you using UnityNetcodePatcher?

oh

unique turret
#

ye

drowsy willow
#

just added it, will check rq

unique turret
#

lol ye it should fix your problem :3c

drowsy willow
#

i hope πŸ₯Ί

#

that error is gone, which is a progress

#

but i've fucked something else

unique turret
#

πŸ˜”

drowsy willow
unique turret
#

uhh, is that the wrong way around?

#

also I saw some discussion about the amount of spaces, and two spaces isn't enough :3c
And if 4 spaces is too much, then you nest too much :3c
Though 8 spaces is insane, I don't like it

abstract pivot
#

if you're not doing 16, you're not really coding

drowsy willow
drowsy willow
drowsy willow
#

i fixed it! πŸ˜„

#

finally some peace

unique turret
#

πŸ”₯

abstract pivot
#

all of us cooking rn frfr

#

i finished two commissions today

#

pretty happy with myself

drowsy willow
#

nice!

#

good job πŸ˜‡

unique turret
#

awesome πŸ”₯

unique turret
drowsy willow
#

well

#

as much as i don't want to admit it

#

i come from the lands of javascipt

#

and i've commited some crimes there

unique turret
#

lol

drowsy willow
#

🀭

abstract pivot
#

i miss javascript

unique turret
abstract pivot
#

it's honestly horrible

#

the other options are

#

meh

#

or non existent

drowsy willow
#

i just like having 2 as a tab width 😭

abstract pivot
#

like it just makes no damn sense