#Weather Registry / Weather Tweaks / mrov

1 messages · Page 14 of 1

abstract pivot
#

testing my stuff rn again and its picking the same weathers as far as i can tell

drowsy willow
#

i know you aren't 🥲

drowsy willow
#

i have some great ideas for future versions of WeatherTweaks

#

but it needs a complete rewrite 😢

ornate cosmos
#

but look on the bright side, rewrite means you can account for those new ideas!

drowsy willow
#

oh yeah, big time

leaden flume
#

gotta get your hands dirty sometime yknow

drowsy willow
#

they are dirty from the first day I've worked on tweaks

#

I have sinned and it's my purgatory

leaden flume
#

a truly sisyphean task

harsh flicker
#

Forgot to say but false alarm, from testing it more the weathers stayed the same

drowsy willow
#

that's great news 😇

worldly sleet
#

can you fix this

kind crane
drowsy willow
#

will see how it goes

lapis fractal
harsh flicker
#

wait what
it does for me

#

???

lapis fractal
harsh flicker
#

mine in the config is set to 200, and i have definitely had apparatus worth more than that on other weathers

harsh flicker
#

yes

#

OH

#

is it ONLY with meltdown?

lapis fractal
#

meltdown has built in support with weatherregistry

harsh flicker
#

Damm

lapis fractal
#

Yeah. So much of my problems would be solved if meltdown had a blacklist.

harsh flicker
#

maybe get meltdown and then get a mod that lets you change the chance to 0?

#

workaround i suppose

lapis fractal
#

Not only that, seems if I have any mod that messes with app prices other than meltdown, apps price won't change

#

they don't get the multiplier

leaden flume
#

"weathermanager is not set up yet"

#

019323c3-6cd8-6511-aea4-c9ae86d4867f

drowsy willow
#

do you have a log from that session?

#

because that warning will pop up a few times every round

keen palm
#

Weather Tweaks prevents weather desync, so if I have a mod which has a tendency to cause weather desync will that be fixed?

leaden flume
#

oh and my terminal's scroll stopped working

#

great

#

so after landing on a moon and going to orbit, weathermanager still hasnt been set up

#

and its not showing the current weather + colored text

#

along with the fact that my terminal's scroll doesn't wanna work anymore

drowsy willow
#

something else is broken

#

I'll check it later, thanks

drowsy willow
#

WeatherRegistry also syncs weather on its own, so I'd recommend just getting that if all you care about is fixing the desyncs

slow maple
keen palm
thick acorn
leaden flume
#

thanks for the time though

drowsy willow
drowsy willow
slow maple
drowsy willow
#

WeatherTweaks does not touch anything fog-related

#

it didn't sync sync the fog stuff, but it synced active effects

#

and changed fog parameters

#

it's something i want to include in Registry, but I'm working on a new project 😅

#

oopsie

slow maple
#

when that's out I'll give you a big ol' kiss on the forehead

#

(don't tell wesley)

drowsy willow
#

alrighty 🤭 😇

raw bloom
#

Weather seems to change when you restart the entire game

merry ermine
#

yeah that bothers me a lot, hopefully that can be fixed

drowsy willow
#

hey, i'm not sure why it happens, i'll try to resolve it

ancient depot
raw bloom
#

No

ancient depot
#

Nah I'm pretty sure it does, it just has less of a chance of happening due to how Vanilla handles Weathers

drowsy willow
#

not exactly

raw bloom
#

Regardless, it should be acknowledged because it can either give me an unfair advantage or make shit worse

drowsy willow
#

vanilla weathers are calculated from saved seeds

ancient depot
#

Ah

drowsy willow
#

all possible weathers are predefined

#

so when the input parameters are the same (always), the output is also always the same

#

with Registry it's a bit different

ancient depot
#

So WR just doesn't save something when it comes to game reboots

drowsy willow
#

i'll try locating what is the cause of that

ancient depot
#

Cus lobby reloads are fine

drowsy willow
#

because it's saved to a file after selecting weathers

ancient depot
drowsy willow
#

that's the same thing tho

#

so it should work the same

#

and it's not

ancient depot
#

Hmmmm

#

I wonder if on game exit it's deleting the file

#

and recreating it on boot

#

Or it just recreates it on boot which overrides it

drowsy willow
#

let's see: does your saved game remove itself on exiting game?

ancient depot
#

I mean is it writing it to the game's save file directly?

drowsy willow
#

yes

ancient depot
#

I was suspecting you had it saving to like a txt file or something

#

Got it

#

Idk then

#

OH WAIT

#

Maybe it's a compat thing

#

It could be cus of this in ButteryFixes

#

If it's randomly changing it on game relaunch

#

@raw bloom Can you test if it repros if you disable that option in ButteryFixes

drowsy willow
#

if the weathers were picked by Registry, it should be saved to a file

#

i'll push some added logging in an update rq

#

resolving other issues rn

ancient depot
#

It would also change the weather

#

Cus the saved seed is now different

drowsy willow
#

well, no

raw bloom
#

Now it's not doing anything

drowsy willow
raw bloom
#

Rend went from solar flare, to none, and is now stuck on stormy

drowsy willow
#

oh dear

#

give me a moment

raw bloom
ancient depot
#

Interesting

#

So the bug is with Registry

drowsy willow
#

no shit

ancient depot
#

Potentially

drowsy willow
#

please stop

#

please

ancient depot
#

Lol

ancient depot
# drowsy willow please

I mean I'm just saying it as I understand it you can always just correct me if I'm wrong lol, this game is very confusing at times

drowsy willow
#

try replacing thunderstore version with that and let me know what happens

raw bloom
#

Mother of god, what did you do

ancient depot
#

Ah that makes a ton of sense

drowsy willow
#

so nothing seed-related is causing the issue

drowsy willow
raw bloom
#

Why is it mentioning spider webs of all things

drowsy willow
#

modpack code?

raw bloom
#

01933271-9463-4527-0bb7-e48258844a33

#

Good luck

#

You'll see why

drowsy willow
merry ermine
drowsy willow
#

sorry for that

#

i'm pushing the update to add those log thingies

#

so it's gonna be easier to debug what's happening

raw bloom
drowsy willow
#

WeatherRegistry 0.2.8

  • added logs for loading weathers from save
#

will be available in your mod manager in ~45 minutes

#

🤭

merry ermine
#

mrov being a w

azure dirge
#

he's the most qualified. sure, kinks come of it, but i'd like to see someone else try and do what he does

#

thanks for regulating our weather, morv yoiled

abstract pivot
#

wrow

#

wwww

keen palm
#

wrov

ancient depot
#

@drowsy willow Got a bug

#

Monitor said Eclipsed

#

Landed

#

and weather was clear

#

LMFAO

drowsy willow
#

logs or didn't happen

#

I'm not a wizard to know what's going on

keen palm
#

Blame the weather being uncertain

harsh flicker
slow maple
ancient depot
storm pagoda
drowsy willow
#

which is fucking wild

drowsy willow
#

so,umm

#

i found out why

#

i have no idea why this would be the case

#

but i'll add some logs to at least let you know when it happens

#

WeatherRegistry 0.2.9

  • added default weight and level weight logs to startup
arctic grotto
#

👋

#

@drowsy willow How can I register custom weathers?

arctic grotto
#

Thank you

#

What is ContentHandler?

#

Is it something inside WeatherRegistry?

abstract pivot
#

you can ignore that, that's something i have for my mod to handle registering items, enemies, weathers, unlockables etc

#

the important bits you need are the ones highlighted

arctic grotto
#

👍

#

So I have to do this and register while creating class?

abstract pivot
#

my thing is a bit fancy, the only code you need to care about is the function i sent lol

arctic grotto
#

I just didn't understand how it works

abstract pivot
#

you can ignore this part, it's just basically me grabbing an asset from the assetbundle

arctic grotto
#

Also it just spawns your prefab with weather 'stuff'?

abstract pivot
#

the rest of this is stuff you do

abstract pivot
#

thats how vanilla works too

#

your script's logic just needs to be "onenable" and "ondisable"

arctic grotto
#

Ahh

#

Okay lemme try

abstract pivot
#

yeah, basically there's 2 gameobjects, effectObject and effectPermanentObject

#

effectObject disables itself when you're inside the facility

#

effectPermanentObject keeps going

#

you can have each of em null if you want

arctic grotto
#

DefaultLevelFilters makes weather not to

#

be in the levels that is on the list?

abstract pivot
#

depends if the filtering is exclude or include

#

i always just have it set to exclude and gordion

arctic grotto
#

Oh got it

#

Is there any way to make it spawn only for one moon?

abstract pivot
arctic grotto
#

Also can WeatherRegistry find modded moons?

abstract pivot
#

yes

#

you just need the moon's name

abstract pivot
arctic grotto
#

Let me try

#

Thanks

arctic grotto
abstract pivot
#

timeandsystem in sample scene iirc

#

just look up foggy in samplescene and you'll find it

arctic grotto
#

Thankyou

#

Weathers are attached to the local player?

#

So they move with it?

lapis fractal
#

How far ahead is weather registry working with apparatuses planned? They only scale when it's with facility meltdown and weather reg installed.

#

And if it is soon, could that be for all modded apps

abstract pivot
arctic grotto
#

and uh I can't find any scripts that moves it with player

#

I guess TimeOfDay controls it

#

I saw some values to lerp positions in the weathers list

drowsy willow
arctic grotto
#

I’ve got it working

#

But my weather objects can be visible at the first scenes lmao

drowsy willow
#

hmm, that's not great

#

I'll be home shortly, I can help you

arctic grotto
#

Don’t worry

#

I’m going to sleep rn

#

I will check my code later tomorrow

little sedge
#

mrov you told me to let you know if i have any issues with weather registry

#

well ive got a bone to pick with you

#

:3

#

so basically i wanna patch into SetMapScreenInfoToCurrentLevel, so i can redirect the planets name on the monitor with this

manic cobalt
#

is my code not doing that for you?

little sedge
#

i think because it just overrides the whole method

manic cobalt
#

Which method?

little sedge
#

SetMapScreenInfoToCurrentLevel

#

in StartOfRound

manic cobalt
#

In theory the code where we change the stuff in the TerminalNode's should be preventing this from happening

#

because the terminal should be sending to your level and not the original

#

extendedLevel.RouteNode.displayPlanetInfo = referenceToMyNewDine.RouteNode.displayPlanetInfo;
this line

little sedge
#

here let me comment that out and show you

#

the patch i just made i mean

#

oh huh no i guess not

#

it still says reDine here

#

if i do this though it doesn't (obv)

manic cobalt
#

I'll move this to #dev-moons

little sedge
#

yeah i went a bit off topic sorry abt that

manic cobalt
#

btw mrov nitpicky but should use .SetText() rather than text =

ornate cosmos
#

wait why's that?

#

seems like maybe that's only beneficial when interpolating floats or using a cached stringbuilder?

manic cobalt
# ornate cosmos wait why's that?

Allocation related iirc, it’s mainly practical in update loops but figured mentioning since he’s already using a stringbuilder there

little sedge
#

mrov please help me 😭 im suffering https://pastebin.com/jxsrM2EX
im having weather desync issues when changing my moons weather (i did actually end up having to do this) and its still not working sometimes and it doesn't change at all if weathertweaks is installed

slow maple
ornate cosmos
#

good question

abstract pivot
#

lol zac also has it?

#

@rare glade

#

plastered doesnt

unique wraith
#

You've seen nothing👀

rare glade
#

Boop

#

I'm not zeekers

#

I'm zookers

drowsy willow
#

weathertweaks is CURSED

#

becuase it's using its own separate weather picking and syncing system

#

i really need to rework it

#

this is the day

lapis fractal
drowsy willow
#

lol

#

that's interesting

arctic grotto
#

Can you tell me why that happens?

drowsy willow
#

how are you registering your weather objects?

arctic grotto
#

Let me see

arctic grotto
#

what

#

@abstract pivot Can you tell me why that happens?

drowsy willow
#

hmmmmmmm

#

that's interesting

arctic grotto
#

you a lie

abstract pivot
#

i would have no idea whyh ur image aint imaging

arctic grotto
#

I'm not talking about that

#

lmao

drowsy willow
#

if you have unityexplorer installed you can check if the effect is enabled at that point in time

#

because it shouldn't be, but it somehow is

abstract pivot
#

oh yeah

#

you need to have the gameobject disabled

#

in ur unity project

#

lol

#

forgot about that part

arctic grotto
#

Really?

abstract pivot
#

yep

#

blame mrov

#

/srs

arctic grotto
#

Dw, I will

abstract pivot
#

the way me and you have it setup is that we instantiate the effect object

#

and that's kind of how mrov makes us do it until he reworks it

#

so you have to instantiate it while its disabled when u load the prefab so it doesnt do its onenable effect and stuff

arctic grotto
arctic grotto
#

Like

#

Am I doin it right?

#

Or it somehow has the default parameters for all the moons?

#

So I have to exclude it?

abstract pivot
#

Include is right

#

but i dont know if thats the name weather registry uses for your moon

#

it might just be Zeranos

#

@drowsy willow can you confirm how you check for moons?

arctic grotto
drowsy willow
#

Use just Zeranos and Registry should resolve it

#

If you have any doubts, check what Registry prints out during lobby load

#

And check the Weather object with UnityExplorer

lapis fractal
arctic grotto
#

Yes chill guy

lapis fractal
drowsy willow
#

if the config option won't be disabled, yes

drowsy willow
# arctic grotto

are you sure you're using the latest version of Registry .dll in your project?

#

because you should be using Configuration instead of Config 😅

abstract pivot
#

and i asked u what to change the variables to

#

and u never responded lol

drowsy willow
#

🥲

#

it's gonna show up in editor

arctic grotto
#

wdym?

drowsy willow
#

Something like that

coarse kiln
#

@drowsy willow I'm using BrutalCompanyMinus alongside WeatherRegistry (no WeatherTweaks) and I have the scrap amount/value modifiers applied through WR, however the xModifiers don't show up in the tooltip. I'm wondering would WR handle these values separately from BCM or should it show as the scrap value/amount in the tooltip?

drowsy willow
#

Hey @coarse kiln, as far as I know BCM doesn't check Registry's values - it uses their own ones

#

so you'd need to disable using scrap multipliers in Registry for the displayed values to be accurate

coarse kiln
drowsy willow
#

that setting completely disables Registry's scrap multipliers

#

sadly it's made in a way that replaces other mod's settings, not multiplies them

coarse kiln
drowsy willow
#

AFAIK BCM uses their own values for scrap multipliers, not related to Registry in any way

#

🥲

coarse kiln
#

One last thing before I stop pestering you, is 1.75 for the scrap multipliers in the config equal to 175%?

azure dirge
#

correct

drowsy willow
#

yes, 1 == 100% of vanilla values

coarse kiln
#

Ok thankyou!! 😁😁

worldly sleet
#

1 new weather per game tick

drowsy willow
drowsy willow
#

i'm halfway done with the tweaks

thick acorn
#

i assume it'll be moved to stable when it's.... y'know.... stable

drowsy willow
#

it will eventually be in stable

#

cause right now there are 3 versions of weathertweaks

#

which is at least 2 too much 🤭

wispy swallow
#

r we talking about the multiple weather thing?

drowsy willow
#

yes

slow maple
ancient depot
ancient depot
#

For clarification this was after we turned off CodeRebirth MeteorShowers I think WR breaks if you disable a weather on a save that had it enabled before

drowsy willow
ancient depot
# drowsy willow full log?

Assuming I just need to have a save with MeteorShower on and then disable it after it's saved it should be easy to repro lol

#

Cus we had it break twice, error threw when going back into orbit

ancient depot
#

@drowsy willow

drowsy willow
#

will take a look, thanks

#

how's that?

ancient depot
drowsy willow
#

the update will go live later today, i have a few things to add for Tweaks to work as well

ancient depot
#

You're actually updating the Tweaks?

#

Holy shit

#

lol

#

It's a miracle

#

XD

drowsy willow
#

it's hell

#

but i've got plenty of ideas

ancient depot
#

Yeah you need to rewrite it at some point you've said that yourself

#

you've learned a lot since you made it

drowsy willow
#

this is the moment

ancient depot
#

None > Stormy will no longer have ultra explosive lightning

drowsy willow
ancient depot
#

I am genuinely happy to see you working on it again though, the Tweaks have needed some love

#

I stopped using it a while ago cus of the performance problems but I do miss it

drowsy willow
ancient depot
#

XD

drowsy willow
#

god fucking damn it

#

fun 🤭

ancient depot
drowsy willow
ancient depot
#

lol

harsh flicker
drowsy willow
harsh flicker
#

I imagine a lot of configs, but worth it to have that amount of customisation
I look forward to when its implemented!

drowsy willow
#

amazing

harsh flicker
#

My only concern is, just how many config entries is that? Especially if you include modded weather too

drowsy willow
#

well, every weather has its own category

#

and I'm gonna hide all the unused ones (filtering, weights)

#

so it's gonna be manageable

#

I think

harsh flicker
#

Ah wait so, if say...i dont enable stormy+flooded, I won't see the entry for it?

#

But just how many combos are there still
Like is it limited to 2-3 weathers at a time?

#

Is my understanding / math wrong

#

I mean sure its probably less, like, you can exclude clear

#

Also weathers like cloudy + flooded would be very pointless

#

But for actual weathers its still alot right

#

Well....
Now that i think on it, FairAI has 4 bool config entries for each entity it detects in the game
So i mean....the size would probably end up similar

#

I guess it would be manageable

#

Still thats probably gonna be the heftiest config i have ever seen

coarse kiln
#

Getting one of these for every moon in the logoutput, would this be WeatherRegistry's fault? [13:57:49.3989802] [Warning:LethalLevelLoader] Client Had Differing Current Weather Value For ExtendedLevel: Experimentation, Syncing!

drowsy willow
coarse kiln
harsh flicker
#

People like me that want to config and custom balance everything will enjoy it

#

Those who dont care for it can likely just ignore it

drowsy willow
#

at least I hope I can manage that

harsh flicker
#

I would maybe advise keeping it to 3 weathers stacking at once
And then maybe have 1 or 2 thats just like, every single vanilla weather and every single vanilla+modded weather for the funnies

#

I know it probably supports 4 or more but i think thats excessive in most cases

#

A scuffed way of doing it could be adding like some blank "custom weathers", where someone can just list off the names of the weathers they want added

#

Make your own nonsense weather KaguyaStare

drowsy willow
#

hmmm, that's an interesting idea

#

it would be a bit messy to define and handle

#

but you would be able to do whatever you want

#

hmmmm

keen palm
drowsy willow
#

i might do something fucky to the configs

#

oh no

#

it's so not working 😂

nocturne lily
#

stormy + rainy + eclipsed sounds like a true nightmare

keen palm
wispy swallow
#

cheese rain + cheese rain+ cheese rain

#

gorg

leaden flume
#

gorgle

lapis fractal
azure dirge
#

rainy. foggy. stormy. flooded. eclipsed. dust clouds. heatwave. solar flare. meteor shower. windy. snowy (unreleased). cloudy (in beta). when day breaks (unreleased).

if it werent a guaranteed lagfest, id kill for the ultimate weather condition (a combination of all of the above)

drowsy willow
#

wellllll

#

it's going great 🤭

lapis fractal
#

Oh that's good!

drowsy willow
#

let's just say that i won't forgive myself for starting this anytime soon

drowsy willow
#

that would be fun

nocturne lily
#

imagining combining other weathers with something like kite's bloodmoon, sounds very scary

lofty silo
#

combo weathers with a moon randomizer is one of my fav parts of this game, thank you for your past + present work on this so far yoiled

drowsy willow
#

🥹

lapis fractal
drowsy willow
#

configs are working again 🎉

lapis fractal
#

ahh the floogged

#

hate that weather

#

haha jk

drowsy willow
#

and there's 2 things i need your feedback on:

  1. should any other options be added to special weather sections?
  2. should those config entries be in Registry's or Tweaks's config file?
azure dirge
#

Registry's

lapis fractal
drowsy willow
#

for example

#

because normal weathers have multiplier sliders

#

should special weathers just have a combo of those or a separate slider?

drowsy willow
little sedge
#

ah yes

lapis fractal
# drowsy willow

There any chance if we could name our weathers? I don't know if you are implementing ways where we could combine weathers, but if we could, could there be a way to name them?

pine thunder
wispy swallow
drowsy willow
#

i've got the craziest idea

drowsy willow
#

we're soooo back

#

what the fuck

lapis fractal
#

ahh yes the Staipsed weather

wicked latch
drowsy willow
#

okay, the rework is taking a bit longer than expected

#

but - honestly - nothing works like i want to 🤭

#

i'll try to have that finished this week, but no promises

wispy swallow
ornate cosmos
#

yooo nice

#

also you left vc so abruptly earlier mrov lol

#

glad you figured it out though

drowsy willow
drowsy willow
#

i have made tremendous progress

little sedge
#

u love to see it

#

anything u can show?

drowsy willow
#

i really hope to have it done today, but we'll see

drowsy willow
#

it took me a while to pull off 😅

ornate cosmos
#

lmao stormy+rainy particles look so funny together

#

I knew the angle was different but that's so extreme

drowsy willow
#

yeah 😭

ornate cosmos
#

maybe you'll have to tweak that weather combo 🤪

#

also is this gonna include instantiating modded weather effects?

drowsy willow
#

i was thinking about hardcoding which rain is visible

#

i'll see how it goes

ornate cosmos
#

yee that woukld make sense

ornate cosmos
#

stormy taking priority would make sense

#

ah no worries

#

just curiuos

drowsy willow
#

i've got a secret solution for that

ornate cosmos
#

scary

drowsy willow
#

naaah, just another project

#

but my ETAs are horrendeous

ornate cosmos
#

wait the solution is another project? thonk

drowsy willow
#

i've said too much already 🤫

ornate cosmos
#

I shall have to trust the plan

trail lark
drowsy willow
#

yeah, i am 😅

trail lark
#

Crazy.

drowsy willow
#

the issue (and why i'm doing this) right now is: I'm managing 3 weather mods (WeatherRegistry, WeatherTweaks (and beta))

#

and they all do similar stuff in different ways

#

which is impossible to work on

trail lark
#

Ah, so you want all in one.

#

Makes sense.

drowsy willow
#

i'm reworking how the Tweaks work to unify all the stuff i'm doing

#

so: Registry as the actual manager of everything (weather types, effects, when they're enabled, what's synced) and Tweaks only influencing how Registry works, not any game methods

#

so instead of 3 versions i'll only have 2

#

and they're gonna do different things, so there's no feature overlap

#

MrovLib 0.2.9

  • added LevelHelper
  • StringResolver now resets after disabling lobby, not during startup (silly)
#

not that bad

drowsy willow
#

WeatherRegistry 0.3.0

  • Apparatice will now use WeatherRegistry's scrap value multiplier
  • added default weight and level weight logs to startup
  • added a check to loading weathers from save in case mod list was changed between lobby reloads (thanks, @ancient depot!)
  • added LevelWeatherTypes property to WeatherManager
  • added GetCurrentLevelWeather method to WeatherManager
  • added null checks for Weather.Effect
  • added an option to change which weather selection algorithm is used
    • used algorithm will be logged in the console
  • added BooleanConfigHandler type and changed WeatherConfig to use it
  • changed screenLevelDescription to use .SetText() (thanks, @manic cobalt !)
  • changed the transpilers of vanilla methods so only WeatherRegistry enables weather effects
  • changed how disabled ConfigHandler behaves
    • before it would create a dummy config entry with a description that it's disabled
    • now it will not create the config entry at all
  • fixed an error introduced in 0.2 with Weather properties not being used for default config values (sorry, @latent sleet !)
  • Weathers registered by WeatherTweaks will no longer be removed from the registered weathers list
  • marked some properties as virtual
#

as always with my big releases: let me know when something breaks 😅

idle light
drowsy willow
wispy swallow
#

How hard would it be to make snow particles replace rain particles on snow moons?

lapis fractal
#

Has anyone's friend been able to import a profile after registry updated?

drowsy willow
#

if you mean just the particles, check the game object of rainy/stormy weather (look for RainParticleContainer iirc)

wispy swallow
#

So I would be able to change the weather particle effect on my custom moon like gorgonzola does with the cheese rain

drowsy willow
#

exactly

#

I'm gonna be completely honest with you - I have no idea if my implementation of effect overrides is fully working right now, but if you encounter any issues hit me up

drowsy willow
#

that is probably not my fault, but I don't like the timing on that 🤭

queen crystal
wispy swallow
#

Nice, thanks!

scenic jetty
#

Profile code: 0193742d-b6f5-326d-d379-a381cada206d
Couldn't start Artifice

#

oh wait

#

nvm

#

old version

slow maple
#

do I need to reset my config after this update mrovy @drowsy willow

slow maple
#

thanks goa

#

t

little sedge
little sedge
#

finally

lapis fractal
#

I have been waiting for apparatice multipliers ever since I was born

#

lol

thorny salmon
#

@drowsy willow Small issue with the latest version of WeatherRegistery : there is no rain during stormy weather
This does not happen with 0.2.9

thorny salmon
#

also, does this "changed the transpilers of vanilla methods so only WeatherRegistry enables weather effects" means that no other mods can change the weather?

drowsy willow
#

which is not working lol

#

fun

thorny salmon
#

ah ok lol

thorny salmon
#

good feature lol

ancient depot
thorny salmon
#

as usual

ornate cosmos
#

will have to look at gorgonzola later I guess

little sedge
#

oh no

#

yeah stormy is kinda borked huh

#

thats unfortunate

scenic jetty
#

dry storm

ancient depot
#

Actually speaking of this @thorny salmon, do you have any other mods that might touch Rainy and Stormy weather that could just be causing issues? I know Chameleon touches them

#

I wanna be sure this is 100% a vanilla issue for poor Mrov's sake lol

thorny salmon
#

I have chameleon yes but disabling it does not solve the issue

#

Pretty sure it's just WeatherRegister latest version

slow maple
#

also I'm pretty sure chameleon just adds visuals for stormy and rainy on gordion and march

#

Don't think it actually messes w the weather

little sedge
#

no it does not

#

it onyl enables the weather effect

#

not the actual weather itself

slow maple
#

year...

azure dirge
#

so... any idea why using the Weather Probe from WhiteSpike is no longer doing anything as of 0.3.0? worked fine in 0.2.9.
i also let Spike know in case it's a matter of keeping up

ancient depot
raw bloom
#

Rain doesn't appear upon first landing, but relanding will have it reappear

drowsy willow
#

I'm back from work, will address this issue ASAP

raw bloom
#

Btw did you forget abt the TerminalFormatter & RestoreMapper thing, or is that held off until further notice

drowsy willow
#

have to finish my secret project first 🤭

drowsy willow
drowsy willow
#

when weathers come back 🥲

little sedge
#

when stormy is fixed too i hope <:)

drowsy willow
#

the mrov mark of stability

little sedge
#

im busy rn so i cant check unfortunately

drowsy willow
#

is it possible for me to release an update that works without issues 😆

#

good damn

#

I plan to have a fix ready in about an hour

#

OH MY FUCKING GOD I SEE THE ISSUE

#

so, umm

#

when host changes which effects should be active

#

it's not actually being received by clients whatsoever

azure dirge
#

for which issue?

drowsy willow
#

weather effects not applying

azure dirge
#

ah

drowsy willow
#

the weather probe is more interesting

#

because - as far as I know - nothing actually sent any data to WeatherRegistry

#

will check for sure tho

azure dirge
#

thanks, friend ^u^

drowsy willow
#

WeatherRegistry 0.3.1

  • fixed weather effects not enabling properly (#10) (thanks: @thorny salmon , @raw bloom !)
raw bloom
drowsy willow
#

i am honestly surprised i broke that little lol

azure dirge
#

i'll just keep on 0.2.9 til a fix is discovered.
thanks for helping maintain the weather

drowsy willow
#

what's surprising to me is that it worked

#

because - as far as i've checked - it has it's own weather-syncing stuff

#

which wouldn't play nicely with Registry AFAIK

azure dirge
#

hmm

drowsy willow
#

will investigate when i can think properly 🤭

#

thanks a lot for reporting the issues 🫡

azure dirge
#

np

#

tyt and thanks 🙂

raw bloom
#

Btw does this not disable custom suns

#

or is it shoehorned in by the moon dev

slow maple
#

it prevents weatherregistry modifying the sun animator, I believe

#

atleast thats how I always understood it

raw bloom
#

OH

#

rip

trail lark
kind crane
trail lark
#

Why did you post it here and not in TF thread?

gray kayak
#

It doesn't look like 0.3.0 completely fixed modded weather default values :p (Heatwave still got it's Filtering option set to false)

ancient depot
#

@drowsy willow It seems like Eclipsed music no longer plays when a moon is Eclipsed

gray kayak
#

Can hear the music on my end

ancient depot
#

@pine thunder

ancient depot
drowsy willow
#

like moon creator making custom skybox?

drowsy willow
#

there's no music because probably the effect doesn't get enabled => the problem is still here

drowsy willow
#

I found two more issues, will push a fix shortly

drowsy willow
#

WeatherRegistry 0.3.2

  • weather effects are now correctly synced between clients
  • weather effects are now correctly re-enabled when leaving dungeon
#

and i hope that's all the issues covered

drowsy willow
#

forgot to mention it in changelog

azure dirge
ancient depot
#

I went inside the interior and left

#

I got confused cus Endox said they were working for him lol

restive pilot
#

@drowsy willow

#

I saw this weird fog

#

And I knew something was wrong

kind crane
drowsy willow
#

oh dear, oh no

#

will fix that ASAP

kind crane
#

before your break

#

just wanna downgrade for my game

#

or was it 0.2.9

ancient depot
#

Somehow I had no issues today

#

lol

kind crane
#

new version has been pumping out errors for me

ancient depot
#

I'm pulling BetterSprayPaint though

#

that threw constant NRE's earlier and has been our culprit of lag for a hot minute now, a workaround if you have a save you're playing with the mod is to stick spray cans in the ShipInventory

kind crane
#

atm things have been pretty smooth for me tho

ancient depot
#

I'm thinking it was Winter Lodge

kind crane
#

its good

#

but modded enemies dont play nice with it haha

#

and taking the time to cfg it isnt really worth it for like 3 enemies I like to have for it

#

so I just tossed it

ancient depot
kind crane
#

old one died on us

gray kayak
drowsy willow
drowsy willow
#

@restive pilot @kind crane could you send me your modpack codes? I'd like to investigate your issues 😅

gray thicket
#

I apologize in advance if this is something that gets asked a lot, but is there any shot WeatherTweaks will be updated for the v60s some time?

drowsy willow
#

since I'm trying to unify the codebase with WeatherRegistry and it's going great 😅

gray thicket
#

😮

#

Fingers crossed then! 😄

restive pilot
#

Mine might be easier to use

#

01937ad9-e1bb-7649-05cd-e4b155e6e915

kind crane
drowsy willow
#

hmmm

#

i can't replicate it

#

but I think I know what the issue is

#

will push a quick fix

drowsy willow
#

WeatherRegistry 0.3.3

  • (hopefully) fixed all issues with IndexOutOfRangeException when accessing TimeOfDay.effects array #11 (thanks: @restive pilot , @kind crane , CoolLKKPS !)
gray thicket
#

@drowsy willow I think this latest update broke something. I'm getting multiple weathers at once (usually eclipsed + stormy + rainy) when landing on a moon with any weather condition.

Does not happen when reverting to 0.3.2.

#

Upon closer investigation, it seems not all of the weather effects occur fully though. I get both straight and angled rain from rainy and stormy, but I don't get quicksand or lightning. I get mobs spawning from eclipsed but no eclipse visual on the sun. Whatever other weather is actually supposed to be present on the given moon is still there. Issue doesn't occur on clear moons.

#

Here's me having routed to foggy experimentation for example.

restive pilot
#

Weird

dusky mesa
ancient depot
#

@drowsy willow The bug came back where weathers don't save on game reboot

#

had both Makron and Derelict as clear

#

they changed to Rainy and Stormy

ancient depot
#

I wonder if it's only affecting Vanilla Moons

dusky mesa
#

Nope its every vanilla and modded moon thats clear weather.

ancient depot
#

Weird it's been fine for me thinkloading

#

Actually just reprod it

#

It seems to be rng @dusky mesa

#

We got 2 clear days without it

#

3rd day it happened

ancient depot
#

Weird

#

as

#

fuck

raw bloom
#

Weather resets upon restarting again

#

Not only that, when it was stormy, the eclipsed music was playing

#

I don't have a log for that one though, as I restarted to turn on my logs to see if I could replicate the stormy + eclipsed music combo

#

I'll send that glitch's logs if I'm able to replicate it

restive pilot
#

Weird

raw bloom
#

The MOMENT I turn off logs

#

It was eclipsed, not the other way around

ancient depot
#

At this point if 0.3.2 had no issues for you downgrade it to that, otherwise downgrade to 0.2.9

#

Mrov likely won't be available til later

ancient depot
#

if the previous version was fine

#

Downgrade it to that version.

#

If you got the errors some people got

#

0.2.9

raw bloom
#

You worded it weirdly, but now I understand

ancient depot
#

Until Mrov can fix it

#

lol

obsidian schooner
#

Raining Foggy with Eclipsed ambience?

ancient depot
#

Any weather right now has a rng chance to just go Rainy + Stormy + Eclipsed

#

downgrade to previous build

worldly sleet
#

were the combined weathers added to regular weather registry? how do i disable them?

ancient depot
#

Probably from when he was testing WeatherTweaks' upcoming update

#

You have to roll the mod back

#

A lot of bugs were happening tbh, I wanna guess he accidentally uploaded a test version of the mod

drowsy willow
#

what in the god's name has happened

#

fucking hell

#

will check tomorrow, sorry for that

raw bloom
#

Ghost in your mod

nocturne lily
# raw bloom Wait

got this as well, moon said solar flare and when i landed it was rainy, stormy, and eclipsed at the same time

#

only thing is there was no lightning or mud puddles, and enemies weren't spawning early

#

also going inside and coming back out removed those effects, but also got rid of the environment noise

#

so there was no sound outside

drowsy willow
#

i might've fucked something really badly

#

I'll fix it asap, sorryyyyyyyyyy

drowsy willow
#

WOULD YOU FUCKING LOOK AT THAT

nocturne lily
#

oh cool

drowsy willow
#

I've fixed that in v0.3.4

#

please let me know what's gonna happen now

#

😅😅😅

ancient depot
#

Oh I see the mod basically wasn't working and just caused an explosion

#

Lol

#

fun

drowsy willow
#

I just didn't want the mod to completely break atm

ancient depot
#

lol

drowsy willow
#

definitely no

#

will check

ancient depot
#

Oki

#

Since it was fine in 0.3.2 it's just cross-referencing changes then

ancient depot
#

So maybe it broke before that and we just didn't notice 🤔

drowsy willow
#

it would be really weird, but maybe

#

I'll check later today

ancient depot
#

Ye you got this lunxara_love_with_tail

ancient depot
#

@drowsy willow Well I just did a test and it is fixed with 0.3.4, I made a new save, Experimentation said Rainy. Completely rebooted the game and it still says Rainy

#

LOL

#

So 0.3.3 was just borked

#

The problem with it changing weathers before might have just been cus of the Rainy + Stormy + Eclipsed stuff going on

drowsy willow
#

I have no clue whatsoever what was broken

#

happy to hear it's a non-issue now

ancient depot
#

I mean it makes sense if nothing relating to it was changed as you said, and it doesn't surprise me that one thing breaking with the mod could have broken other functions

drowsy willow
#

assuming nothing else is completely broken - I'll try to finish the weathertweaks update today

ancient depot
#

The return of WeatherTweaks

#

I just hope it's not like when you first had us use the beta and we make it explode and you start crying again I genuinely feel really bad about that lol

gray thicket
#

Random question, do all players need to have the same config for this mod or just the host?

keen palm
arctic grotto
#

Can someone tell me why my weather started not working? I get these log messages after random map seed screen:
Weather 1:

[Warning: Unity Log] The referenced script on this Behaviour (Game Object '<null>') is missing!
[Warning: Unity Log] The referenced script on this Behaviour (Game Object '<null>') is missing!
[Warning: Unity Log] The referenced script on this Behaviour (Game Object '<null>') is missing!
[Error  : Unity Log] The file 'none' is corrupted! Remove it and launch unity again!
[Position out of bounds!]```

Weather2:
```[Warning: Unity Log] The referenced script on this Behaviour (Game Object '<null>') is missing!
[Warning: Unity Log] The referenced script on this Behaviour (Game Object '<null>') is missing!
[Warning: Unity Log] The referenced script on this Behaviour (Game Object '<null>') is missing!
[Warning: Unity Log] The referenced script on this Behaviour (Game Object '<null>') is missing!
[Error  : Unity Log] The file 'none' is corrupted! Remove it and launch unity again!
[Position out of bounds!]```
#

Other vanilla weathers works fine

#

🤔

#

I tried to update WeatherRegistry and now I can't even launch any moon

#

Omg, nvm. I just noticed that mrovlib is a dependecy for WeatherRegistry so I had to update it too 🤦‍♂️

drowsy willow
#

have you tried recompiling your asset bundle/mod completely?

drowsy willow
#

and I think that's it

#

everything "important" is only selected in one place and the results are synced between everyone

arctic grotto
#

well, i was right

azure dirge
drowsy willow
#

🥲

#

@gray thicket @dusky mesa @raw bloom @obsidian schooner sorry for the ping, want to make sure that everything is working again - have v0.3.4 fixed that issue for y'all?

gray thicket
#

Haven't tested much but so far it seems fixed, yeah.

obsidian schooner
thorny salmon
#

omg finally everything's fixed, weather is back to normal

... until someone is playing ||ocarina's song of storms 😂 ||

thorny salmon
#

@drowsy willow in 0.3.2 you added this in changelog weather effects are now correctly re-enabled when leaving dungeon, how are you making this?

#

because yes its working but

#

now when something else is changing weather (imperium change weather feature for example), the new weather is replaced by the old one when leaving the dungeon

drowsy willow
#

because Registry doesn't work that way yet

thorny salmon
drowsy willow
#

Imperium currently calls WeatherRegistry.WeatherController.ChangeWeather(level, weather);

#

and i'm planning to include a check if the ship is already landed

#

to change the current weather effects

#

because it's synced by Registry already

thorny salmon
#

ok ok

#

cause i will probably also need to do that for song of storms

#

right now its working in vanilla and weather is synced, but with weatherregistery it's the same issue as with imperium

thorny salmon
# drowsy willow to change the *current* weather effects

but i dont understand that, lets imagine that im already changing the current weather effects, and everything is synced, how does weatherregistery keeps loading up the old weather ? Does it save the current weather before landing in a personnal list or similar ? cause otherwise i can change the current weather and current weather effect so registery is supposed to see that change no ?

drowsy willow
#

WeatherController.ChangeWeather(SelectableLevel level, Weather weather) ->
WeatherManager.currentWeathers.SetWeather(SelectableLevel level, LevelWeatherType weatherType) ->
WeatherSync.SetNewOnHost ->
UpdateLevelWeathers(WeatherSyncData[] weathers) which sets every SelectableLevel.currentWeather to the received value

#

EntranceTeleportPatch calls WeatherEffectController.EnableCurrentWeatherEffects(), which checks WeatherManager.CurrentEffectTypes - a list of all enabled ImprovedWeatherEffects

#

so changing any vanilla fields will not have any effect on what Registry does in that scenario

thorny salmon
#

ok that make sense

#

so i need to add proper compatibility for weatherregistery, but first you need to check if the ship is already landed ok ok

#

could you ping me when this feature will be included?

drowsy willow
#

oh, absolutely

#

i need to add a few checks to WeatherController

#
  • ship being in orbit
  • if ship has landed already
  • if player is inside
  • if player is dead
#

and it's gonna be amazing

thorny salmon
dusky mesa
#

So new version is good though?

#

or should I stay on an old version?

drowsy willow
#

latest should be good to use

#

if anything happens, let me know

#

😅

dusky mesa
#

does it play well with the Song of Storms from the Ocorina? @thorny salmon ?

thorny salmon
#

I will be able to add weatherregistery compatibility once mrov update another thing in the mod

dusky mesa
#

Gotcha.

#

Well now I guess until then I know how to counter the song of storms xD

thorny salmon
#

ahah but i didnt tell you one thing

#

you cant cancel super stormy 😎

#

this will stay until you orbit

#

no matter what you do

little sedge
#

👀

#

mrov being real silent

#

but i see a new branch

drowsy willow
#

i have published my mistake

#

i have 0 idea how that's gonna work lol

humble pawn
humble pawn
#

🫡

#

I can wait for peak...

tiny gust
#

multi weather BabyManater

arctic grotto
#

@drowsy willow hey, I saw a warning that I have to instantiate weather with scriptable object. I just call ScriptableObject.Instantiate func?

drowsy willow
manic cobalt
#

when are we finally transpiling enums out of the game

drowsy willow
#

soon-ish

manic cobalt
#

lets goo

arctic grotto
#

because I keep forgetting to disable it from prefab

drowsy willow
drowsy willow
#

OH WAIT

#

i already do 😳

#

but this is during lobby load

#

sooooo i'll add a check for that earlier 😅

arctic grotto
#

I see the weather objects on Init scene

#

What about disabling it after registering?

drowsy willow
arctic grotto
#

But

#

since weather include OnEnable method

#

it will affect somehow to the game?

#

wait no

#

nvm

arctic grotto
#

I did include my level when registering with weights

drowsy willow
arctic grotto
#

I have to see the code

#

I will send you when I get home

#

But what I do is

#

Include “Zeranos” moon and uh

#

that’s it

#

I don’t exclude for any other moons

drowsy willow
#

i mean your WeatherRegistry.cfg file - if it's registered properly, it should show up Zeranos as default value for config entry

#

and i've fucked with the configs on v0.2.0 and v0.3.2

#

so somewhere in-between those version some config entries were not resolving correctly

#

and if you have a config generated back then, it could fuck up the game now

arctic grotto
#

I have to see

#

I remember I used v0.2.4 or something

drowsy willow
#

i've also changed (and marked as obsolete) a lot of things in the Weather definition

#

and there were a few versions where those weren't connected to anything in configs

#

fun

#

and so the "correct" way to do it is something like this:

#

of course you only set up what you want (need)

#

everything else is using the defaults

dire gust
#

I'm still in orbit :/

dire gust
#

Do I need to reset tweaks or registry's config then? Was getting the log spam constantly after adding tweaks experimental but maybe I had a remnant config that's causing that

ancient depot
#

He said the Experimental build would likely be broken and have issues

#

It's Experimental for a reason

dire gust
#

Hence reporting, and then it seemed like I was being pointed toward the config changes? (Think I read the wrong message, so if that had been directed at me I'd have no clue how definitions are involved) I must sleep

gray thicket
#

So far, no bugs or errors for me and I'm using an old config for Registry.

#

Out of curiosity though, are the changing/multiple combined weathers supposed to happen naturally or is it just a possible feature for other mods to make use of?

junior ginkgo
#

waiting for terminalformatter rewrite too, some inputs in the terminal don't work at all 🙏

gray thicket
junior ginkgo
gray thicket
#

Odd, never seen anything like that.

#

Maybe it conflicts with another terminal mod?

ancient depot
#

You have some other mod breaking stuff

#

Cus I've been using the mod for a long time without issues, so have multiple other people you need to track down whatever it is

junior ginkgo
#

conflict with mods that changes stuff in the terminal i assume
i have a small amount of mods rn as i am remaking my pack and i am running into issues i haven't encountered in my previous pack

#

oh

#

oh no

#

i just reinstalled terminalformatter and weather tweaks experimental 😭

#

wait a sec

#

oh mrovlib didn't update mb

#

ok i am stumped then, the mods i thought it could have issues is gl with it's terminal changes and maybe terminalconflictfix

#

i got nothin in my modpack with 35 mods as of rn lol

gray thicket
#

no choice but to do the old disable everything step by step method

junior ginkgo
#

gonna enable the logs and see what's the actual issue

#

log is seeing nothing unusual

#

very strange

gray thicket
#

On another note, what's cloudy? Just less intense foggy or am I missing something?

loud heart
#

Some reason it's like saying it's clear but in reality it's raining and eclipsed

dire gust
#

Clear? or clear ?

arctic grotto
#

Thank youu

drowsy willow
drowsy willow
#

it's by design 😅

gray thicket
#

Oh, so they do show up naturally?

#

I've yet to see them, gotta keep looking I guess.

drowsy willow
#

they should, yeah