#archived-modding-development

1 messages · Page 155 of 1

floral furnace
#

yeah i cant even formulate my questions right now im doing a homework here, ill just ask tomorrow

copper nacelle
#

you can instantiate as many copies as you want

sleek valve
#

Does anyone recommend any particular mods?

exotic venture
#

randomizer is quite fun

flat forum
copper nacelle
#

why tf does entering through door_dreamReturn into bretta's basement cause you have to a black or white screen forever

#

top1 works fine

copper nacelle
#

@cunning lagoon is this u

cunning lagoon
#

i love you

copper nacelle
cunning lagoon
#

how do you exit the gpz zone

copper nacelle
#

quit out

cunning lagoon
#

fair

copper nacelle
#

just made it togglable as well

cunning lagoon
#

this is amazing

river eagle
#

no this is patrick

copper nacelle
cunning lagoon
#

why do i break the fabric of reality when gpz dies

copper nacelle
#

cause gpz's transition is shit

#

makes you black screen

#

so i just made you transition into top1

#

with no delay

cunning lagoon
#

clean

#

the game derps out a bit if you die to the second phase of the soul tyrant

#

the same thing happens if you fall

#

on the platforming thing

#

apparently it happens if you die at all thinkgrub

#

the respawn on fc works well but it gives you a permanent white screen after you kill him

#

same thing with lost kin

copper nacelle
#

i am agony

cunning lagoon
#

idk if soul tyrant gives you a white screen because i forgot to go back and kill him

#

sorry

copper nacelle
#

it's fine

#

what's weird is i was getting that white screen w/ lost kin but then it stopped happening

cunning lagoon
#

i respawned them with debug on a savefile that had already killed them

#

if that makes a difference

copper nacelle
#

it shouldn't

cunning lagoon
#

¯_(ツ)_/¯

copper nacelle
#

did you kill lost kin and fc first try or no

cunning lagoon
#

no

#

i suicided first

#

wd roskw fine

#

i killed him twice amd gpt no white screen and the respawn works

#

the first kill was first try and the second one was after suiciding

copper nacelle
#

going through the dream door always white screens

#

for some reason

cunning lagoon
#

do you want me to test nkg or

copper nacelle
#

nkg was working for me

#

idk

#

if i can't get dream return working i'll just throw people through random transitions

#

why are there comments in decompiled code wtf

#

the // Note

cunning lagoon
copper nacelle
#

i can use the world navigation to throw people to the first navigation available

#

or i could get the transitions manually

cunning lagoon
#

nkg respawns you but gives you a black screen after killing him

#

not a white one

copper nacelle
#

ahhh

odd jetty
#

So, easy question bout the modding API, it can be placed anywhere on the computer and all you have to do is open the project file in visual studio after creating the Vanilla dir with the contents of managed of the root game dir?

copper nacelle
#

yeah

odd jetty
#

kay, good

copper nacelle
#

i think it's the scene visualization staying

#

but idk why

cunning lagoon
#

i saw that

copper nacelle
#

same

#

can u don't

unreal kiln
#

Who keeps pinging cornywoke ban

cunning lagoon
#

dick move tbh

unreal kiln
#

Reported to bonji

urban olive
#

Oof

copper nacelle
#

wtf

#

logging all the gameobjects made it work

cunning lagoon
#

also 🎗 you still get locked out of 400 essence if you beat lost kin with the lost lord mod installed

copper nacelle
#

oh right

#

i'll fix that next

#

i hate this bug

#

it doesn't even make sense

#

i could double load the scene i guess

compact sedge
#

PlayerData.instance.dreamOrbs += 400
PlayerData.instance.dreamOrbsSpent -= 400

#

or something

copper nacelle
#

yeah ik

compact sedge
#

but if you don't do EventRegister.SendEvent("DREAM ORB COLLECT"); they won't see them pop up

#

unless they press i or whatever

copper nacelle
flat forum
#

I too enjoy entering invisible buildings in nowhere

copper nacelle
#

it seems to fix it for me

compact sedge
#

the truth behind grimm's tent... it was there all along!!!

copper nacelle
#

also angle i'm doing unencrypted saves now

compact sedge
#

yay but unencrypted and encrypted saves are incompatible

#

so do you have like a thing that can decrypt my saves

copper nacelle
#

no i'm gonna make it so it loads both

compact sedge
#

oic awesome

flat forum
#

Angle

#

25 days until...

#

School?

cunning lagoon
#

failed champ still gives me a white screen

compact sedge
#

25 days until

copper nacelle
#

i am fuck

compact sedge
#

Megaquarium

copper nacelle
#

Does nkg work

#

i tested nkg and lost kin

compact sedge
#

uh idk if NKG has a job or not.

copper nacelle
compact sedge
#

that qol on git yet I can test it.

flat forum
#

NKG
uNemplyed
StarvKing
Grimm

cunning lagoon
#

actually nvm

#

i wasnt using the latest version

#

give me 5 minutes

copper nacelle
#

cool

compact sedge
#

huh the online one only does grimm if you win not if you die.

#

no wait I'm dumb

cunning lagoon
#

ayy fc works

compact sedge
#

I see how it works. good mod

copper nacelle
#

the weirdest thing is it says that it doesn't load the scene twice

#

but trying to load the scene twice fixes it

cunning lagoon
#

nkg and soul tyrant also work

hexed wagon
#

differences of the 2 bonfire mods in the mod installer?

cunning lagoon
#

btw are you supposed to get essence from dream bosses respawned using edbug?

compact sedge
#

uh there should only be one bonfire mod in the modinstaller

cunning lagoon
#

also dying to the soul tyrant still does the thing

compact sedge
#

probably

hexed wagon
#

i have 2 in mine 😅

cunning lagoon
#

lost kin did give me a white screen

#

it's different than the other ones thinkgrub

#

on the other ones i could open the inventory and see it

#

in this one you can barely see anything

copper nacelle
cunning lagoon
#

i might be misremembering but im fairly sure i was able to see my inventory in the other ones

#

now im doubting myself milliS

copper nacelle
#

pain

#

so lost kin and tyrant still don't work?

cunning lagoon
#

tyrant dies

#

but his respawn doesn't work

copper nacelle
#

oh

cunning lagoon
#

it does the infinite teleport thing

copper nacelle
#

ok

cunning lagoon
#

lost kin gives you a white screen but respawns you

copper nacelle
#

white screen once you kill him?

cunning lagoon
#

ye

copper nacelle
#

wtf

#

that's the only boss I tested besides nkg

flat cliff
#

Can i ask how to download mods?

cunning lagoon
#

download the installer from the pins

flat cliff
#

downloaded it whats next?

copper nacelle
#

open ithollowwoke

#

then you check the boxes on the right

flat cliff
#

I can't seem to find it

#

it located my hollow knight folder and created a folder named mods but i can't find anything else

river eagle
flat cliff
#

Sorry

copper nacelle
#

idk i can't replicate the lost kin thing

#

going to tyrant rn

odd jetty
#

Soooo, I compiled the example 1 of modding API, and just pressed to compile. It gave me this output:

1>  No way to resolve conflict between "System, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e" and "System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089". Choosing "System, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e" arbitrarily.
1>  ExampleMod1 -> D:\Projetos\knight-player\HollowKnight.Modding-1.2.2.1-37\ExampleMods\Source\ExampleMod1\bin\Debug\ExampleMod1.dll
1>          1 file(s) copied.
1>          1 file(s) copied.
========== Build: 1 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========```
cunning lagoon
#

alright ill check again just in case

odd jetty
#

If I undertood correctly, the compilation went normally, right?

copper nacelle
#

yeah it looks like it worked

odd jetty
#

I can ignore the message bout conflict?

copper nacelle
#

i mean it seems fine but i'd check your refs just in case

#

are you doing the AI thing

cunning lagoon
#

no white screen after entering the fight and killing him

#

i'll try suiciding before

copper nacelle
#

yeet

cunning lagoon
#

sn

copper nacelle
#

i should really bind that to something

cunning lagoon
#

white screen after killing him after suiciding

copper nacelle
#

i am fuck

#

did you suicide off the cliff or by dying to him

cunning lagoon
#

off the cliff

copper nacelle
#

double weird

#

cause that's how i tested it

#

i definitely get the tyrant thing tho

cunning lagoon
#

white screen after dying to him then killing him

copper nacelle
#

pain

odd jetty
#

@copper nacelle I am doing the AI thing. I tried to do image reading and stuff but that proved to be way too annoying. So iw ill just send the positions of everything to a python script via socket

copper nacelle
#

neat

cunning lagoon
#

it doesn't go away when moving to a different room you have to save & quit

copper nacelle
#

yeah i got the same thing for a while

odd jetty
#

Yes, I will use NEAT :V

copper nacelle
#

but then it went away with the fix for me

#

strange

#

i'll see if i can change anything

#

tyrant thing is cause i mistyped the y

#

wrote 22.5 instead of 29.5

cunning lagoon
#

biggest think

copper nacelle
#

also tyrant is in the room before he spawns

#

if you have grimmchild he attacks him

#

he's just invisible

#

makes the attacking nkg pufferfish w/ nail noise

cunning lagoon
#

great

compact sedge
#

I really hope when GnG comes out Tyrant is rewritten from scratch to not be such a dumbly programmed boss.

copper nacelle
#

my favorite part is that phase 2 is there when phase 1 is there

compact sedge
#

tbh if you can figure out why it behaves so weird please let me know I'm still trying to mod the guy.

copper nacelle
#

waitwhat

#

i thought you figured it out

compact sedge
#

I all but abandoned my arcade mod because I couldn't actually figure out how to work with him

#

all I know is he disappears and the game object goes away and when he reappaers all the fsm stuff is reset

#

every single time.

copper nacelle
#

component stays on him?

compact sedge
#

component stays on

#

but it stops applying the speed because the fsm resets

copper nacelle
#

could try hooking on fsm deserialize

#

check if it's reloading the fsm

compact sedge
#

sounds like pain I want TC to get rid of FSM deserialization for that boss idk why they even do it

copper nacelle
#

but they deserialize all fsms

#

what

compact sedge
#

look idk why they would reset it every time he disappears

#

and maybe they don't directly maybe setting the gameobject inactive and then active causes the fsm to be reset

copper nacelle
#

are you sure your component doesn't get put inactive

#

tc likes to set stuff inactive recursively

#

ahhhhhh

#

i got the white screen on tyrant

cunning lagoon
#

uh oh

copper nacelle
#

which is nice for testing i guess

#

but also re

odd jetty
#

So, the console output of my mod would be shown in the debug mod console? 🤔

copper nacelle
#

no

#

how are you outputting to console

#

unless you're adding debug as a ref then using its console

#

which would be weird

#

but would work i guess

#

i like how jumping off the tyrant platform as soon as you spawn in with this mod is faster than actually walking up there

odd jetty
#

No, I am just seeing a console file on the mod api

copper nacelle
#

what

#

are you using Debug.Log or Log or something else

#

@compact sedge is this u

compact sedge
#

you're bringing back bad memories

#

awful memories

#

stop

copper nacelle
#

u

#

it's on the DoSetFsm(type)

#

which means it was null

#

tf

odd jetty
#

I am using nothing, I am just looking at the mod api files and I see a console file xD

copper nacelle
#

if you want to write to ModLog.txt you use Log

#

if you want to write to output_log you can use unity's Debug.Log/LogError i think

#

modlog is better cause you can see it in game

compact sedge
#

if you only write to modlog then the only stuff you need to care about in output_log is exceptions

#

so you can do something like tail -f output_log | grep Exception -A 10

copper nacelle
#

and that's only on monobehaviours

#

why does this work sometimes

#

but not other times

#

this is just like the shitty speedrunning bug

compact sedge
#

this is my pain, the riddle I gave up on solving, if you can please tell me.

copper nacelle
#

you have to wait for the game to save before transitioning or something

#

cerberus do you remember how to not get the white screen

#

with seer

odd jetty
#

Also, it would be correct to assume to get the knight location I just have to use the knight object and use a unity function to get the vector?

#

And nope

copper nacelle
#
HeroController.instance.gameObject.GetComponent<RigidBody2D>.position```
odd jetty
#

Al l I know is that if you pause you skip the seer lock and you skid along the ground

copper nacelle
#

ok

#

i'm 99% sure i'm getting the same issue

odd jetty
#

Yep, as easy as I thought yit would be

void tree
#

to not get a white screen after seer you need to wait for the "saving" icon thing to complete before leaving the room

copper nacelle
#

tysm

#

y e s

#

either this fixed it or i got lucky

#

killed tyrant two times and no white screen

#

trying fc and kin now

#

@cunning lagoon if this doesn't work for you i will die irl

solemn rivet
#

oh

#

sorry

copper nacelle
#

no it's fine

solemn rivet
#

I'm adding the installer link and sha1 so I can auto-update it

copper nacelle
#

yeah i just saw

solemn rivet
compact sedge
#

see this is why you make the modlinks file a google docs document so you can both edit it at the same time /s

copper nacelle
#

best addition to the new qol on the drive

compact sedge
#

yes

#

well actually fast dream reentry is really cool too esp for nkg

copper nacelle
#

yes

#

oh fuck i need to fix infinitegrimm integration maybe

compact sedge
#

it should work out of the box if all it's doing is teleporting you once you reenter the dream and not making you reenter the dream automatically

copper nacelle
#

no it stops you from ever exiting the dream

compact sedge
#

hmm ok if you need me to do anything to make that work let me know

copper nacelle
#

no i can just like add some dialogue or something

#

probably using canvas

compact sedge
#

ok well I'm not team cherry, you don't have to fight me with reflection and hackiness to get it working. You could just talk to me and I could make changes to my code.

copper nacelle
#

is the dialogue stuff public

solemn rivet
#

but what if I wanna fite u

compact sedge
#

it could be if you wanted me to make it. Dialogue is all done in the tent monobehavior.

solemn rivet
#

so, I need help

#

anyone have any idea how I can actually run the update?

compact sedge
#

uhhh

copper nacelle
#

download an exe which runs the update

#

and run that

compact sedge
#

hold on let me look at source code that does it

solemn rivet
#

I thought of that, 56

#

not a bad idea

#

hm...

compact sedge
solemn rivet
#

but I'd have to pass to that exe the original installation path

copper nacelle
#

a public GetDialogue or something would be god tier aa

solemn rivet
#

yeah, that's the idea, AA

#

I'll think of something

copper nacelle
#

cause i'd read cp2 grimm_meet1

#

but it's set after you go to the tent

#

which you don't do

compact sedge
#

yeah ok I can do that today for you

copper nacelle
#

yeet

compact sedge
#

well I mean I have a party happening soon and I'm gonna skrrt out of that so I might not have it done for a few hours unless I can do it in the next 30 minutes.

copper nacelle
#

that's fine

compact sedge
#

and while I'm here I can make my grimmchild code not crap.

copper nacelle
compact sedge
#

now that I know coroutines exist I don't have to put it in the Update function

copper nacelle
#

why do you reload the tent btw

#

i mean what object is dead

compact sedge
#

to (re)spawn the actual dream teleporter for grimm.

#

if grimmchild is missing I mean

#

since if grimmchild is missing it despawns it

copper nacelle
#

o

compact sedge
#

Ok I think I did it, will need to test. if my mod has the needed function then the public static readonly int infinite_globals.versionInt >= 450

it is a public static function so you should be able to call it from whereever.

copper nacelle
#

yeet

compact sedge
#

let me test real quick and I'll send an assembly

compact sedge
#

if you add it to your list of references in QoL you can call it directly

copper nacelle
#

yeah

#

if you throw it in another func it doesn't murder the assembly right

#

for whatever reason

compact sedge
#

yes because c# is weird you have to call it from a function that you only call if you are certain it exists

copper nacelle
#

more like

#

catch

compact sedge
#

well ok IDK if catch works but catch 100% doesn't work if you run it from the Initialize function. Modding API throws a fit and stops loading the assembly

copper nacelle
#

that's in init

compact sedge
#

ok nvm then

#

oh yeah no I see what you're doing

#

that's ok

#

for some reason

#

but just running the contents of RegisterCallbacks in Initalize even with a try doesn't work whenever I do that.

copper nacelle
#

yeah

#

functions

#

for some reason

#

are magic

#

where's the function

compact sedge
#

infinite_tent.getGrimmConvoString

#

takes a bool which is false if you are entering the tent from the town or true if from the dream

copper nacelle
#

y e s

#

infinite_tent is internal cornywoke

compact sedge
#

fuck me sry

copper nacelle
#

ty

solemn rivet
#

ok, something very weird is happening

#

I'm passing my current path(string) as a string[] as the arguments for the updater

#

and there are whitespaces in my current path

#

so it's breaking it in two strings

compact sedge
#

why are you passing it as an array

solemn rivet
#

because static void Main() won't take a string for some reason

#

static void Main(string arg) won't compile, but static void Main(string[] args) will

copper nacelle
#

string.Join("", args)?

solemn rivet
#

tried that

#

it removes the whitespace

compact sedge
#

what if you made the first argument a string that had whitespace in it

solemn rivet
#

so if the path was "/blah bleh/" it becomes "/blahbleh/"

compact sedge
#

for example string[] args = new string[1] { "/blah bleh/" };

#

or is that what's breaking?

copper nacelle
#

could escape strings as %20

compact sedge
#

eww

#

but yes you could

solemn rivet
#

eww

copper nacelle
#

yes

solemn rivet
#

it doesn't work, AA

#

because Process.Start requires a string be passed as parameter

#

so if I do Process.Start(fileName, args[0]) it just gets "/blah"

copper nacelle
#
            string[] str = {"h hhh", "h", "hh"};

            string res = str.Aggregate((list, x) => list + x);
compact sedge
#

oh

copper nacelle
#

doesn't remove the spaces

compact sedge
#

ok hear me out

#

what if you put escaped quotes in your string

#

at the start and end

#

like

#

string s = "\"/file path/meme.exe\"";

copper nacelle
#

what's wrong with aggregate

solemn rivet
#

"\""+Directory.GetCurrentDirectory()+"\""

#

yup

#

that works

compact sedge
#

I wanna pretend I'm shocked but I'm actually 100% not shocked

#

that's what you have to do when you're trying to put quotes in commands run inside quotes in bash

#

you just need to either be escaping quotes or switching between double and single quotes

copper nacelle
#

i hate doing that

compact sedge
#

it's confusing and dumb but it's because it doesn't know on what level to interpret the quotes as literal quotes and what level to interpret them as a string.

solemn rivet
#

yeah

compact sedge
#

if there's one really bad offender tho it's scp which requires about 3 levels of quotes to do paths with spaces in it.

flat forum
#

SCP?

copper nacelle
#

ssh copy i think

compact sedge
#

Secure, contain, protect

cp over ssh

copper nacelle
flat forum
#

Secure Contain Protect

compact sedge
#

shit a bug in my program never would have seen that happening

#

wait why does that happen?

#

huh

flat forum
#

Special Containment Procedures: SCP-3762 is all the code ever written in the HK Discord's Modding channel that never worked. SCP-3762 is to be always stored in some form or another in order to prevent acrivation of its anomalous property

copper nacelle
#

what dialogue do you get if you do -2 damage

compact sedge
#
                           "capible of better, my friend." + append;```
#

runs if damageDone <= 500

copper nacelle
#

o

compact sedge
#

and not 0

copper nacelle
#

finna make heal the bosses mod

compact sedge
#

omg I bet it's because it's running the FSM changing code on the reset and that would fail because ti would already have changed the NKG fsms

copper nacelle
compact sedge
#

but wait you aren't even reloading the scene are you?

#

I'm confused

copper nacelle
#

it reloads grimm_nightmare

#

from grimm_nightmare to grimm_nightmare

compact sedge
#

ok so then everything in the reset code should be... ok

#

from is unused

#

I have no idea tb tbh

flat forum
#

what are you guys doing?

compact sedge
#

I'm trying to make my mod work with 56's QoL mod

#

and by that I mean 56 is doing all the real work

flat forum
#

heh

copper nacelle
light valve
#

im having problems with the mod installer It says could't locate Hollow Knight installation folder

compact sedge
#

then navigate to it manually

light valve
#

i dont know which folder to pick

compact sedge
#

uh where'd you install it?

light valve
#

nvm im stupid

odd jetty
#

Man, visual studio is giving me a beating

#

Which thing I need to reference to get the modding namespace?

solemn rivet
#

the api

#

huh for some reason I can't download the installer to the default c:\temp path as I do with mods

#

weirder and weirder

#

if I do Download(uri, temp); it breaks, but if I do Download(uri, LITERALLY ANYWHERE ELSE); it works fine

odd jetty
#

Which thing of the api I need to reference?

solemn rivet
#

the api itself

odd jetty
#

the folder?

#

the project?

solemn rivet
#

uhh

#

the dll

odd jetty
#

You have to compile first and reference the created DLL?

light valve
#

hey cerberus im using the blackmoth mod i replaced all the files which it told me now i am stuck in a infinte loading screen do you have a fix

odd jetty
#

I have no clue what you are talking about

light valve
#

ok

solemn rivet
#

sandhawk try the installer in the modding-help pins

#

also, cerberus, just get the api from google drive

odd jetty
#

I see

#

I am too used to python where you just put the dependances on the folder and run the code.

odd jetty
#

Allright, I think it's working, now, for sake of testing, how can I write something on the screen?

solemn rivet
#

easiest way? Enable onscreen debugging and print stuff to the log

odd jetty
#

Okays, and how to do that? Because seems like there's not really a documentation for the modding api

solemn rivet
#

Edit your api settings

#

It's in your saves folder

odd jetty
#

This file? ModdingApi.GlobalSettings.json If it is, what should I edit?

compact sedge
#

yeah you have to edit that file

#

replace boolvalues with this:

    "BoolValues": {
        "keys": [
            "ShowDebugLogInGame"
        ],
        "values": [
            true
        ]
    },
#

it won't appear but if you set that key just like that it will in fact show a debug log ingame

#

yeah it is obscure af, I had to read the source code to find the actual key name

odd jetty
#

I would never ever find that

solemn rivet
#

F10

odd jetty
#

hm?

solemn rivet
#

🇫 🔟

odd jetty
#

What f10 do and where?

solemn rivet
#

Enable /disable the onscreen debug

odd jetty
#

I see

#

Welp, nothing happens when pressing F10

tranquil glen
#

I don't suppose anyone would happen to have a dreamer FSM lying around so i don't have to go find one zote

odd jetty
#

But I at least know it's working cause it's in the log file

tranquil glen
#

Is there a hotkey for noclip in the 1118 debug?

solemn rivet
#

okay, can anyone test if the modinstaller in pins still works?

short bronze
#

Is there an infinite charm notch mod? Anyone know?

solemn rivet
#

no, you can just edit your save for that

short bronze
#

How?

solemn rivet
#

there's a save editor in pins

short bronze
#

Alright, thanks

#

Is it the one that uses Java?

compact sedge
#

uh the modinstaller opened two instances, one that couldn't find it, then it downloaded the newest one which clearly could find it or it would say it is outdated.

#

note it is named ModInstaller(4).exe and not ModInstaller.exe

solemn rivet
#

wut

#

that is weird

#

like real weird

#

it's not supposed to have two instances open at once at all

#

if it's outdated, it downloads the auto-updater and quits the app

#
                if (installer.Element("SHA1")?.Value != GetSHA1(dir + @"/ModInstaller.exe"))
                {
                    WebClient dl = new WebClient();
                    dl.DownloadFile(new Uri(installer.Element("AULink")?.Value), dir + @"/AU.exe");
                    Process process = new Process
                    {
                        StartInfo =
                        {
                            FileName = dir + @"/AU.exe",
                            Arguments = "\"" + dir + "\"" + " " + installer.Element("Link")?.Value
                        }
                    };
                    process.Start();
                    Application.Exit();
                }```
#

oh

short bronze
#

Can i ask one more thing? In the editor how do i select my save and edit charm notches?

solemn rivet
#

but you raise an interesting issue, I shouldn't assume it's named ModInstaller

#

just open it in your saves folder, Dis

hollow pier
#

ModinStahLer

short bronze
#

How do i do that? Im quite a noob at these things.

solemn rivet
#

just copy and paste the installer

compact sedge
#

anyway the one from the link works now just fine 100% although it didn't have to download any updates.

solemn rivet
#

Great, yeah there are no updates to it yet

#

But I'm about to push one that fixes the naming issue

#

So if you use ModInstaller(56).exe to update, it should keep its naming

hollow pier
#

56

#

can i use 753

solemn rivet
#

You can even use your name ptk

hollow pier
#

wow is this advanced modding

solemn rivet
#

loss

solemn rivet
#

k AA, try running it now, see what happens (just run what you have, see if it auto-updates to the version I just pushed)

compact sedge
#

ok

#

no installer updates

solemn rivet
#

wut

#

can you send me your version of the installer?

compact sedge
solemn rivet
#

wtf

#

wait

#

omg

#

you're running the one inside /mods/?

odd jetty
#

The type or namespace name 'TcpListener' could not be found (are you missing a using directive or an assembly reference?)
I hate compiled languages, so much

solemn rivet
#

what is that

odd jetty
#

Socket

solemn rivet
#

oh, so it's that tcp

#

ok

#

just reference it

odd jetty
#

It's not because for some reason it's unable to find anything

#

uuuuh... I am

#

It's in fucking system

#

dafaq

solemn rivet
#

using System.Net.Sockets; ?

odd jetty
#

dude

solemn rivet
#

did u just assume my gender

#

jk my dude

odd jetty
#

Oh, I don't mind gender, I play with any~

#

But rly, One would think TCP is inside sockets, not in system

solemn rivet
#

well, it is

#

System.Net.Sockets

odd jetty
#

And why referencing system.net don't auto references system? 🤔

solemn rivet
#

CAUSE

#

idk

#

maybe because that'd be overkill?

odd jetty
#

One needs the other tho

solemn rivet
#

does it tho

#

actually doesn't know anything about c#

odd jetty
#

xD

#

Welcome to the club

solemn rivet
#

m8 I'm just googling stuff 24/7

odd jetty
#

The reason why I want sockets is simply because I can make the AI in python

cunning lagoon
#

@copper nacelle white screen on soul tyrant after suiciding first

#

also am i allowed to have health upgrades for the flukemarm challenge thing

#

i got a white screen on lost kin 1/4 times

young walrus
#

Are you doing the nail0 only challenge?

cunning lagoon
#

ye

young walrus
#

Yeah no upgrades of any kind

cunning lagoon
#

ill give it a few tries to keep me busy before gm comes out

#

alright ty

young walrus
#

No movement, charms, spells, nothing but nail0 is allowed

#

Have fun hating yourself

#

I'm still convinced it's impossible

cunning lagoon
#

thats ok i already hate myself

young walrus
#

Lol

cunning lagoon
#

@copper nacelle white screen after killing lurien noot
no white screen after herrah

short bronze
#

Pretty sure i might be an idiot, i can't get this infinite charms thing to work, can someone walk me through it?

solemn rivet
#

I'm petty sure it's impossible dlk

#

But feel free to try

short bronze
#

Haha, ive been trying. Your probably right

solemn rivet
#

Sorry, I didn't mean you

short bronze
#

Oh

solemn rivet
#

What you want is easy

#

Too bad I'm on mobile rn

short bronze
#

Oof

#

Would there be a video on youtube or something?

young walrus
#

no

short bronze
#

Darn

young walrus
#

should just be a number you need to change in the save editor

short bronze
#

The one with Java, correct?

young walrus
#

yes

short bronze
#

Alright, ive got it up

#

Theres no charm notch option

#

Theres 4 users

#

And they all say Health/Mana Region Geo and Steel Soul

odd jetty
#

staaaaaaaaares

#

I did it o.o

#

wtf, that was easier than what I thought it would be

short bronze
#

I am so confused

odd jetty
#

I made information from inside the game being transmited to a socket

short bronze
#

Nice

rain cedar
#

If it's really not in the save editor you can change it in json

short bronze
#

How do i do that?

rain cedar
#

You'll need something to unencrypt the save file

short bronze
#

Alright

rain cedar
#

There's one of those floating around somewhere

#

@copper nacelle explain

short bronze
#

Just in case, this 'how to use' thing on the thing is very confusing

#

I might be doing this wrong

#

Hollow-Knight-SaveManager
Manage and edit Hollow Knight saves

Usage:

On the left of the main window there is the 4 currently loaded saves, each save has 3 buttons

  • < loads the selected save into this slot
  • > saves this slot into the selected save
  • floppy disk saves this slot to a new file

Double click a save in the file tree to open the save editor. From there you can edit your data in two tabs: Inventory, where your health, soul, geo, and items are contained; and Charms, where you can set whether you have charms, have them equipped, and their notch cost. You can even manually activate overcharmed status.

Releases

Screenshots

Save Manager

Save Manager

Save Editor

Inventory

![Save Editor Inventory]

flat forum
#

what

short bronze
#

Oh crap, i dont have the latest

#

Thats probably why

flat forum
short bronze
#

Alright

young walrus
odd jetty
#

Stuff like the Update() function of Unity works with the modding API too?

#

Aka: do stuff everyframe

rain cedar
#

It works in any MonoBehaviour

odd jetty
#

So, can I do stuff like... public class KnightInfo : Mod, MonoBehaviour to get Unity stuff or the Mod of modding API is already a MonoBehaviour?

rain cedar
#

You can't inherit from multiple base classes in C#

#

And the Mod class being a MonoBehaviour isn't really practical

odd jetty
#

Okaaay, so to run something in everyframe what would I need to do?
Just do a
public override void Update()
Or na?

rain cedar
#

You could do something like this to have an update function in your mod class

public class KnightInfo : Mod
{
     public override void Initialize()
     {
          GameObject obj = new GameObject();
          obj.AddComponent<Updater>.RegisterMod(this);
          UnityEngine.Object.DontDestroyOnLoad(obj);
     }

     public void Update()
     {
          //stuff
     }
}

public class Updater : MonoBehaviour
{
     public KnightInfo mod;
     
     public void RegisterMod(KnightInfo mod)
     {
          this.mod = mod;
     }

     public void Update()
     {
          if (mod != null)
          {
               mod.Update();
          }
     }
}```
odd jetty
#

Oooh, I see

rain cedar
#

You could expand this into an interface IUpdateable and store a List<IUpdateable> in your Updater class for a more robust implementation but I don't feel like you need that

odd jetty
#

Nah, I just want to use a frame limiter and send sockets per 30 FPS instead of whatever frequency it's sending now :V

rain cedar
#

Where are you currently sending from?

odd jetty
#

ModHooks.Instance.HeroUpdateHook += HeroPos;

#

But considering I won't just send about the hero position...

#

per frame would be better

rain cedar
#

For something like this I would look into coroutines

#

Since you want to send somewhat infrequently

odd jetty
#

Well, I am heading to be now tho, I will look into that tomorrow

#

Thank you for the help ^^

copper nacelle
#

i'm secretly you from an alternate universe sean

#

duh

#

also white screen re

copper nacelle
#

i wish it was at least consistent

trim totem
#

what are you working on 56

copper nacelle
#

fast dream boss respawning is done but

#

if you beat the boss after dying at least once

#

then it'll white screen a random percentage of the time

trim totem
#

what the heck

copper nacelle
#

yeah

cunning lagoon
#

you also get white screens when you kill the dreamers

copper nacelle
#

yeah

#

same thing that happened w/ seer and speedrunners

#

it's something to do with saving iirc

cunning lagoon
#

but the dreamers seem random aswell

#

herrah didn't give me a white screen but lurien did

copper nacelle
#

it's if you leave a scene while the game is saving

#

i think

#

that's what it was for seer

#

but delaying saving didn't do shit

#

at this point i'm actually trying to get a white screen

#

but my luck is bad

#

oh i think i might've got it

#

might be if you try and move while the scene is loading

#

cause moving triggers saving

#

really love this bug

trim totem
#

sounds like a pain

copper nacelle
#

yes

#

i hope it's at least consistent with my guess

#

i've done all the dream bosses like 20 times today cause of this

trim totem
#

big oof

copper nacelle
#

the only one that's still kinda fun is nkg cause i do that at 1.5x

#

H A H A
Y E S

#

spamming inputs during the transition seems to fuck it

cunning lagoon
#

flukemarm was a mistake

copper nacelle
#

u right

cunning lagoon
#

what a stupid boss

copper nacelle
#

bug is definitely consistent

cunning lagoon
#

nice thats good

copper nacelle
#

spamming all my keys during the transition gets me a black screen

#

but also this should've fixed it

#

CanInput is a myth

#

acceptingInput is also a myth

cunning lagoon
#

ok flukemarm is impossible i give up

#

i shouldve listened

copper nacelle
#

how far did you get

cunning lagoon
#

like half health at most

trim totem
#

how long did you try

cunning lagoon
#

20 minutes

trim totem
#

tf you got to half health in 20 minutes??

#

set it to half speed

cunning lagoon
#

i mean half health ius 35 hits and you can get 10 in before she even attacks

#

so im like not even close to beating it

#

if she spawns babies and you haven't killed the last wave

#

you cna just start accepting death

#

it's stupid

trim totem
#

does the rate change

cunning lagoon
#

i dont think so

copper nacelle
#

they cap at 5 or something iirc

cunning lagoon
#

i think its more like 6 or 7

#

i tried ignoring them and trying to kite them around

#

its a bad idea ill tell you that much

trim totem
#

have you tried slow speed

cunning lagoon
#

no

copper nacelle
#

looks like 7

cunning lagoon
#

boss more like

#

trash

copper nacelle
#

yes

cunning lagoon
copper nacelle
#

really makes u think

cunning lagoon
#

wtf

trim totem
#

what's this

copper nacelle
#

fluke rage

#

it waits between 3 and 3 seconds zote

#

and then checks if it should spawn

#

it maxes at 8

#

according to it

cunning lagoon
#

fuck that

copper nacelle
#

but there are only 7 flies

cunning lagoon
#

it's actually unironically way harder than ngg

#

kdt learn from tc

leaden hedge
#

adds are awful design

cunning lagoon
#

absolutely

leaden hedge
#

I'd literally never put adds in any fight

copper nacelle
#

nkg 2 is an add

#

cmm

leaden hedge
#

i said adds

#

not add

copper nacelle
#

fuck

leaden hedge
#

i should just give ngg a 30 seconds enrage

#

that ticks down during his balloon

#

and his enrage instant kills you

cunning lagoon
#

still a better boss than flukemarm

copper nacelle
#

sad but true

#

why does spamming inputs

#

when inputs are turned off in hero controller

#

get a white screen

#

this makes -10 sense

cunning lagoon
#

ah yes that happens

copper nacelle
#

i bet

#

it's gonna be something like

#

starting the boss fight while it's saving

#

causes white screen

#

either i fixed white screen in a way which makes no sense

#

or i got lucky

#

nope i just got lucky

cunning lagoon
copper nacelle
#

or did i

#

transitioning now gets rid of it

#

nope

#

i basically disabled saving and it still happens

cunning lagoon
#

the plot thickens

copper nacelle
#

i don't want to override move

#

and dash

#

and everything

#

but i might

#

YES

#

i might've fixed it

#

that or i got lucky

#

AJSHDAKJLSDJHKLASDKJLASD

#

i di dit

#

or i got lucky twice

#

@cunning lagoon if this doesn't work i'll die irl

rain cedar
#

I'm gonna map storage your shit and white screen

#

Broken ass mod

copper nacelle
trim totem
#

did you do pop thing

copper nacelle
#

i'll do that next

trim totem
#

thanks Dad

rain cedar
#

Glitches breaking mods is great because you can just not care

#

Damn cheaters

copper nacelle
#

yes

rain cedar
#

1.2.2.1 randomizer did some fuckery with bools based on inventory being open

#

And I never tested this but I'm pretty sure items wouldn't be randomized if you went through a screen transition with bench storage menu up

copper nacelle
cunning lagoon
#

i got 1 essence from killing the first phase of the soul tyrant

#

nice

#

white screen

#

smh my head

copper nacelle
#

can i die

rain cedar
#

poggers

trim totem
#

no

copper nacelle
#

just gonna

#

give up

#

to be tbh

#

if you press buttons during transitions you're illegal

cunning lagoon
#

i got an essence drop again

#

am i vvery lucky or did you break something

#

another white screen, i didnt press a single button this time

copper nacelle
#

wtf

#

also the latter

#

i made it so it fakes dream gating

#

is the white screen a game object i can just destroy

cunning lagoon
#

i killed him without suiciding, no white screen

#

i killed him without suiciding and while mashing buttons, no white screen

copper nacelle
#

yeah dying causes the white screen

#

dying + mashing guarantees it but it's also random too i think

#

good meme

cunning lagoon
#

great

copper nacelle
#

is the blanker the white thingy

#

cause i can totally just destroy that

#

i have no problems destroying everything

rain cedar
#
Object.FindObjectsOfType<Object>().ToList().ForEach(obj => Object.Destroy(obj));
copper nacelle
#

yes

#

this kills the scene transitions entirely

#

if you go to any of the dream bosses

#

this is good

rain cedar
#

nice

copper nacelle
#

i mean

#

it definitely fixes the bug

rain cedar
#

I should make a mod that has nothing but that line of code that destroys everything

#

And put it in the installer

copper nacelle
#

yes

trim totem
#

did you fix it

rain cedar
#

"yes"

copper nacelle
#

technically yes

#

gonna dump all the objects i just destroyed

#

and then i'll be able to actually fix it

#

at least i'm making actual progress

#

why are there 3 of them

#

i'm gonna try just destroying the sprite renderer

#

which should work

#

i think i fixed it

#

looks a bit strange entering the scene tho so i'll try and make it not do that

#

why does disabling the sprite renderer on the blanker make it so you can't move wtf

cunning lagoon
#

oof

copper nacelle
#

yeah i'm 99% sure this bug is dead now

cunning lagoon
#

that's the 1%

copper nacelle
#

if that happens cause of dream respawn i'll do nothing at all

#

also no more random essence

cunning lagoon
#

no white screen but the knight gets stuck until you pause the game

#

i think that already happened before

copper nacelle
#

why

#

i even made it restore input

#

good enough

cunning lagoon
#

whenever i got a white screen the game didn't let me open the inventory until i paused the game

#

i think the same thing is happening here

#

except now i can see the screen

copper nacelle
#

what boss

cunning lagoon
#

tyrant

#

cdash also frees you

#

poggers

copper nacelle
#

wtf

#

it doesn't happen to me

cunning lagoon
#

i mashed buttons both tiem

#

times

copper nacelle
#

i always mash buttons

#

to make sure the bug is dead

cunning lagoon
#

im actually not sure if its the cdash or the dnail that frees you

#

i just pressed every button

copper nacelle
#

oh i forgot to mash this time

#

nice

rain cedar
#

333*1=500

#

Checks out

#

Really though it's because fragile strength is weird

#

Fury is applied as an actual multiplier in the fsm

#

Idk when strength is applied

cunning lagoon
#

there

#

its the dnail that frees you

copper nacelle
#

cdash frees you too

cunning lagoon
#

oh

copper nacelle
#

i just need to delay the input thing

#

i guess

rain cedar
#

Nuclear option: Replace HeroController.inputActions with an empty HeroActions class until you want the player to be able to move again

copper nacelle
rain cedar
#

It would work though

copper nacelle
#

yeah

#

HeroActions has the move vector too, right?

rain cedar
#

It has something called moveVector but it's a lie

#

It's just left stick input

copper nacelle
#

nice

cunning lagoon
#

nice

#

it works

copper nacelle
#

y e s

#

i am free

cunning lagoon
#

have you checked if the dreamers are fine

copper nacelle
#

no

#

hhhhhh

cunning lagoon
#

smh

#

is there a way to unkill them

copper nacelle
#

save editor probably

#

they should definitely work tho

#

unless they wait more than 1.4 seconds + 2 frames

cunning lagoon
#

i'll take your word

#

yeah tyrant definitely worksd

copper nacelle
cunning lagoon
#

he's done it

copper nacelle
#

weird bug

cunning lagoon
#

i'll check out the rest of the bosses later but everything should be fine right

copper nacelle
#

yeah

cunning lagoon
#

white screen after killing lurien zote

copper nacelle
#

excuse me what the fuck

#

delete this

cunning lagoon
#

also the title screen bug

copper nacelle
#

eeeeeeeeeech

cunning lagoon
#

have fun

copper nacelle
#

i just need to add them to the list

#

which is fine

#

i guess

#

annoying

#

seer will probably do it too

#

hooray

copper nacelle
cunning lagoon
#

sorry i dont speak coding

copper nacelle
#

if it isn't one of the dream bosses

#

and

#

the scene has a transition which is a dream door

#

call the white screen fixer thingy

cunning lagoon
#

i like how that sounds

copper nacelle
#

fix works

#

makes going into uumuu's arena look wonky but i can't be bothered caring

cunning lagoon
#

who fights uumuu anyway

copper nacelle
cunning lagoon
compact sedge
#

I hope this mod removes all the time that isn't spent actively moving from hk by the end

#

make all the roars last 1 frame.

cunning lagoon
#

delete ervey textbox

copper nacelle
#

the only thing rn is that it blinks when you go in

#

which idc about

#

also FastText exists and is god itself

cunning lagoon
#

yeah fasttext is pretty much that

compact sedge
#

Hollow Knight (abridged)

#

cuts out all the non-challenging rooms

cunning lagoon
#

makes selling relics to lemm not be painful

compact sedge
#

what if after fighting hornet and walking left I went straight to the mantis village

copper nacelle
#

🤔

cunning lagoon
#

when you pick up the mothwing cloak you are given the mantis claws and get teleported to the mantis lords arena

compact sedge
#

and then after fighting lords and walking to deepnest I am in soul sanctum

copper nacelle
#

yeah cool the bug fix works

cunning lagoon
#

nice

compact sedge
#

HK abridged but it's just bossrush v3

cunning lagoon
#

call it gods and glory

compact sedge
#

apparently mods don't have to deal with copyright or lightbringer wouldn't exist so why not

copper nacelle
#

good morning ttacco

cunning lagoon
#

i'd assume if it got popular enough it would be a problem

#

like that pokemon romhack

copper nacelle
#

they mentioned it in one of their blog posts

#

fixed all white screens and also infinite pop @trim totem meme

compact sedge
#

is lightbringer the only mod they mentioned because people sure love the bonfire one too

#

for some reason

copper nacelle
#

glass soul

compact sedge
#

inb4 753 worked at TC all along.

#

although I guess Kein did and they didn't advertise boss rush v1 ever best I can tell

copper nacelle
#

kein worked at tc?

compact sedge
#

Before Redwing, Kein was in the credits.

#

well as a tester

#

dunno that he actually worked at tc but he worked for TC

copper nacelle
compact sedge
#

hey you know who else is a tester

#

benji

#

simo

#

you wanna tell me being a tester makes you powerless?

copper nacelle
#

thinking

floral furnace
#

its night tho 56

#

i just got home

#

smh

copper nacelle
#

woke

compact sedge
#

pfft night doesn't mean anything to 56

copper nacelle
#

wow it's 8:21am

compact sedge
#

he just stayed up all of it

copper nacelle
#

ehhh

#

i woke up at 2am

floral furnace
#

56 can you like, you know, considering sleeping or something

cunning lagoon
#

imagine actually sleeping lol out loud

copper nacelle
#

i did sleep

#

5pm - 2am

#

9 hours

floral furnace
#

huh, fair enough i guess

copper nacelle
#

more than enough

compact sedge
#

fair enough

#

oh I woke up at 4:30am and today is the day I get on a regular schedule and I want you to hold me to that.

copper nacelle
#

👀

#

so for unencrypted saves my plan is check the last modified date on the json and the dll so you can still replace dlls

#

that's really all

solemn rivet
#

If you don't sleep you'll be stuck as a 15yo forever

#

Tru story

cunning lagoon
#

nice i just did the pop hitless

#

on an unrelated note, the pop respawn thing works

copper nacelle
#

poggers

cunning lagoon
#

it bugs out a bit on the room before the pop but thats fine

solemn rivet
#

Niko already did pop hitless dlk

#

You can always do fluke no upgrades

cunning lagoon
#

dlk already did pop hitless dlk

solemn rivet
copper nacelle
#

did you improve your time tho

#

the old one was like 5:24

cunning lagoon
#

is that niko's time?

copper nacelle
#

no that's yours

#

roughly

#

i think

cunning lagoon
#

oh you saw it

copper nacelle
#

maybe

#

yeah

cunning lagoon
#

yeah i think it's slightly faster

copper nacelle
#

nice

cunning lagoon
#

because i didnt stop that much and i was more confident on the knights

#

so i played more aggressively

rotund atlas
#

how do I submit my score for IG?