#archived-modding-development

1 messages ยท Page 127 of 1

leaden hedge
#

that'd need sprites we don't have

rain cedar
#

Nice code

leaden hedge
#

and drawing sprites is slower and/or expensive

compact sedge
#

if I was gonna do a grimmchild mod like that I'd make it based on the damage dealt by grimmchild

dusky lion
#

Ouch

compact sedge
#

and I would steal all of gradow's gui code and all of my grimmchild upgrades code

fair rampart
#

doesn't matter :3 you don't need them , there is always an creative way of simulating things

compact sedge
#

to make it work

leaden hedge
#

G O O D C O D E

dusky lion
#

Not as bad as the way the code calculates charm notches used

leaden hedge
#

its worse

#

this is garbage

rain cedar
#

I actually have no idea what this does

leaden hedge
#

nested switches

fair rampart
#

I mean , Im transforming all of the fighters in hyper dragon ball z so it plays like killer instinct~

leaden hedge
#

and magic numbers

fair rampart
#

if I can do that , without knowing shiet ~ I bet you can do wonderful things ~

leaden hedge
#

its comparing a number 0, 1, 2, 3 to get the direction you're attacking, and then checking against 1+2+4+8 for NESW invuln

dusky lion
#

What program are you using to do that?

fair rampart
#

I dunno you could make it like lil grimm explodes in some of the dreamworld particles or somethin

leaden hedge
#

so if you're attacking in direction 1 its checking it isn't invincible in direction 8

rain cedar
#

But why is it 1 2 4 8?

leaden hedge
#

so you can add them up

#

if its invincbile 1 2 4 then you can just check 7

#

why its not bitmasked

#

I dunno

rain cedar
#

Maybe it is and the compiler optimized it out

leaden hedge
#

doubt it

#
switch (this.invincibleFromDirection)
    {
    case 2:
    case 5:
    case 6:
    case 7:
    case 8:
    case 9:
        return true;
    }
    return false;

this would be compiled to a hash table if compiler was doing stuff

#

actually I dunno ๐Ÿค”

#

because its one fall through

#

oh even weirder half the time it does

    int num = this.invincibleFromDirection;
    switch (num)

and the other it does

   switch (this.invincibleFromDirection)
rain cedar
#

What you said for this doesn't even make sense

#

There's a case 7

#

That's 4 + 2 + 1

#

It makes no sense to check 3 directions

leaden hedge
#

yeah if they didn't bitmask they probably did something retarded

#

also it does make sense

#

because you'd have to check every possibility with a 1

rain cedar
#

Oh wait I get it

#

8 is probably down and those are left/right/up

copper nacelle
#

what the fuck did I just read

opal hearth
#

yo why is my mang glowing rainbow colors like them color changing christmas lights

copper nacelle
#

how much geo do you have

opal hearth
#

753

copper nacelle
#

go fight lost kin

solemn rivet
#

before that

#

check the mod creator's name

opal hearth
#

i don't know which mod is causing this lol

solemn rivet
#

lightbringer

copper nacelle
#

lightbringer

opal hearth
#

oo

leaden hedge
#

ok I think I've figured it out

#

they are retarded

opal hearth
#

and it's way too early to go fight lost kin. i've had more geo than this before.

solemn rivet
#

56 you should have added something too

copper nacelle
#

753 geo makes lost kin do cool shit

#

yeah I was going to but then I just wanted to release

opal hearth
#

specifically 753? o.o

copper nacelle
#

@ 753#0753

leaden hedge
opal hearth
#

oh that makes sense

leaden hedge
#

my assumption is they have 2 enums

#

one that is

U,R,D,L

and another that is every possible permutation of 3 directions

#

so

U,R,D,L,UR,UD,UL,RD,RL,DL,URD,URL,UDL,RDL

although theres probably a few missing that never come up

opal hearth
#

RIP. somehow i collected 1 geo. lol

copper nacelle
#

get soul eater and then die and kill your shade

#

it'll take off a few geo

leaden hedge
opal hearth
#

neat

leaden hedge
#

so honestly the most retarded thing I've ever read

solemn rivet
#

that's... certainly a way to achieve that, I guess

leaden hedge
#

its especially dumb

#

because its an inverse check

#

it checks if they're vulnerable in a direction

#

they could pretty easily just do

    switch(attackDir){
    case directions.U:
        return this.invulnU;
    case directions.R:
        return this.invulnR;
    case directions.D:
        return this.invulnD;
    case directions.L:
        return this.invulnL;
    }

instead of using 2 ints lol

#

I mean its not return attackDir & invulnFlags but its not TC level garbage intenseface

compact sedge
#

it's kinda memey that you need 753 geo just to fight super mega lost kin extreme.

#

like what do you do if you get to ancient basin with 754

#

I guess faulty wallet + let yourself die + kill shade

opal hearth
#

or buy something

compact sedge
#

tfw in ancient basin and nothing to buy because it's ancient basin

leaden hedge
#

buy eggs

copper nacelle
#

geo fountain

leaden hedge
#

and then avoid picking up geo

compact sedge
#

but then you have to collect 753 geo

copper nacelle
#

faulty wallet shade thing is the easiest

compact sedge
#

you can't just deposit one geo into the fountain right?

copper nacelle
#

you lose like 20-30 geo iirc

#

yeah you deposit your entire geo

compact sedge
#

actually before you fixed it after I pointed it out

#

you'd lose ALL your geo

#

with faulty wallet + shade

#

bigmeme

opal hearth
#

so 753 geo, and i get to fight a boss i'm horrifically unqualified for

copper nacelle
#

yeet

compact sedge
#

so assuming the original lightbringer was like that

#

imagine dying with faulty wallet and 50,000 geo or something

dusky lion
#

F

copper nacelle
#

just get full soul before killing your shade

#

or take off wallet before killing shade

compact sedge
#

no the problem is the way it was originally programmed

#

it checked if you had full soul by comparing your soul against 99

#

which you can't get if you have a shade

#

which means picking up any geo with a shade and faulty gives you 0 geo

#

always

#

or it did

opal hearth
#

weird q. why can't i access the mods menu w a controller lol

copper nacelle
#

oh yeah it did

#

cause controllers are illegal

opal hearth
#

controllers are illegal. hmmst

solemn rivet
#

cause

#

reasons

leaden hedge
#

it used to work in my mod version

#

and it also used to not break the video fullscreen option

solemn rivet
#

I think kerr simply stole an existing button or smth

leaden hedge
#

but it was weird and hacky to avoid weird csharp referencing stuff

#

he did

#

kerr did it the same way mods did

#

although he used a different button

#

but i'm pretty sure when wyza ported my mod version to modding api he removed a "redundant" line or two

#

atleast thats probably what happened, I had a couple of object = object lying about

#

because otherwise csharp would do 420iq stuff

solemn rivet
#

wait - that was wyza, not kerr

#

you're right

#

we need to start keeping track of that stuff

leaden hedge
#

yes thats how my impkementation of the mod menu works

#

it stole the fullscreen button

#

wyza didn't code the ui for that I did, he just ported it to modding api

solemn rivet
#

for the future generations to know how much we struggled

#

makes sense

leaden hedge
#

and coded the items in there

solemn rivet
#

you were the one who spent most time working with canvas stuffs

leaden hedge
#

its not actually canvas intenseface

solemn rivet
#

oh, really?

#

I thought the main menu was canvas

#

well, shows how much I know

leaden hedge
#

well I guess at some point it is canvas

#

but the main object is called Selectable/MenuSelectable

solemn rivet
#

I see

leaden hedge
#

its actually pretty simple tbh

#

it has 4 Selectable variables for U,R,D,L so it knows what to go to when you press a button
what to do when you press cancel on it
what to do when you press accept on it
and where to render it

#

only reason I copied fullscreen was to get the arrows at the side to work nicely without having to reimplement them

compact sedge
#

why does the modding api main menu item not work with controllers though?

rain cedar
#

Idk, randomizer menu works fine with controller

#

Wyza probably missed some event

leaden hedge
#

most likely because the navigation object gets overwrote by something else

#

or it didn't get correctly set

charred parrot
#

does HK use standard Unity physics or do they have their own custom thing up in there?

leaden hedge
#

if you mean does it use unities physic system yes

#

although some stuff has custom gravity

#

TC are literally the worst programmers of all time

#

nothing they have is custom hollowface

charred parrot
#

what are jumpsteps referring to in the code?

leaden hedge
#

iirc its how long you can hold jump until you start to fall

charred parrot
#

I thought jump was supplied by a regular old set velocity

leaden hedge
#

it is but you aren;t affected by gravity until you release jump

#

or atleast x frames pass

charred parrot
#

oh really?

#

so what's slowing you down

leaden hedge
#

nothing

charred parrot
#

wut

leaden hedge
#

thats why you travel at a consistent rate

charred parrot
#

you do??

leaden hedge
#

yes

charred parrot
#

holy shit I need to freaking open the game up again

#

what about the arcing motion at the height of the jump?

leaden hedge
#

well then thats once jump_steps exceeds JUMP_STEPS

#

the reason why theres an arc when you hold and not when you release

#

is because release sets your velocity to 0

compact sedge
#

how does unity physics handle jerk

#

or like air resistance

leaden hedge
#

before making you affected by gravity

compact sedge
#

etc

#

because it's always felt weird to me

charred parrot
#

it has this property on the rigidbody

#

called linear drag

#

I think

compact sedge
#

normally you'd expect the rate of gravitational acceleration to sharply decrease as you approach terminal velocity.

#

and not just linearly decrease

charred parrot
#

there is no terminal velocity

#

by default

compact sedge
#

well terminal velocity isn't like a real thing irl either

leaden hedge
#

there is

compact sedge
#

it's just the point at which drag cancels out with gravity

leaden hedge
#

its c

charred parrot
#

well I mean

compact sedge
#

you mean drag never cancels gravity in unity

charred parrot
#

it is but the physics engine of reality is quite comple

#

so

leaden hedge
#

I'd like to see you go faster than the speed of light

#

there is no drag

compact sedge
#

from your perspective there's no max speed

#

the closer you get to c the more time dilates such that it feels like you can accelerate forever

leaden hedge
#

prove it imo

charred parrot
#

honestly Hollow Knight's controls are some of the jerkiest I've seen in a platformer

leaden hedge
#

everything about hollow knight is janky

charred parrot
#

but iz gud game

leaden hedge
#

is it though

compact sedge
#

wait are you an alt of someone?

leaden hedge
#

I rarely see people praising the gameplay

#

99% of the time its:
good art
good music
many explore

#

boss hard

charred parrot
#

I think the gameplay is pretty damn solid

leaden hedge
#

dark souls of metroidvania

compact sedge
#

lul

leaden hedge
#

its really hard to not be "solid"

charred parrot
#

I'll admit that movement (especially the wall jump) was hard to get used to

#

but otherwise its good

compact sedge
#

you know what's weird to me

#

wall dashing sends you farther than normal dashing

leaden hedge
#

did you know dashing sends you a random distance

charred parrot
#

...

compact sedge
#

stop

leaden hedge
#

and you can actually dash infinitely if the game lags

compact sedge
#

I don't need these lies

charred parrot
#

did they forget to multiple by time.fixedDeltaTime or something?

leaden hedge
#

no

#

the game doesn't simulate stuff correctly

charred parrot
#

but

#

but how

compact sedge
#

the dash vector is done on a fixed thing tho

leaden hedge
#

so if a frame took one second but an action only lasts half a second

#

it'll go twice as far

charred parrot
#

is the code split between an FSM and a c# script?

compact sedge
#

the C# is a lot of monobehaviors that are added to fsms

leaden hedge
#

probably

#

i know you can get up to the secret passage above salubra with no items at all

charred parrot
#

1 sec let me look on the hero controller script for that dash

leaden hedge
#

by getting hit by a mob below and having the game lag

compact sedge
#

this is why I wanted a custom Time.DeltaTime function for if there's ever a TAS

#

so you can lag manipulate

#

probably lets you clip through walls too

charred parrot
compact sedge
#

since wall colliders are line thick

#

for some reason

leaden hedge
#

i dunno

#

I think walls are raycasted

compact sedge
#

idk how it's done but it's a line collider

leaden hedge
#

yeah look theres no limiter

#

for if dash_timer goes over DASH_TIME

compact sedge
#

but Time.deltaTime is always 0.02f tho

charred parrot
#

let me find what Finish Dash does

compact sedge
#

in this function

leaden hedge
#

doesn't matter

#

that function doesn't even move the character

compact sedge
#

oh

leaden hedge
#

and at the bottom theres Time.deltaTime

#

that just sets the characters velocity for every frame they are dashing

compact sedge
#

but it would only work if the length of a frame is more than dash_timer, or at least close enough to dash_timer that it makes a noticable difference

leaden hedge
#

I mean even like a small amount makes a difference

#

the distance of a dash is completely random

#

by several pixels

#

making setups for skips rng and computer specific

compact sedge
#

no framerate is not rng

charred parrot
#

shouldn't they be using Time.fixedDeltaTime?

leaden hedge
#

they shouldn't be doing either

#

its pretty easy

compact sedge
#

first of all, your framerate is not generated by a random number generator. Secondly, it's not random

#

ok mr programming god how u do it

leaden hedge
#

it is random

rain cedar
#

Technically nothing in a computer is random

#

If you want to split hairs here

leaden hedge
#

I could freeze the game and ask you how long the frame lasted

#

and you wouldn't be able to guess

#

so its random ๐Ÿค”

charred parrot
#

wait wait wait

#

so what part of the code here

#

is causing the randomness

compact sedge
#

it's only random in the sense that brownian motion which dissipates heat from the cpu is technically random

charred parrot
#

and how should they fix

compact sedge
#

but it evens out on a non-quantum scale

charred parrot
#

also keep in mind what I just pasted is pre-lifeblood

#

so

#

meh

rain cedar
#

Would it be better if we said it's unpredictable?

#

I don't know why you're arguing this even

compact sedge
#

because memes

#

but

charred parrot
#

not arguing, I just want to know whats generating this randomness

compact sedge
#

aanyway how woud you do it?

leaden hedge
#

also its just
time = time.deltaTime;
if( currentTime + time >= dash_time )
time = dash_time - currentTime;
currentTime += time;
use time instead of deltaTime

#

fixed

compact sedge
#

mail code to TC

cunning geyser
#

Hi guys, im new to modding. How do i install debug mod? i tried google and youtube but not much help

leaden hedge
#

the randomness is the total time you spend dashing is effectively random

compact sedge
#

have you tried ๐Ÿ“Œ

leaden hedge
#

by around a frame

#

well half a frame +- half a frame intenseface

charred parrot
#

but why though

#

what did they goof

compact sedge
#

the randomness is that the time spent dashing will always exceed the time you should be dashing and the amount it will exceed it is up to the length of one frame

leaden hedge
#

because it only ends when time > dash_time

#

sometimes time will be exactly equal to dash_time and work perfectly

#

sometimes it'll be 0.00000000001 less

charred parrot
#

oh

#

OH

leaden hedge
#

and it'll do a full frame after

compact sedge
#

and it doesn't use the difference between time and dash_time to determine the actual distance you should dash

charred parrot
#

because frames

leaden hedge
#

yes it isn't calculating how long into the frame it should have been dashing

#

it just assumes the entire frame was dashing

#

which when you have a laggy pc which sometimes lags to <10 fps like me

#

you get stuff moving you way further than it should

#

or WORSE enemies moving way more than they should

compact sedge
#

what's ur specs that you get <10 fps on HK

leaden hedge
#

I've had NKG zip fullscreen when doing an uppercut

compact sedge
#

I mean not that HK is well made or anything

leaden hedge
#

my harddrive is bad

#

it loads stuff at runtime

#

it has to wait for it to load

compact sedge
#

how much ram do you have

leaden hedge
#

8gb

compact sedge
#

oh that sucks then

#

if you had more file caching would be better, or you could force it to be better by making a ramdisk or something.

leaden hedge
#

it only really happens when im using obs

compact sedge
#

(file caching on windows sucks tho)

leaden hedge
#

the drops are only like 45fps without it

compact sedge
#

I guess that means the game doesn't load everything it needs to for a scene the second you enter

leaden hedge
#

its generally when enemies spawn stuff

compact sedge
#

So spawnobjectfromglobalpool or whatever isn't cached then

leaden hedge
#

balloon phase, and the fire behind grimm do it

compact sedge
#

no wonder

leaden hedge
#

pillars and firebats are fine though

cunning geyser
#

Is debug mod still working?

leaden hedge
#

yes

#

do you have api and modcommon installed

cunning geyser
#

i have api installed

leaden hedge
#

M O D C O M M O N?

cunning geyser
#

not yet i think

rain cedar
#

Debug is from before modcommon even existed

pearl sentinel
#

^

leaden hedge
#

oh is it randomizer that needs it

young walrus
#

Correct download? In the right place? You off beta?

pearl sentinel
#

yo mickely, nice save on that PoP tip on patty's stream

young walrus
#

?

pearl sentinel
#

watched that vod and you saved the stream there

young walrus
#

What tip tho

leaden hedge
#

theres a beta api that works

#

afaik

pearl sentinel
#

streamer like.... a week ago? was playing hk, you clued him into where PoP was when he was doing white palace

young walrus
#

I know who patty is.

#

Lol

cunning geyser
#

i just follow the readme file from seanpr... so is modcommon needed for debug mod now?

pearl sentinel
#

well, yeah, still. if not for you he likely wouldn't have done it

leaden hedge
#

no

#

apparently not

#

what happens when you load the game

opal hearth
#

sooo. am i supposed to fight this pain in the keister updated gruz mother without being able to get sly beforehand? it's late so maybe i'm forgetting something but if i can't get sly, i can't get the buglight or whatever, so i can't go around to get to him the other way?

young walrus
#

You didn't answer any of my questions

leaden hedge
#

do you have a menu at the top left

charred parrot
#

you know why not instead of a timer they just define a distance for the dash

cunning geyser
#

there is a writing on top left corner

leaden hedge
#

does it say debug?

cunning geyser
#

Modding api

pearl sentinel
#

@young walrus

#

you mean what tip?

cunning geyser
#

@leaden hedge it says Modding Api

young walrus
#

No. Azvon

leaden hedge
#

because defining a distance is identical to define a time

pearl sentinel
#

gotcha

young walrus
#

I asked 3 questions.

#

Didn't answer one of them

rain cedar
#

There's like 5 conversations right now

leaden hedge
#

also distance has additional problems if you're on a moving platform or other oddities

#

if it just says modding api you didn't install debug mod

#

it should list your installed mods at the top left

cunning geyser
#

ya...i think is either i downloaded the wrong debug mod or i placed it in a wrong folder

rain cedar
#

Send a screenshot of where you put the files

leaden hedge
#

also this multiple conversation thing is why we asked for 2 channels

#

one for install / debugging for end users

young walrus
#

^

leaden hedge
#

and one for actual programming

rain cedar
#

And one for discussing path of pain

charred parrot
#

oooo boi path of pain

leaden hedge
#

yeah well thats just offtopic

#

but thats fine intenseface

pearl sentinel
rain cedar
leaden hedge
#

oh does anyone have hk on switch

#

can they check that HKSM works with switch saves

rain cedar
#

It's probably identical saves

leaden hedge
#

they are just plaintext

#

so it should work converting between

rain cedar
#

Weird

leaden hedge
#

but I don't know if they are actually identical otherwise

#

no reason to encrypt if you can't access them normally I guess

#

I imagine the game is very similar in all regards on switch

compact sedge
#

why are they encrypted on pc anyway

leaden hedge
#

hopefully with the physical release we can unpack it and repack it

#

I guess to stop people just editting their damage

cunning geyser
compact sedge
#

is this them subtley hinting to us that they don't want us modding their game

rain cedar
#

I don't know where you downloaded from that has a folder with that name

cunning geyser
rain cedar
#

Of course you did

#

Check the pins

compact sedge
#

sigh- go download visual studio or monodevelop if ur gonna compile it from source

leaden hedge
#

modding api should compile source files intenseface

compact sedge
#

but what if they wanna compile modding api

leaden hedge
#

unlucky

#

they'll need a modding api to do that

cunning geyser
#

so..wht do i do now? please guide me

compact sedge
#

have you tried

#

๐Ÿ“Œ

leaden hedge
#

๐Ÿ“Œ

cunning geyser
#

sorry

#

what is pin

pearl sentinel
rain cedar
#

Pinned messages

cunning geyser
#

pin from discord?

rain cedar
#

No on reddit

cunning geyser
#

owh

leaden hedge
#

at the top right of your discord window

#

theres a pin image

#

click on it

#

scroll down until you see one with a lot of text and a google drive link

rain cedar
#

I should update that pin but there's so many mods now

#

It's already too much with what's there

leaden hedge
#

theres still a file in the drive

cunning geyser
#

yes

#

found it

leaden hedge
#

that has like 5 mods listed

pearl sentinel
#

time to write a pin installer that auto updates pins from some db/link/etc

leaden hedge
#

when is there a modding site for hollow knight smh

#

its not like hosting sites costs money or anything

rain cedar
#

To be fair there are free hosts

#

Just not good ones

pearl sentinel
#

i pay for hosting on amazon that i basically do nothing with constantly, woo

rain cedar
#

Wow nice perfect place for HK modding site

pearl sentinel
#

aka, gimmie something to host

leaden hedge
#

how does amazon hosting work

cunning geyser
#

okay. so now where do i extrct it to?

pearl sentinel
#

super easy

leaden hedge
#

do we get a database and file storage

compact sedge
#

I presume aws right?

pearl sentinel
#

yep, if you want

#

aws, yeah

compact sedge
#

yeah you can pay for a bunch of different things

rain cedar
#

For now you could just put up the docs KDT was working on

leaden hedge
#

I think we can put those on RTD for free, although they show ads intenseface

pearl sentinel
#

like right now i use it to host my old wedding rsvp page and a unity game i made for a game jam compition

#

super serious stuff

#

occasionally i check the saved data entry stuff for the rsvp and find people that tried to do ghetto db hacks like the bobby tables thing

rain cedar
#

How do people even find the site?

pearl sentinel
#

literally no idea

leaden hedge
#

how often do people try that lol

pearl sentinel
#

like, i think it has to be robots or somthing

leaden hedge
#

like I imagine 99% of sites by hobbyists will have better security than pretty much any major site

#

with much less to steal

pearl sentinel
#

i mean, i made my stuff dump to literal text with no processing at all, because i'd have like 20 people rsvp max, and then just copy it by hand from there. so their efforts are pointless

#

but it happens

leaden hedge
#

but yeah once I get these docs done I can probably set up something simple like raindb

pearl sentinel
#

here's some entries

#
Guest: Barnypok "FMtwLnvXhuTWPyTZotR

    Email: jfvynms4281rt@hotmail.com
    Attending?: 0
    Guest Count: 5
leaden hedge
#

wow legit email

pearl sentinel
#
Guest: a:0:{} a:0:{}

    Email: a:0:{}
    Attending?: a:0:{}
    Guest Count: 
leaden hedge
#

old jfvynms4281rt

pearl sentinel
#
Guest: Test123 Test123

    Email: testguy@test123.com
    Attending?: 1
    Guest Count: 5
#

^you know he'll show up

leaden hedge
#

well i trust a:0:{} attending

#

truly a great number

compact sedge
#

hey Test123 is the bride's father's uncle's sister in law

pearl sentinel
#
Guest: "GoldenTabs "XGDLoEoOcEYIMPpzJz

    Email: support@goldentabs.com
    Attending?: 1
    Guest Count: 4
#

because i always ask support for help

#

so they should be there when it counts

#

anyway

#

if you guys need some web hosting i can probably do it

#

if we want a fancy url it'll cost a few bucks.... but like... i pay more for breakfast at mcdonalds, so....

leaden hedge
rain cedar
#

Wow that is so much more expensive than the normal extensions

compact sedge
#

why tho

leaden hedge
#

porn is lucrative

compact sedge
#

who pays 130 for a domain as long as hollowknightmods

leaden hedge
#

and xxx is for porn

#

so we don't have to hurry

compact sedge
rain cedar
#

othernad

compact sedge
#

not even gonna correct it

leaden hedge
#

and not AddHealth

flat forum
compact sedge
#

apparently

leaden hedge
flat forum
#

Hm

leaden hedge
#

i bet milf is a keyword though

compact sedge
#

same price

rain cedar
#

The tabbing in ModHooks is fucked again

flat forum
compact sedge
#

actually

rain cedar
#

Nice

compact sedge
#

I can get all the xxx ones for that price

#

baby

#

not that I have 80 dollars a year to throw around on a stupid meme

leaden hedge
#

get flukemilf.xxx and just make it redirect to a imgur picture of flukemilf intenseface

compact sedge
#

costs 4.5k

#

someone thinks its worth a lot more than it really is I guess

leaden hedge
#

does someone already own it

compact sedge
#

yeah

leaden hedge
#

its TC

compact sedge
#

"premium" domains

#

are when a company buys out all the domains they think will sell for a lot

#

and then sells them for shittons

#

like 10k each

#

if they can sell one domain a year they can sustain buying 1000 domains

#

it's a crappy business

rain cedar
#

Probably just bought out anything resembling a porn domain

compact sedge
pearl sentinel
flat forum
#

This is adorable

pearl sentinel
#

basically my life lately

flat forum
#

Now go get a cup or something because my heart melted

pearl sentinel
#

he's a little shit, but he's coming along

#

fyi; don't ever get a puppy unless you want to simulate having a baby

leaden hedge
#

FocusCostHook is this only called once at the start of your heal

#

or every frame?

flat forum
#

After a Fierce battle the Hound finally defeats the plush chinese take out box thing (circa 1918, colourised)

compact sedge
#

time to make a procedural grimms fairy tale generator

leaden hedge
#

how about we think of good names

#

๐Ÿค”

flat forum
leaden hedge
#

is .pin an extension

#

I want checkthe.pin

#

to be our site intenseface

compact sedge
leaden hedge
#

too long

compact sedge
#

pinnedtomodding.chat

#

25 dollars a year

#

wtf theres .meme tld

#

and it's owned by google

flat forum
rain cedar
#

The start of your focus KDT

#

The rest of it isn't handled in C#

leaden hedge
#

ok just making sure I'm not lying to people in the docs

#
        public float FocusCostCalc(){
            return (float)PlayerData.instance.GetInt("MPCharge") / 33.0f;
        }

this should make focusing consume all your soul right

#

assuming no oddities with floats intenseface

compact sedge
#

I hope this lets me focus with 1 soul

rain cedar
#

Ok I lied the rest is in C#

leaden hedge
#

no

rain cedar
#

Mostly at least

#
if (this.drainMP)
{
    this.drainMP_timer += Time.deltaTime;
    this.drainMP_seconds += Time.deltaTime;
    while (this.drainMP_timer >= this.drainMP_time)
    {
        this.MP_drained += 1f;
        this.drainMP_timer -= this.drainMP_time;
        this.TakeMP(1);
        this.gm.soulOrb_fsm.SendEvent("MP DRAIN");
        if (this.MP_drained == this.focusMP_amount)
        {
            this.MP_drained -= this.drainMP_time;
            this.proxyFSM.SendEvent("HeroCtrl-FocusCompleted");
        }
    }
}```
leaden hedge
#

as you can't start to focus until you have 33 afaik

rain cedar
#

Hook is still at the start though

leaden hedge
#

or whatever focusMP_amount is

#

which should always be 33 afaik

opal hearth
#

question. does having blackmoth active reduce the damage from the ranged attack in lightbringer?

leaden hedge
#

probably

rain cedar
#

Blackmoth sets nail damage to 1 constantly, I think

#

Depends on when lightbringer sets its damage I guess

opal hearth
#

alright. was just curious cuz i had some trouble with a couple bosses, but used the dashes against soul master, and he went down like nothing.

rain cedar
#

Lightbringer by itself gives you half damage

#

So it's meant to be weak

leaden hedge
#

its probably being set off nail damage

#

and probably whenever you swing

compact sedge
#

hey kerr how much does aws charge for hosting again

opal hearth
#

well i know the nail itself is set mad low, i meant the ranged beam part of it

leaden hedge
#

well thats probably based of nail damage too

compact sedge
#

I think it depends on your charms

#

there's like one that gives you six ranged things but they're small and do less individual damage

#

could always look at the code now that it's online

opal hearth
#

also it may not make a difference, i tried disabling blackmoth fighting those floating blob dudes after soul master. and having it both on and off, they took 3 hits.

#

i have no idea how to read code lol.

leaden hedge
#

bool flag6 = this.inputHandler.inputActions.dash.WasPressed && !ModHooks.Instance.OnDashPressed();
so if you return true in your DashPressed delegate, you WON'T dash?

dusky lion
#

Great how my mind refuses to remember what && means in C#

leaden hedge
#

logical and

dusky lion
#

I can grasp everything else but && just refuses me

#

I already searched it up right now

leaden hedge
#

i mean its just 2 ands

dusky lion
#

For like the 5th time

#

Yeah I don't know why

rain cedar
#

The idea with the dash pressed thing is you return true if you have your own implementation of it

dusky lion
#

Tis just a curse I was set with

rain cedar
#

So that it doesn't get fucked by the TC dash start

leaden hedge
#

oh makes sense

#

I aint putting a snippet for all that though

leaden hedge
#

๐Ÿค”

rain cedar
#

Submit a pr to fix it, maybe I'll accept it some time in the next month

leaden hedge
#

then'll I'll have 2 lines of code in the api

#

im working my way up

rain cedar
#

"code"

#

Also isn't all of CanvasUtil you?

leaden hedge
#

yeah it is

#

but wyza submitted it

#

so its under his account

rain cedar
#

Nice

leaden hedge
#

I only have one line and its to fix a typo wyza made in CanvasUtil

rain cedar
#

Wow I have 516 lines

#

That's nothing

#

I must not have done the initial commit of this

leaden hedge
#

probably firzen

leaden hedge
#

DrawBlackBordersHook whats this hook for?

#

who was like yeah we need to hook the thing that draws the vignette

#

also nice spell boarders

#

gonna have 3 lines at this rate intenseface

rain cedar
#

An easy way to delete the black shit around the scene is pretty handy

leaden hedge
copper nacelle
#

that looks really nice

leaden hedge
#

well besides the fact that inline code doesn't wrap

copper nacelle
#

yeah

rain cedar
#

There's probably a pretty simple change to the css to make it wrap

leaden hedge
#

probably, I might just put them both in one code block so they take up less space

#

but I do like how the inline looks compared to blocks ๐Ÿค”

#

not everything has a snippet and some have pretty basic explanations

#

you can download html.zip to see the themed version

ornate rivet
#

woah

#

this is incredible

leaden hedge
#

hopefully it can get to the point where we don't have to answer questions anymore intenseface

ornate rivet
#

Just one question, how do I install mods hollowface

leaden hedge
rain cedar
#

But what about uninstalling them?

leaden hedge
#

you use crossroads intenseface

#

it says in the picture too intenseface

rain cedar
#

What about mods for other games?

leaden hedge
#

I dunno

rain cedar
#

Help me out with some nice iconoclasts modding

leaden hedge
#

ok

#

ill append an iconoclasts tutorial to the hollow knight ones

rain cedar
#

Ok

#

It was made in Construct, which is open source

#

So just do me a favor and take the time to fully understand Construct

#

Then get back to me

leaden hedge
#

also i'm not sure who to credit copyright to on the docs

#

is it me, or is everyone that works on the api ๐Ÿค”

rain cedar
#

It's DMS

leaden hedge
#

obviously

#

mcforge has that removed on their page

#

I wonder how I make sphinx do that

ornate rivet
leaden hedge
#

i grammar good

ornate rivet
leaden hedge
#

I fixed it

ornate rivet
#

nice thanks for making it by the way

leaden hedge
#

what else should I put in after hooks

#

theres some stuff I want to cover but I don't want it to be a "this is how unity works"

rain cedar
#

You could explain the general structure of the game

#

Just short bits on important files like PlayerData

leaden hedge
#

oh yeah I should probably mention dnspy

leaden hedge
#

brb 30m anyway

steep sail
#

Oh

#

Seems good

exotic venture
#

an attempt to make modding even more accessible?

#

dang

#

now i have almost no excuse to not get involved with mod making

rain cedar
#

no excuse to get involved

#

Nice wording

exotic venture
#

i should've used a double negative i imagine

#

i should really get me some coffee

steep sail
#

โ˜• here

exotic venture
#

merci

copper nacelle
#

mystery HK mod when

rain cedar
#

Mod the game into an rts

floral furnace
#

Then you have guys only spamming aspids the entire match

rain cedar
#

Perfect

exotic venture
#

nah i'll make cornifer hum something else other than the standard humming

#

so every time you encounter him you get a dose of "what is that song he's humming tbh"

copper nacelle
#

make him hum bass boosted Thomas the tank engine

steep sail
#

Humming Soviet Anthem (jk, what about one of the OSTs)

floral furnace
#

make him hum salubra's blessing

copper nacelle
#

y e s

rain cedar
#

How to annoy casual players 101

exotic venture
#

the current list of songs is at least darude - sandstorm, smash mouth - all stars, your contract has expired from ahit, determination from undertale, eleventh hour from oneshot, hornet's theme...

#

but eh it might be modified in the future

steep sail
#

Train Rush from A Hat In Time maybe?

exotic venture
#

i might pick more atmospheric titles tho

steep sail
#

Oh, i see Snatcher's fight theme)

exotic venture
#

like subcon forest instead of your contract has expired

copper nacelle
#

smh no Thomas the tank engine bass boosted

exotic venture
#

i could do the regular version though

floral furnace
#

ive seen several people saying spells are broken so imo the best way to balance it is by not balancing it and instead replacing all spell sounds into bass boosted sawblade sounds from white palace, that way deterring everyone from using spells

vocal hare
#

lol, ur so right

ornate rivet
#

So in the example mods, the code uses Log(), where are you supposed to see the log outputting while playing the game

#

for example:
LogDebug("Critical hit!");

#

Where do I actually see that output while the code is running in the game?

copper nacelle
#

ModLog.txt

#

saves folder

#

you can also change the API global settings JSON in the saves folder to show the mod log on screen

ornate rivet
#

ok thanks

ornate rivet
#

so I am in ModdingApi.GlobalSettings.json but I dont see an option to enable mod log on screen

leaden hedge
#
    "BoolValues": {
        "keys": [
            "ShowDebugLogInGame"
        ],
        "values": [
            true
        ]
    },
ornate rivet
#

but thats already true

leaden hedge
#

do you see a thing at the bottom left?

ornate rivet
#

oh wait nvm

leaden hedge
#

press f10 if you don't

ornate rivet
#

I am dungo

#

it was there the entire time

#

thanks

copper nacelle
leaden hedge
copper nacelle
#

wtf

#

I've been closing my game and setting it back to false

leaden hedge
#

why you no read the docs intenseface

copper nacelle
wraith ether
#

so what mods you guys made

solemn rivet
#

None

#

It's all a lie

wraith ether
#

can you make a mod where the knightis fast

#

?

#

like flash lol

solemn rivet
#

Sure, it's called Sprintmaster

wraith ether
#

no itsnot

merry wren
#

yes it is

#

sprintmaster+dashmaster

#

there

wraith ether
#

bruh

merry wren
#

I believe those two charms interact to make you even faster

#

no

wraith ether
#

you call that fast

#

im talking about the speed of the crystal dash at least

merry wren
#

wtf the world is not designed for that speed

#

it would probably do you more harm than good

wraith ether
#

a mod

merry wren
#

yes my point is that mod makes no SENSE

#

ok anyways bye

wraith ether
#

but is it possible

#

modders?

#

@copper nacelle

solemn rivet
#

It's possible

wraith ether
#

wher can i find base run speed

#

for changing it

solemn rivet
#

HeroController class

wraith ether
#

thanks you

solemn rivet
#

I honestly have no idea

#

but if I had to guess, I'd say it's some line of code in the game files

#

or in the save

copper nacelle
#

@wraith ether why tf ping

solemn rivet
#

cus

wraith ether
#

Dude 56 i asked a question about modding, i thought everyone will just troll around so i asked you.

#

@copper nacelle

compact sedge
#

yes you can do anything if you have infinite time and knowledge

#

as gradow said, it's possible

#

in practice, it's very likely that nobody here knows

#

they'd have to look it up

#

If they can look it up, so can you

solemn rivet
exotic dune
#

Why make the knight fast when you could make a list of every room connection in the game?

compact sedge
#

because I'm lazy

#

and I only work on mods that I'm interested in playing

#

and room randomizer seems too silly

exotic dune
#

I meant @ulamba lol

fair rampart
#

"how to be a modder 101" what does happen if I change this number? "game breaks and glitches "

#

better said , how to start being a modder

compact sedge
#

more like:

  1. change number
  2. nothing happens
    reasons:
    a) Unity silently throws exception and doesn't tell you
    b) number turns out to be useless
    c) you can't actually change the number because fsms are dumb
fair rampart
#

oh :3

#

I was recalling my experience with mugen hehe

#

I thought it would happen something similar here

compact sedge
#

oh heh

#

well this is my first game I've ever tried modding

#

and that's been my general experience

fair rampart
#

and with changing a number I meant something like changing a 15 to 1500

compact sedge
#

I guess it depends on the game

fair rampart
#

ye hehe

compact sedge
#

I've literally never even touched mugen so idk

fair rampart
#

is not that bad to be honest :3

#

but it has some limitations unluckuly ..

#

unluckily? ...

#

like it only lets you use 60 variables in total

compact sedge
#

no I mean I haven't even played the game

#

let alone try to mod it

fair rampart
#

well mugen isn't a game :3

#

mugen is a fighting platform

compact sedge
#

oh

fair rampart
#

you can make 2D fighting games with it

#

if you like fighting games or dragon ball z , check out Hyper Dragon Ball Z from Balthazar

wraith ether
#

fucking drama for a question and a ping/tag

fair rampart
#

if you complain you most likely will get worse help :3

exotic venture
#

fun fact: modders are not modding helpdesk

fair rampart
#

lol my grammar hahaha

exotic venture
#

it takes 100000 IQ to notice that tbh

compact sedge
#

is ok to ask dumb questions but I found it's much better to ask a question of someone when you know they've coded something similar in the past

fair rampart
#

(is it posible to edit other mods? ... like I wanna change something from the bonfire mod)

exotic dune
#

probably

exotic venture
#

gradow has a source up on his github

compact sedge
#

legally yes for all mods except seanprs

exotic venture
#

unless he moved shit over to gitlabs

compact sedge
#

gradows newest stuff is on gitlab

exotic venture
#

so not bonfire intenseface

wraith ether
#

ah the name calling to make yourself feel better

compact sedge
#

lpt: If you edit other modders mods to improve them, send them a merge/pull request

#

so that the main mod can improve

fair rampart
#

so then I can't just grab a "example mod" .dll and edit it , right?

exotic venture
#

in the end modding is a collaboration effort

fair rampart
#

no I just wanna cheat a bit :3

exotic venture
#

wow just install debug mod then

#

all the cheating you will ever need

#

no need to fuck about with bonfire then

fair rampart
#

I know~ but I wanna make it feel not so cheaty :3 hehe

exotic venture
#

there's zero difference

compact sedge
fair rampart
#

if not I would just use cheat engine and add alll the geo I want~

#

I wanna make the curve in the cost a bit lower

exotic venture
#

then why don't you do that if you're planning to not play the game regularly

fair rampart
#

I dunno :3 hehe

exotic venture
#

did you even finish the game regularly

fair rampart
#

besides this way I learn a bit how to mod

#

yep~

exotic venture
#

did you finish it true end 107%?

fair rampart
#

nope :3

exotic venture
#

please do that before you decide you need crutches kthx

young walrus
#

As long as you compile your own fork, doesn't matter

solemn rivet
#

Also steel soul 107% in less than 5h

exotic venture
#

it's possible

solemn rivet
#

Otherwise you haven't experienced the game

#

Imo

#

/s

exotic dune
#

Also get a world record speedrun time? which will be hard with Todd Rogers

fair rampart
#

most likely , but I don't to experience the game the same way you guys did~

solemn rivet
#

I was being sarcastic

exotic venture
#

look at the /s

#

that's end of sarcasm

compact sedge
#

if you haven't played the game with glass soul hardmode you might as well just uninstall

solemn rivet
#

but as a general rule it's better to have completed the game to some extent before trying to mod it

#

so you know what to mod

fair rampart
#

oh okie :3 , here in south america we do (? instead

solemn rivet
#

well

#

I'm in south america and I don't do that so

#

xD

fair rampart
#

lol

compact sedge
#

well it's optional but I wouldn't have had any ideas for things to mod if I hadn't killed NKG

#

so like it was helpful to me to beat the game 107%

solemn rivet
#

also, Sean, if you're seeing this. Playing the 107% rando hard the other day made me consider something. How about having Hornet give you hints about the remaining items if you're only missing like 3 or 4 charms/abilities?

#

it can get pretty confusing the longer you go, and it's easy to forget to check some places/think you have already checked somewhere you haven't

exotic venture
#

or buy the map zote

solemn rivet
#

and Ulamba, just don't abuse pings and you'll be fine. We like to troll from time to time, but we're also very helpful to people who actually try to do stuff here

#

map?

exotic venture
#

yeah, buying maps

solemn rivet
#

does map show pickups in rando2 or am I being bamboozled

fair rampart
#

... do the map actualy like change forms in rando??

exotic venture
#

buying maps and quill at the end might show you areas you haven't been to

solemn rivet
#

well, yeah

exotic venture
#

also that latter part would be sweeeet

#

hornet giving you a map of stuff you have missed at the end

#

just showing item locations

solemn rivet
#

yeah

#

dunno about the feasibility of that

exotic venture
#

aye... might be tough

solemn rivet
#

but just hornet saying "check such and such places" might be enough

#

because maybe you're already been there, but without the required ability and couldn't reach the item

#

so map wouldn't be terribly helpful there

compact sedge
#

does rando ater swapping the locations of stuff, actually store where it put the things?

solemn rivet
#

yeah

#

in the save, at least

#

it's not easy to read tho

compact sedge
#

maybe hornet could tell you the location where you have the most missing stuff

#

like: Try searching deepnest

#

or something

fair rampart
#

emm gradow do you have a link for the source of bonfire?

compact sedge
solemn rivet
#

^

fair rampart
#

thankies~

solemn rivet
#

it's very poorly commented/documented

#

cause I literally have no idea what I'm doing

#

well, I somewhat do now

fair rampart
#

hehe

compact sedge
#

no it's because the code is self-explanatory

solemn rivet
#

but I didn't when I first wrote it

compact sedge
#

duh

solemn rivet
#

I promise I'll get around to it someday

#

like I did with the modmanager

#

but today is not that day

fair rampart
#

don't worry I will figure it out~

compact sedge
#

crap I should document my mods

#

bigthink

solemn rivet
#

hey are you making fun of me

#

wanna fite m8

compact sedge
#

No like my code is absolutely undocumented

#

and super unclear in some places

#

but I'm like... so lazy

solemn rivet
#

Angle and Gradow's friendship level has increased

#

I am thou, thou art I

exotic venture
#

:effort: when

solemn rivet
#

Best boi mys

#

what would that look like tho

#

maybe... Zote?

#

or sleeping Cornifer

fair rampart
#

mm?

solemn rivet
#

an :effort: emote

exotic venture
#

no clue

#

totally open for suggestions though

solemn rivet
#

I'm already using Zote for the modinstaller tho

#

2zote5me

#

anyways, gotta go

#

give a lecture

#

see y'all later

exotic venture
#

seeya!

fair rampart
#

what about bretta?

#

baii~

solemn rivet
#

what about bretta?

fair rampart
#

for the emote

#

I mean she is always like hyping everything out

solemn rivet
#

The idea is the opposite of that

fair rampart
#

oh okie

solemn rivet
#

I use :effort: when something is too much effort for me to even bother with

fair rampart
#

oh ~

#

I thought it would be like a , "you can do it " emote or something

compact sedge
#

what about this, we're so lazy we're not even gonna make an emote for :effort:

fair rampart
#

it makes sense

solemn rivet
#

Makes too much sense imo

fair rampart
#

what is the use of dnspy?

solemn rivet
#

Achieving godhood

#

And decompiling the game's assembly

fair rampart
#

oh okie :3

solemn rivet
#

It's useful to figure out what stuff you need to change to achieve what you want to achieve

ornate rivet
#

why is the nail damage 0 when I use this

#

PlayerData.instance.nailDamage

#

the nail damage is fine when I restart a new game but when I save and quit it becomes 0

compact sedge
#

so saving and quitting and then loading causes it to be 0

ornate rivet
#

yea

compact sedge
#

idk probably shitty code

#

I'd just calculate the nail damage by hand

ornate rivet
#

ok

compact sedge
#

are you including charms

copper nacelle
#

are you checking when it's actually loaded

ornate rivet
#

uhh

compact sedge
#

oh that's a fair point too

ornate rivet
#

public override void Initialize()

#

right?

compact sedge
#

no

copper nacelle
#

no

ornate rivet
#

oof

copper nacelle
#

that's title screen

ornate rivet
#

how do I check if it's initialized then?

copper nacelle
#

AfterSavegameLoadHook imo

ornate rivet
#

ok

compact sedge
#

depends on how much you need loaded tho

copper nacelle
#

could start a coroutine and just wait

compact sedge
#

yeah

copper nacelle
#

yield return new WaitForEndOfFrame();

#

y

compact sedge
#

memes

copper nacelle
ornate rivet
#

ok thanks

copper nacelle
rain cedar
#

WaitForEndOfFrame is more clear on the intent

copper nacelle
#

read somewhere wait for end of frame is also after a bunch of other stuff too

solemn rivet
#

Also, if you're going to edit nailDamage don't forget to broadcast the event

rain cedar
#

WaitForEndOfFrame is a completely empty class though

#

It should be identical to yield return null

compact sedge
#

bigmeme

#

thanks unity

vagrant leaf
#

mfw i check the gdrive and it's twice as big as when i last checked

compact sedge
#

geeze when's the last time you checked

#

1994

vagrant leaf
#

no a few months ago

compact sedge
#

delete urself

#

we have real lightbringer

vagrant leaf
#

i know

#

i haven't bothered with mods for a while ok

copper nacelle
#

consider

#

not being bad

vagrant leaf
#

u

copper nacelle
#

u

hollow pier
#

expert goblins

vagrant leaf
#

shut you're heck

opal hearth
#

i just want to lul for a minute. randomized blackmoth/lightbringer run. just beat false knight, and have no charms, but i do have mothwing cloak, shade cloak, and mantis claw. lmaooo

#

what a good seed

#

hey chat, i've got a bug, and i'm not memeing

#

there ain't no symbol for these x.x

rain cedar
#

Weird

opal hearth
#

yeah. x.x

compact sedge
#

why does rando change all the text descriptions

rain cedar
#

Why not?

copper nacelle
#

cause the new text descriptions are god

opal hearth
#

because some of em don't have descriptions, so if they end up in the shop, then it actually says something, and if you're gonna add some, might as well add a bunch

compact sedge
#

ah ok

opal hearth
#

also what LVI said

#

i don't know how much these cost x.x

compact sedge
#

it's free if they don't catch you

opal hearth
#

the legend of hollow knight: link's awakening

compact sedge
#

is it possible on switch to install games to an sd card

#

or some other removable media?

#

and if so why has nobody installed mods on HK switch yet

copper nacelle
#

cause switch bad

opal hearth
#

gyazo isn't working right so i can't screencap a gif, but if i shade dash by iselda's shop and turn left, my screen zooms down and to the left into blackness