#archived-modding-development

1 messages ยท Page 142 of 1

copper nacelle
#

o

#

ty

#

would you patch them like that too? (set_x and get_x)

bronze temple
#

yes, but you can also patch it like a normal property

#

the quirk with properties is that the orig_ gets prepended before the name of the method

#

you _could _ use something like this though:

#
        [MonoModRemove] // And pray that it doesn't delete the orig_ methods.
        public extern bool orig_x { get; set; }
        public bool x {
            [MonoModOriginalName("get_orig_x")] get;
            [MonoModOriginalName("set_orig_x")] set;
        }
#

@copper nacelle

#

The MonoModRemove is required to get rid of the wrapping property definition

copper nacelle
#

would doing

[MonoModReplace]
public bool get_x();
[MonoModReplace]
public void set_x(bool y);

be better or worse

bronze temple
#

which might cause issues with reflection later on

#

MonoModReplace gets rid of the orig_ methods entirely

copper nacelle
#

o

flat forum
#

Hey

#

My friend got the Universal API and the Gradow & Niko + KDT HPBars

#

But the HP bars don't appear

#

So, probably there's either a problem with the mod itself, as I remember it not working and before

young walrus
#

modcommon

flat forum
#

Did it require Modcommon?

young walrus
#

yes

flat forum
#

Ok

#

I forgoy

copper nacelle
#

forgoy

lyric wedge
#

forgoy

leaden hedge
#

forgay

compact sedge
#

four goy

flat steppe
#

Four gay

fair rampart
#

YO I STILL NEED TO GET THE LIGHT BRINGER MOD OFF caps

high quarry
#

Hi guys where can i download a mod for the latest version.

#

sorry should have asked in the "modding-help"

tranquil glen
#
{
     orig(self);
     foreach (FsmState state in self.states)
     {
          foreach (FsmStateAction action in state.actions)
          {
                if (action is SetPlayerDataBool setBool && setBool.boolName == "crossroadsInfected")
                {
                      Log(self.FsmName + " " + self.gameObject.name + " " + GameManager.instance.GetSceneNameString());
                }
          }
     }
}```
#

sean where do i put this zote

copper nacelle
#

Initialize of a mod

tranquil glen
#

wait do i have to like directly add that to the assemblycsharp.dll

copper nacelle
#

playmaker

#

I think

leaden hedge
#

its in a mod

compact sedge
#

Hey 753, would you agree that all of 56's mods are better than yours?

buoyant obsidian
#

only Lightbringer

compact sedge
#

yeah Lightbringer's my favorite 56 mod

copper nacelle
#

re

compact sedge
#

btw if not it's ok but I'd still like ur help figuring out why soul tyrant's shit resets.

copper nacelle
#

yeah sure

tranquil glen
#

how do i open a dll file zote

#

I have dnspy installed i think

#

is that something i need

copper nacelle
#

yes

#

open dnspy

tranquil glen
#

wait do i open the sln with visual studio?

copper nacelle
#

what

tranquil glen
#

man

#

idk

copper nacelle
#

you can either do that using like a modding api

#

but that doesn't exist on your patch

#

so you can just add it to the method

tranquil glen
#

56 i have no idea how to do anything

#

i hope you understand that

copper nacelle
#

yes

tranquil glen
#

how do i open dnspy there's no exe

copper nacelle
#

ok so

#

you downloaded the repo

#

and not actual dnspy

compact sedge
#

btw it's a zip bomb so make a folder for it before you extract the zip

#

or it will dump its files all over your downloads folder

#

wait no zip bombs a different thing

#

I'm thinking of tar bomb but for zip files

copper nacelle
#

zip bombs extract until you run out of space

#

this isn't that

tranquil glen
#

I understand what you meant

#

hey this one has an exe

copper nacelle
#

yea

compact sedge
#

yeah that's why I said zip bombs are a different hting

tranquil glen
#

and i'm putting it in playmaker?

#

and i'm putting it in playmaker?

rain cedar
#

You need to run it in a mod with a reference to modcommon

#

Or just mod PlayMaker directly if that's what you're into

tranquil glen
#

well i don't have a mod to use it in

leaden hedge
#

zip bombs don't work

#

it was to do with anti-viruses being well coded

compact sedge
#

no I meant tar bombs but with a zip file instead of a tar file

#

also most likely with zip bombs it's probably just 7zip or whatever crashes

#

from running out of ram

leaden hedge
#

well a zip bomb is just a zip file, then x of those in a zip

#

then x of those in a zip

#

then x of those in a zip

#

for a bunch of times

compact sedge
#

yeah

#

but a tar bomb is just when people are dungos when they make their tar files

#

and they don't tar a subfolder they just tar a bunch of files

#

so they dump all over wherever you're extracting it

leaden hedge
#

but 7z and rar have protection against that and pretty much always have

#

it was only antiviruses that crashed pcs

#

because 420iq good code

#

gotta check every file in this zip, including zips inside it

compact sedge
#

also fun fact, tar and zip and all extractions stuff can let you extract files above the level they are at

leaden hedge
#

for virus

compact sedge
#

by using dots

#

so

#

if you extract a tar in ~/Downloads and it has a ../meme.txt meme.txt will appear in ~

#

unless the extraction tool you use explicitly breaks specs

leaden hedge
#

how do you put something above it

#

inside of it ๐Ÿค”

compact sedge
#

because .. says go one level up

leaden hedge
#

I know what .. means

compact sedge
#

and that's what zipslip is, it's a bunch of meme idiot non-security researchers finding something that's intentionally in the spec and claming it's a security problem

#

like ofc it's a security problem, go take this up with ISO and not a bunch of random library makers

copper nacelle
#

make all your programs zips that extract directly to /usr/bin

leaden hedge
#

it doesn't even seem like a security problem it seems like a format problem

#

like how is that even defined behaviour

#

tar/zips are supposed to just be compressed folders

#

but if you explore it like with 7z

#

how do you find .. that just sends you out of the zip

compact sedge
#

tar and zip being able to extract on the same level is ok behavior imo because it lets you bootstrap stuff, but letting them extract one level up was bad design

rain cedar
#

Also I think this is the first time I've seen foreach get compiled to a regular for instead of enumerator stuff

#

I guess because they're arrays

compact sedge
#

ok whose bad idea was it to make a couple of lost kin's waits random. Intentionally trying to ruin people's muscle memory

rain cedar
#

If it's between attacks that's fine

#

Should never have random windup on an attack though

copper nacelle
#

yeah it's on Idle

tranquil glen
#

do i have to go to lost kin for this to work or just run the game?

rain cedar
#

Go to wings

tranquil glen
#

ok

#

is this like outputting to a modlog or something?

rain cedar
#

No just a file in your game folder

copper nacelle
#

fsm.json

tranquil glen
#

do i need to make that like i made the save fsm folder for the fsm mod?

compact sedge
#

is it ok to add ModHooks.Instance hooks to random gameobjects?

rain cedar
#

Probably fine

#

Unhook it in OnDestroy

compact sedge
#

ok

#

it feels wrong but I'll do it

tranquil glen
#

here it is

#

i think

#

there's too many stuff in there for me to make sense of it

rain cedar
#

Put it in the fsm viewer

tranquil glen
#

I just get a blank screen

copper nacelle
#

did you add var fsm =

#

and stuff

tranquil glen
#

yeah renamed it data.json

#

and put var fsm =

copper nacelle
#

wow nice

#

it crashed my fsm viewer

rain cedar
#

I think the other fsm outputter logs the inner json

copper nacelle
#

second i clicked on it

#

o

rain cedar
#

You gotta remove the outer stuff { "fsm" : {REAL SHIT} }

copper nacelle
rain cedar
#

Lol

tranquil glen
#

haha yeah

#

funny

tranquil glen
#

ok but i have no idea what i'm looking at, i see the bool i wanted

#

is it activating after it finishes giving me the message for wings?

rain cedar
#

What's funny is there's nothing to look at

#

What it looks like here is essentially:
if (!crossroadsInfected)
{
crossroadsInfected = true;
visitedCrossroads = true;
}
//Begin state Msg

compact sedge
#

glad they set visitedCrossroads = true

#

just in case

tranquil glen
#

nice

#

ok but does it not say what starts that?

rain cedar
#

Idk 56 didn't send a full screenshot

tranquil glen
#

cause it makes sense that it would check if crossroads was already infected from a dreamer or something

dense vault
#

Hmm

#

someone wanna point me in the right direction in where i can grab some information for learning how to mod?

#

looking at this drive folder with boss rush in it

#

ah, this mod manager is very helpful, that seems easy enough

compact sedge
#

boss rush doesn't work on lifeblood

dense vault
#

FeelsBadMan

ornate rivet
#

Are KDT and Kein the same person?
both kdt and kein have names that start with k
both mod hk and other games
both made boss rush
both are mean
thinkgrub

compact sedge
#

It's a possibility

ornate rivet
#

also, that's something KDT would do

#

meme us with alts like this

compact sedge
#

I made another alpha of my arcade mod. This time it also includes lost kin. He works best I can test but I'm not a good tester.

#

(mostly for @copper nacelle tbh )

rain cedar
#

Why are there 3 of you now?

#

At least you don't have the green color too

compact sedge
#

oh don't worry, I'm never getting the green color

rain cedar
#

Same

#

Light blue forever boys

compact sedge
#

I'm stuck as a white person

rain cedar
#

But it's better to be a white person than any other ethnicity in most cases

#

Don't complain about your privilege

compact sedge
#

Colored people have all the privilege on Discord servers.

#

I have to sit in the back of the server.

rain cedar
rain cedar
#

Is there a way to get the full line of references leading to a missing reference?

#

I have a missing reference that makes no sense at all

#

And I'm getting a missing reference System.IdentityModel for this

dreamy sleet
#

I have a quick question about down grading. I cannot get to the steam console its greyed out. Do you guys know what is wrong?

rain cedar
#

Restart steam

dreamy sleet
#

Still greyed out

rain cedar
#

Dunno then

dreamy sleet
#

๐Ÿ˜ฆ

dreamy sleet
#

@rain cedar I am now getting ```] 1.2.2.1: download_depot 367520 367521 648876203478229944

command not found: 1.2.2.1:

rain cedar
#

1.2.2.1 isn't part of the command

#

It's the patch

dreamy sleet
#

Thanks dad

#

Got it

floral furnace
#

so uhh i have this

Image bar = CanvasUtil.CreateImagePanel(canvas, **Sprite object here** , new CanvasUtil.RectData(new Vector2(500, 50), new Vector2(-680, 810), new Vector2(0.5f, 0), new Vector2(0.5f, 0), new Vector2(0.5f, 0.5f)));

And i dont know what to put for that arguement, tho i did a few prodding by creating new sprites but it kept telling me that that it couldnt convert the object implicitly into a Unity.UI.Image

compact sedge
#

A sprite

#

Sprite.Create

#

and then create a sprite using a rectangle and a texture and a pivot

floral furnace
#

Oh i did some searching awhile ago and did try to use that

Texture2D texture = new Texture2D(100, 100);
texture.LoadImage(Resource.fg);
Sprite spriteBar = Sprite.Create(texture, new Rect(0, 0, 350, 288), new Vector2(0.5f,));
#

and placed spriteBar in the args

compact sedge
#

the rect width and height and x and y represent the portion of the texture you wanna use

#

so if you wanna use a small segment of the texture for the sprite

#

which makes sense if you have a sprite sheet on one texture

#

so different parts of the texture represent different frames of animation

#

and pivot should probably a 0.5f 0.5f vector2

#

if you ever wanna rotate it

floral furnace
#

yeah tried some of those, CanvasUtil.CreateImagePanel is still asking for a UI.Sprite arguement

#

i use Image object so i could use the FillMethod commands

rain cedar
#

Do what you did before with spriteBar

#

Except I think you need to do texture.Apply() before making the Sprite

leaden hedge
#

you can just do CanvasUtil.createSprite(Resource.fg, 0, 0, width, height)

rain cedar
#

Lowercase function names nice

leaden hedge
#

dunno if its even lowercase in api

#

wyza might have fixed it

flat forum
#

hey

#

my friend pointed it out - in the HPBars mod (the one made from Gradow, KDT and Niko) the Boss Health (Big Red one) disappears if you hit spikes

tranquil glen
#

So do I understand this right, a 'while' loop continues going as long as the conditions set are true so if you just go 'while true' it'll go forever because true is true?

leaden hedge
#

yes

tranquil glen
#

What if you put 'while false' noot

#

Would nothing happen or would something break

leaden hedge
#

nothing happens

tranquil glen
#

Ok

leaden hedge
#

if you did

do{

} while ( false )

it'd run once

tranquil glen
#

Huh

rain cedar
#

Those loops look like shit though

fair rampart
#

Hey, so we (me and a good friend of mine) have made a Hollow Knight Roulette Bot, it's currently Open-Beta and we're searching for some people who'd like to test it out, catch some bugs (if there are any), give some ideas and stuff.

#

If you're interested I'd like you to DM me.

young walrus
#

more info plox. this tells me nothing

fair rampart
#

Sure, the Bot randomizes your charm set up, nail upgrades, spells that you can use, generally tries to find a way to play you've never done before.

young walrus
#

so.... it's randomizer

solemn rivet
#

^

young walrus
#

we have that tho

fair rampart
#

Do you?

solemn rivet
#

maybe it works differently

#

does it randomize item pickups?

#

or does it randomize what you have equipped?

fair rampart
#

At this point it has only what you have to have equipped.

young walrus
#

sounds like currently equipped stuffs

solemn rivet
#

so how does it work

#

you equip say Nailmaster and it instead equips something else?

fair rampart
#

I mean, it's a Discord Bot that randomizes your run.

solemn rivet
#

oh

fair rampart
#

Charm equips, do you have to be overcharmed, what conditions must be met and stuff.

solemn rivet
#

OH

#

got it

fair rampart
#

We're a bit out of ideas so we've decided to make an Open-Beta for people to see, say what they like, dislike, what to change, add and stuff.

solemn rivet
#

kinda like a restriction randomizer

young walrus
#

oh so it doesn't affect the game itself

#

it just tells you what to do

solemn rivet
#

yeah

fair rampart
#

Yea, my coding skills aren't as high as my friend's, only he could do that.

solemn rivet
#

I've seen DS runs like that

fair rampart
#

Interested?

young walrus
#

nope

solemn rivet
#

hmm

#

I mean, if I were a full-time HK streamer, sure

fair rampart
#

It's a fun purpose bot, to discover ways you've never played before.

solemn rivet
#

yeah, but that's kinda like a catch-all term, right?

#

I mean, every mod does that to some instance

young walrus
#

does it tell you to play with a blindfold on?

solemn rivet
#

not trying to diminish what you've accomplished

#

it really sounds nifty and fun

fair rampart
#

It doesn't, Mickely.

solemn rivet
#

what restrictions are there currently?

#

if you add randomizer compatibility, I'm sold

fair rampart
#

Charms, charm notches (which are a pretty complicated thing right now), nail upgrades, spells (rolls whether can you use some or not).

#

Not much have been added, really, that's why I'm asking here right now, we need some ideas and stuff.

solemn rivet
#

I still don't get how it would work... Say I roll a restriction that tells me that I need to be overcharmed

#

but I've literally just started the game

fair rampart
#

We've obviously thought about this.

#

It only rolls the charms you could've picked up in certain areas.

#

Say: It cannot roll a Grimmchild on False Knight.

#

Only the ones you could've picked up before fighting him.

young walrus
#

sounds like a "challenge run generator" for people who can't think of them on their own. I have no interest in this, personally.

solemn rivet
#

hence my suggestion for rando compatibility

#

yeah, Mick, but for stream gimmicks, people seem to enjoy these

#

I've seen people do like "every donation gets to add another restriction" or smth

fair rampart
#

Well, if you're interested I can invite you to a server and you can check it out yourself.

solemn rivet
#

sure

#

because, as it is, seems like basically anyone in this channel could break the restrictions

#

because it's very easy to sequence break HK

#

even nmg

#

even no glitches

fair rampart
#

I'll DM you.

solemn rivet
#

k

#

that's why I personally love rando tbh, because it forces you to sequence break

young walrus
#

and you can't "cheat" out of it

#

it physically forces you to play the game different

#

vastly different

solemn rivet
#

yeah

#

and I really like the bingo twist tbh

#

rando+bingo = literally endless fun

young walrus
#

rando bingo is so fun

#

even alone

solemn rivet
#

yeah

young walrus
#

way better than just rando. cuz once you get all win conditions, rando is pretty meh tbh

tranquil glen
#

Yeah

#

I never feel the need to finish a random once I have everything

young walrus
#

the end of rando bingo feels way more definitive

solemn rivet
#

whenever I get claw I just reset the run

#

because there's no point in playing anymore

#

I really liked doing rando 107% tho

hazy sentinel
hexed swan
hazy sentinel
#

fps dropped to like 70 average at the end

#

usually nkg is 250-300

flat forum
#

. . .

tranquil glen
#

56 how'd you get the fsm thing to work?

#

i removed {"fsm": from the start and a } from the end

#

is that not what i needed to do?

copper nacelle
#

you need to remove a bit more

tranquil glen
#

ok thanks

copper nacelle
tranquil glen
#

no i got it

#

so it happens when i hit the ground it looks like?

copper nacelle
#

yeah

#

right after you hit the ground

#

i'd assume

tranquil glen
#

would it be after i'm supposed to hit the ground rather than when i actually do?

#

like if i menu drop into it and hit the ground earlier would it still wait until i was supposed to have hit the ground

young walrus
#

well the game gets super confused cuz you're supposed to be in the air. so.... maybe?

copper nacelle
#

no

#

it has 3 waits before that to transition states

#

does it play the anims after you hit the ground or no

young walrus
#

are you trying to get the crossroads infected?

tranquil glen
#

trying to avoid infection

flat forum
#

isn't there just a bool for that?

tranquil glen
#

the animations continue and i'm invisible until they finish

copper nacelle
#

yeah ok

#

while the anims are active crossroads is uninfected

#

once they finish and you're on the floor it'll set

tranquil glen
#

k thats what i thought

#

sweet

#

totally avoidable then

copper nacelle
#

i'd still test it tho

tranquil glen
#

doing so now

copper nacelle
#

nice

young walrus
#

were you waiting out the whole animation before?

tranquil glen
#

idk mick

#

I haven't really done real runs

#

one time it was infected one time it wasn't so i just wanted to look into exactly what caused it

young walrus
#

gotcha

#

i suppose i never would have run into that cuz it's always infected by that time in all skills runs from killing a dreamer

tranquil glen
#

probably waited out animation the time it happened cause i wasn't really worried about speed

copper nacelle
tranquil glen
#

i don't see an issue

copper nacelle
#

i can't move either

tranquil glen
#

looks normal

#

on the other hand

#

wtf

copper nacelle
#

leaving that room fixed the movement

#

i didn't have the wall broken

#

nvm

#

opening my inventory fucks it

tranquil glen
#

k but what the hell is that

#

what happened

exotic venture
#

ahh yes i had that issue too

copper nacelle
#

unused sprites

hollow pier
#

is that gng

copper nacelle
#

also what the fuck

#

my transitions are gone

#

it just

exotic venture
#

but it would do that when you equip the charms

copper nacelle
#

changes scenes

#

no transition

#

no black screen

#

just

#

bam

tranquil glen
#

what caused this

leaden hedge
#

broke

exotic venture
#

yep that sounds like the oddball i had

#

i have no clue what causes it

young walrus
#

great. now i want to do this on purpose

copper nacelle
#

also essence

young walrus
#

and 4 soul containers

exotic venture
#

4 soul vessels Thonk

young walrus
#

wtf

copper nacelle
#

what the fuck

#

nice

young walrus
#

is this a modded file?

#

wtf

leaden hedge
#

hacks

exotic venture
#

gods and glory 1 extra soul vessel confirmed

copper nacelle
#

i didn't give myself anything

young walrus
#

what patch are you on

copper nacelle
#

just reinstalled the fsm dumper

#

1.3.1.5

young walrus
#

wtf

tranquil glen
#

yeah crossroads very not infected

exotic venture
#

how many masks do you have

copper nacelle
#

ok uninstalled all mods

#

idk didn't count

exotic venture
#

or did you have

#

shame

flat forum
#

what is that random 98?

copper nacelle
#

it's still happening

exotic venture
#

essence

copper nacelle
#

uhh

exotic venture
#

also it's inherent with the modding api

hazy sentinel
#

๐Ÿ’ฏ ๐Ÿ‘Œ

copper nacelle
#

11

exotic venture
#

it really screws with things

copper nacelle
#

masks

exotic venture
#

11 masks

copper nacelle
exotic venture
#

excuse me

copper nacelle
#

seems good

flat forum
#

well

#

9 masks + Fragile Heart

#

?

exotic venture
#

1 extra soul vessel, ok

#

fine

#

like, whatever

copper nacelle
#

i don't have fragile heart on

flat forum
#

Uhhhh

copper nacelle
flat forum
#

o yeah

exotic venture
#

but 2 extra masks for GnG

#

OMEGALUL you have the exact opposite what i had

copper nacelle
#

i don't think i'm using krythom's file

#

wtf

exotic venture
#

i had all charms visible but they turned into debug charms when equipped

copper nacelle
#

i can't equip any

#

u dungo

#

can't do anything in the inventory screen

exotic venture
#

you can't equip them what

copper nacelle
#

and after touching it can't move anymore

#

had to noclip

exotic venture
#

that's even more odd

copper nacelle
#

my load screens are gone as well

exotic venture
#

yeah i had that too

copper nacelle
#

this wall is unbroken

#

also there's a really sick kingsmould thing

#

is that new

exotic venture
copper nacelle
#

or gng?

exotic venture
#

the same bug happened with hornet's room

copper nacelle
#

it's like this magic circle

exotic venture
#

so uhhhhhhh

copper nacelle
#

wait but is the kingsmould thing new

#

re

exotic venture
#

kingsmould thing?

river eagle
#

So it fucked with your save file?

hazy sentinel
#

kingsmould shield shows up when you dreamnail it before awakening

copper nacelle
#

no clue

#

no

#

i'm not dnailing it

#

it's just

#

circley

exotic venture
#

pic?

copper nacelle
#

one sec

#

i'm betting i fucked the playmaker dll

#

happened after i tried to reinstall the fsm dumper

river eagle
#

Interesting how the fourth soul vessel is actually aligned properly with the UI

exotic venture
#

kingsmould is already fallen over too

river eagle
#

Which means it was intentionally put there at some point

exotic venture
#

nani the fuck

copper nacelle
#

but is the kingsmould thing just the shield

#

or something else

exotic venture
#

something else

#

it appears when you try to dnail it without awakened dnail

#

like veru said

#

but yours is already slumped over sooooooooooooooo

copper nacelle
#

i can't hit enemies

exotic venture
#

i have no clue.

river eagle
#

Can the enemies hit you?

copper nacelle
#

yes

#

but they do no damage

hazy sentinel
#

have u tried not being a hackerman

copper nacelle
#

i can give my playmaker dll if anyone wants to try it

#

wtf

#

belfly one shot me

#

i'm guessing the hp goes down but doesn't show

river eagle
copper nacelle
#

also the belfly doesn't trigger

#

unless i hit it

river eagle
#

So no matter how many times you hit enemies they don't die

copper nacelle
#

can't cdash or spell

#

no i can't hit them

#

at all

#

also the entrance to the abyss is just black

river eagle
#

But still though that 4th soul vessel placement intrigues me

copper nacelle
#

can't hit levers either

river eagle
#

Possibly there was supposed to be a 4th soul vessel at some point but it was cut from the game

#

Can you interact with anything like npc's

copper nacelle
#

yeah

#

i stagged here

#

ey

#

i've got a stuck nail art on me now

river eagle
#

Have you tried spells yet

copper nacelle
#

spells don't work

#

just like cdash

#

probably cause they're both fsm

river eagle
#

And all charms are just broken

copper nacelle
#

ones i have equipped still work

river eagle
#

Can you unequip them

copper nacelle
#

no

young walrus
#

what'd you do leading up to this?

copper nacelle
#

updated fsm dumper

young walrus
#

kk. so you just fucked all fsms probably. lol

copper nacelle
#

yeah

young walrus
#

that's pretty great

copper nacelle
#

gonna try wk

#

if they even activate

#

they're dead

river eagle
#

They look dead before spawning

copper nacelle
river eagle
#

I've seen this before

copper nacelle
#

it's like i have 0 nail damage

river eagle
#

Someone got this as a bug some time ago

copper nacelle
#

i still get recoiled

#

and such

river eagle
#

Can you corrupt the .dll even further

#

That'd be interesting

copper nacelle
hazy sentinel
copper nacelle
river eagle
#

Just get a nintendo switch emulator and play HK on it

#

Ez

copper nacelle
#

he's just walking into the entrance

#

lmao

#

a vengefly is just stuck mid air

#

won't move

#

even if i pogo it

#

gonna see what happens to the dnail room

flat forum
#

56 what hast thou done?

#

what horrendous act hast thou committed, 56?

copper nacelle
flat forum
#

Quirrel dual Sword user

#

2 Quirrels during UumuU when?

#

Uumuu, but a thousand Quirrels

copper nacelle
#

crossroads isn't infected

exotic venture
#

oh look it's disappointment

copper nacelle
#

i wonder what salubra sells

young walrus
#

dad?

hazy sentinel
#

she sells seashells by the sea shore

exotic venture
#

actually it's a lake

young walrus
#

by the lake shore

#

don't feed the lakegulls tho

copper nacelle
exotic venture
#

98

compact sedge
#

seems legit

young walrus
#

new windows version

#

98

copper nacelle
#

holy shit i found something i can break

#

the big door

compact sedge
#

wow breaking stuff in HK

#

how dare you

copper nacelle
#

didn't even read the convo

#

wtf

river eagle
copper nacelle
river eagle
#

And this is a new save

copper nacelle
#

yes

river eagle
#

Check the black egg

young walrus
#

and you get an fsm

#

and you get an fsm

#

and YOU get an fsm

flat forum
#

Is this New Game+ mod

copper nacelle
#

black egg is normal

flat forum
#

How dare it

copper nacelle
young walrus
#

caught in the middle of making it

flat forum
#

56 what dif u do

river eagle
#

So it just loads everything at once thinkgrub

young walrus
#

you know.... i always thought it was a tape

compact sedge
#

this is the new shitmodst

#

right?

young walrus
#

now i see it's a slip of paper with his glasses

exotic venture
#

no this is quantum knight

#

everything is and isn't at the same time

young walrus
hazy sentinel
#

that's not how this works

exotic venture
#

nothing works like it should

copper nacelle
#

cause crossroads isn't infected

river eagle
#

But now the question is, can it be corrupted even more hollowwow

copper nacelle
#

wtf

#

myla is uninfected

#

but walking up to her hurts me

tranquil glen
copper nacelle
#

wtf

tranquil glen
#

can rooms just be palette swapped like this

#

cause this is badass

compact sedge
#

what'd you do

exotic venture
#

that looks like the old version of fungal wastes!

tranquil glen
#

good question

river eagle
#

Could it be the shroom guy?

tranquil glen
#

i think it just kept the color scheme of sewers

young walrus
#

shrooms make everything look funny

#

trust me, i've had them

copper nacelle
exotic venture
#

you collected it

#

but you didn't collect it

river eagle
#

Also that shade

exotic venture
#

just like how you are dead but aren't dead

young walrus
#

zombie state

copper nacelle
young walrus
#

inb4 zombie hovers are a thing

exotic venture
#

shrodinger's knight

copper nacelle
#

even though i can't hit it

river eagle
#

Have you tried any boss fights?

copper nacelle
#

can't hit them

river eagle
#

Do they even activate

copper nacelle
#

can't activate gruz cuz can't hit

#

haven't tried fk

#

wtf

#

can't even talk to salubra

#

she just laughs

young walrus
#

lol

copper nacelle
#

on the other save she just said i bought everything

#

enemies are kinda working

#

now

#

they weren't before

#

they target me

exotic venture
#

can you use spells?

copper nacelle
#

no

#

can't use spells, superdash

#

dnail

#

spell control is fsm

#

so is superdash

#

i'd assume dnail too

exotic venture
#

and you can't equip charms

#

heck

river eagle
#

If you can't hit anything you're pretty much stuck in the crossroads though

exotic venture
#

i wonder though

copper nacelle
#

noclip

#

false knight triggered

river eagle
#

But that's cheaaatiiin

copper nacelle
#

help

#

my screen

exotic venture
#

if you are in the spring, does the fourth soul vessel fill up?

copper nacelle
#

is stuck

#

shaking

#

even after i left the room

#

agony

#

levers work

solemn rivet
#

try using debug to increase nail dmg

copper nacelle
#

nothing

#

still nail -2 effectively

#

even though it says i've got 17

solemn rivet
#

weird

#

nail hits is not all fsm

copper nacelle
solemn rivet
#

most of it is actually code

#

birdpals

young walrus
#

new summon charm

copper nacelle
solemn rivet
#

kek

#

new knight

#

also

copper nacelle
solemn rivet
#

reddit has no fucking clue m8

young walrus
copper nacelle
#

rng doesn't exist

#

load times are all perfectly consistent

solemn rivet
#

"no frame-perfect tricks"

#

that there is someone who's only ever watched a TAS like once

young walrus
#

^

solemn rivet
#

and has a very limited knowledge and experience with speedruns at all

young walrus
#

well he's saying he doesn't know if this game has frame perfect tricks in it

#

which means he hasn't watched a run or knows anything about it

solemn rivet
#

and implying that TASes exist for the sole purpose of making frame-perfect tricks consistent

copper nacelle
young walrus
#

tru

copper nacelle
#

how do i beat hornet

#

with no charms

#

no spells

#

no nail hits

solemn rivet
#

roar at her till she dies

copper nacelle
#

no cdash

solemn rivet
#

like

#

literally scream

#

and stream, cause I wanna watch it

hazy sentinel
#

storage the dialogue

copper nacelle
hazy sentinel
#

walk past her intenseface

solemn rivet
#

FTL Hornet

copper nacelle
#

i wanted to see the dreamer cutscene tho

young walrus
#

ITS OVER 5000

copper nacelle
#

quick cast doesn't work

#

but focus does

#

seems good

hollow pier
#

is this shitmodst 2

river eagle
#

literally yes

rain cedar
compact sedge
#

that... was optimized by the compiler right

#

no way a human wrote that

#

right?

rain cedar
#

I'm not convinced

compact sedge
#

seems like a nightmare to debug if it was human written

#

like "whoops we accidentally added some parends so the logic was slightly wrong"

flat forum
#

what is that?

rain cedar
#

Bad

flat forum
#

Where did you find this?

#

Even I, someone who doesn't understand code at all am terrified of something that looks like that

rain cedar
#

It's in Salt and Sanctuary

compact sedge
#

well given those devs possibly written by a human

#

but I bet the original code had each condition on a separate line

#

so it could be actually read

rain cedar
#

So much of the game just works through assumptions about other things

#

Like if you try to add a class with full equips the game crashes

#

Because it was just assumed that would never happen and you get an out of bounds exception when it tries to equip the starting consumables

ornate rivet
#

unzipping 500000 images

#

computer: reeeeeeeeeeeeee

tranquil glen
#

Jus recode the game so that doesn't happen Sean noot

rain cedar
#

I realize you're joking but that's what I'm actually doing

#

Using Mono.Cecil to patch functions at the IL level

wintry aurora
#

Tbh, i don't think i've sent more than probably 1 message here and it was probably a meme. So hi i guess.

rain cedar
#

1 message my ass

wintry aurora
#

Oh shit. Didn't remember that.

rain cedar
#

This is super niche but in case anyone else was wondering how the when keyword worked with fallthrough here you go

copper nacelle
#

neat

tranquil glen
#

Man all day I was wondering about that

rain cedar
#

You really gonna come in here and talk shit?

#

You don't even make mods

#

I'll fuck you up

ornate rivet
#

hot

floral furnace
#

I love internet fist fights

tranquil glen
#

I came in here and asked questions until people did stuff for me, isn't that what modders do anyway? zote

rain cedar
copper nacelle
copper nacelle
young gulch
#

how to hide and unhide the debug page while gaming

flat forum
#

F1?

steep sail
young gulch
#

but my debug mod aint showing everything like the charms and other stuff

flat forum
#

?

copper nacelle
#

:begone:

flat forum
#

:thot:

finite herald
#

guys, it's been months since I stopped playing with mods. I'm wondering, what are new mods or is there any super recommended mod I should try?

#

I've done everything in the game, multiple times, I used to play the boss rush mod long time ago

hollow pier
#

wait 33 days

compact sedge
#

boss rush was never updated for lifeblood :(

copper nacelle
#

just look at the mod installer

#

and download everything you haven't seen

#

easy

finite herald
#

mod installer? Imma check it out right now

#

My nephew got a nintendo switch, and i gave him hollow knight, so I've been playing with him lately. This game is so amazing

#

I can't wait for gods and glory

copper nacelle
#

gng never

finite herald
#

this probably has been asked multiple times, so I apologized. I installed the mantis god mod, so I have two questions. How do I know if it successfully installed?, and two, what mod should i get in order to teleport to the mantis lords and do the fight againt?

#

again*

compact sedge
#

well if you used the installer it should appear in the top left

#

when you launch the game

#

that or any other mod

#

and uh you can just refight the mantises by reentering the room even if you already did it on your save

#

so probably debugmod to move around quicker

copper nacelle
#

dreamgate tm

finite herald
#

damn

#

you guys made everything so simple and convenient for the mods lol

#

amazing

compact sedge
#

mostly gradow

finite herald
#

props

#

im getting dreamgatedata not found

copper nacelle
#

i meant like a normal dream gate

old idol
#

hello

#

okl

#

l

#

ok

copper nacelle
#

real line of code

#
            } while(r != 15 && r != 27 && r != 45 && r != 88 && r != 89 && r != 95 && r != 114 && r != 116 && r != 132 && r != 156 && r != 157 && r != 172 && r != 173 && r != 189 && r != 207 && r != 225 && r != 242 && r != 253 && r != 254 && r != 261 && r != 263 && r != 270 && r != 274 && r != 304 && r != 306 && r != 311 && r != 321 && r != 343 && r != 356 && r != 357 && r != 399 && r != 408 && r != 409 && r != 410 && r != 424 && r != 442 && r != 444 && r != 451 && r != 461 && r != 483 && r != 502 && r != 503 && r != 510 && r != 521 && r != 523 && r != 615 && r != 617 && r != 630 && r != 636 && r != 639 && r != 684 && r != 700 && r != 706 && !(r >= 76 && r <= 78) && !(r >= 119 && r <= 126) && !(r >= 278 && r <= 280) && !(r >= 282 && r <= 285) && !(r >= 294 && r <= 295) && !(r >= 335 && r <= 338) && !(r >= 477 && r <= 479) && !(r >= 495 && r <= 497) && !(r >= 659 && r <= 661) && !(r >= 710 && r <= 712));
compact sedge
#

delete this

copper nacelle
#

what do i do

#

should i just put them all in a readonly array

compact sedge
#

don't write code that requries this

copper nacelle
#

not my code

compact sedge
#

that's a lot of changes

#

esp for one commit

copper nacelle
#

unrelated rider auto formatting is great

compact sedge
#

aaaaaaaaaa

#

this is pain

#

and the way I'd fix it is NOT generating random numbers that are bad numbers

copper nacelle
#

how tho

compact sedge
#

huh why do they need random numbers like htis

copper nacelle
#

random projectile spawn

#

cause idk either

compact sedge
#

I presume the projectile list is preset and they have no control over it?

copper nacelle
#

yeah

compact sedge
#

ok cuz if they did they could do a couple things like adding a var on the projectile itself they check against, or putting all the bad projectiles at the end

#

or splitting the bad and good projectiles into different lists

#

num149

#

wttf

#

why do you need 149 local variables

copper nacelle
compact sedge
#

for anything

copper nacelle
#

there aren't even 149

compact sedge
#

really clear what these local vars mean too

copper nacelle
#

just look at it

compact sedge
#

is this a gungeon mod?

copper nacelle
#

no it's a terraria mod

compact sedge
#

hmm

copper nacelle
#

oh wait

#

i've got a great image

#

in one of the files

compact sedge
#

well they are static so them being public or private is just dev preference

#

the problem comes from public non-static methods

copper nacelle
#

i've seen 0 private variables

#

that i haven't added

compact sedge
#

that's also a problem

#

or rather could be a problem

leaden hedge
#

tbh public / private doesn't really matter for personal projects

#

only really matters when someone else is going to interface with your class and might set a var or run a method they shouldn't hollowface

compact sedge
#

only if you trust yourself

leaden hedge
#

i'd just use reflection to bypass my own private stuff

#

so theres no reason to try and stop myself intenseface

#

although you know what reflection has no solution for afaik

#

private classes

#

in lists

#

and or dicts

compact sedge
#

for me it's this. I could use reflection to bypass my own shit, but me writing it as private is me telling future me not to do that

leaden hedge
#

past me doesn't know future mes problems

compact sedge
#

I don't like future me very much

#

and future me hates current me

#

so

leaden hedge
#

but for real celeste has this private class called TerrainType
I can instantiate the class
I can set its vars
I can pass it to functions
I can run its methods
I can create a dict of <char, TerrainType>
I can add stuff to the dict
try and overwrite another classes dict with mine can't cast ๐Ÿ˜ 

copper nacelle
#

does anyone have an old version of dnspy

#

or an older version than most recent at least

compact sedge
#

they have older releases on their github page no

copper nacelle
#

no

#

they delete them all

#

idk why

#

it causes me agony

compact sedge
#

aaaa

#

omg they delete their old tags too

#

jerks

#

so you don't even know when the last stable version was

#

screw you 0x people

copper nacelle
#

wtf

#

what did 0x0ade do to you

leaden hedge
#

what do you want

copper nacelle
#

old dnspy

leaden hedge
#

how old ๐Ÿค”

copper nacelle
#

uhh

#

.net 4.5 old

#

2017 old

#

i think

compact sedge
#

uh they were using 4.6 as long as they've been around

#

try this commit @copper nacelle 276c1291a124fcd0bf94fb578da50a4e5ce8740b

copper nacelle
#

ok

compact sedge
#

nice hardcoded paths

copper nacelle
#

i redownloaded it and it still didn't work

#

re

#

oh wait

#

submodules

#

fuck

#

didn't clone recursively

compact sedge
#

btw no idea how to get the submodules that are built for that specific commit

#

or maybe nugit does it for you

#

idk

copper nacelle
compact sedge
#

ok head is correct

#

so

#

or at least that's the commit id I suggested you try

copper nacelle
#

it still targets 4.7 meme

compact sedge
#

even though the commit right after it said it was the one that switched the target to 4.7

#

wtf

copper nacelle
#

i found the commit for 4.5 beta

#

which wasn't 4.7

#

i think

compact sedge
#

what about this

#

dnspy terminal

copper nacelle
#

no

compact sedge
#

and open the project file it generates in rider

copper nacelle
#

:begone:

#

doesn't show fsm actions

#

and has worse search

compact sedge
#

ur wrong rider's search is great

copper nacelle
#

ur wrong dnspy's search is even better

#

wait

#

i think i have a dnspy from before 2018

#

feelsbadman

#

gonna dnspy dnspy

#

truly woke

compact sedge
copper nacelle
#

that might work

#

but i have one

#

from 11/27/17

#

it was on my other drive

#

[assembly: TargetFramework(".NETFramework,Version=v4.6.2", FrameworkDisplayName = ".NET Framework 4.6.2")]

#

might work idk

compact sedge
#

for example archive.org says this is version 3.0.2: 6ed77d4

copper nacelle
#

yeah but downloads tm

compact sedge
#

no offense but fuck this guy

#

someone posted a link to an old version, he edited that link out

copper nacelle
#

wtf

copper nacelle
#

yeah i got it

#

nice

#

ty

compact sedge
#

here's that link since github lets you view unedited comments

copper nacelle
#

that's like

#

๐Ÿšฎ

#

of him

copper nacelle
#

0009:err:module:fixup_imports_ilonly mscoree.dll not found, IL-only binary L"dnSpy.exe" cannot be loaded

#

agony

#

i've had this error for like an hour

#

finna give up

#

System.IO.FileNotFoundException: Could not load file or assembly 'PresentationFramework, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies.

#

i ran it in some starcraft wine instance i had

#

almost worked

rain cedar
#

Have you tried making it work?

copper nacelle
#

no

#

good idea

#

[ERROR] FATAL UNHANDLED EXCEPTION: System.TypeLoadException: Could not resolve type with token 01000587

#

ree

#

so close but so far

#

ok i just copied random dlls related to it

#
[ERROR] FATAL UNHANDLED EXCEPTION: System.TypeLoadException: Could not set up parent class, due to: Could not load type of field 'System.Windows.Application:_appMimeType' (24) due to: Could not resolve type with token 0100001c assembly:WindowsBase, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35 type:MS.Internal.SecurityCriticalDataForSet`1 member:<none> assembly:Z:\home\home\Downloads\dnspy_3.0.2\PresentationFramework.dll type:Application member:<none>
#

idk if this is progress or not

#

the answer is not i just got back to my old error

dark wigeon
#

reads directly from assets files

copper nacelle
#

give link

solemn rivet
#

give soul

dark wigeon
copper nacelle
#

thank u

#

fuck linux

solemn rivet
#

soul when

copper nacelle
#

whatever this is

dark wigeon
#

yeah sorry its wpf

copper nacelle
#

is probably better

#

yeah i couldn't get dnspy running either

#

i've given up

dark wigeon
#

well

#

could make it export to svg or something with dot core if you needed

copper nacelle
#

nah

#

gonna reboot back to windows for 10 centuries again

solemn rivet
#

what files should I use as input?

dark wigeon
#

level files or resources.assets

solemn rivet
#

got it

#

please tell me it gives me a list of every fsm in that asset

dark wigeon
#

yes

#

the graph is a bit derpy because I couldn't find a library to handle it so it's kinda homemade

solemn rivet
#

I love you

copper nacelle
#

holy shit it has variables

#

this is great

dark wigeon
#

the square brackets are byte sizes

solemn rivet
#

new modding era has begun (?)

copper nacelle
#

i crashed it

dark wigeon
#

i think double clicking select crashes it ๐Ÿ˜

copper nacelle
#

it does

dark wigeon
#

weird assetstools bug

copper nacelle
#

can you open multiple files at once

solemn rivet
#

was about to ask that

#

seems like you cannot

dark wigeon
#

nope

#

I guess I could add that

copper nacelle
#

yes please

dark wigeon
#

tabs or something?

copper nacelle
#

one list + search would be godly

solemn rivet
#

tabs, ye

copper nacelle
#

tbh

solemn rivet
#

tbf an interface somewhat similar to unity studio would be godlike

dark wigeon
#

ah gotcha

solemn rivet
#

ffs