#archived-modding-development

1 messages · Page 93 of 1

compact sedge
#

The thing I've learned being in this server is basically everyone who plays mods is super good at the game

#

so keep that in mind

unborn badger
#

@copper nacelle make grimmchild shoot so fast he lags the game

hollow pier
#

make it shoot geo too

copper nacelle
#

re

wintry ore
#

Hmmm, so I'm following the tutorial so can install randomizer v2, yet i see no randomizer folder, did i do something wrong?

#

i dont know if i should have posted this in #hk-help as it was mod related aa

copper nacelle
#

images might be embedded now

#

try without a folder and just see if it works

#

I think they're embedded

#

but idk

wintry ore
#

alright

rain cedar
#

Yeah everything is embedded

#

Randomizer requirements are just a hardcoded array of structs now as well

#

Parsing XML is a pain in the ass

wintry ore
#

obviously did something wrong, it said modding api randomizer mod in the top left, no randomizer graphic in the bottom right, no randomizer options when starting a save and i went to get fury of the fallen, and got fury of the fallen

copper nacelle
#

you're on lifeblood, right?

wintry ore
#

yup

copper nacelle
#

did you install modcommon

wintry ore
#

mm that could be why

copper nacelle
#

'could be'

wintry ore
#

also love how hollow knight crashes every time i exit to the main menu

#

been happening since i got lifeblood

rain cedar
#

Ah right I should add a thing that says to get it

#

It tells you to update API if the version is below 41

#

No modcommon warning other than the readme, though

copper nacelle
#

you can make it not fail to load?

#

doesn't it just entirely fail with assembly not found

rain cedar
#

The guy said it showed randomizer top left

#

So yeah it loads

wintry ore
#

it did,

#

but the mod did not work,

copper nacelle
#

install modcommon

#

dungo

wintry ore
#

i am

#

modcommon installed,(probably incorrectly) nothing has changed

copper nacelle
#

make a new save

wintry ore
#

i have, 3 times

warped sinew
#

Make another three, that's the trick

wintry ore
#

mm no

pearl sentinel
copper nacelle
rain cedar
#

Good code here

bool noModCommon = !(from assembly in AppDomain.CurrentDomain.GetAssemblies() from type in assembly.GetTypes() where type.Namespace == "ModCommon" select type).Any();```
wintry ore
#

Could be that i incorrectly installed modcommon as it wasnt explained in the video, and i cant find it explained anywhere, and this is also the first game that ive had to actually go down into the files and edit them to add mods so aa

rain cedar
#

You don't have to do that, though

#

There's installers

copper nacelle
#

pins exist

rain cedar
#

Although I haven't updated the xml in the drive for rando so it's probably not gonna show in the installers

wintry ore
#

ah'

rain cedar
#

So I can't compile this against the assembly with the HookGen stuff in it since it apparently ups the .net version to 4.0

#

That can't be good, since I imagine that 4.0 features will still not work

copper nacelle
#

I'll try and fix that

#

0x0ade said it shouldn't require 4.0 stuff

#

I'll do it when I get home

rain cedar
#

Cool

wintry ore
#

Hmm, well then, what folder do i put the modcommon dll in?

rain cedar
#

Mods

wintry ore
#

yup thats where it is currently

rain cedar
#

Send modlog

#

From your save folder

wintry ore
#

k

copper nacelle
rain cedar
#

Looks to me like it loaded fine

#

And modcommon loaded

wintry ore
#

modcommon did,

#

[INFO]:[RandomizerMod] - Unknown resource RandomizerMod.Resources.randomizer.xml

rain cedar
#

Yeah that's no problem, that file is unused

#

I just forgot to remove it

#

You've beaten the game, right?

wintry ore
#

hmm, it isnt randomizing any items, unless i just have incredible luck and keep getting fury of the fallen where its supposed to be, and i dont get any options to turn the randomizer on or off when starting the save, or changing the difficulty

rain cedar
#

Alright since you ignored the question I'm gonna assume no

#

Beat the game

#

Randomizer uses the classic/steel selection screen as the options menu

#

So you need that to show up

wintry ore
#

ah, welp time to go to the hollow knight at only 61% but whatever

rain cedar
#

""""only"""" 61%

compact sedge
#

IG to get its most requested feature (still WIP but wanted to show it off)

rain cedar
#

Nice

compact sedge
#

There's messages for a bunch of different damage tiers, including a special one for if you do more than 15k on hardcore mode.

rain cedar
#

There now hopefully people will use modcommon before saying shit's broke here

copper nacelle
#

capible

#

also nice

compact sedge
#

ooh gonna add that to mine

#

About ready to release so I'm glad I saw this first

rain cedar
#
public override string GetVersion()
{
    string ver = "2a.6";
    int minAPI = 41;

    bool apiTooLow = Convert.ToInt32(ModHooks.Instance.ModVersion.Split('-')[1]) < minAPI;
    bool noModCommon = !(from assembly in AppDomain.CurrentDomain.GetAssemblies() from type in assembly.GetTypes() where type.Namespace == "ModCommon" select type).Any();

    if (apiTooLow && noModCommon) ver += " (Update API and install ModCommon)";
    else if (apiTooLow) ver += " (Update API)";
    else if (noModCommon) ver += " (Install ModCommon)";

    return ver;
}```
#

If you want to steal anything from my version check go for it

compact sedge
#

awesome, thanks!

supple sigil
#

.

rain cedar
#

.

hollow pier
#

.

solemn rivet
#

I leave for ONE day

#

and this channel goes to hell

#

ffs

supple sigil
#

doot

compact sedge
rain cedar
#

Ok wow I think I need to chill with the yield return spam
[INFO]:[RandomizerMod] - Randomization done in 11.99255 seconds

#

Too much of a good thing

solemn rivet
#

yeouch

#

and I need to learn how to yield return

compact sedge
#

you should add: [INFO]:[RandomizerMod] - Running Update function in class: Classname.cs

#

for every class

rain cedar
#

But my classes don't even have update functions

compact sedge
#

darn

rain cedar
#

Everything runs off of scene load

compact sedge
#

missed opportunity

rain cedar
#
for (int j = 0; j < currentDepth; j++)
{
    yield return new WaitForEndOfFrame();
    reachableLocations.Add(unobtainedLocations[i]);
}```
#

This is the most unnecessary yield return I have ever seen

compact sedge
#

so it waits 1 frame for every depth level?

#

I've never used yield return before

rain cedar
#

That's in a triply nested loop

#

So it waits 1 frame a lot of times

#

yield return new WaitForEndOfFrame(); is the same as yield return null;

#

Just clearer intentions

#

It flags a stopping point for the coroutine when calling MoveNext on it

#

I had two loops like that, just gonna remove the yields and see how much faster it runs

#

[INFO]:[RandomizerMod] - Randomization done in 1.67289 seconds

#

Lol

#

No performance difference

compact sedge
#

is there any side-effects to doing this?

#

why did you have it this way

rain cedar
#

It runs less per frame so it's not noticeably laggy

#

That's why

compact sedge
#

but it only runs at the start?

#

So it just makes the loading screen take 1.7 seconds longer?

rain cedar
#

It just runs when you click the start button yeah

#

No, this is asynchronous

#

Ish

compact sedge
#

maybe you could just add a fake loading screen for 1.7 seconds to hide any lag if it really matters

rain cedar
#

Or just run it in tiny bits over a period of 1.7 seconds to hide lag

#

AKA what I'm doing

compact sedge
#

well if it runs in tiny periods over 1.7 seconds how long would it take if it ran all at once?

rain cedar
#

Probably like half that

#

Which is fine

#

But you have to take into account worse computers here

compact sedge
#

spawn a separate thread?

#

so the main game thread still runs in the background

#

idk how to do that in c#

rain cedar
#

Coroutines are essentially Unity's way of faking threads

compact sedge
#

Unity doesn't have real threads?

rain cedar
#

Not on this version that I'm aware of

#

You could probably start normal C# threading

#

But there's no helpers for it

compact sedge
#

Well the C# standard library is pretty comprehensive

compact sedge
#

Anyway I'm interested in getting my mod into the google drive so more people can find it. If I make a zip that looks like all the other zips in there would you accept it?

rain cedar
#

Sure

compact sedge
rain cedar
#

Alright I put it on the drive

compact sedge
#

thanks :)

copper nacelle
#

wow i love it when ilrepack doesn't let you target .net 3.5

rain cedar
#

To be fair .net 3.5 is 16 years old

copper nacelle
#

yeah

rain cedar
#

Oh

compact sedge
#

that's odd

#

why exclude that one version? .net 3.5 is pretty common.

rain cedar
#

Oh wait 3.5 is 7 years old

#

Google gave me the initial .net release date when I looked it up for 3.5

#

Thanks google

compact sedge
#

I remember a lot of people using it in windows 7

copper nacelle
#

that's for ilmerge

#

but ilrepack does the same thing

rain cedar
#

Guess we can't use those

copper nacelle
#

wtf

#

it can do runtime .net 3.5

#

you just can't make it do it

#

cause when i merge it into assembly-csharp it keeps it at 3.5

#

ree

compact sedge
#

so it does 3.5 by default and you use the target to set other versions?

copper nacelle
#

I'd assume it does whatever assembly is the primary assembly's runtime

#

gonna see if any of the mono dlls are 3.5

#

cause I'm pretty sure merge order doesn't really matter in this case

#

tf

#

the hooks file is 3.5

#

the main one

#

uhh

#

idk why the other one was 4

#

wait

#

wtf

#

ah

#

wait what

#

idk why it wasn't working

#

cause it just worked for me on .net 3.5

#

and this has a ref to the old hooks

#

¯_(ツ)_/¯

pearl sentinel
#

Sean, any suggestions on what modcommon could provide for you to make your modding life easier?

#

Going to bed, but will check responses in the am

floral furnace
#
main(){
HeroController hc;
}

HeroController{
private NailSlash slashComponent;
}

NailSlash{
private bool fury;
}

So i wanna change slashComponents attributes, so I tried using Reflection
but i cant just go:
NailSlash ns = HeroController.slashComponent;
because slashComponent is private,
so how do i place all of slashComponents property inside ns? (I tried using field info, well i am getting the info its just that i still cant access the values)

Do i use PropertyInfo class instead?

flat forum
#

What do ypu want to do with the nail?

floral furnace
#

just activate fury boolean, which should give me the fury of the fallen's red nail slash effect

flat forum
#

Mhm

floral furnace
#
FieldInfo field;
Type typeInfo = typeof(HeroController);
field = typeInfo.GetField("slashComponent",BindingFlags.NonPublic | BindingFlags.Instance);

I tried doing this and it seems to be correct
field.GetType(); returns a "NailSlash" which is correct

flat forum
#

Are you sure it's there?

floral furnace
#

but i want to get the values of slashComponent, and place them inside a new instance, named NailSlash ns, so i can change whatever i want with the ns.putmethodhereetcetc()

#

yeah im sure its there

flat forum
#

Well I dunno, I can't help you here

#

I'm not a modder

#

Just

#

Interested in this

#

Sorry

floral furnace
#

well same tbh, i got most of the stuff in my mod working but saying "i still have a lot to learn" is a massive understatement

compact sedge
#

someone explain this to me.

#

How can god be real if bugs like this exist. Checkmate christains

#

how can satan not be real if bugs like this exist. Checkmate atheists

compact sedge
#

anyway I patched it.

solemn rivet
#

@floral furnace there are a few bools you have to say to get the fury effect

#

Iirc, you can check the bossrush source to see exactly what they are

floral furnace
#

ok ok thanks, ill go ahead and check boss rush's code

solemn rivet
#

Actually you can just manually set it, but I'm on mobile rn so can't send you the code

floral furnace
#

couldnt i just modify it straight? if it werent for the fact its private?

#

or is there a hook with a nail.... slash object

#

wait there is isnt there?

#

no no wait im mistaken, sorry

solemn rivet
#

Well, it's actually controlled by an fsm

#

I don't think the slashcomponent controls the fury effect

floral furnace
#

slashComponent is of type NailSlash, which has the boolean "fury", which i assume would be that one?

solemn rivet
#

Oh sure, what you have to do then is go into HeroController and find all fields of type Slashcomponent

#

And then set their fury properties to true

floral furnace
#

oh wait so i have to do it for ALL the ones with NailSlash?

solemn rivet
#

Well, yeah

floral furnace
#

considering its slashComponent, slashUp, slashDown etc etc

solemn rivet
#

Yup

#

Or

floral furnace
#

hmmm, i assumed slashComponent would be the one who handles everything

solemn rivet
#

You can just grab the fury fsm and send the "HERO DAMAGED" event

floral furnace
#

well i dont know anything about fsm so...., i heard you guys use a tool for that?

#

to view fsms i mean

solemn rivet
#

You don't really need that for this, imo

floral furnace
#

Oh is that so, alright

#

Any good mods for reference which should start me with this? all know right now is mostly using hooks

solemn rivet
#

Hmm

#

Well, berserk has a lot of this

#

But I still haven't pushed it

#

You could always dnspy it tho

floral furnace
#

I was thinking lightbringer, but thats kinda outdated tho

solemn rivet
#

Lightbringer is different

floral furnace
#

alright ill try starting reading up on FSMs and how HK uses it, thanks again

solemn rivet
#

Sorry I can't be of much help today

#

I'll be afk the whole day again

floral furnace
#

np man, again huge thanks again for being responsive regardless

flat forum
#

Gradow is very nice and helpful

rain cedar
#

@floral furnace Gradow is wrong, you only need to worry about slashComponent. There are several NailSlash objects in HeroController, but slashComponent is a general purpose reference to the one that is currently being used

#

@pearl sentinel A way to run/stop coroutines easily without having to handle a MonoBehaviour in the mod would be pretty nice

pearl sentinel
#

Oh, that's there

rain cedar
#

Shows what I know, then

pearl sentinel
#

Though it's probably a bit feature incomplete since I haven't had enough use cases

#

But it's the Contractor class

#

It's actually something I'll be refactoring into what I'm gonna call SmartRoutines within the next month, probably as part of a project at work

rain cedar
#

Cool

wintry ore
#

mm randomizer mod is working and i think this is a pretty good seed

compact sedge
#

what's the advantage of getting dreamnail that early on

wintry ore
#

its the mantis claw really,

compact sedge
#

oh nice, question though what happens if you dreamnail enemies taht aren't supposed to be like hornet 1

wintry ore
#

but then again, collecting essence early on helps, and ill send you what i find!

#

but im most definitely getting that mantis claw

rain cedar
#

Is that the most up to date version?

#

Shouldn't be possible to see claw and dream nail in one shop

pearl sentinel
#

Maybe add randomizer version showing up during shop windows and when getting items?

compact sedge
#

Can't the user press escape and get the version?

rain cedar
#

Yes

#

Just more convenient for me if it's shown more is all

compact sedge
#

replace all textures with the version number text

copper nacelle
#

all the text too

leaden hedge
#

replace all integers in the binary, assembly-csharp and memory instantly after loading with the version number

rain cedar
#

But the version syntax I'm using has letters in it

leaden hedge
#

just do Int.Parse

rain cedar
#

Great idea

leaden hedge
#

i've got a better idea

int versionNumber = 0
foreach( char c in versionString ){
    versionNumber *= 256;
        versionNumber += (int) c;
}
rain cedar
#

I'm actually doing basically exactly that for something in the old randomizer

#

Amazing code

leaden hedge
#

that is some quality code

rain cedar
#

Hey it works

#

It gets a unique seed for every scene

#

Probably

leaden hedge
#

i think sceneName_12 would be the same as sceneName_21

pearl sentinel
#

For enemy randomizer room mode I just did player seed + scene name string to hash for each scene

copper nacelle
fair rampart
#

heyo

compact sedge
#

there's only 1 balloon attack but there's 3 set balloon attacks

copper nacelle
#

i meant like he does balloon thrice

compact sedge
#

they set a varaible to say that the balloon attack has been done

#

also balloon 2 sets another one to change the scene

#

to make it more firey and cool.

fair rampart
#

can i ask someone a question? if i install a mod, what will happen to my non-modded save file?

copper nacelle
#

nothing unless the mod changes some vars

compact sedge
#

it'll still be there

#

The mod could mess with the save but generally it shouldn't be a problem I don't think

#

depends on the mod though

copper nacelle
#

blackmoth 1 damage nail

fair rampart
#

the mod lightbringer, for instance?

copper nacelle
#

yeah that would

#

but also lifeblood

fair rampart
#

lifeblood?

compact sedge
#

lifeblood is hollow knight version 1.3 and up

fair rampart
#

so if i have that version, lightbringer is a bad idea

copper nacelle
#

lifebringer doesn't work 1.3 and up

exotic venture
#

lightbringer is dead on lifeblood

fair rampart
#

oh

#

well

#

xd

#

do you guys know any good mods that won't affect my save files?

copper nacelle
#

infinitegrimm

#

make sure to enable hard mode for big fun

compact sedge
#

I don't think mantis gods does either and that's pretty fun

copper nacelle
#

reee no

#

i'm buffing it rn

compact sedge
#

but if you've already fought them I don't think you can.

copper nacelle
#

also adding rechallenge rn

compact sedge
#

ok

copper nacelle
#

but yeah it doesn't change anything

compact sedge
#

fine I won't recommend your mod

#

ugh

fair rampart
#

if i already beat nkg

#

does the mod still work

copper nacelle
#

then you can still do infinitegrimm

#

yeah

compact sedge
#

you need to kill regular nkg to do the mod

#

otherwise you wouldn't be able to get the 4th level grimmchild

copper nacelle
#

wait nvm it's an fsm

#

self-descriptive

fair rampart
#

@compact sedge i already did

copper nacelle
#

then go play

#

also enable hard mode or ban

compact sedge
#

(or be like me and don't)

fair rampart
#

xd

copper nacelle
#

hard mode is fun reee

compact sedge
#

I can only get to like 3.5kish on hardmode

copper nacelle
#

i can't beat mantis gods anymore

#

please help

fair rampart
#

oh wait

compact sedge
#

my record for normal mode is 8.9k but that's with a bad loadout so I wanna try it again

fair rampart
#

infinitegrimm is literally infinite

copper nacelle
#

big fun

compact sedge
#

yes

fair rampart
#

does he get increasingly hard?

copper nacelle
#

yeah

#

has a cap

compact sedge
#

sorta

#

there's a speed cap but it's after like 12k on normal 8k on hardmode, but not a cap on the hits needed to stagger

#

that goes up forever

copper nacelle
#

neat

#

wow i love it when discord copies the wrong thing

compact sedge
#

uh

fair rampart
#

i know i sound like a noob, but, what does stagger mean?

fair rampart
#

i still dont understand it

compact sedge
#

it's when it goes into the bats form

copper nacelle
#

stagger is when he turns into a bat and flies around

compact sedge
#

and gives you time to heal

#

on hardmode I think you can only heal during stagger

#

even with unn

#

(at least at the max speed)

copper nacelle
#

yeah at max speed i don't think you could

compact sedge
#

that video is max speed btw

fair rampart
#

are you sure this wont ruin my save file?

compact sedge
#

I promise

copper nacelle
#

it won't

compact sedge
#

if it does please report a bug

copper nacelle
#

also backup first anyways imo

#

having backups is always a good thing

fair rampart
#

how do i backup a hollow knight file?

copper nacelle
#

and crossroads literally has a button to do it

compact sedge
#

just copy it

copper nacelle
#

^

compact sedge
#

or if you're using crossroads click the backup saves button

copper nacelle
#

is infinitegrimm in modlinks?

compact sedge
#

yes but not the absolute latest version and also it's not in the discord text post about it

#

well it's in the drive at least

copper nacelle
#

maybe i'm blind but i can't see it

compact sedge
copper nacelle
#

b o i

#

that's not modlinks

#

modlinks.xml is modlinks

compact sedge
#

oh you mean the xml

copper nacelle
#

yeah

compact sedge
#

no its not there

copper nacelle
#

that's what makes stuff show up in the installers

compact sedge
#

rip

copper nacelle
#

i could add it rn if you want

compact sedge
#

while you're in the drive you could also update the mod zip?

#

this is the newest one

#

(discord gets rid of brackets in file names sorry)

copper nacelle
#

ok updated

compact sedge
#

thanks :)

fair rampart
#

is blackmoth good?

copper nacelle
#

yeah

#

make a new save tho

compact sedge
#

blackmoth is fun

fair rampart
#

i saw blackmoth changes title screen, so will that affect already existing saves?

compact sedge
#

no changing the title screen doesn't mean anything really

#

will it affect existing saves

#

I wouldn't risk it

copper nacelle
#

yes

#

it does

#

iirc

#

only if you load them tho

#

so just make a new save and don't load old ones ez

fair rampart
#

ez except i tend to forget shit like that

copper nacelle
#

just backup your saves big think

fair rampart
#

"backup game files" inside the properties of hollow knight inside steam, is that useful?

copper nacelle
#

what

#

backup %APPDATA%\..\LocalLow\Team Cherry\Hollow Knight\

fair rampart
#

yeah, thing is, i cant fucking find my game cause i saved it somewhere else

copper nacelle
#

saves aren't moved

#

when you move the game

compact sedge
#

and backing up game files does not back up any of your saves either

#

like using the steam backup I mean

copper nacelle
#

literally just zip the folder %APPDATA%\..\LocalLow\Team Cherry\Hollow Knight\

#

amazing

fair rampart
#

inside there i have

copper nacelle
#

user1.dat, user2.dat, user3.dat, user4.dat

fair rampart
#

user1.dat, user1.dat.bak

copper nacelle
#

literally just copy paste the entire folder

#

like go out of the folder into the team cherry folder

compact sedge
#

copy user1.dat or just copy paste the entire folder

copper nacelle
#

and copy paste Hollow Knight

#

ez

fair rampart
#

and what is that .bak thing?

copper nacelle
#

save backup

compact sedge
#

it's a backup file made by the game itself

#

but it's not a real backup

#

don't rely on it for modding

#

it's for if your save gets corrupted if your game crashes while saving or something

#

or if you're a save scumming cheater in steel soul

fair rampart
#

i made a copy of the folder, if my real save file gets fucked, i rename the copy then?

compact sedge
#

yes you can just delete the Hollow Knight folder and rename that copy to Hollow Knight

copper nacelle
#

^

fair rampart
#

huh

#

thank you

copper nacelle
#

@compact sedge added to modlinks

compact sedge
#

awesome!

copper nacelle
#

so it's in the installers now

compact sedge
#

so uh kurokey your best bet is to use crossroads

#

which is a program that is in the pinned messages

#

and install any mods you want from that

floral furnace
#

dunno how unbalanced its gonna but i dont it should to too bad

#

should still do the fury of the fallen nail effect tho

copper nacelle
#

what's 3

floral furnace
#

uhh what 3

#

unless youre talking to angle then disregard what i just said

copper nacelle
floral furnace
#

oh yeah

#

its the damage per hit

fair rampart
#

You know, the 3

floral furnace
#

should be that

#

i should get rid of the debug imo

copper nacelle
#

uhh

#

the game crashed

floral furnace
#

lol what

#

can you give me the cause or somethin?

#

or are you just doing it with mantis gods

copper nacelle
#

this is w/ mantis gods, qol, hooks, and rage mod

#

wasn't crashing before tho

floral furnace
#

hmmm

copper nacelle
#

i can double check if you want

floral furnace
#

yeah that would be great

copper nacelle
#

idek what i was doing

#

just walking through crossroads

floral furnace
#

weird, did a run from start to hornet, didnt seem to crash, but i should recheck it

compact sedge
#

does modcommon add any music?

copper nacelle
#

no crash now

#

do you take 2 damage while in rage mode?

floral furnace
#

yes

#

also meter resets when you get hit

copper nacelle
#

yeah noticed that

floral furnace
#

your attack speed should be very fast during it

#

tho not sure if its excessive for now

copper nacelle
compact sedge
#

ragemode + joni's blessing

floral furnace
#

should fix that

compact sedge
#

trynottolose challenge

copper nacelle
#

can you sustain rage by attacking during it?

floral furnace
#

you get 5% increase yes

copper nacelle
#

gonna try doing infinitegrimm with this

floral furnace
#

was suggested to me by gradow

fair rampart
#

im assuming mantis gods makes the mantis lords harder?

floral furnace
#

"harder" is an understatement

copper nacelle
#

still buffing it more tbh

#

dash was way too slow

#

now it's pretty nice

#

@compact sedge grimm gave me grimmchild after he told my how much damage i did

#

and did the dialogue he does the first time i think

compact sedge
#

so he said 1600 damage?

#

or some other number

#

lol

copper nacelle
#

yeah

#

then he said

#

well met my friend

#

etc etc

compact sedge
#

also followup question is this after using the debug mod to refight grimm?

copper nacelle
#

and gave me grimmchild

#

no debug mod

#

just infinite grimm and rage mod

compact sedge
#

welp I need to fix that thanks for telling me

#

it shouldn't be tracking damage at all

copper nacelle
#

?

#

i thought the damage dialogue was a new thing

compact sedge
#

if you haven't killed nkg regularly to get the child then it shouldn't be tracking damage at all

copper nacelle
#

i have

#

this is the 107 save you provided

#

i can make a vid real fast

compact sedge
#

ok thanks that'd be helpful

#

I mean after you get respawned back it's supposed to give you the grimmchild but then the grimmchild is supposed to turn invisible and have all sound removed if you aren't supposed to have it so if that's not happening then it's a bug

copper nacelle
#

ok made video

#

uploading rn

#

also grimm's first dialogue makes you stop moving kinda

#

lets you do superdash storage i think

compact sedge
copper nacelle
#

it doesn't stick you

#

you keep superdash

compact sedge
#

oh wait

#

ok

#

weird

copper nacelle
#

and you can like walk with it

compact sedge
#

lol

copper nacelle
#

like rocket jump

compact sedge
#

nice

copper nacelle
#

if you've seen that

#

if you're holding right that is

compact sedge
#

I'll fix it

copper nacelle
#

if you're not it just stops you mid cdash

#

when he teles out

compact sedge
#

ok

#

thanks

copper nacelle
compact sedge
#

amazing

#

not particularly useful in the tent but I'll fix it anyway

rain cedar
#

You can't do rocket jump on current patch

copper nacelle
#

o

compact sedge
#

but yeah send that video when it's done so I can add it to the issues list

copper nacelle
#

2 min left on processing

compact sedge
#

thanks u tub

copper nacelle
compact sedge
#

lolllll

#

does it happen every timne

copper nacelle
#

yeah

#

if you cdash

compact sedge
#

oh

#

did you have to do any inputs at the end or just at the start

copper nacelle
#

i just held left

#

while cdashing

#

idk if it made a difference

compact sedge
#

no but I mean after you died

copper nacelle
#

jump/attack

#

to cycle through dialogue

compact sedge
#

ok so nothing special then

#

tbh I don't quite know how storage works but I can try to patch it

#

if it requires doing it to get the bug it's less big of an issue

#

Here I thought you found some giant oversight that I missed

#

but it's more like a small oversight that team cherry missed that affects my mod

copper nacelle
#

the dialogue after you die?

compact sedge
#

the extra dialogue that only happens after doing storage

#

I'll leave you to guess how to trigger this bug

#

for extra hard mode

#

(I just fixed it in 2 lines but it's still in the drive version)

copper nacelle
#

die at the same time you hit grimm

#

idk

compact sedge
#

no it's dumber and easier to trigger than that

#

I just pushed the fix to github though

#

and I'm gonna spend the next 30 minutes trying to fix storage

#

and then I'll make a binary for you to try

copper nacelle
#

wait

#

lemme check if you have to do the cdash thing for the dialogue

compact sedge
#

probably but not promises

copper nacelle
#

ok literally just walked over

#

waiting for myself to die

#

and dead

compact sedge
#

ok I'll add an issue

floral furnace
#

if i wanna check if the player quits to the main menu, am i gonna have to use MonoBehavior?

compact sedge
#

lol it only happens in hardmode

copper nacelle
#

this is why you do hardmode

pulsar herald
#

#debugmod anyone?

#

.....................no?...............ok

compact sedge
#

ok think I fixed it but I'm gonna test it first

#

because I'm not sure how to test that

copper nacelle
#

cdash while in hard mode and hold right

compact sedge
#

ok

copper nacelle
#

yeah it still happens

#

the cdash thing

compact sedge
#

oh huh thanks

#

that is a thing you can do with cdash

#

well I fixed the other bug

copper nacelle
#

you fixed the dialogue tho

#

yea

floral furnace
#

does herocontroller.instance get destroyed on exit to menu?

fair rampart
#

56 out of curiosity, what charms were you using?

copper nacelle
#

soul eater, soul catcher, shaman, spell twister

#

iirc

compact sedge
#

dank loadout, basically the opposite of what I run though

#

I'm so bad with spells

copper nacelle
#

i finally got the 3 hit down slash thing down during that fight

#

hadn't done it before that fight

#

and now i can do it like half the time

compact sedge
#

I fixed storage but now the knight looks stupid while dashing

copper nacelle
#

imo storage isn't even a problem

#

it's neat

compact sedge
copper nacelle
#

lmao

compact sedge
#

It's a needed fix though because without it your character gets paused

#

which isn't good

copper nacelle
#

hold right and continue walking for big meme

#

i can update the file on the gdrive if you have a dll

#

or a zip

compact sedge
#

let me compile a release and not debug build

copper nacelle
#

haha compiling release

#

absolutelynotmeirl

compact sedge
#

also idk should I fix the knight looking up?

#

Wait does it even matter on C#? Like does it optimize it differently?

copper nacelle
#

i don't think so

compact sedge
#

my binary is 3kb smaller if I build release

copper nacelle
#

you can do like #if debug #endif and stuff tho

#

o

#

¯_(ツ)_/¯

compact sedge
#

but weirdly it has debugging symbols on both builds

#

like it builds a separate symbols file

copper nacelle
#
Well, it depends on what language you are using, but in general they are 2 separate configurations, each with its own settings. By default, Debug includes debug information in the compiled files (allowing easy debugging) while Release usually has optimizations enabled.

As far as conditional compilation goes, they each define different symbols that can be checked in your program, but they are language-specific macros.
#

from stackoverflow

compact sedge
#

uh but the debug information is in a separate file

copper nacelle
#

¯_(ツ)_/¯

compact sedge
#

I think vs 2017 might have changed something

fair rampart
#

wtf

copper nacelle
#

?

fair rampart
#

spell build vs nkg

copper nacelle
#

is nice

floral furnace
#

Nail or Nothing imo /s

fair rampart
#

i could barely get a blast on him

copper nacelle
#

after dashing towards him with bats

fair rampart
#

even dive's i-frames still fucked me over

copper nacelle
#

after pillars

#

you can dive if you want when he does down slash thingy

#

but i prefer to just get soul

#

and if you dash away from the upslash you can hit him

#

fluke him (rip fluke)

fair rampart
#

he's pretty much dead now, but i found mark of pride + strength + womb to work for me

copper nacelle
#

i think you can shade soul too

compact sedge
#

stop deleting brackets discord

copper nacelle
#

updated

compact sedge
#

thanks, it also fixes a super important issue where grimm's stats will stack if you exit to main menu and reopen it

#

that was the super giant oversight

copper nacelle
#

o

#

i thought that

#

but then i thought that couldn't be it

compact sedge
#

I had a check for a boolean I was supposed to set after loading the mod

#

but I never actually set the boolean

#

🤦

copper nacelle
#

amazing

compact sedge
#

wait a second

#

shit I need to stop being so premature

#

completely bug free

#

or your money back

#

0 bugs

#

(keep telling yourself that, angle)

copper nacelle
#

🤔

#

and updated

compact sedge
#

sorry I'm gonna stop I'm making you do so much work for my own stupidity

copper nacelle
#

it's fine

#

only work is renaming the file

fair rampart
#

there's a boss rush mod?

copper nacelle
#

doesn't work on lifeblood

compact sedge
#

yeah

copper nacelle
#

won't be updated till gng

compact sedge
#

1.2 only

copper nacelle
#

cause gng might have it's own boss rush

#

and stuff

fair rampart
#

doubt it, but maybe

#

and any dates for gng or nah?

compact sedge
#

early 2018

copper nacelle
#

isn't that switch

compact sedge
#

hope that helps

#

idk I don't ahve a switch

#

Gods and Glory can be accessed at any point in your Hollow Knight journey. Prepare to ascend, Early 2018, free for all players!

#

from the January 30th announcement

#

maybe they're delaying it to remove all FSMs from the game

copper nacelle
#

o

#

iirc they said they were gonna use FSMs for enemy ai

#

but that might've been lifeblood changes

compact sedge
#

they already do

#

so

copper nacelle
#

*keep using

compact sedge
#

well I guess that makes sense for them, and I've found modding enemy AI FSMs not the hardest thing in the world

fair rampart
#

so is gng gonna be a big expansion or something like grimm troupe

copper nacelle
#

yeah

#

biggest expansion

compact sedge
#

grimm troupe was a pretty big expansion

#

it's not gonna be a small one like lifeblood

copper nacelle
#

hornet dlc > gng > tgt > hidden dreams > lifeblood

fair rampart
#

it was, but i mean big as in much more than a couple bosses and a few quests

compact sedge
#

tgt is like 6 hours of content if you're as bad at platforming as I am

fair rampart
#

it was around 4 for me

copper nacelle
#

PoP took me like 2

#

nkg took me idk

#

too long

fair rampart
#

but only cause i abused kingsoul to collect flames (i used blast to kill grimmkin)

compact sedge
#

they both took me about 2 hours plus an extra hour spent getting the flames

#

so I'd say 5 hours for me

fair rampart
#

oof

compact sedge
#

also I died on grimm 1 and that's really lame because grimm 1 is really easy

#

I felt really bad about it

fair rampart
#

troupe master grimm?

compact sedge
#

yeah

#

just the regular one

fair rampart
#

i died too lol

copper nacelle
#

i died a bunch to grimm1

fair rampart
#

he's not that easy

copper nacelle
#

on the bright side i suck way less now

compact sedge
#

I'm really good at the NKG fight compared to every other fight

#

but only because I've spent about 8 hours this week playing it

copper nacelle
#

i'm pretty good at grimm i think

#

after no hit hell mod and stuff

#

kdt actual god at grimm

compact sedge
#

I'm still bad at NKG compared to you or everyone else on this channel but compared to every other fight I am really good at grimm

exotic venture
#

kdt actual god more like

copper nacelle
#

darkroom nkg

exotic venture
#

probably could speedrun game on just audio cues

floral furnace
#

might as well rewrite this entire mod from scratch

compact sedge
#

rip

floral furnace
#

note to self: use components next time

compact sedge
#

I'm sure you can salvage parts of it at least... right??!

floral furnace
#

well it shouldnt take long at least

#

since ill know what im doing from that point

#

the ui stuff is the harder part tho

#

plus the entire source is spaghetti anyway

compact sedge
#

just make a component class

#

and copy the code into it

floral furnace
#

also you know how to check if the player goes to the menu?

#

or does awake and/or initialize take care of that

copper nacelle
#

wait

#

no stop

#

just add a component to the gamemanager

compact sedge
#

you add a function that does whatever you need to do when the player opens the menu and add that function to the modhooks.

copper nacelle
#

and check if it exists

#

actually could you just check if the gamemanager exists

#

or move the ui display to a component and have it stop showing itself on destroy

#

and leave the rest

floral furnace
#

yeah ill just try to recode it but with the ui stuff on the component

copper nacelle
#

isn't that literally just copy pasting the ui stuff

#

and leaving the rest

#

or just copy pasting the entire thing into a componeent and having it unhook and stop displaying

floral furnace
#

should be like this right

class1 : monobehavior{
}
class2  : mod{
    initialize(){
       GameManager.instance.GameObject.AddComponent<class1>;
     }
}
#

but the way i did the ui is trash

#

like, no joke, its trash

copper nacelle
#

yeah like that i think

#

but you add to the gamemanager aftersavegameload and newgame i think

#

or at least that's how I'm doing it

#

if you wanna see

floral furnace
#

basically i did it like this

if (!rageModActive && TransitionContainsWaiting())
                {
                    text.color = new Color(0.753f, 0.753f, 0.75f, 1f);
                    text.text = "RAGE : " + (int)rageBuildUpPercent + "%";
                }
copper nacelle
#

753

floral furnace
#

its the silver color iirc, and wow i just noticed that

#

oh ok if im understanding this correctly, GameManager is created and destroyed up loading the save file/exiting to main menu

#

cuz earlier i tried doing the same for HeroController.instance, where i checked if it existed or not
well whatever im just gonna attempt redoing all of these when my finals arent trying to kill me

copper nacelle
#

yeah you're right i think

#

gl on the finals

compact sedge
#

my normal mode record. Gonna switch to hardmode and see if I can outdo 56 now.

copper nacelle
#

wait no that was a bad fight

#

reeeee

hollow pier
#

what is this mod

copper nacelle
#

infinite grimm

#

it's really fun

hollow pier
#

ax2u could get double that with nail-1 only

copper nacelle
#

lmao

compact sedge
#

nice

#

I'd believe it

#

actually wait if normal NKG has 1600 hp and took 40 minutes to beat with nail -1

#

this would take what, like 5 hours to reach?

copper nacelle
#

less because of the stagger stuff

iron crown
#

Tbh hit Grimm until he gets bored and leaves

hollow pier
#

the true god run is darkmod + nail-1 only

#

on ngg

compact sedge
#

by the time you get to 12000 damage it takes like 48 hits to stagger

copper nacelle
#

wtf

#

why is there a damage hero fsm

#

a damage thing on the healthmanager

#

a setherodamage thing

#

and a damageshero thing

#

what the fuck

floral furnace
#

outdated stuff that werent removed or...

compact sedge
#

tfw you get rid of an fsm to replace it with an object... containing 2 fsms

copper nacelle
#

health manager is new tho

#

and the add damage thing didn't work

#

oh the apply extra damage thing

#

literally just does damage to it

floral furnace
#

directly so

#

instead of adding it to the nail

copper nacelle
#

you can use damageoverride to make everything do 1 damage

#

big meme

floral furnace
#

i smell shitmodst 2

copper nacelle
compact sedge
#

use damageoverride to make every other attack heal you for whatever it was supposed to do in damage

#

Wait what is SendEvent

#

and how does it differ from SetState

copper nacelle
#

setstate sets the state i'd assume

compact sedge
#

ok but what is an event

copper nacelle
#

and event sends an event

compact sedge
#

are events the things that control transitions?

#

like on FINISHED goto State X

copper nacelle
#

idk about that

compact sedge
#

and FINISHED is the name of the event

#

or on LANDING goto StartBossfight

#

for when bosses make your character stop

copper nacelle
#

i think so

#

esp considering the stuff is called

#

SendRandomEvent and such

rain cedar
#

Yeah that's what those are

compact sedge
#

thanks

#

so does SendEvent do anything if your current state doesn't have a way to handle that event?

#

but like other similar states do, just none you are currently in

rain cedar
#

Nah it won't do anything if it's invalid

copper nacelle
#

should i make the mantis lord shots faster

rain cedar
#

Go for it

copper nacelle
#

cool

hollow pier
#

wtf is this polishing a mod instead of making 2 more shitty mods smh my head

compact sedge
#

wait am I supposed to be making 2 more shitty mods

copper nacelle
#

no i am

rain cedar
#

Shitmodst 3

compact sedge
#

ok good because I already ran out of ideas for mods

#

I had one thing I wanted to do and I made it happen

copper nacelle
#

buff nail arts

compact sedge
#

oh this is shitmodst

copper nacelle
#

what

compact sedge
#

do *= 100

copper nacelle
#

no this is mantis gods

#

their shots

compact sedge
#

100 times faster

copper nacelle
#

lmao

#

watch this throw a null ref

rain cedar
#

It would be interesting to see if the shots even followed the proper trajectory at that speed

#

Especially at low fps

copper nacelle
#

oh yeah

#

why is the dash a nice component

#

but nothing else

rain cedar
#

Mantis lords dash is a component?

copper nacelle
#

it was a transform

rain cedar
#

I see

#

Do GetComponentsInChildren<Transform>(true)

#

See if any more attacks pop up

#

Actually just look for DamageHero directly

#

Makes more sense

copper nacelle
#

ok

#
[INFO]:[Mantis Gods]: Damage Hero: Hollow Shade(Clone)
[INFO]:[Mantis Gods]: Damage Hero: Mantis Flyer Child (1)
[INFO]:[Mantis Gods]: Damage Hero: Mantis Flyer Child
[INFO]:[Mantis Gods]: Damage Hero: Cave Spikes (7)
[INFO]:[Mantis Gods]: Damage Hero: Deep Spikes (1)
[INFO]:[Mantis Gods]: Damage Hero: Cave Spikes (2)
[INFO]:[Mantis Gods]: Damage Hero: Cave Spikes (12)
[INFO]:[Mantis Gods]: Damage Hero: Mantis (2)
[INFO]:[Mantis Gods]: Damage Hero: Head Box
[INFO]:[Mantis Gods]: Damage Hero: Cave Spikes (4)
[INFO]:[Mantis Gods]: Damage Hero: Cave Spikes
[INFO]:[Mantis Gods]: Damage Hero: Cave Spikes (10)
[INFO]:[Mantis Gods]: Damage Hero: Head Box
[INFO]:[Mantis Gods]: Damage Hero: Mantis Flyer Child (2)
[INFO]:[Mantis Gods]: Damage Hero: Cave Spikes (5)
[INFO]:[Mantis Gods]: Damage Hero: Deep Spikes (2)
[INFO]:[Mantis Gods]: Damage Hero: Deep Spikes (2)
[INFO]:[Mantis Gods]: Damage Hero: Deep Spikes (3)
[INFO]:[Mantis Gods]: Damage Hero: Cave Spikes (3)
[INFO]:[Mantis Gods]: Damage Hero: Cave Spikes (6)
[INFO]:[Mantis Gods]: Damage Hero: Deep Spikes
[INFO]:[Mantis Gods]: Damage Hero: Deep Spikes
[INFO]:[Mantis Gods]: Damage Hero: Cave Spikes (8)
[INFO]:[Mantis Gods]: Damage Hero: Mantis Flyer Child (3)
[INFO]:[Mantis Gods]: Damage Hero: Mantis
[INFO]:[Mantis Gods]: Damage Hero: Cave Spikes (1)
[INFO]:[Mantis Gods]: Damage Hero: Cave Spikes (9)
[INFO]:[Mantis Gods]: Damage Hero: Mantis (1)
[INFO]:[Mantis Gods]: Damage Hero: Cave Spikes (11)
[INFO]:[Mantis Gods]: Damage Hero: Head Box
rain cedar
#

Oh you're looking in the entire scene?

#

Or is that all on the mantis lords?

#

Some of that makes no sense to be on them

copper nacelle
#

scene

#

oh

#

wait

#

i misread that

#

i did lord.GetComponentsInChildren<DamageHero>

#

and all i got was 2 of "Mantis Lord"

rain cedar
#

Sounds useful

copper nacelle
#

yea

#

i was using that one already

#

kerr scene dump op

#

what's strange is that I haven't seen any component or object for the lance attack

#

in the dump

#

but it has an fsm

#

idk what i did but something's broke

#

they disappear into the abyss for a sec before attacking on second phase

#

wow i was right

#

ok idk when i made the dash 2 damage

#

but it's 2 damage

#

works for me i guess

#

wtf i had a weird thing where phase 2 lords would stay off screen for a year after doing an attack

#

and it was caused by the nres

supple sigil
#

.

copper nacelle
#

.

compact sedge
copper nacelle
#

ah

#

gonna try and beat that

#

brb

compact sedge
#

and I have the whole thing on video too

copper nacelle
#

also log damage on hit when

compact sedge
#

every hit

flat forum
#

what's the text for 15k+ hard mode?

copper nacelle
#

try and find out

compact sedge
#

good luck

copper nacelle
#

or just check github

flat forum
#

I can't

compact sedge
#

I guess you could look at the code

copper nacelle
#

why

flat forum
#

because I am not god himself

#

nor some other deity

copper nacelle
#

boi

#

try

flat forum
#

iob

copper nacelle
#

git gud

flat forum
#

Ok .-.)

copper nacelle
#

ok gonna try and get a decent score now

flat forum
#

( ._.)b

copper nacelle
#

gotta at least beat avenging

flat forum
#

you need 5k on hard mode

copper nacelle
#

works for me

#

i did like 3k when i was trying to abuse rage mode and instead took like 8 damage

flat forum
#

is it still activated when you edit something?

#

one of the files

copper nacelle
#

wdym

flat forum
#

I asked last time and AA said something like "go to XXX.json and edit HardMode=On"

compact sedge
#

yeah

flat forum
#

(not exactly that, but close enough)

compact sedge
#

you'll know it's enabled because grimm won't talk to you

copper nacelle
#

uhh

#

wtf

compact sedge
#

huh

copper nacelle
#

oh infinitegrimm didn't install properly

#

closed the window right before it copied it

compact sedge
#

rip

copper nacelle
#

should i listen to nkg's music

#

or some other random music

flat forum
#

yes

copper nacelle
#

thanks very helpful

compact sedge
#

listen to the original grimm ost

#

it's better

flat forum
#

find some brutal death metal

#

to help you stay calm during tough times

copper nacelle
copper nacelle
#

i had such a bad start that i killed myself

compact sedge
#

that sucks

copper nacelle
#

like on purpose

#

but it was like 1min anyway

#

so nbd

flat forum
#

what did I have to edit where?

compact sedge
#

if you're starting out you get more staggers so you can make a bigger comeback. Taking damage is a lot worse towards the end

copper nacelle
#

InfiniteGrimmMod.GlobalSettings.json

compact sedge
#

located with your save files

copper nacelle
#

there's a boolvalues section

flat forum
#

save files, not in the Steam Folder

copper nacelle
#

yeah save files

#

in the boolvalues section

#

just change the false to true

#

if it's already true you're good

flat forum
#

K

copper nacelle
#

wow big depresso

#

4306

#

bug maybe?

#

it shows that I have grimmchild after quitting out, changing charms, then going back into the tent

#

like he flies next to me

#

but I don't have the charm on

#

doesn't show inside the dream tho

#

and after dying it didn't show my damage

#

nor did it log it

compact sedge
#

the mod is supposed to trick the game but it actually tricked itself

#

huh I'm seeing this

copper nacelle
#

lmao

compact sedge
#

the lack of damage is because the mod crashed btw

#

because you didn't actually have grimmchild

#

well not crash

#

but you know

#

it segfaulted but segfaulting doesn't actually happen in unity for some reason

copper nacelle
#

o

compact sedge
#

yeah

#

as soon as it's supposed to, it just stops executing whatever function you are in

#

and this is why because game engines have lots of failsafes

copper nacelle
#

makes sense

compact sedge
#

anyway I'm looking into fixing it and also testing the scope/extent of the bug

copper nacelle
#

cool

compact sedge
#

Ok I know the problem and fix. it's technically a regression caused by me fixing the mod loading multiple times every time you enter a game, but the fix is straightforward enough. Before I do anything I'm expecting weird behavior from exiting to main menu while in the grimm fight so I'm gonna test that first and probably have a patch out in the next hour or so.

copper nacelle
compact sedge
#

nope no problems with the fight itself because I don't set any variables that matter there. just the tent

copper nacelle
#

what about changing the speed tho

compact sedge
#

that's all set on scene load

#

the problem is I had stuff set on Init, but what I had set there got cleared

#

when I quit to main menu

#

for some reason