#archived-modding-development

1 messages ยท Page 122 of 1

young walrus
#

and not with minimal effort

#

okay, it probably wasn't with minimal effort

#

but it just made a mess for us when it could have been SOOOO cool

solemn rivet
#

yeah

#

omg imagine a mod showcase, showing mods from back when KZ's boss rush was a thing

#

and how the mods are now

#

that would be cool

young walrus
#

that would be sick

#

I should make an updated "how to install mods" video honestly

#

include all the different methods

solemn rivet
#

showing Lightbringer and how it's grown since back when it was first released

opal hearth
#

i would love that mickely. cuz i'm still having difficulty and about to give up in favor of dinner.

copper nacelle
#

using an installer?

solemn rivet
#

LexiP did you try my installer?

#

first link in pins

copper nacelle
#

oh wait they were having the weird error

#

did you try crossroads

young walrus
#

could just do it manually

solemn rivet
#

I think that was with crossroads, 56

young walrus
#

shouldn't get an error doing that

exotic dune
#

I think there's an error in your math gradow, bc there's no fucking way increasing your crit% by 5% should multiply your damage a kajillionfold

young walrus
#

I dunno when I'd make that video though tbh

#

I have no time for like the next 3 weeks

solemn rivet
#

maybe there is, I didn't check it thoroughly

opal hearth
#

i just tried crossroads, loaded up HK, and it crashed almost immediately

copper nacelle
#

nice

exotic dune
#

looks like you're putting the crit% as a whole number instead of hundredths of a number? if that makes any sense
ie 5% is put in as 5 and not 0.05 like it should be

opal hearth
#

the modinstaller was the one w the weird "device is not ready" error

young walrus
#

did you install all the dependencies for what you want?

#

crossroads doesn't auto install like Gradow's does

#

if you're doing anything on the current patch, you'll need ModCommon and the API

#

and then whatever mod you want

solemn rivet
#

yeah, that was it, Leakzillas

opal hearth
#

yeah, i installed those both.

solemn rivet
#

precisely that

vestal hawk
#

been lurking the server since the original release of the game and just want to say thanks for the work you guys have done for the mods. They've added a lot of fun hours on to the game for me.

opal hearth
#

actually, those were the only two i installed..

young walrus
#

what mod are you trying to use?

#

randomizer was it?

solemn rivet
#

phew, that makes WAY more sense

#

thanks for the headsup Leakzilla!

opal hearth
#

none of em yet. i plan to w randomizer, but i figured i'd throw the API and modcommon first just to make sure it worked up to that point.

young walrus
#

I mean.... it should

hollow pier
#

2 modders who cant math

young walrus
#

those two alone shouldn't just crash the game

#

I'd almost just do it manually at this point. verify steam file integrity

#

download what you want

#

then drag and drop

solemn rivet
#

LexiP are you playing on current patch?

#

or beta?

young walrus
#

^

#

important

opal hearth
#

ah yeah i'm on beta. good call.

young walrus
#

well there's your problem

#

lol

opal hearth
#

aand now steam seems to think i have no internet connection. what a day.

#

thanks, i'll try it again once i get this sorted out

young walrus
#

๐Ÿ‘

opal hearth
#

i assume it's cool to pop in for help if things get all fucky again?

young walrus
#

yaya

#

someone's always around

opal hearth
#

cool beans, thanks guys~

solemn rivet
#

also, modinstaller complaining about driver not ready is somewhat "expected"

#

but you should be able to use it even after that message

opal hearth
#

on that one, i hit continue, and then it threw another error "this path is not a legal form"

solemn rivet
#

it checks each device letter for the game's default install path

#

oh

#

hm...

#

I need to add a check for that then

copper nacelle
#

aren't you using double backslashes anyways

opal hearth
#

i keep my windows on a separate partition to where i install pretty much anything else, could that have something to do with it?

#

so like, C is windows, D is FL/cubase and whatever music/art i make, E is everything else.

solemn rivet
#

56 does the same

#

56 likes the D basically

young walrus
#

shouldn't matter

#

I have everything on my D

opal hearth
#

giggity

solemn rivet
#

but, yeah, shouldn't matter

fair rampart
#

yo im havein fun wit des mods XD

solemn rivet
#

what's happening is it's finding a device letter which is somehow "not ready"

#

dunno what that even means

opal hearth
#

if you want, i can copypaste the details of both errors over to you, if that'll help.

copper nacelle
#

@fair rampart have u tried spelling

#

it's a great skill

hollow pier
#

u

copper nacelle
#

u

hollow pier
#

v

fair rampart
#

i'm having fun with these mods there u happy

solemn rivet
#

not sure if it'll help, but sure

copper nacelle
#

yes

hollow pier
#

hi having fun with these mods there u happy

fair rampart
#

(:

opal hearth
#

oh what a weird place i have joined

solemn rivet
#

heh

exotic dune
#

i think there's smth wrong with the dex calculation as well but idk what it is

solemn rivet
#

yeah

#

now that I think of it, it's definitely wrong

#

brb

#

ok

#

that was the quickest brb ever

#

new formula:

#

(Bonfire Nail Damage)/(Vanilla Nail Damage) * (1 + (Crit%) * (Crit Damage))

#

k, that works better

#

will update the link, brb

atomic thunder
#

I can't get the randomizer to work

#

and I use the Crossroads thing to install it

copper nacelle
#

try the other one

quartz dagger
#

how do i get the boss rush mod in the 1.3.3.7?

hollow pier
#

you dont

copper nacelle
#

you feel depressed and/or downpatch

quartz dagger
#

i can't?

exotic dune
#

it's not updated

quartz dagger
#

sad

#

im gonna kill my self or something

exotic dune
#

gotta wait until gng early 2018

solemn rivet
#

how's this look, Leakzillas?

compact sedge
#

is x my level

solemn rivet
#

ehh

exotic dune
#

looks much more reasonable to me
the nail growth you get from upgrades is supposed to be slower than vanilla right

solemn rivet
#

yeah

compact sedge
#

ok so my actual level is not given by the point

solemn rivet
#

the idea is to counter-balance the crits, Leakzillas

#

the point is just so you can play around with your current STR/DEX/LCK and see where it lands you

exotic dune
#

bc in that case more upgrades making it go down on the graph is kind of unintuitive even tho it's correct

solemn rivet
#

yeah, I had the same reaction

#

but it makes sense

#

it's not that more upgrades reduces nail damage

exotic dune
#

bc you're comparing your damage to enemy hp but orange is the graph of your damage as a % of vanilla

solemn rivet
#

precisely

#

and enemy HP is also %

compact sedge
#

why is dex so jumpy

solemn rivet
#

so if it's at 5, it's 5x vanilla HP

#

because of rounding

copper nacelle
#

play bonfire with redwing and level up all ur stats in the worst way possible

solemn rivet
#

I can remove all of the "floor" functions if you'd like to see

copper nacelle
#

how to make redwing difficult ez

compact sedge
#

yeah well im making redwing scale off nail upgrades so yeah that'd probably work

#

it's not impacted by str

solemn rivet
#

yeah

compact sedge
#

I'd add bonfire integration to it but idk I'm lazy and don't think the two fit too well together

solemn rivet
#

nice curves u got there m8

#

oops, forgot to make the variables also floats

eternal walrus
#

does the "crossroads" mod installer still work?

copper nacelle
#

yes

#

both work

rigid stag
#

superforge sent me

#

sorry for bothering u yesterday gradow

#

@solemn rivet

solemn rivet
#

u bothered me?

copper nacelle
#

@buoyant obsidian did you do the MoP yellow thing by just changing the MoP asset

solemn rivet
#

ok, got a WAY better curve for bonfire

buoyant obsidian
#

Bloodlust is just spriteflash or whatever I use for like mana regen

#

and I change Mark of Pride's color through texture sheet editing

solemn rivet
#

this makes way more sense

#

X axis is only Strength levels now

#

the orange curve is "Bonfire Nail Damage/Bonfire Enemy HP" normalized by Vanilla Nail Damage

sharp crypt
#

Does anyone know if there's a modding api version compatible with 1.3.3.7 or do I have to back date to get it working?

exotic dune
#

ach, that's better, ty

young walrus
#

1337 isn't live yet yeah?

solemn rivet
#

the horizontal line at 1 is "Vanilla Nail Damage/Bonfire Enemy HP" normalized by Vanilla Nail Damage

#

so you want to stay above that line

sharp crypt
#

might be b/c I have beta enabled ๐Ÿ˜›

young walrus
#

yeah. so disable that

#

porting mods for beta builds is a waste of time until they're live

#

so get off beta.... profit

solemn rivet
#

so this graph gives me ideas to make bonfire more balanced

#

I had to adjust the functions

#

because they were always underneath the line

exotic dune
#

and the places where your damage snaps down are when enemy hp increases? i thought that was gradual

solemn rivet
#

yeah, I still have to "fix" those gaps

#

but the idea is that it's happening because of rounding

#

I'll remove all floors and see what happens

exotic dune
#

yeah you might be rounding to 1 (nearest 100%) instead of 0.01 (nearest 1%)
idk how you'd fix that in this

compact sedge
#

it feels like dex should be smoother than it is too since rounding attack speed seems kinda silly too

#

like ofc crit dmg will round but only to the nearest int I assume

solemn rivet
#

yeah, it's cause of the flooring issues

sharp crypt
#

working like a charm now ๐Ÿ‘Œ thanks forgot I even had beta on zote

exotic dune
solemn rivet
#

that's weird, Leakzillas

#

can you send me your modlog.txt?

#

oh, yeah, that doesn't account for attack speed

exotic dune
#

i don't seem to have one of those, unless it's in a weird place

#

ach, it's in a weird place

solemn rivet
#

saves

exotic dune
#

1m

solemn rivet
#

k

exotic dune
compact sedge
#

jesus gradow are you logging every frame

solemn rivet
#

no

#

am not

#

not in theory

exotic dune
copper nacelle
#

[INFO]:[BonfireMod] - Checking inventory open
[INFO]:Inventory object Inventory (UnityEngine.GameObject)
[INFO]:Inventory control fsm Inventory (PlayMakerFSM)
[INFO]:Inventory open False

solemn rivet
#

oops

copper nacelle
#

slightly large amount of those

solemn rivet
#
[INFO]:Disabling enemy Crawler Fixed
[INFO]:Disabled enemy Crawler Fixed
[INFO]:Destroying enemy Crawler Fixed
[INFO]:Destroyed enemy Crawler Fixed```
#

the important part is preserved

#

huh

#

only some bars got destroyed

#
[INFO]:Disabled enemy Buzzer 1
[INFO]:Destroying enemy New Game Object
[INFO]:Destroyed enemy New Game Object```
exotic dune
#

that's quitting the game stuff, i think, it disables them all then destroys them all in the same order

solemn rivet
#

it's got something to do with how bonfire changes HP

#

nah, that happens whenever you kill an enemy

#

it gets disabled, then destroyed, then it spawns an empty object as placeholder for the bar to finish draining, then destroys that as well

#

but for some reason, it's not destroying the placeholders

exotic dune
#

i only killed the one enemy tho
so why does it destroy two placeholders when i quit the game ๐Ÿค”

solemn rivet
#

only killed one enemy?

#

huh

exotic dune
#

turned on a fresh save file i already had, killed the first crawlid, and quit the game

solemn rivet
#

maybe the buzzer got squished by a falling rock

#

also, if you only killed one enemy, how come did you have multiple HP bars lingering?

exotic dune
#

oh, that's a different run

#

i had randomizer going so i turned it off so there's no randomizer junk in the log

#

in that screenie i killed both of them yeah

solemn rivet
#

does that happen to every enemy?

#

the lingering hp bar

exotic dune
#

afaik yes, all the trash ones at least
false knight's does as well but that probably has nothing to do with bonfire

solemn rivet
#

have you tried it without bonfire?

exotic dune
#

i've been using it in my normal run and it's been working fine

solemn rivet
#

ok

#

thanks! I'm looking into it rn

#

I think I know what might be causing the issue

exotic dune
#

that's good

#

(also, one of False Knight's health bars linger, but that's probably bc he has two of them)

solemn rivet
#

yeah, that's because of how weirdly he behaves tbh

#

you can see that the body already has full HP as soon as you hit the head

#

it's so weird

#

lol

#

I found the issue

buoyant obsidian
#

he has effectively infinite HP if you quickslash his ass

solemn rivet
#

^

exotic dune
#

good thing you don't fight more than two of false knight lol

solemn rivet
#
if (hm.hp <= 5)
{
    hm.hp = 1;
}```
#

bonfire has this line

#

because even with hp scaling I don't want one-shot enemies (such as vengeflies spawn) to scale as well

#

or bees

#

but every time you kill an enemy with EnemyHPBars, the mod creates an empty game object with 0 HP and lets it's hpbar drain up to its HP value

#

but

#

bonfire says that these empty objects now have 1 HP

#

so the bar never fully drains

#

kek

exotic dune
#

never go full sisyphus lol

solemn rivet
#

also, since I'm fixing this

#

I'll also add the fixes I made to make that graph look nicer

exotic dune
#

ty for the help lol

solemn rivet
exotic dune
#

yup, that works

#

ty

solemn rivet
#

np!

#

literally just cs if (hm.hp <= 5 && hm.hp > 0) { hm.hp = 1; }

sharp crypt
#

there's no up to date version of glass soul right? D:

young walrus
#

You don't really need a mod for that tbh

#

Get hit once, save and quit

hollow pier
#

but there are the gimmicks with mask shards and stuff

compact sedge
#

yeah collecting 1 mask gives you +1 dmg

#

that's it

sharp crypt
#

you sir are a saint omggrub

urban olive
#

how do you toggle the debug mod menu?

copper nacelle
#

f1

eternal walrus
#

is there any version of boss rush that still works?

copper nacelle
#

just downpatch

#

kthx

eternal walrus
#

how

copper nacelle
#

@compact sedge nice job

compact sedge
#

is that the wrong command

copper nacelle
#

that only works in sr channels

compact sedge
#

darn

solemn rivet
#

sadly despite of the few people that came here from the vid, we didn't get any new modding friends

floral furnace
#

this is a dumb question but is there anyway to start a couroutine from Class1 extended by Mod once you use AddComponent in it to add the Class2 extended by Monobehaviour, whereas Class2 contains the coroutine?

compact sedge
#

no but you can start the coroutine from class2

#

I guess if the coroutine is static, idk if that's possible but it probably shoudn't be

floral furnace
#

hmm, alrighty then thanks

compact sedge
#

I still don't know what you're trying to do

#

why not just put the function that starts the coroutine inside class2?

floral furnace
#

well i need the FocusCostHook to check if the player has started focusing

compact sedge
#

yeah, you can put that in the monobehavior

#

just add the hook in the Start() function of that monobehavior

floral furnace
#

ohhh so i could just do that

compact sedge
#

example:

        public void Start()
        {
            StartCoroutine(memeRoutine());
            ModHooks.Instance.FocusCostHook += memeFunction;
        }
#

or whatever else you want

floral furnace
#

tyvm

urban olive
#

Non coding question: how do I modify Mask Shards in the debug mod? Also, how would I clone enemies? Tysm

compact sedge
#

hey person who makes video on top 5 mods. stop making up BS about what the debug mod can do.

#

also uh idk there's like a bunch of options

#

anyway just look in the top right for all the stuff you can config and also the controls menu

solemn rivet
#

you cannot clone enemies

urban olive
#

ok. thank you so much haha

#

sorry for all the dumb questions

solemn rivet
#

no

#

it's not your fault, don't sweat it

urban olive
#

thx

solemn rivet
#

AA did you see the response video?

compact sedge
#

no

#

is it linked somewhere

solemn rivet
#

dunno who linked it here

#

sorry

#

wasn't Mys or Mick

#

Ax2u

compact sedge
#

oh shit he posted a picture from the discord so he's here reading all the crap I'm saying

solemn rivet
#

yup

hollow pier
#

@superforge nerd

#

wow

#

what a scam

solemn rivet
#

ptkyr why did you not comment on his vid defending us

#

do you not like us or smth

hollow pier
#

what

#

what is there to defend

solemn rivet
#

burn

hollow pier
#

wait i have a sub

#

wtf

solemn rivet
#

can I sub

hollow pier
#

wow my 1 sub is 56

#

what a fan

solemn rivet
#

oh shit

#

now I HAVE to

hollow pier
#

im not even subbed to 56

#

big dab

compact sedge
#

wtf I have 21 subs why

solemn rivet
#

why can't I find ur channel

#

reee

urban olive
#

ok this is why i was confused

hollow pier
#

why is the creator studio in light theme reeeee

urban olive
#

this is from the readme in debug

#

like in the debug mod folder

solemn rivet
#

yeah

urban olive
#

i couldnt find a lot of those features weirdly

hollow pier
#

why do you use light theme reeeee

urban olive
#

like the lighting or cloning

#

oops

young walrus
#

They're all top right or have hotkeys you can set

urban olive
#

even the "clone or delete any enemy" one? i couldnt find that anywhere

young walrus
#

"kill all enemies" is a thing

solemn rivet
young walrus
#

Cloning enemies could refer to boss respawns

compact sedge
#

wait why are there non-existent features in the readme

#

is it because nobody reads it anyway

solemn rivet
#

I'm too busy playing gacha games to be useful

urban olive
#

i guess

#

makes sense ty

solemn rivet
#

you can't clone enemies, sorry

urban olive
#

kk

#

how does one modify HK's code anyways?

solemn rivet
#

directly, editing the assembly

compact sedge
#

I'd say not easily but there's a lot of tools that exist that make it fairly doable if you know coding.

solemn rivet
#

or indirectly, using a modified assembly which lets us do things during runtime

urban olive
#

so probably not a great way to learn to code huh

solemn rivet
#

well

#

speak for yourself, I learned coding by making blackmoth

urban olive
#

oh shit

#

that's awesome

solemn rivet
#

(that's why it sucks)

urban olive
#

i was about to check that one out

compact sedge
#

would recommend

urban olive
#

what's the program you guys use to edit the dll?

solemn rivet
#

dnspy

compact sedge
#

we don't edit dlls directly these days

#

but yes

urban olive
#

what way do you guys use now?

compact sedge
#

dnspy is how you can edit it and how you can dump it to learn about how the game works

#

Mostly visual studio

solemn rivet
#

VS/Rider

urban olive
#

are those free or paid?

solemn rivet
#

$$$

urban olive
#

ahhh

solemn rivet
#

free

urban olive
#

microsoft programs

solemn rivet
#

well

urban olive
#

do i just get the community version of it then?

solemn rivet
#

for Rider I'm using my university acc

#

yeah, sure

urban olive
#

ok

compact sedge
#

Rider's free if you have a student email and way too much otherwise

#

VS is "free" but you do need a MS account

urban olive
#

if i can even figure out how to change an enemy's hp i'll be happy with myself lol

solemn rivet
#

that's actually pretty easy after lifeblood

urban olive
#

ok

#

i'm gonna save any more questions until i've looked around the program a bit

compact sedge
#

it wasn't too hard before

solemn rivet
#

well, yeah

compact sedge
#

but only thanks to all the awesome FSM tools we have

solemn rivet
#

but it was more "obscure"

#

you had to know where to look

#

now it's just a component

urban olive
#

what's FSM?

solemn rivet
#

fuckin shit m8

compact sedge
#

yeah you probably cannot figure out how to do it without stealing code.

urban olive
#

for a second i read "SFM" like the tf2 animations lol

compact sedge
#

flying spaghetticode meme

urban olive
#

oh ok

#

so not an actual program then lol

#

haha i feel so dumb

solemn rivet
#

it's... Something

#

don't worry about it for now

#

I'm serious, if you start worrying about FSMs now... Oh boy...

compact sedge
#

write a mod where you basically never have to touch fsms

#

you'll be happy

solemn rivet
#

^

urban olive
#

ok lol

#

all i want to do now is figure out how to modify numbers

solemn rivet
#

"what are FSMs?" the bane of my existence

urban olive
#

and be able to look at a chunk of code and know what it applies to

#

oof

#

i'll wait on that then

#

so to start would i just make a copy of the vanilla API and open it with VS?

#

*vanilla DLL

solemn rivet
#

when installing VS be sure to install the .net libraries btw

#

no

urban olive
#

how do I do that?

solemn rivet
#

well, when running the installer it should let you select which packs to install

urban olive
#

are they the workloads?

#

it's asking me whether or not i want those

solemn rivet
#

I think that's what they're called, I'm not sure

urban olive
#

ok

solemn rivet
#

yeah, that's it

#

select the .NET development workload

urban olive
#

oh fuck

#

if i misclicked and went past that can i go back?

solemn rivet
#

I think so

#

you can always add/remove workloads anyway

urban olive
#

alright

#

my dev settings should be general right?

solemn rivet
#

I guess so...?

urban olive
#

ok

sharp crypt
#

did u guys see the forge took down his mod video?

solemn rivet
#

ye

compact sedge
#

in his defense wtf is up with the readme for debugmod?

solemn rivet
#

ye

tardy raft
#

Is there a compiled list of all mods somewhere? maggot

#

Whoops maggot

rain cedar
#

I don't even remember what I put in the debug readme

urban olive
#

@tardy raft if u didnt already find it it's pinned in this channel

#

how do i open the games assembly with VS?

rain cedar
compact sedge
#

wait where was that picture from

solemn rivet
#

"Clone or delete any enemy"

compact sedge
#

oh nvm

lunar knot
#

Is there a way to "summon" enemies/bosses with the debug mod?

compact sedge
#

I saw it in yours

urban olive
#

is this the correct way to open the file?

solemn rivet
#

no

#

eww

urban olive
#

oops

rain cedar
#

Hex editor lmao

urban olive
#

i have no idea so im just kind of doing my best

solemn rivet
#

if you want to look at the game's assembly, use dnspy

urban olive
#

please help me

solemn rivet
#

it's in the pins

urban olive
#

oh shit ok

#

what's VS for then

solemn rivet
#

VS is for making mods

urban olive
#

oh ok

solemn rivet
#

we don't mess with the assembly anymore

urban olive
#

i guess i'm confused then

#

ohhhh

solemn rivet
#

we use VS to make our own code

urban olive
#

alright

#

how do you get the game's base code in there?

solemn rivet
#

and we use our own assembly to load that code into the game

#

we don't

#

basically we replace the game's assembly with another assembly that's like "I'm gonna load whatever dlls are in this folder"

#

and so we put our mods in a specific folder

#

so they get loaded

urban olive
#

oh

#

is that the mod API one?

solemn rivet
#

yup

#

that's the API

urban olive
#

ahh makes sense

#

so then the mod API

#

has like the normal games code

#
  • it tells it to open the mod code?
solemn rivet
#

yup

#

in short, yeah

#

and some other helper thingies

urban olive
#

hmm ok

compact sedge
#

fwiw that's what like every mod api does

solemn rivet
#

yeah

urban olive
#

gotcha

compact sedge
#

forge mod loader and obse for example literally just scan a folder for dlls and load them all

urban olive
#

wait so if the mod has no original code

#

how do you change/reference things in the original code?

#

for example if i wanted to change the false knights hp from value X to Y how would i do that in my own dll?

compact sedge
#

for one you have hooks

#

for two you can access game objects used in game

#

and these game objects have values like health

solemn rivet
#

is there a simple mod example we can show them?

urban olive
#

i'd appreciate that

#

i'll also try downloading a mod that changes enemies stats and look at that

compact sedge
#

there's some example mods but they all are dealing with the knight and not enemies

solemn rivet
#

well, for me I found it easier to start just opening the assembly and staring at the code for some time

compact sedge
#

I need to go through and comment my code so I can make it more useful to people.

solemn rivet
#

trying to figure out how it all wove together

urban olive
#

even dealing with the knight is fine

#

ok

#

i'll check out the debug one

#

and open it in VS

solemn rivet
#

debug is the hardest one

urban olive
#

can i just select its DLL?

solemn rivet
#

don't

urban olive
#

oh shit

#

oops

#

ok

solemn rivet
#

hm...

#

lemme think

#

oh

urban olive
#

i'll try the randomizer then

solemn rivet
#

I know

urban olive
#

i have that one too

solemn rivet
#

oh shit

#

I think I lost the source code for one of my mods when I reset my pc

compact sedge
#

so in VS you wanna make a NEW library, and choose .net 3.5 for it

solemn rivet
#

I don't think I ever pushed it

compact sedge
urban olive
#

ok

solemn rivet
#

oh

#

rip me

compact sedge
#

56 makes fun of me for publishing mods on github/lab before they're done but the joke's on him because I haven't lost any code when I do tha

solemn rivet
#

it was a mod I made fore a friend

urban olive
#

is a new library similar to a new project?

solemn rivet
#

literally of no general use for most people

urban olive
#

or is there a different way to do that

compact sedge
#

new project

#

type

#

is library

#

and the version of .net is 3.5

solemn rivet
#

it was a mod that set the Knight's HP to 1 and enabled fotf, if it was equipped

#

that's it

#

because if you set the knight's HP to 1, it won't activate fury

#

because of fsms

compact sedge
#

can you activate fury without setting the knight to 1 hp

solemn rivet
#

it was a simple enough mod

compact sedge
#

then

solemn rivet
#

yeah

#

but you'd need to bypass the check for HP then

urban olive
#

it should be a WPF app right

solemn rivet
#

no

compact sedge
#

lol no

#

pls no

solemn rivet
#

.net class library

urban olive
#

which one then

compact sedge
#

.net class library. .net version 3.5

urban olive
#

ok

lunar knot
#

Does anyone know if it is possible to "summon" enemies or bosses with the Debug Mod?

urban olive
#

how do i make it 3.5?

solemn rivet
#

no

#

it's not

urban olive
#

as far as I know it's not possible

#

the readme is a bit confusing

solemn rivet
#

just select that, Lock

urban olive
#

kk

solemn rivet
#

you can change the .net version later

urban olive
#

alright

#

if i do open project and select a mod DLL will that work?

solemn rivet
#

no

#

uhh

#

hm...

#

what's a simple example?

#

oh

#

please do check the example mods above

urban olive
#

yeah but how do i open them?

solemn rivet
urban olive
#

oh

#

oh cool

#

i don't even need to open these

#

alright

solemn rivet
#

you can download these and open them on visual studio

urban olive
#

so what example mod 1 does is make it so every four hits the knight's nail damage doubles?

#

and then reverts?

#

if i read it right

solemn rivet
#

yup

#

sounds right

urban olive
#

ok

#

so with the " _tempNailDamage = PlayerData.instance.nailDamage"

#

Does PlayerData.instance.nailDamage refer to an actual statistic in the base game's code?

solemn rivet
#

yup

#

have you installed dnspy?

compact sedge
#

careful unzipping dnspy btw it will explode into whatever dir you extract it to

solemn rivet
#

^

urban olive
#

not yet i'll get on that now

#

so if visual studio makes the mods what do you use dnspy for?

solemn rivet
#

to know that PlayerData.instance.nailDamage is a thing, for instance

#

how would you know that variable exists in the first place? And if you did, how would you know where to find it?

compact sedge
#

dnSpy is a useless tool for FSMs and gameobjects but a great tool for variables like that. For example just earlier today I used it to find the audio volume variable.

#

At first it will help you learn how the game works, but eventually it will become just another tool in your modder toolbox.

urban olive
#

ok

solemn rivet
#

yeah

#

at first, I recommend you getting used to at least the basic classes for the game

#

and their methods

#

I'd say PlayerData, GameManager and HeroController

#

also the new HealthManager class is pretty important

urban olive
#

ok

#

is that a lifeblood thing?

solemn rivet
#

yup

urban olive
#

ok

#

shot in the dark but is that how people made the hp bar mods?

solemn rivet
#

bingo

urban olive
#

yeet

#

this is taking a while to extract

lunar knot
#

Does anyone know if it is possible to "summon" enemies or bosses with the Debug Mod?

young walrus
#

It's not

flat forum
#

tips on NGG

#

pls

compact sedge
#

copy KDT's build of mop, longnail, dashmaster?

#

idk

#

you have the second best score on it right now

rain cedar
#

Grubsong unn quick focus deep focus

compact sedge
#

what could go wrong

flat forum
#

wait you beat my 800?

compact sedge
#

no kdt did

flat forum
#

ah

compact sedge
#

not by much though

flat forum
#

Oh

#

ok

#

yeah, I have a strategy

#

works most of the time

#

until I start getting stupid spike formations

#

like, spikes right below me (while's I'm double jumping), but then spikes diverge to the left and right. So, dodging them killed me

#

honestly if spikes were just straight up this would have been much clearer and easier

flat forum
#

so, how do I make the ModLog appear on screen?

compact sedge
#

ยฏ_(ใƒ„)_/ยฏ

flat forum
#

=(

#

=C

rain cedar
#

Put that in your global settings

compact sedge
#

woah there's global settings for Modding API

rain cedar
#

Yeah

compact sedge
#

why is it not listed as a boolvalue

#

by default

rain cedar
#

It's a bit of an oversight in how default values work

#

It doesn't actually save the default value, it just returns it every time you ask for it

#

Also gotta say that return line is awful

#

Being succinct isn't always better

copper nacelle
#

@compact sedge private projects are a thing

#

imo

compact sedge
#

why? I'm cool with my shit out in the public. I don't have shame when y'all tell me my code is shit and in fact I use that to improve my code. Besides 99% of people don't even care about my code so whatever.

rain cedar
#

Wow 1% that's still 76 million people who care

compact sedge
#

1% of people who know about my code which is more like 1 person

copper nacelle
#

wtf 58

compact sedge
#

56 refactor all my code pls

copper nacelle
#

i really wanna commit this to see how many lines i've deleted

#

but i also need to finish it first

#

every single instance of grubberflybeam = can be turned into a spawnbeam

compact sedge
#

public repo imo

copper nacelle
#

after i finish the refactoring i will

compact sedge
#

ok well I'm going to sleep so ping me tomorrow when Lightbringer is out on API and I'm gonna try it (and see how much it breaks with blackmoth and redwing)

copper nacelle
#

gn

vagrant leaf
#

Big lore

copper nacelle
#

@vagrant leaf did ur message die

vagrant leaf
#

What

copper nacelle
#

there was a message above big lore

vagrant leaf
#

Oh

#

Gay message

#

Deleted

copper nacelle
#

o

urban olive
#

how do i actually use dnspy?

#

i clicked on its .sln and opened it with VS

#

but i'm kinda confused

rain cedar
#

You just drag the dll into it

urban olive
#

while it's open in VS?

#

like drag it into VS or the folder?

rain cedar
#

You don't open dlls with vs

urban olive
#

should i not have opened dnspy with VS either then?

#

completely new if that wasn't obv

rain cedar
#

No that makes no sense

#

Just run dnspy.exe

urban olive
#

i was looking for an executable but all i have are .sln and .snk

#

so im kinda lost

rain cedar
#

Oh you downloaded the source

urban olive
#

oops

#

how should i have done it?

rain cedar
urban olive
#

tysm

#

so do i just open the .dll in dnspy?

rain cedar
#

You can select more stuff in the sidebar

urban olive
#

ok

#

this is kind of a basic question, but how does the "void" thing work?

#

does it just null out what's written on that line?

rain cedar
#

If I'm understanding you right, you mean the void return type on functions?

#

It means the function returns no value

urban olive
#

yes that's what I mean

#

so not returning a value means that nothing comes as a result of that line?

rain cedar
#

No not at all, it just means the function returns nothing back to the caller after execution

#

And it's not just that line, the function body is the entire thing after the line enclosed in curly brackets

urban olive
#

so the caller is the function before the void function then?

rain cedar
#

No it's wherever the function is used

#

Right click on it and select analyze

urban olive
#

OH

rain cedar
#

Then used by

urban olive
#

damn like everything uses this

#

so then

#

when you make a void function

#

you're basically setting up a sequence of things that will happen wheneve the void function is triggered somewhere else?

#

and you name the voids to separate them?

rain cedar
#

That's just describing functions in general

urban olive
#

shit

#

i guess i'm struggling to understand how voids differ then

#

is it just that voids can be used elsewhere?

rain cedar
#

Every function has a return type like void, bool, int, etc

#

void just means nothing

#

bool is true/false

#

int is an integer

urban olive
#

ok i'm following so far

steel wadi
#

how do you get vengeful spirit in randomizer?

urban olive
#

it's random

rain cedar
#

Well you go to wherever it is and pick it up

urban olive
#

you'll find it eventually but it's different each time

#

if you go to where normal VS is youll either get a charm or spell

#

it most likely wont be VS

steel wadi
#

ok thanks

urban olive
#

you might find these helpful

#

so what does the integer being returned actually do?

#

it's different from, for example, right being pressed and moving right correct

#

the "moving right" isn't being returned

rain cedar
#

Here's a small example:

int func()
{
     return 5;
}

void main()
{
     int num = func(); //num now equals 5
}```
urban olive
#

so the void function here only works because you already set up the int function right?

rain cedar
#

In a way I suppose, but not really

#

It uses the integer function is all

#

To get the number 5

urban olive
#

ok

#

int func()
{
return 7;
}

void main()
{
int num = func();
}

#

so if you did it like that

#

num would equal 7 now

#

just so i get the logic of it

rain cedar
#

Yes

urban olive
#

ok

#

so then when the number is returned to the caller function, what actually results from that?

rain cedar
#

It really depends on what other code is there

#

But generally something like this would either be returning information about what the function did or the result of some calculation

urban olive
#

ok

dusky lion
#

How did you get the codeblock to work with C#?

#

I thought Discord didn't support it

rain cedar
#

No idea what you're asking

#

Oh

#

```csharp
Code here
```

dusky lion
#

Oh

#

Thanks

#

And now I actually know how to pronounce C# hollowknice

urban olive
#

how do private and public voids differ?

rain cedar
#

public: Can be accessed from outside the class
private: Can only be accessed from within the class
protected: Can be accessed both from in the class and from classes that inherit from the class
internal: Public only within this class library

urban olive
#

classes that inherit are subclasses right?

rain cedar
#

Yes

urban olive
#

ok cool

#

what's a class library then?

rain cedar
#

The dll you compile to

dusky lion
#

Oh my god

#

I don't know why but Sean your nickname finally registered with me and it made me laugh very hard

urban olive
#

ok so you can't reference other DLLs with internal then?

dusky lion
#

Nope internals are purely Class Library specific

rain cedar
#

Maybe you can get them with reflection

urban olive
#

ok cool

rain cedar
#

Haven't tried

dusky lion
#

Huh

#

Reflection could work

#

Never thought about it

urban olive
#

as a broad example, how would you change the knight's location? for example, have him move right? regardless of animation or anything, just changing his x coord

#

like what would that involve

rain cedar
#

That's more of a Unity question

urban olive
#

oh ok

#

that explains why i saw all those unity blocks with no other code

rain cedar
#

You need to change the position on the object's transform

urban olive
#

so when it says "unity" it's referencing unity script then?

rain cedar
#

Which is accessed (in this case) via HeroController.instance.gameObject.transform

#

No there's no unityscript here

#

That's essentially javascript and it's garbage

urban olive
#

oh ok

#

vs uses just C# right?

rain cedar
#

Visual studio can do a lot

dusky lion
#

Yes Visual Studio is C#

rain cedar
#

But only C# is relevant here

trail dove
#

And im back again for more tech support. Im trying to set up randomiser on another pc; install api, then modcommon, then randomiser. Booting the game, everything is fine, its loaded the mod and everything according to the corner, but when i select a save slot, the randomiser screen doesnt come up, it just goes straight into the game. Any idea what Iโ€™m forgetting?

dusky lion
#

Yeah it can do quite a lot of things but C# is the one used here

rain cedar
#

Kill hollow knight

#

You don't have the mode select unlocked

#

Need that for randomizer

trail dove
#

Oh

#

Rip

rain cedar
#

If you don't have a save for that I can send one

trail dove
#

Thatd be awesome, thanks

rain cedar
trail dove
#

Im on discord on my phone though

urban olive
#

do you have any recommended C# tutorials? want to get some basic education before i ask any more questions

rain cedar
#

No sorry I never really used any

urban olive
#

ah

#

how'd you figure it out then? just messing around ?

rain cedar
#

Yeah pretty much but not starting with C#

urban olive
#

oh ok

rain cedar
#

I've been programming for a long time

urban olive
#

what'd you start with?

rain cedar
#

Uhh not something you should start with

#

Actionscript 2

urban olive
#

ok gotcha lol

#

ill prob look up a C# tutorial tomorrow then

#

tysm for all the help

rain cedar
#

Ok sounds good

noble trout
#

Poor superforge

foggy rose
#

hey the enemy randomizer thing isnt owrking for me, its saying Failed to load check modlog. the regular randomizer is working fine, is there some stupid minor thing im missing?

dusky lion
#

According to 56 using var over variable is gay but why so?

#

Do you have ModCommon ryo?

foggy rose
#

i was looking for it

#

but it appears not

#

where to find?

dusky lion
foggy rose
#

well that was easy

dusky lion
#

Replace the preexisting Assembly-CSharp

foggy rose
#

thanks daddy

dusky lion
#

DO NOT delete the original

#

Store it somewhere else

foggy rose
#

ok

dusky lion
#

And when you add the new one make sure it is purely Assembly-CSharp.dll and not like Assembly-CSharp (1).dll

foggy rose
#

you got it boss. i thought i already replaced that when i used the charm randomizer mod

#

i just replaced the assembly csharp with the file you gave me and made my game explode. the other file works fine with the other mod so idk if im just retarded or unlucky

dusky lion
#

Huh

#

Hold on

foggy rose
#

i even tried using the auto installer program in the pinned messages

#

as well as the manual install

dusky lion
#

Hmm

#

Do you have any other mods installed?

foggy rose
#

just the randomizer mod

#

for charms and movement stuff

dusky lion
#

Try this version of API

#

Oh my god

#

I'm so stupid

foggy rose
#

me to

#

too*

dusky lion
#

Put this in your mods folder

foggy rose
#

thats the cutest looking radiance ive ever seen btw

dusky lion
#

ty

#

@flat forum made it not me

foggy rose
#

is this persons work on deviant art or anything like that?

#

id like to se emore

#

also that appears to have wokred perfectly

dusky lion
#

No but he posted them most in a server

foggy rose
#

you are a saint

dusky lion
#

No problem

#

To be honest any other person here would shred you for asking how to install the mods

foggy rose
#

yeah

#

i was ready for that

#

i knew i was missing some stupid part

dusky lion
#

Doesn't tell you that it requires ModCommon w h i c h i t s h o u l d so it's a common mistake

foggy rose
#

i read the readme and it said it required that modcommon thing

dusky lion
#

Oh then I'm stupid

foggy rose
#

but i didnt know where to find it

dusky lion
#

And or have not used the current version

#

In pinned

#

The 3rd pin is a list of all the mods on the server including ModCommon

#

Also

#

The creator of my pfp doesn't have a Deviantart (as far as I know) but he dumped all of his and they were pinned in another server

#

I'll DM the invite for you

#

But first

#

Have you finished the game?

foggy rose
#

yeah

#

several times

dusky lion
#

Okay good

foggy rose
#

which is why i wanted to play with the mods

dusky lion
#

I have a question for all you epik k modders

#

Do you guys hate when people use var rather than variable?

#

56 says that everyone does here and I do not understand why

copper nacelle
#

imo var x = 10; makes me want to die

#

int x = 10; does not

#

and it's nearly 7am so gn

old fog
#

hey, i have the lightbringer mod... but when i get to take the glass soul charm at the beginnign my game crashes and i cant play anyomere. does anyone know ho to resolve this?

exotic venture
#

woah fuck

#

i just ruined this guy's day LUL

#

also @old fog, what version of the game are you on?

#

lightbringer only works on 1.2.2.1

old fog
#

yeah i am on that version

#

the 1.2.2.1

exotic venture
#

so you downpatched?

old fog
#

?

#

what does that mean?

exotic venture
#

like, you used a tool to get the clean 1.2.2.1 right?

#

did you check if that worked?

old fog
#

kind of?

#

o yeah the version works

exotic venture
#

so you checked if the game worked on vanilla 1.2.2.1?

old fog
#

oh wait a sec then

exotic venture
#

๐Ÿค”

old fog
#

.....

#

ok the game does the same thing even in the vanilla

#

frick

exotic venture
#

you were using the 1.3.1.5 patch i think

#

if you didn't use a tool to downpatch

#

lightbringer doesn't work on 1.3.1.5

old fog
#

oh ok, thanks

exotic venture
#

if you did do it successfully then you should've seen this

#

there is an update for lightbringer coming maybe soonish but you gotta work around the version to make it work slugsweat

#

so you get the 1.2.2.1 patch

#

check if that works

#

then you install lightbringer

#

and tell me how you did! happygrub

old fog
#

ok, but can you please tell me how to patch down the game pls? thinkgrub

#

because i didn't really get it ๐Ÿ˜…

#

Please?

exotic venture
#

uh

#

did you read the guide

#

open up the run menu with the windows key + r

#

type in steam://nav/console

#

and then type in 1.2.2.1: download_depot 367520 367521 648876203478229944

#

or just download_depot 367520 367521 648876203478229944

#

because you don't need the 1.2.2.1

#

attached to it milliS

#

you then go to the directory the steam client gives you

#

make a copy of your current hollow knight folder

fair rampart
#

I wanna know how to down patch to

exotic venture
#

and paste the rest in there

fair rampart
#

how long will it take to downloade?

#

downloading depot

#

i think

exotic venture
#

no progress is indicated anywhere so

#

uhh it depends on your net

fair rampart
#

is the a down patch to play multyplayer?

exotic venture
#

multiplayer won't ever be a thing

#

true multiplayer that is

fair rampart
#

like a mod

exotic venture
#

local you got dreamshield co-op

#

also a multiplayer mod is not gonna happen

fair rampart
#

well is there even a pultiplayer?

exotic venture
#

no

fair rampart
#

wait to downpatch 1.2.2.1 is like te one?

#

uh

exotic venture
#

do you even know what you are doing

fair rampart
#

uhhh

#

no

#

xD

#

no

#

what is it even for?

#

nothing

exotic venture
#

yeah i'm not gonna help you with that

fair rampart
#

.

#

i hate u

#

at least one thing what is the latest

exotic venture
#

current patch is 1.3.1.5

fair rampart
#

uuh okie thx

exotic venture
#

made a comment to the video including hk discord plug because haha yes

young walrus
#

Holy shit so many questions over night

rain cedar
#

Same

young walrus
#

Do we make a separate channel for modding help?

#

Cuz this one has like 2 purposes now. And the actual modding part is getting drowned out in "help me"

exotic venture
#

sounds more than feasible to me

#

i'll ask the big lads for input on it

solemn rivet
#

modding-troubleshooting and modding

leaden hedge
#

modding and modding-2-electric-boogaloo

solemn rivet
#

modding and pins

exotic venture
#

modding and modding-for-dummies

solemn rivet
#

richard and mortimer

compact sedge
#

I'm half tempted, but I don't know how feasable it would be, to start maintaining a public build of the modding API for the beta branch. So long as the beta branch continues to be on the same primary patch level (AKA lifeblood) as the main one. Would y'all mind if I did this?

fair rampart
#

Is there any instructions ANYWHERE on how to use the debug mod? I really cant believe its so hard to find.

compact sedge
#

yes in the mod itself

#

there's a thing that shows you all your keybindings and what they do

fair rampart
#

wow im an idiot idk how i didnt see the file. lmao

rose robin
#

Where can I find the bonfire mod?

leaden hedge
#

pins

fair rampart
#

i got the teacher only one i missed one xD

leaden hedge
#

afaik building the api is just a script you run so it shouldn't be that hard to keep maintained for beta patch

#

unless something actually changes

#

although harmony/monomod hooks may not work good

wintry copper
#

I want to see a mod that takes all the charms.charm notches and shop mask/soul upgrades and puts them into the world

young walrus
#

cool

leaden hedge
#

be the change you want to see in the world

young walrus
#

^

#

"but I can't mod"

#

"I'll just come up with the ideas."

wintry copper
#

I COULD do it myself but then I dont get the sense of discovery

young walrus
#

well nobody else is going to make it

leaden hedge
#

could you?

young walrus
#

so.... do it, or don't

#

those are your choices

leaden hedge
#

adding item drops is a pretty complicated mod