#DawnLib [V80]

1 messages Β· Page 8 of 1

candid shale
#

I'll test the zip, I've only used thunderstore though so I'm not fully aware of the process on doing it via zip. Do I extract it to a specific folder in the Lethal Company steam files?

zenith remnant
oak linden
#

^

zenith remnant
#

If gale, then it’s at the top

oak linden
#

Disable the version you downloaded officially and just manually import this one like jori said

candid shale
#

ok ty, about to test it now

#

Can confirm, that fixed the problem!

oak linden
#

Okie thanks

#

I'll push an update out soon

vagrant gulch
oak linden
#

Oh?

#

Can I have your logs

cyan lintel
#

u fixed half of the problem
i can land on a planet
but my friends can't join to me

oak linden
#

Hmm yeah if possible send me the log files from both of you

quick anvil
oak linden
#

yeah kiszony thats what we're trying to fix rn

quick anvil
#

-# I just wanted to confirm PLEADBLOB

sacred tulip
#

hey so dawnlib is not letting me im not finishing this sentence but sending it either way

cyan lintel
cyan lintel
#

and just in case, with version 0.4.3 it's work correct

#

(i will have blackout in 5 min, can't help anymore)

oak linden
#

alright i think i see the problem

oak linden
#

i think this version will work but i still cant test currently lol

candid shale
#

I'd test it but I don't have anyone available to try it out with right now

oak linden
#

that's alright dw

#

@tawny hull go mu, you made the initial report, test this zip

hollow viper
quick anvil
#

@tawny hull go mu

oak linden
#

mu too lazy πŸ˜”

split gale
#

Does any of this fix DawnLib messing /w Lunar Config's min max moon scrap spawns?

sacred tulip
#

try it on the lunxara server

tawny hull
#

of the lobby this occurred in

oak linden
split gale
#

Scratches head

oak linden
#

and all this rn is just for dawnlib moons allows generating a config to edit it, so still not really touching it

split gale
#

Weird

oak linden
split gale
#

I'll see if it still does it tho soonβ„’

#

Fingers crossed

tawny hull
#

Unless someone wants to help me test

oak linden
#

@hollow viper go fumo

hollow viper
tawny hull
#

works for me

#

where vc

hollow viper
tawny hull
#

works

oak linden
#

wow cheese, fumo is a minor that mu would take advantage of πŸ˜”

spiral axle
#

same old, same old

sacred tulip
#

not again raaaah

#

why is everyone baby in this serverrrrrrr

#

everyone baby and more succesful in life than me πŸ˜”

oak linden
#

Being a mod dev does not make you a success

#

More like failure

sacred tulip
#

lots of succesfull devs started as modders hehe

#

look at rodigo for example

oak linden
#

what makes you think hes successful lmao

sacred tulip
#

he is making a game hehe

tawny hull
#

fumo wasn't able to boot pack if anyone else is up to help

oak linden
#

πŸ’€

#

go cheese

tawny hull
#

idt i have cheese as a steam friend

oak linden
#

well now you will

sacred tulip
#

hello!!!

#

how do i reply to a message

tawny hull
#

luckily you were super easy to find on steam

#

shot you a friend request

oak linden
#

bro is stalk-able

sacred tulip
oak linden
#

go test cheese

sacred tulip
#

wait but wait

#

i didnt sign up for this

tawny hull
#

unique name, also he has it on his discord bio

sacred tulip
#

uhm

tawny hull
#

Uh

sacred tulip
#

give me a sec

tawny hull
#

If you wanna you can not forcing you

sacred tulip
#

i was about to take a shower xD

oak linden
#

shower can wait cheese its ok

sacred tulip
#

what do you need me for

oak linden
#

test joining a lobby

tawny hull
#

Testing dawnlib update

oak linden
#

yeah

oak linden
tawny hull
#

019a836f-fd86-091b-ff15-f92a3d37ec60 this code but disable/uninstall dawnlib and replace with the zip xu replied to

#

no updating anything just in case

sacred tulip
#

ok but im doing this just because im getting paid

tawny hull
#

you're getting paid for this?

sacred tulip
tawny hull
#

and i'm not?

sacred tulip
#

xu gonna pay me

sacred tulip
tawny hull
#

xu can i be paid for helping test and also for putting the issue on github

#

πŸ₯Ί

sacred tulip
#

232 MODS?!

#

i hope it opens

tawny hull
#

luni profile, it kinda chonky

quick anvil
tawny hull
#

bflap takes forever on it mild warning

oak linden
tawny hull
#

what

#

πŸ’€

oak linden
#

it has to be atleast a good 2grams

oak linden
#

i literally pay you minimum wage

#

Β£40 an hour

sacred tulip
#

downloading wesleys moons

hollow viper
#

damn im so rich

oak linden
oak linden
#

surely you can load in cheese

sacred tulip
#

one day

#

its opening!!!

tawny hull
#

it worked

#

cheese could join me

oak linden
#

OKAY

#

whoops

#

okay

#

ill push

sacred tulip
#

it worked xu

#

hey xu

#

it worked

oak linden
#

thanks cheese

#

you're like the greatest tester anyone could ask for

#

couldnt have done it without you

#

the core of the testing team

sacred tulip
#

can i get my payment now thanks

oak linden
#

mu's supposed to pay you

#

ask her

sacred tulip
#

mu

#

hi mu!!!

sacred tulip
#

it wasnt money payment

#

the payment is hugs!!

oak linden
#

she's so selfish wow

tawny hull
#

i was meant to pay him?

carmine elk
sacred tulip
#

maybe a confusion

#

since xu-mu

#

really similar

#

mu miaolan

#

mu miau

#

xu xulan

oak linden
#

i was so confused

sacred tulip
#

whats

#

thats cool

oak linden
#

dont worry about it

sacred tulip
#

xu-mu-14

sacred tulip
carmine elk
sacred tulip
#

thats sounds like an amazing idea

tawny hull
#

I was under the impression xu was paying both of us

sacred tulip
#

ooooooooooooooooooooohhhhh yeaaaah

carmine elk
#

well another way to resolve this is all 3 of you pay me for clearing up the confusion Β―_(ツ)_/Β―

tawny hull
#

no atomic this is not a commission

broken ore
#

Honestly, how about i get payed for all this free labour

tawny hull
#

move along

#

oh okay

#

This is about testing dawnlib bugfix

carmine elk
tawny hull
#

idk who you'd go to for payment for being a mod of this server

broken ore
#

Pay me

#

Now

#

$5000

#

Daily

carmine elk
#

Very jolly

broken ore
sacred tulip
#

Atomic got it all wrong

#

Is not money we talking bout

#

Is hugs

broken ore
fast ingot
#

hello guys, i don't understand how can i change the enemies skin with this mod, can someone help me ?

#

@oak linden can you help me by any chance ?

#

or @hollow viper maybe ?

frozen widget
#

@oak linden i think there might be a problem relating to dawnlib with mapobjects, not sure but giantkiwi ai is broken cuz its nest doesn't spawn, and the baboon hawk nest spawns next to ship

oak linden
#

cant check rn a bit busy but should be free soon

#

any errors or logs?

frozen widget
#

[21:35:35.1686842] [Error : Unity Log] NullReferenceException: Object reference not set to an instance of an object
Stack trace:
EnemyAI.SetClientCalculatingAI (System.Boolean enable) (at <83220f1fc337491eba19b3618ec61339>:IL_0007)
EnemyAI.Update () (at <83220f1fc337491eba19b3618ec61339>:IL_01B3)
(wrapper dynamic-method) GiantKiwiAI.DMDGiantKiwiAI::Update(GiantKiwiAI)

#

this shi getting spammed

oak linden
#

uh i'd need the whole log, something would've errored before this

frozen widget
#

log so big it's too 200MB

#

because of spam

#

[19:52:59.0800871] [Info :Starlancer AI Fix] Finding outside AI nodes.
[19:52:59.0800871] [Info :Starlancer AI Fix] Finding inside AI nodes.
[19:52:59.0800871] [Info :Starlancer AI Fix] The Enemy Whitelist contains: Blob, Butler, Centipede, Crawler, Flowerman, HoarderBug, Nutcracker, SandSpider.
[19:52:59.0800871] [Info :Starlancer AI Fix] Adding IVisibleThreat component to HoarderBug(Clone).
[19:52:59.0800871] [Info : Unity Log] gobjectsin scnee!! : 34
[19:52:59.0815910] [Info :Starlancer AI Fix] The Enemy Whitelist contains: Blob, Butler, Centipede, Crawler, Flowerman, HoarderBug, Nutcracker, SandSpider.
[19:52:59.0815910] [Info :Starlancer AI Fix] Adding IVisibleThreat component to HoarderBug(Clone).
[19:52:59.0815910] [Info : Unity Log] gobjectsin scnee!! : 34
[19:52:59.1188672] [Warning: Unity Log] Failed to create agent because it is not close enough to the NavMesh
[19:52:59.1198683] [Error : Unity Log] NullReferenceException: Object reference not set to an instance of an object
Stack trace:
Dawn.Internal.MiscFixesPatch.FixKiwiBlankReferences (On.GiantKiwiAI+orig_Start orig, GiantKiwiAI self) (at ./src/Internal/Patches/MiscFixesPatch.cs:57)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition.HookGiantKiwiAI::Start?-1570475592(GiantKiwiAI)

[19:52:59.1384372] [Debug :Buttery Fixes] Cleared "profitable" stat for all employees
[19:52:59.1586741] [Info :JacobG5.ReverbTriggerFix] Caching reverb presets.
[19:52:59.3924939] [Info :ChuxiaFixes] [FixPlayerName] OnPersonaStateChange:76561198151553161|Doppelganger
[19:52:59.4020738] [Info : Unity Log] startofround: 23; 0
[19:52:59.9116600] [Info :ChuxiaFixes] [FixPlayerName] OnPersonaStateChange:76561199676128734|link l'Γ©liatrope
this is what happens

#

right before it starts

oak linden
#

huh interesting

#

okay ill take a looksie

frozen widget
#

i went from capping at 180+ fps to 120 cap in orbit

oak linden
#

i mean if its still erroring then yeah im not surprised

#

just pushed an update for that sapsucker issue

#

@white finch turns out sapsucker doesnt actually need the baboonhawk reference, its null lol

white finch
#

Whar πŸ’€

#

Does it just not use it lmao

frozen widget
#

i took a look

oak linden
frozen widget
#

beehives

#

baboon nests

#

kiwi nests

#

all of em not spawning

#

or not properly

white finch
#

I mean yeah if it errors out while spawning bird, it won't spawn a bunch of other stuff

oak linden
#

paco i cant check rn are u able to see if the EnemyAINestSpawnObject needs EnemyType to not be null

white finch
#

Oh lemme check

#

I don't have Unity open but I can load up da game

oak linden
#

yee

#

checking the prefabs would be nice

oak linden
#

okay

#

so i dont gotta edit that patch

#

thankfully

frozen widget
#

so what could cause it

oak linden
#

the thing you reported? kiwi AI being a bit misleading

#

already pushed a fix though

frozen widget
#

yea

#

oh didn't see sorgy

oak linden
#

its aight

dense iron
oak linden
#

huh i've never seen that before

#

lemme check

#

it wont be but ill see what the problem is

oak linden
dense iron
#

0.4.3 is fine (The one i used last week), 0.4.6 produced the error
019a84b3-105c-2691-d29d-76458e5fe3d4

dense iron
#

this one also might be from 0.4.3 ? xD (just thinking so because of FillImageWithSteamProfile sounds like what your doing on the loading screen.

[23:31:53.9505536] [Error  : Unity Log] InvalidOperationException: Nullable object must have a value.
Stack trace:
System.Nullable`1[T].get_Value () (at <1071a2cb0cb3433aae80a793c277a048>:IL_0008)
HUDManager.GetTextureFromImage (System.Nullable`1[T] image) (at <83220f1fc337491eba19b3618ec61339>:IL_0000)
HUDManager.FillImageWithSteamProfile (UnityEngine.UI.RawImage image, Steamworks.SteamId steamId, System.Boolean large) (at <83220f1fc337491eba19b3618ec61339>:IL_0086)
System.Runtime.CompilerServices.AsyncMethodBuilderCore+<>c.<ThrowAsync>b__7_0 (System.Object state) (at <1071a2cb0cb3433aae80a793c277a048>:IL_0000)
UnityEngine.UnitySynchronizationContext+WorkRequest.Invoke () (at <c39a522eee05469b8171a6cfeb646c59>:IL_0002)
UnityEngine.UnitySynchronizationContext.Exec () (at <c39a522eee05469b8171a6cfeb646c59>:IL_005D)
UnityEngine.UnitySynchronizationContext.ExecuteTasks () (at <c39a522eee05469b8171a6cfeb646c59>:IL_0014)
oak linden
dense iron
quick anvil
oak linden
#

thats the same one virus sent but nothing should've changed with interiors so im checking what i might've accidently removed

quick anvil
#

oh I see
didn't noticed virus's log

oak linden
#

doesnt help that virus' modpack is 270 mods

#

πŸ™ƒ

quick anvil
#

mine's 221

#

-# SOBMELT

upbeat ember
oak linden
#

ah that

#

turn off flora, i forgot about that

#

in coderebirth

#

alright fine ill update coderebirth πŸ˜”

upbeat ember
#

Ah? Did something break by accident?

oak linden
#

i changed something in dawnlib that doesnt exist anymore but coderebirth thinks it still does for flora

upbeat ember
#

That explains why i couldn't find out the issue even with debugging.

oak linden
#

@quick anvil test smthn for me

oak linden
upbeat ember
#

Oki, thanks!

quick anvil
oak linden
#

you'll be fine

#

just see if it errors like that again

upbeat ember
#

Haemoglobin update, trust!

dense iron
carmine elk
#

Xu meant you need more πŸ™ƒ

sacred tulip
#

400 minimum

oak linden
#

it's alright, it'd be hard to narrow this to a specific interior anyway

frozen widget
#

[Info : Imperium] Oracle is simulating...
[Info : Imperium] Outdoor spwawning paused: False
[Info : Imperium] Outdoor spwawning paused: False
[Info : Imperium] Outdoor spwawning paused: False
[Info : Imperium] REFRESH : 27
[Info : Imperium] - SPENT IN VISUALIZATION: 0
[Info : Imperium] TOTAL REFRESH : 29
[Message: Imperium] ╒═══════════════════════════════╕
[Message: Imperium] β”‚ < Spawn Tracker > β”‚
[Message: Imperium] β•žβ•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•‘
[Message: Imperium] β”‚ GiantKiwi at (139/-3/58) β”‚
[Message: Imperium] β”‚ Manticoil at (124/12/-238) β”‚
[Message: Imperium] β”‚ Manticoil at (-82/2/-27) β”‚
[Message: Imperium] β”‚ Manticoil at (-157/-5/-70) β”‚
[Message: Imperium] β”‚ Manticoil at (-190/-6/72) β”‚
[Message: Imperium] β”‚ Manticoil at (230/-3/10) β”‚
[Message: Imperium] β”‚ Manticoil at (-141/1/-198) β”‚
[Message: Imperium] β”‚ Manticoil at (-72/-2/7) β”‚
[Message: Imperium] β”‚ Manticoil at (168/-2/-123) β”‚
[Message: Imperium] β”‚ Tulip Snake at (-37/-3/201) β”‚
[Message: Imperium] β”‚ Tulip Snake at (192/-3/0) β”‚
[Message: Imperium] β”‚ Tulip Snake at (-134/11/150) β”‚
[Message: Imperium] β”‚ Tulip Snake at (-204/-6/-119) β”‚
[Message: Imperium] β”‚ Manticoil at (78/1/-149) β”‚
[Message: Imperium] β”‚ Manticoil at (125/13/-237) β”‚
[Message: Imperium] β”‚ Manticoil at (-239/-4/98) β”‚
[Message: Imperium] β•˜β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•›
[Error : Unity Log] NullReferenceException: Object reference not set to an instance of an object
Stack trace:
Dawn.Internal.MiscFixesPatch.FixKiwiBlankReferences (On.GiantKiwiAI+orig_Start orig, GiantKiwiAI self) (at ./src/Internal/Patches/MiscFixesPatch.cs:57)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition.HookGiantKiwiAI::Start?491827884(GiantKiwiAI)

#

bro does not want to work

#

it can collider with me

#

but can't take damage nor move or anything

#

it's just sitting at a random point of the map

oak linden
#

what version of the mod are you using

#

0.4.8 should have that fixed

#

0.4.7 should have had the sapsucker fix but for some reason just didnt build right

frozen widget
#

and then bro tells me i have to wait because of the thunderstore approval wait time of 80 years

#

like bro i just dropped to 45fps in an interior

oak linden
#

lol

sly marsh
# oak linden lol

Btw I did confirm the issue Kiszony reported on Stream earlier where the Surfaced configs don't save and just keep resetting to default values rn on game reboots πŸ€” I never saw any errors or anything pop off in the console though so I would suspect it's more an oversight at least

#

I wanted to make sure it wasn't specific to his pack somehow

#

☠️

oak linden
#

if it doesnt happen on coderebirth and literally any other mod that uses dawnlib, then its smthn erroring or broken and not an oversight

#

or blame mu, she setup the unity part

zenith remnant
#

@oak linden Unsure if your the dev for it, but it said to report bugs to github and I cannot find the github for surfaced.

zenith remnant
white finch
sly marsh
tawny hull
#

i don't think i fucked anything up? it's been a while

sacred tulip
#

heyy so just to be sure, the test we did with mu was fine but you uploaded the wrong files to the update?

#

or was our test a false positive :0

oak linden
sacred tulip
#

im just asking because it worked for us but then people were saying it was still broken

oak linden
#

Afaik people aren't updating/kiszony's odd issue with his pc's country

charred field
#

20 billion messages moment πŸ˜”

#

how dare you have an active thread

oak linden
#

It is dastardly

oak linden
#

@quick anvil test dat

quick anvil
# oak linden

what exactly should I test?
with what mods should I include the pack

#

only thing I ever tested was mrov bigger ship

oak linden
#

and show me what autonomous crane generates on lobby reload

quick anvil
#

ok

#

can I test it on fresh modpack with code rebirth installed so CR config generates itself

oak linden
#

ye

#

oh this thing, uhh

#

you might just have to test on your main profile

#

i know matty has this sometimes too

#

and i havent been able to test his mod that i'd need to depend on to fix it

quick anvil
#

yeah but when I entered the lobby regardless, I've been jumpscared with the fog of death

oak linden
#

ye it would break a lot

#

that error at the start

quick anvil
#

same thing on my main profile

oak linden
#

same error?

quick anvil
#

yea

oak linden
#

do you have a profile with like an outdated dawnlib or smthn?

quick anvil
#

no, I got rid of normal dawnlib before putting in your test build

oak linden
#

and you imported the local mod like how you would normally import a local mod?

quick anvil
#

yeah
-# I guess

oak linden
#

hi matty

#

help thx

quick anvil
#

@sacred tulip can you uhhh replace me, I feel a bit gullbile

blazing nacelle
#

can you check if you have multiple folders with DawnLib in the name in that profile?

quick anvil
#

I don't

blazing nacelle
#

only one folder with the name?

#

or none?

sacred tulip
oak linden
#

i added more logging

sacred tulip
#

Tldr

oak linden
sacred tulip
#

I have no idea what tldr is

#

Its like summary?

blazing nacelle
#

uh? like what it means or what the TL;DR of this convo is?

#

"Too Long; Didn't Read"

#

normally indicates a very short summary for the people that cannot be bothered to read a conversation or a full article πŸ˜…

floral helm
#

yup

quick anvil
#

I might be importing it wrong idk Dead

oak linden
#

nah that shouldnt be it, just lemme see logs with that last zip i sent

blazing nacelle
oak linden
blazing nacelle
#

they tend to not give names to locally imported mods

sacred tulip
#

Then yeah i need me some tldr

#

Little kiszony ponging me idk why

quick anvil
blazing nacelle
oak linden
#

he wanted you to test the thing instead of him but since your keyboard/coutnry doesnt have the problem that im facing it's hard for you to test a fix lol

#

wait wut wheres ma loggin

blazing nacelle
#

what's the issue he's having Xu btw? the one about the locale of his pc

quick anvil
#

yeah it's the same
I might be importing it wrong

#

idk

oak linden
sacred tulip
#

Then get to work boykisser

blazing nacelle
quick anvil
#

oh shit you might be right

#

I didn't uninstalled it from the gale

#

just the file from the plugins

oak linden
#

lol

blazing nacelle
#

you need to lock the locale while parsing strings

quick anvil
#

but actually idk it reacts like dawnlib doesn't exists

oak linden
#

im hoping the invariant culture thing does it

blazing nacelle
oak linden
blazing nacelle
quick anvil
#

nah it's repeating ts now

#

it shows like it exists but uhh

oak linden
#

i feel like there's a lot wrong there lmao

quick anvil
#

should I do something additionally rather than just putting the unzipped folder into the plugins?

blazing nacelle
#

thing we're looking at atm is one of the top lines:

[Fatal :DawnLib.Preloader] Could not find Interfaces dll!

oak linden
#

putting it in manually wont work

quick anvil
#

oh stare

blazing nacelle
#

if that prints then a lot will break afterwards XD

oak linden
#

yeah okay this explains a lot lmao

blazing nacelle
#

yeah XD

quick anvil
#

ow that's how it works god damn it

oak linden
#

you can also just drag in the zip to the mod list

#

i do that now

#

lol

quick anvil
#

call me stupid (cuz I deserve it) but I didn't knew that KEKW

oak linden
#

smh

quick anvil
blazing nacelle
#

mod zips are not meant to be unpacked manually. modmanagers do a lot of work to put the files where they need to be

oak linden
#

oh the actual option i did before was the buttojn that says "import local mod"

quick anvil
#

no errors appeared at the start

#

the crane is enabled

oak linden
#

nice, now how does the config for crane look like

quick anvil
#

completely fine it seems
its enough in this form or you wanna text file?

oak linden
#

that works for me :p

#

thanks, ill upload that soon

#

was there anything else people wanted me to do?

quick anvil
#

good
I try to spawn the crane on experimentation also

oak linden
#

lol

quick anvil
#

anyway glad I could help
and sorry for my stupidity in importing ts at the beginning

oak linden
#

its alright lol

sacred tulip
#

(Its not)

charred widget
#

Please modify the code so that the contents of dawnlib can be recognized even if they are in subfolders.

[Info :DawnLib.Preloader] DawnLibPreloaderPrepatcher Started
[Fatal :DawnLib.Preloader] Could not find plugins path! DawnLib not found at path: F:\SteamLibrary\steamapps\common\Lethal Company\BepInEx\plugins

oak linden
#

cuz this is how mod managers put it into the plugins folder but i do notice the discrepancy between our file names

charred widget
#

died

#

No matter what the folder name is, please let the code apply.

oak linden
#

you named the folder DDawnLib, not DawnLib

#

im confused lol

charred widget
oak linden
#

please try naming it DawnLib specifically, capitalisation might matter

charred widget
#

works

#

lol

oak linden
#

this is how it is in the modmanager when downloading/importing the mod, so just follow that

wind mist
#

I come with more requests!

#

Can nested values like ShopInfo.Cost and ScrapInfo.Weights (and other fields across data types) be made settable :3
It's really inconvenient with Lunar's timing to try and access them through the constructor

oak linden
wind mist
#

No I see the issue, my nuget is kaput

#

It hasn't updated dawn since 0.3.4 and now it's on fire

verbal tulip
#

Why must this happen to me (yes this is still @wind mist, don't ask questions)

verbal tulip
#

Where does one dotnet restore

hollow viper
verbal tulip
#

I tried

hollow viper
#

do you have thunderstore nuget?

verbal tulip
#

Um... maybe?

#

Where would one check

hollow viper
#

in nuget packages

#

could also try this actually

verbal tulip
#

I don't think I do?

verbal tulip
# hollow viper could also try this actually

Also got this when tried that
Package BepInEx.Analyzers, version 1.0.8 was not found. It might have been deleted since NuGet restore. Otherwise, NuGet restore might have only partially completed, which might have been due to maximum path length restrictions.

hollow viper
#

this is what should be inside

verbal tulip
#

I don't have that as an option

hollow viper
#

cogwheel

#

click it

verbal tulip
#

Should I add both of those?

hollow viper
verbal tulip
#

Yay I think it worked, I also had to delete local

#

Now I'm finally not like 15 Dawnlib versions in the past

#

Well thanks for the help!

oak linden
#

Lol

verbal tulip
#

Is a way for me to undo a provider table planned? (i.e. to get something's default weights)

#

Someone said it wasn't possible now

gentle sparrow
#

Dawnlib or its dependencies still breaks landing on moons

#

Stuck at 'random seed: etc' screen

oak linden
oak linden
# oak linden Send logs

Afaik no one is reporting this being broken rn but it's probably you needing to reset your coderebirth config

gentle sparrow
#

I don't use coderebith, only improvedlethalthings which has dependency on dawnlib.

gentle sparrow
cerulean gale
oak linden
#

lECore lmao

#

Also reason you can't do anything is cuz you need DiffozTweaks or SoftMaskKiller

#

So another mod not DawnLib causing that

gentle sparrow
#

I'll try thx

midnight schooner
#

you'll probably have to end up just making a provider table that you completely control

frozen widget
#

xenophobic dawnlib real

white finch
#

Smh πŸ˜”

gentle sparrow
#

Found out the culprit, diversity fucks it up for some reason.

tawny hull
#

ik it used to have an issue preventing lands sometimes that diversitynofloppy fixed so i'd try that

verbal tulip
#

How would I be able to mimic what I can do in LLL in setting whether or not a moon can be routed to or is hidden in the terminal in DawnLib?

verbal tulip
#

Like this thing?

#

Because if so I don't know how to use that

oak linden
#

ill try to find examples on using it sec

#

example of makin em

#

this is how i do LLL compat to make sure that stuff that is locked/hidden in LLL is reflected in dawnlib

#

it's also how i set artifice and embrion to be hidden but not locked

verbal tulip
#

Would .SetFailure(true) mean a locked moon?

oak linden
#

yep

verbal tulip
#

Cool

oak linden
#

you can make a result that is locked but not hidden etc

hasty blaze
#

heyy

#

@oak linden

#

how is it going?? i hope everyting is going well

#

do u have a scrap template?

chilly musk
#

I seem to be having an issue with DawnLib that only seems to affect me...if I include dawnlib at all into a modpack, I get the normal black screen whenever trying to load a save. This log is from a fresh profile in r2 that only has DawnLib and its dependencies, running v73

charred widget
#

[10 52 48.7516571] [Error : DawnLib] Item: ClipboardManual doesn't have a DawnItemInfo, this means this item cannot be committed to the savefile, contact the developer of this item to fix this ASAP!
[10 52 48.7516571] [Error : DawnLib] Item: StickyNoteItem doesn't have a DawnItemInfo, this means this item cannot be committed to the savefile, contact the developer of this item to fix this ASAP!

oak linden
oak linden
chilly musk
sacred tulip
#

It was simpler than we thought hehe

wary lava
#

So I've got a mod that I made built on DawnLib's no-code Unity plugin, and I've got it mostly working with the only outstanding bug being that the item is under the ship floor for clients on lobby rejoin.

I saw that a few weeks back there was a fix to address specifically this, and wasn't sure if anyone else was still experiencing the bug. As the client, I do see a log that feels relevant.

[Info   : Unity Log] global startposition falltoground for object DoomHammerPrefab(Clone): (6.38, 0.24, -13.96)
[Info   : Unity Log] Item Doom Hammer landed on : Cube (3) / Cube (3)
#

Also of note is that MattyFixes does fix this, I just don't want to add it as another dependency if I don't have to πŸ˜…

oak linden
#

Hmm this should have been fixed

#

I'll take a look with Matty when I get the chance

#

But yeah don't worry about it too much I'm sure I'll get the chance to fix it in the coming few days

wary lava
#

Awesome, thanks!

verbal tulip
#

For default values

gentle sparrow
#

Is it possoble that dawnib or some dependency of it could disfigure the moon catalogue when using showmoonpricelll, like this?

#

When dawnlib things is off it is just fine.

white finch
oak linden
oak linden
gentle sparrow
#

Yeah, me too

#

Terminal formater is kinda broken too from what i tested

#

Thanks for notice :)

oak linden
#

It might be a mod incompat so it'll help if I can't figure it out myself

gentle sparrow
#

It is happening even in isolated pack of dawnlib, lethallevelloaderupdated etc., and the show moon pricelll and such.

oak linden
#

ic okie

gentle sparrow
#

Try this 019a72c1-c255-f239-92b2-ca3a7c8c3065

#

Kenji confirmed it quirky probably cuz dawnlib.

oak linden
#

yeah DawnLib also edits the terminal so im not srprised if a mod that expects it to be LLL doesn't look right

gentle sparrow
#

Yeah qwp

oak linden
#

@vestal egret are you still around? might need your help to do compat with your mod ShowMoonPriceLLL in DawnLib

gentle sparrow
#

I tried some of the config dawnlib has, but doesn't help either

oak linden
#

yeah the terminal stuff isn't a config since its meant to replicate vanilla but easier to edit

gentle sparrow
#

Oh, alright

gentle sparrow
tawny hull
#

weird

#

other things broken in current diversity release afaik are the posters (breaks mp entirely) and apparently the landing cutscene screws stuff up but don't quote me on that

#

try disabling those

vestal egret
#

Is ShowMoonPriceLLL still used? I thought everyone switched over to Terminal Stuff. I don't mind checking it out tho. What's the issue?

oak linden
#

DawnLib has its own terminal screen so im guessing thats where things are going wrong

vestal egret
#

I see, I'll check it out πŸ˜„

oak linden
#

thanks!

vestal egret
#

What does Dawnlib do to the terminal?
What's IL.Terminal.TextPostProcess ? is that a postfix or prefix?

oak linden
vestal egret
#

On.Terminal.TextPostProcess += UpdateItemPrices;

#

This one then?

oak linden
#

nah

#

ill find it rq

#

On.Terminal.TextPostProcess += DynamicMoonCatalogue

vestal egret
#

I see, I was lookin in the wrong file πŸ‘

#

is On.Terminal.TextPostProcess a prefix or postfix? I'm not familiar with it

oak linden
#

basically Orig(self); determines whether code is a postfix or prefix

#

in this specific scenario its a prefix

#

because im calling orig after i do my code

#

but sometimes i can do combinations of em if i just call it and return later etc

vestal egret
oak linden
#

monomod prefixes run first

#

then harmony prefixes

#

then the method

#

then harmony postfix

#

then monomod postfix

vestal egret
#

I understand the issue. @oak linden
Lethal Company (and LLL) uses \n for new lines in the terminal.
But you use Builder.appendLine which uses C#'s Environment.NewLine which is \r\n

I can easily do a fix on my side, but actually you might wanna fix it on yours since it will most likely also fix the issues with Terminal Formatter and Terminal Stuff.

oak linden
broken summit
oak linden
#

afaik it was just that mod that had an incompat lol, i havent seen terminal stuff or terminal formatter actually have any problems with it

vestal egret
oak linden
#

thanksies

broken summit
#

not only on one modpack, but also on others

#

idk how it works

oak linden
#

if you find any please report them

broken summit
#

okay

vestal egret
gentle sparrow
gentle sparrow
gentle sparrow
gentle sparrow
vestal egret
#

Does the sorting work if you remove ShowMoonPrice? I'd be very surprised

oak linden
#

DawnLib doesn't have sorting yet but LLL should be overriding it

gentle sparrow
#

Apparently LLL is not.
So its the dawnlib and lll conflict problem then

oak linden
#

Uhh when I sorted before with em it was fine afaik

verbal tulip
#

Is this the correct witchcraft? plink

#

To know if something is locked/hidden

oak linden
#

ye i think so

verbal tulip
#

Thanks

oak linden
#

i wrote it down a little differently in coderebirth so ill ask bongo just incase too cuz this part also confuses me a lil

#

cuz a moon can be both hidden and locked

verbal tulip
#

Yeah I wasn't sure what would happen if that did

#

If one would just take precedence

#

While you're here

#

Might you have any idea which one of these will run first? :3

oak linden
#

moons*

#

most registries rely on the moon registry freezing first

verbal tulip
#

That's fire

#

Well I have to rely on that too lol

#

So good to hear it's first πŸ‘

white finch
verbal tulip
#

I come once again for the third time in an hour, how can I make a moon fail (lock the moon) if I don't have a terminal node to give it plink

#

Or is there a default one I can use somewhere or smth

verbal tulip
midnight schooner
midnight schooner
verbal tulip
#

Then how would I do that?

meager inlet
#

Mentioning this as a conversational nitpick rather than much of a noteworthy thing but out of curiosity do ya'll feel like IsPurchasable reads better than CanPurchase? Personally when I read CanPurchase it feels like it inherently includes the current context eg. "can i purchase this now (with my current credits)" where as IsPurchasable reads more like just the isolated property of the thing for sale

agile sky
oak linden
# meager inlet Mentioning this as a conversational nitpick rather than much of a noteworthy thi...

uh honestly i think both arent really the greatest because the underlying type, DawnPurchaseInfo can really have anything as part of its predicate of messing with the terminal, it's just the base DawnLib predicates only include making the moon hidden and/or locked, but also it does include the cost factor since if the DawnPurchaseInfo exists that means there's a probably dynamic cost being applied on the moon, which can really mean anything as well, but CanPurchase does technically take into account the current credits you have

#

idk if that made sense since i was a bit all over the place with that

meager inlet
#

πŸ€” i think i see

midnight schooner
strong lantern
#

I'm trying to fix an error with my item mod not loading in game. For some reason it told me

[Error  :Ray Nya.Ray Bullshit GO! Unity Ver] The bundle: EnableTheShitNya is not defined at plugins/Ray Nya.Ray Bullshit GO! Unity Ver_Yes\plugins\Assets\packchunk99nyam.duskmod.
[Error  :Ray Nya.Ray Bullshit GO! Unity Ver] The bundle is instead defined at plugins/Ray Nya.Ray Bullshit GO! Unity Ver_Yes\plugins\packchunk99nyam.duskmod. It should be in an Assets/ subfolder.
[Info   :DawnLib.DuskMod] com.github.teamxiaolan.dawnlib.dusk v0.4.9 has loaded!```

Upon moving it into the assets folder though, it just appended another assets subfolder and still didn't load. 

```[Info   :   DawnLib] AuthorName: Ray Nya, ModName: Ray Bullshit GO! Unity Ver, Version: Yes
[Error  :Ray Nya.Ray Bullshit GO! Unity Ver] The bundle: EnableTheShitNya is not defined at plugins/Ray Nya.Ray Bullshit GO! Unity Ver_Yes\plugins\Assets\Assets\packchunk99nyam.duskmod.
[Error  :Ray Nya.Ray Bullshit GO! Unity Ver] The bundle is instead defined at plugins/Ray Nya.Ray Bullshit GO! Unity Ver_Yes\plugins\Assets\packchunk99nyam.duskmod. It should be in an Assets/ subfolder.
[Info   :DawnLib.DuskMod] com.github.teamxiaolan.dawnlib.dusk v0.4.9 has loaded!```
oak linden
#

im having a hard time reading all that im ngl 😭

#

okay uhh

#

so the main assetbundle, the one with .duskmod, should be in plugins

#

and then the one that has the item itself in it or whatever, shouldn't have a .duskmod and should be in the plugins/Assets folder

#

does that make sense @strong lantern

hollow viper
#

wawawa just send a wiki link

#

(Bundling section)

strong lantern
#

Thank you naobless

#

Makes perfect sense now and got it working. Thank you!

oak linden
#

noice

gray stone
#

Hi, I've noticed with the most recent version of DawnLib the Sort options on the moons page no longer work/show up?

oak linden
#

ill take a look, i didn't touch LLL so that shouldn't have changed anything but maybe

fresh garnet
#

I just opened an issue because of some kind of incompatibility with LLL and TerminalFormatter. https://github.com/TeamXiaolan/DawnLib/issues/30
Would be nice if you can take a look at it !
Feel free to ping if you can't reproduce :)

GitHub

When used along LethalLevelLoader, the customized menu for the "moon" command of TerminalFormatter is not working. When DawnLib or LLL is disabled : When DawnLib and LLL are enabled : The...

oak linden
fresh garnet
verbal tulip
#

What do I do if I want to add an enemy as a daytime enemy on a moon, but that enemy does not have a .Daytime component, for instance, forest giants don't have that, meaning I can't change their Daytime weight tables because they don't have any greed

#

Am I able to make my own Daytime component?

oak linden
#

should be able to edit this in the DawnEnemyInfo

#

though it is not a get; private set; but i guess i can make it that

#

but yeah you basically gotta make a Daytime instance for em (it's not a component to be clear though)

verbal tulip
#

I know, I just don't know the right words :(

#

But okie

#

I assume I need to wait for update to do that then?

oak linden
#

for it to be a private set? yeah

#

i'm probably updating soon, i just gotta finish some interior stuff

verbal tulip
#

By the same logic could I create a ShopInfo for an item, and register whatever I want to the shop? Or is that one more complicated?

oak linden
#

uhhh probably not

verbal tulip
#

Sad but fair :(

#

Well can you at least make any other places I might need weights private set too? Like item scrap info, map object weights, etc.?

oak linden
#

yeah just let me know where you need it to be

oak linden
#

im just gonna look a bit closer

verbal tulip
#

I think ScrapInfo, Inside & Outside instances for map objects, and whatever the equivalent for dungeonFlows is (I haven't looked yet).

verbal tulip
oak linden
#

@alpine mica sorry in advance but you made company globes right?

alpine mica
#

Ye

oak linden
#

well next dawnlib update aims to improve a lot of the editor stuff in terms of creating and i cleaned up the very messy spawnweightspreset

#

and wihle testing someones code i noticed a missing method exception with your mod and a method in that class, so i wanted to give you a headsup lol

alpine mica
#

So the error is in the spawn weight stuff?

oak linden
#

i switched the types from strings to a new type i made that's a lot easier and better to handle lol

alpine mica
#

I rewrote the spawn weight setting anyway so, maybe this'll be less broken

oak linden
#

v0.4.10

  • Fixed an issue where the DatePredicate would not run for the entity replacements.
  • Improved the Editor UI for spawn weight related options in the different definitions, i.e. enemies, items, etc.
  • Updated Editor dll for better readability in some cases.
  • Improved vehicle registration, it should technically work now?
  • Internally added a TryRegisterItemToShop method for non DawnLib items
  • Internally edited some fields to be private rather than read-only.
#

Oh, also not really mentioned but some more interior stuff done, and I think interior registration works perfectly now with DawnLib by itself

#

Matty and Zaggy helped me think of a good idea for hotloading interiors so I'm likely gonna do that as one of my next steps

sly marsh
sly marsh
#

Yeah seems like the update breaks the Shockwave Drone πŸ™ a tragedy

#

I shall remove it, it was nice to temporarily have it back

agile sky
#

I'd heavily recommend against making breaking API changes if possible, such as keeping obsolete methods (you can mark them with the [Obsolete] attribute) so as few mods as possible will break from the library updating

sly marsh
oak linden
agile sky
sly marsh
agile sky
oak linden
#

I'm aware

oak linden
#

And I don't have time to update every mod that exists

#

I'll talk to solid when I see that he's free to work on something to fix it

quick anvil
#

update broke me coderebirth
had to reset the config
have to do configurations again
thank from the mountain stare

oak linden
quick anvil
#

You good, I was about to throw tables and dishes at people

cerulean gale
#

explain yourself

#

what ancient demons did you implement into the new code

oak linden
#

Well I finished implementing vehicles and interiors and started work on hotloading interiors

charred field
charred field
cerulean gale
quick anvil
charred field
quick anvil
#

Glad I have saved code from yesterday on my friends dm so I can restore them lol

charred field
#

thank god lol

#

that really really sucks, I wonder what it was that did that

quick anvil
#

CR is known from large amount of content and its config is as well HUMONGOUS so yeah, it feels like pain to config your stuff lol

charred field
#

But like I was just about to start on a CR centric modpack that rebalances and tweaks a bunch of stuff, just as a side project

charred field
#

but hey at least there's good configs, I suppose

#

I'll keep it in mind to make config backups, too, just in case

quick anvil
charred field
#

Thank you for telling your story, a cautonary tale... inspiring stuff

quick anvil
#

-# Just in case

cerulean gale
#

so ill just export the cfg file as a copy

#

and if it does breack

#

can just grab the values from there

cerulean gale
#

config saving used to be not a thing

#

period

#

when updating a mod

#

youd need to manually remember to grab the file for each mod that updated

charred field
cerulean gale
#

since configing SDV mods

#

isnt really that common

#

even if they have one

charred field
#

this is why I say to not take the things we have in this community for granted cuz there is SO much worse

cerulean gale
charred field
#

still can't believe modrinth's launcher is so ass compared to thunderstore's

cerulean gale
#

it can always be worse

#

Vortex launcher

#

that unholy thing

charred field
cerulean gale
charred field
#

well duh, there's always worse

#

modrinth is definitely better than manual downloading

cerulean gale
#

manual is easier

#

its the official nexus launcher

#

I actually like nexus overall but that launcher is horrible

charred field
#

Ywah I used vortex to mod jojo ASBR and it was kinda dookie

charred field
quick anvil
#

Everything for doctor minecraft

cerulean gale
#

run

oak linden
#

it aint the configs (and if it was then you had some invalid configs that broke everything else to begin with)

quick anvil
#

Loaded up 3 times, everytime softlock
Removed CR config
Fixed ✨

oak linden
#

idk what you edited in there that broke it, but it was smthn in there, dawnlib hasnt changed your configs in the last update

quick anvil
sacred tulip
#

Had a guy have the same problem

#

Idk if it got fixed but yeah

oak linden
#

no logs no issues

sacred tulip
#

True

cerulean gale
#

was hungy

quick anvil
#

explodingturtles ate them

cerulean gale
#

and code

quick anvil
#

xu-flavored

cerulean gale
#

yaknow I was looking for the original version of this not the rainworld one

#

I havent played rainworld

#

found it

oak linden
#

turns out the shop item registration rewrite i did for crafty had one thing i forgot, lobby reloads lol, pushing a hotfix for that soon

verbal tulip
#

Crafty alone has the power to topple Lethal APIs!

sly marsh
#

So I think smth with the DawnLib update broke the enemies spawning, and idk if the recent hotfix resolved that

oak linden
#

I haven't really touched enemies at all, check ur configs, but I'll make sure and take a look ig

sly marsh
#

Yeah I will definitely check the configs and maybe try a regen but ye it's weird lol

twin sluice
#

it'd be nice to see config options to disable things it changes about the game :3

cerulean gale
#

Was about to say

#

All i can think ab is the moon screen

twin sluice
#

yes I should've probably given examples πŸ˜…
like it being quiet in the ship is one and the moon screen yeah I'm pretty sure there's more that I can't think off but just the little things it changes

oak linden
#

Being quiet in the ship? What?

cerulean gale
#

Moon screen should be the only change right xu?

oak linden
#

Afaik yeah

twin sluice
#

I can clip it tomorrow but it was only when dawn was enabled so I kinda just assumed

oak linden
#

There's no reason for me to just make things quiet lmao

white finch
# oak linden Afaik yeah
[Easter Egg Options]

## Whether Easter Egg is enabled.
# Setting type: Boolean
# Default value: true
Enabled = true
oak linden
#

Lmao imagine

white finch
#

Lmao

sly marsh
sly marsh
#

I imagine scraps prolly won't spawn as well, since Scraps and Enemies use the same spawn weight system

oak linden
#

v0.4.12

  • Made weight configs more user friendly to avoid unexpected issues.
#

hopefully this is the last time i gotta delete the interior stuff temporarily lol

sly marsh
#

Hope this will fix the CR enemies not spawning lol

oak linden
#

they had weights for me so probably

sly marsh
#

Yeah I did check configs and the default weights weren't changed they just weren't spawning lmao

#

I also still have no idea why some people are having that weird issue with Terminal Formatter

#

I can't repro it

oak linden
#

no idea

sly marsh
#

It do be an oddity greed cus the Moons menu has never had issues for me lol

verbal tulip
oak linden
verbal tulip
#

Very well

verbal tulip
#

How do I take a weight table and just find out: what is this item/enemy/dungeon's weight on experimentation like right now?

oak linden
#

it wouldnt be a weight table, it'd be what you'd get from building the weight table (which is the provider table)

verbal tulip
#

I meant provider table sorry

#

Well thanks!

oak linden
#

ye

#

to be clear, this will give you the current weight for when you call it

#

which will include stuff like interior weights, weather weights etc on that item at the moment

alpine mica
#

I just fixed my mods for 4.11 will I have to do anything extra for 4.12 plink

oak linden
#

first part of the next update finished

sly marsh
#

@oak linden Can confirm the new update fixes the enemies not spawning I saw Horseshoot Crabs immediately upon landing on Nostalgia, that being said their networked sounds error out

oak linden
#

report on the coderebirth github

meager inlet
#

whats the vision for hotloading

sly marsh
#

I will πŸ‘ I'll also forward the other report there

white finch
white finch
oak linden
# meager inlet whats the vision for hotloading

honestly almost kind of implemented just not tested, but the idea is that ill register the network prefabs before letting the dungeon generate, then when leaving the moon fully the network prefabs are unregistered, then the bundle is unloaded and all references from the dungenflow in terms of assets are cleared

#

unity should be fine with it but obviously i gotta test

#

from what i've heard and looked a bit into, i can register and unregister anytime i want, i just gotta watch out about incoming clients not having matching prefabs, which should be fine if i remove em at the right time

meager inlet
#

two things

#

order of exeuction can't be right there, assets must be cleared before you unload bundle

white finch
#

The humble late join: (probably)

oak linden
meager inlet
#

if the bundle is loaded and stuff in the bundle is being referenced if you ask the bundle to unload it will just ignore you

#

all references from the dungenflow in terms of assets are cleared
What does this entail?

oak linden
white finch
#

Lmao

sly marsh
oak linden
# meager inlet > all references from the dungenflow in terms of assets are cleared What does th...

i have a sort of fake dungeonflow that has no prefabs or any scripts attached to it of any kind (took a quick look at the dungeonflow in unity's inspector to see what could be referenced as a prefab etc), when i load the bundle with the real dungeonflow i copy over basically everything from that onto the dungeonflow i already had, then before unloading the bundle i just clear all the lists of prefabs etc (that i see on the inspector)

#

my worry is that ill miss some assets if dungeonflow or dungen itself puts them somewhere im not aware

#

tl;dr basic idea is copying over the real dungeonflow onto the fake one that's always loaded and contains almost nothing, clearing the fake one before unloading and um profiting idk

meager inlet
#

I have the strongest feeling this will be a hard incompat with lethaquantities btw, not that you should avoid it but some people might point it out

cerulean gale
white finch
#

DawnLib's already incompatible with it iirc plink

meager inlet
#

yee

#

lll 2.0 was already gonna kill it

#

stuff like cullfactory probably scoops up refs too

oak linden
sly marsh
oak linden
#

so i'd hope he thought of his mod already lmao

oak linden
meager inlet
#

also you probably already know this but just saying cuz of your phrasing, you don't need to manually copy over values to a dungeonflow since anything deriving from UnityEngine.Object can be instansiated w/ a object for reference eg. DungeonFlow copy = DungeonFlow.Instansiate(refFromBundleFlow))

white finch
#

Oh plink

#

I was copying fields over myself for some stuff lol

meager inlet
#

yeah i spent like 8 months doing similar

oak linden
#

i actually didnt know that and i might do it but it'd need me to move and re-set some stuff in base lethal and dawnlib

meager inlet
#

all my standalone projects use heavy use of runtime instanced so's

oak linden
#

my actual biggest worry though

#

is dungenplus

#

i talked to alice a tiny brief bit about it

#

and uhm i concluded im probably gonna cause an incompat lmao

white finch
#

Hmmm yeah seems plausible lol

oak linden
#

according to them they rely on the dungeonflow asset being next to whatever it is they're using

#

but i essentially make a copy of the dungeonflow asset, not use it straight up

#

so that's where im guessing a problem would pop up

cerulean gale
oak linden
#

nah the real solution is finding a solution for it lol

meager inlet
#

I've mentioned this before but one of my biggest conclusions after my time making LLL is half measures just kill the long term

If you need to make a breaking change do it, do it smart and do it in one blow. if mods can't or won't adapt to that then unfortunately that sucks for them

oak linden
#

i'd definitely have to bother alice some more when they're free about it

cerulean gale
meager inlet
#

a lot of LLL's weakest design decisions stems from needing to be half measures

oak linden
oak linden
meager inlet
#

if authors are not active people can make mods that fix it for them. if their license and/or code doesn't allow that tough shit

#

nothing lasts forever

oak linden
#

yeah it can be unfortunate like that sometimes :/

#

true

white finch
#

I can see keeping a separate bundle with like stripped down versions of network prefabs (no meshes or materials) that reference the actual assets that can be loaded/unloaded and just swap them at runtime, but it's more of a UI thing in editor to make something like that work mayhaps

meager inlet
#

Nah I think any solution that works period can work with any pre-existing built dungeon

white finch
#

I mean ye that'd be ideal

oak linden
meager inlet
#

Something like that might make more sense when handling it logically but imo iteration time on dungeon dev is of more importance and i don't think that should be compromised

oak linden
#

the idea is that like how moons have a separate bundle for each scene, you'd have a separate bundle for each dungeonflow+its assets

meager inlet
#

speaking of actually

#

have you put any thought into handling that setup with the ability to have a general bundle too?

white finch
meager inlet
#

no stress if you haven't LLL sure doesnt

meager inlet
#

So lets say people like wesley and generic

#

they obv have a ton of moons and interiors

#

a lot of those share assets betweens those

oak linden
#

ah i see what you mean

meager inlet
#

the biggest downside to hotloading is seperating those bundles means duplicating those

oak linden
#

yeah, and honestly there's two problems with that, the biggest one is the one on the user's end

meager inlet
#

ideally authors would have the option to compose a general bundle that's loaded alongside the seperate content bundle

oak linden
#

how is someone like generic or wesley gonna know how to bundle that AND use them without referencing them into said moon scene bundle

white finch
#

Or even vanilla assets too, they need not be duplicated necessarily

oak linden
#

if that makes sense

meager inlet
#

AssetBundles have some automatic dependency stuff that makes it viable but I'm abit hazy on the specifics, I think generally they'd just need to be able to tell you which bundle(/s?) need to be loaded and unloaded before their hotbundle

oak linden
#

hmm

#

i do remember a bundle dependency thing

#

where some bundles can depend on one another

#

i think???

white finch
#

Yeah

meager inlet
#

yes, it's actually less of a bundle thing and more of a full unity thing but it's able to be managed and visualised in the browser

#

lemme boot up an old project

#

lethal expansion actually had this feature so shoutout Holo

oak linden
#

that's pretty neat

white finch
meager inlet
#

the reason LE had it is he made the design choice to package assets lethal uses into a general bundle that shipped with LE

#

so eg. instead of everyone copying the dropship everyone can depend on the universal LE general bundle

#

neat idea but when LE was in dev the community was way to small to give it the energy it needs

oak linden
#

yeah that sounds interesting, i'd be down to look into that after my next update tbh

meager inlet
#

yeah, keep in mind though in the context of hot-reloading it's not that much of an improvement

#

if wesley re-uses the same 8mb texture in all his projects sure thats like 8 x 40 mb which is bad but only 1-2 of those are gonna be loaded at the same time

#

so it's mostly for download size

oak linden
#

fair

#

i've seen a few people complain about it but i guess in the grand scheme of things it's not actually that many

#

also rq a bit off topic, dungen stuff isn't networked in any way right? they use seeds?

meager inlet
#

so here's a before-after scenario.

a SodaCanRed item that was being collected by starlancermoons bundle has been moved to a starlancermoonsgeneral bundle

white finch
#

It uhhh

#

It can be inconvenient

oak linden
#

lool

white finch
#

Though it's a Thunderstore thing too lol

meager inlet
oak linden
#

ic, that's a nice way of handling it from unity honestly

#

on the editor i could probably auto collect all dependent bundles as well with just the main bundle

meager inlet
#

It’s a symptom of how scenes and resources function normally

meager inlet
oak linden
#

true

#

well i guess it still could, just would probably have to make sure its still loaded until that "set" of moon bundles that use it arent being the ones played on/routed to

#

lol this was the earliest point i could find to load the dungeon bundle reasonably

sly marsh
white finch
sly marsh
#

Ye but 6.9.11 was an optimization update to nearly all of them

#

lol

white finch
#

I know

#

I'm talkin about in general

sly marsh
#

Ik

white finch
sly marsh
#

Just the version example you used was bad

#

XD

#

Goober

white finch
#

I just downloaded latest to look at download size greed

sly marsh
#

Greedoito

verbal tulip
#

@oak linden Crafty have encountered an issue?
So, LethalContent.Dungeons has frozen already, now when this code is running LethalContent.Moons just froze. At this moment I'm looping through all of the LethalContent.Dungeons and doing their .GetFor() method for the moon that I'm on. The issue, is that all modded interiors return null as their rarity, all of them, only the vanilla dungeons actually have weights for moons.

oak linden
#

Bleh maybe I'm getting my values too early for LLL, I'll have to look at that in the morning tgen

verbal tulip
#

Coolio

#

Much appreciated

#

Wait is there a DawnLib interior yet that I could test this for?

oak linden
#

Nah

#

Even if there was, it'd be outdated in probably a weeks' time

verbal tulip
#

New Dawn version every two days

oak linden
#

Well I'm making interior hotloading so stuff deffo gonna be slightly different lol

oak linden
#

lol currently the interior hotloading almost works, two issues, one is solved by having loadstone installed (though imma solve it internally too)

#

this would be the other issue though

#

hahahahaha i can just turn off ForceSamePrefabs

verbal tulip
#

Xu is mad with power

#

Practically rewriting lethal

oak linden
#

i think i've got it working :p

#
  • Turn on async generation on DungeonGenerator similar to loadstone
  • Update dungeon weights on lever pull too
  • Patch LLL to be okay with my invalid dungeonflows

my todo list

oak linden
#

@granite quest hey question, since loadstone does this (presumably), is it any problem at all if i just enable asyncgeneration in the DungeonGenerator? i need it so that the IEnumerator actually acts like an IEnumerator but wasnt sure if that would break anything by itself

#

oh also this is in the context of interior hotloading, which i think i've gotten working nicely :p

granite quest
#

you'll also need to set PauseBetweenRooms to 0, since it's non-zero by default in vanilla maps. MaxAsyncFrameMilliseconds is another value you might need to set. I leave that value configurable in Loadstone, since different values work better on different computers and with different user preferences. In general, higher values load faster and cause larger lag spikes, and smaller values load slower but with smother framerates

oak linden
#

interesting, okie thanks i appreciate the help, is there any reason i cant do all these changes on a prefix of the Generate call of DungeonGenerator?

granite quest
#

nope, in fact that's exactly how Loadstone's patch does it

oak linden
#

perfect then, thanks!

granite quest
#

no problem!

#

oh, you might also need to add a blacklist at some point. Something about one of Wesley's interiors causes the light colors to bug out when async map gen is enabled, and neither of us have been able to figure out why

oak linden
#

oh weird

#

good to know then

oak linden
# granite quest

oh rq, is this generator the one on the moon scenes? i.e. if i do any changes do i gotta care about unapplying my changes?

granite quest
#

mine applies to all generators unless they are explicitly added to the blacklist

oak linden
# granite quest

is there anything else you might be doing? cuz i get stuck a bit into the generation process, it feels like it generates the entire interior and then just stops at the last step of opening the door and getting rid of the seed UI from the screen

#

works when i download loadstone which is why i feel like im missing something lol

#

yeah reaches here then stops after generating navmesh it seems

#

for now ill be using loadstone while testing but i'd like to figure out whats happening here lol

granite quest
#

oh right! The vanilla logic doesn't wait for dungen to finish properly. If it doesn't finish in one frame, it never finishes loading

#

LLL also has a patch for that issue I think. I'll link my patch, just make sure not to load it if Loadstone is installed

verbal tulip
#

What could potentially happen if I try to read LethalContent.Enemies before it freezes?

oak linden
granite quest
# granite quest https://github.com/AdalynBlack/Loadstone/blob/main/src/Patches/StatusChangedFixe...

now that I have a bit more time to find it, this is the LLL version of the same patch:
https://github.com/IAmBatby/LethalLevelLoader/blob/b629d1db2256f60588e96996e9702d8c7c0b034e/LethalLevelLoader/Core/Patches/Patches.cs#L427
that patch might be a bit more readable, since it just copies the game's function and makes the modification so async generation works

GitHub

A Lethal Company API to allow for custom Level & Dungeon integration. - IAmBatby/LethalLevelLoader

verbal tulip
#

@oak linden I may have forgotten your answer as to what SomeMapObj.OutsideInfo.VanillaAnimationCurve was meant to be

#

Would you mind telling me again :3

verbal tulip
#

Also can there be something added to change the keyword to buy shop items and route to moons? Like I can do for enemy bestiary entries.

oak linden
#

do ignore it

#

i was probably just confused or stoopid when i made it

oak linden
wind mist
oak linden
#

i mean im removing it next patch, it wasnt getting used lol

#

or well, it was getting misused more like it

wind mist
#

Can there be a method to un-register something from the shop?

#

Or is there one that I'm missing

oak linden
#

just replacing the terminal predicate with one that's always locked + hidden

wind mist
#

When I register an item to the shop, it doesn't update the ShopInfo of the item?

oak linden