#archived-modding-development

1 messages · Page 131 of 1

fair rampart
#

It wants to know If my drivers are digitally signed
should I?

pearl sentinel
#

though we still need to know what your system info says

copper nacelle
#

i've got like 3 output logs from finch supposedly running out of memory

pearl sentinel
#

what graphics device is at the top

#

of the log

leaden hedge
#

obviously just press ctrl+alt+del > open task manager > file > new task (run...)

#

win+r too ez

solemn rivet
rain cedar
#

ctrl+shift+esc

copper nacelle
#

@dusky lion Renderer: Intel(R) HD Graphics 520 (ID=0x1916)

#

delet

fair rampart
#

Too many options calm down holy big wow

compact sedge
#

wtf 920mx has 6GB of vram

dusky lion
#

wh at

#

wha t do you want from me

compact sedge
#

oh wait

#

nvm

copper nacelle
#

a non shit gpu

dusky lion
#

ree

compact sedge
#

it's using system ram for it

pearl sentinel
#

ok. so that's what the game sees

compact sedge
#

it's integrated

solemn rivet
#

yeah

dusky lion
#

Understandable

pearl sentinel
#

but, does he have a graphics card

#

better question, is he on a laptop

solemn rivet
#

I assume that's why I can run enemy rando

pearl sentinel
#

bc the bug only happens on a laptop

copper nacelle
#

@dusky lion answer questions imo

dusky lion
#

Yes I am on laptop and don't rope me into this re

compact sedge
#

gradow you must have a lot of system memory for it to give your integrated gpu 6GB

solemn rivet
#

not really

leaden hedge
#

12 trillion bytes of memory

compact sedge
#

I have 8GB and it won't give me more than 3GB

#

no matter what settings I set

#

I think it's a hardware limit

solemn rivet
#

I have 8GB

fair rampart
#

Which part shows the graphics card

compact sedge
#

I'm on amd tho idk

solemn rivet
#

2x4GB DDR4

copper nacelle
compact sedge
#

actually what is Approx total memory

dusky lion
compact sedge
#

supposed to show

#

no way a 960 has 12GB

solemn rivet
#

numbers

compact sedge
#

like

#

wtf windows

solemn rivet
#

dunno

#

56 u know ur pc

#

explain

copper nacelle
#

uhhhh

#

i've got like 16gb of normal ram and 4gb vram iirc

#

it looks like my memory used tbh

compact sedge
#

3.5GB lul

copper nacelle
leaden hedge
pearl sentinel
copper nacelle
#

kdt how tf do you dodge ngg

#

explain

compact sedge
#

are we all posting system screenshots now

copper nacelle
#

i went back to normal mode and still can't do anything

compact sedge
leaden hedge
#

which part are you struggling to dodge

dusky lion
copper nacelle
#

uhh

#

down dive thingy

#

i think i've got uppercut figured out now

compact sedge
#

ironically I'm the only one with the white text on black and I'm the one with the light theme

pearl sentinel
#

i have so much graphics memory gd

leaden hedge
#

jump as he comes down and pogo him

fair rampart
#

Is the processor the graphics thing?

copper nacelle
#

no

fair rampart
#

What is then

compact sedge
#

if you don't have dashmaster take dashmaster 56

#

it won't save you but it will prolong your life slightly

copper nacelle
#

ok

leaden hedge
#

if you don't have fluke on you can fireball to stall in the air

#

and hit him with the fireball

#

during dive > uppercut

copper nacelle
#

does he still stagger

leaden hedge
#

yes

compact sedge
#

yes

leaden hedge
#

you can heal twice per stagger

compact sedge
#

14 hits

leaden hedge
#

if you have big balls

compact sedge
#

not on hard mode lol

#

you'll only stagger one of them iirc

#

unless you stagger both at same time

#

then get 3 heals in

fair rampart
#

Is "driver model" the graphics thing?

rain cedar
#

No your graphics card is

fair rampart
#

H?

leaden hedge
#

also you can use fireball to pretty similarly to what you would use dashmaster for

#

but it deals damage

#

however you'll probably have to get ontop of grimm during balloon

rain cedar
#

No H, this is a clean chat

fair rampart
#

But this is what you get for not finishing

#

so pwease tell me or I will get salty again
#coercion

rain cedar
#

Click save all information

dusky lion
#

mantiswhy x infinity

fair rampart
#

In what page

rain cedar
#

Big think

dusky lion
#

Literally any

#

Notice how it says Save all information

leaden hedge
#

which all do I save

dusky lion
#

You want all2

#

All1 is a bit clunky

#

And we won't even mention all3

fair rampart
#

But like what thing stands for the graphics thing

rain cedar
#

You have a very simple task

#

Save all

#

Send it here

fair rampart
#

no

rain cedar
#

Ok

dusky lion
#

Here I'll give an example

#

Repeat what I have done = profit

fair rampart
#
  1. I can't look at it
  2. It would be easier to just tell me what stands for the graphics thing
copper nacelle
#

how about no

fair rampart
#

why

rain cedar
#

You clearly don't understand the first thing about computers

fair rampart
#

Is this big scam
you are very insistent on this

rain cedar
#

So it's not fast to teach you everything

dusky lion
#

Raisin

#

I did it myself

#

If it was a scam I would have likely lost access to my computer by now

compact sedge
#

if you don't trust us then google it and figure out through that

#

but if you are here asking these kinds of questions then it's probably because you can't google.

copper nacelle
fair rampart
copper nacelle
#

hi tara

fair rampart
#

oh NOOOOOOO not my mom's name

dusky lion
#

Only 4 gigabytes of RAM

#

F

fair rampart
#

(she gave me this computer after getting a new one)

#

so now are you gonna tell me the verdict
or
just give be a bunch of viruses

copper nacelle
#

the viruses

dusky lion
#

You fool

#

I have injected your computer with mega virus™

compact sedge
#

the enemy rando dll was a virus... it's already too late

#

that number wasn't the loading percentage but the percentage of your computer it has corrupted

rain cedar
#

Nah you have it backwards

#

Running mods is fine

#

Sending other people text files?

#

That's how you get viruses

dusky lion
#

Assembly-C Sharp was the virus all along

compact sedge
#

oh right sorry

copper nacelle
#

more like

#

Playmaker.dll was the virus all along

compact sedge
#

thisbutunironically

fair rampart
dusky lion
#

Strikes fear into every man's heart

fair rampart
#

what

#

what's that

copper nacelle
fair rampart
#

I'm scare

dusky lion
#

A virus which I have sent into your computer via the text document you have posted

leaden hedge
#

delet this

rain cedar
#

Ok yeah you're on integrated graphics

fair rampart
#

SO is that good

copper nacelle
#

no it's shit

leaden hedge
#

no

#

bad

fair rampart
#

So uh what

copper nacelle
#

buy a better computer™

fair rampart
#

I crie

#

That old one worked
but it's a big meme

compact sedge
#

why did the old one work

#

how was it done

fair rampart
#

The alpha one just worked

#

My computer is a mystery

compact sedge
#

I'm not asking you

fair rampart
#

big crie i die

#

my quest has ended in failure

copper nacelle
dusky lion
#

It ended with you getting a mega virus™

compact sedge
#

hey 56 still have that doc with all the charms and their numbers on you

copper nacelle
compact sedge
#

ty

#

nailmaster's costs 1 by default right?

leaden hedge
#

y

compact sedge
#

uh I know my mod is supposed to be broken but I made nail arts a little too broken for them to be super buffed by a charm that cheap

#

ima make it cost 3 by default

#

uhh what's the player bool for greatslash

#

like if you have unlocked it or not

leaden hedge
#

upward slash iirc

compact sedge
#

must be

#

because there's only 3

leaden hedge
#

I wouldn't be so sure intenseface

compact sedge
#

heh

rain cedar
#

Great slash is hasDashSlash

#

No I'm not fucking with you

compact sedge
#

thanks

#

also one other question

#

is both GetBool and GetBoolInternal original TC classes

leaden hedge
#

no

compact sedge
#

ook

leaden hedge
#

Internal is api

rain cedar
#

Internal is their function

#

Renamed from GetBool

leaden hedge
#

well yeah

compact sedge
#

GetBoolInternal runs through the other hooks tho right

#

like it won't override them

rain cedar
#

No

#

The entire point of it is to skip the hooks

leaden hedge
#

GetBoolInternal is what you call to get a bool via name from your GetBool

#

without calling your code again

compact sedge
#

yeah but if I have a GetPlayerBoolHook what should I return for bools I don't care about so that other mods with their own GetPlayerBoolHooks aren't broken

rain cedar
#

Return the internal value

leaden hedge
#

that should allow you to return null to abstain tbh

compact sedge
#
private bool greatSlashFromStart(string originalset)
        {
            return originalset == "hasDashSlash" || PlayerData.instance.GetBoolInternal(originalset);
        }

so this will override the bools from other mods with GetPlayerBoolHook then?

#

b/c if so then I'm gonna need to rethink how I do this

rain cedar
#

That's only gonna override for great slash

#

Pretty sure how this hook works is if any mod wants to flip the bool it flips

leaden hedge
#

but what if theres another mod

#

that runs prior to this

compact sedge
#

no but my point is if I have two mods, one with this, and another with another hook

private bool memeModPlayerBoolHook(string originalset)
        {
            return originalset == "bigCatMeet" || PlayerData.instance.GetBoolInternal(originalset);
        }

then what

leaden hedge
#

and returns something else

compact sedge
#

It's vitally important for this mod that I'm not overriding other GetPlayerBool hooks

#

or I will break my other mod

leaden hedge
#

also what if you have a custom var name 🤔

#

so what if you want something to be forced to be true

#

when its false internally it'll work as expected

compact sedge
#

if( flag2 == boolInternal || flag ) continue;

thank you

leaden hedge
#

but if its true internally it'll fall through

compact sedge
#

this answers my problem

#

wait

#

yeah

#

it only overrides if it's different from the vanilla value, and once it's set different it ignores all other mods

#

so actually having a lower load priority gives you higher priority

#

maybe it should run the delegates in reverse order

#

not that it'd matter in this case

leaden hedge
#

also what happens when you're looking for a custom string

compact sedge
leaden hedge
#

what does Internal return then

compact sedge
#

just saying this one should be run in reverse order

#

why? Because the last loaded mod gets the final say on everything... except modified integers, where it's the FIRST loaded mod that decides this.

copper nacelle
compact sedge
#

quickload quicksave

#

and quickmeme

#

idk

copper nacelle
#

🤔

#

ty very helpful

leaden hedge
#

good code

#

thank

copper nacelle
#

i just want side mouse button bindings

#

ree

compact sedge
#

speaking of good code is this really the best way to be doing this

leaden hedge
#

probably not

solemn rivet
#

make a list and check against it?

compact sedge
#

ok

#

I sorta am

solemn rivet
#

I mean

leaden hedge
#

aren't those ints

#

and aren't they in order

compact sedge
#

uh maybe idk

leaden hedge
#

so can't you just do meme < 11

#

its an enum right?

#

you can cast those to int

compact sedge
#

meme > 54 && meme < 61

#

or whatever the numbers are

#

that's actually probably the smart way to do it but idk what the numbers are

#

and I'm too lazy to find out

leaden hedge
#

you can just do Log( (int)LanguageCode.EN);

#

EN is likely to be 0 unless they've set something specific (unlikely)

compact sedge
#

I doubt it's 0

#

tbh

copper nacelle
#

why are hk's mouse bindings so weird

#

wtf

leaden hedge
#

hmm, if its just an enum

solemn rivet
#

it's alphabetic order

leaden hedge
#

and they haven't done EN = 0

solemn rivet
#

just checked with dnspy

leaden hedge
#

oh

compact sedge
#

yeah I'll just keep my current code

leaden hedge
#

so

rain cedar
#

Best way is to make a switch with only one giant fallthrough containing all of them

compact sedge
#

this is effectively a switch in disguise

leaden hedge
#

45 to 56

solemn rivet
#

theydidthemath

leaden hedge
#

wow

compact sedge
#

thanks but too lazy

leaden hedge
#

(97-7)/2

mortal escarp
#

do you guys think porting mods over to the switch is likely at all? seems like CFW is moving along pretty well, and ppl have gotten skyrim mods working (kinda) on the switch

leaden hedge
#

yes

compact sedge
#

I'm sure if you jailbreak it and install linux on the switch you could probably compile mods for it

#

idk

#

can you access the HK game files

#

like at all

leaden hedge
#

yes

compact sedge
#

on switch

leaden hedge
#

should be able to

compact sedge
#

like just by installing the game on an sd card

#

or

copper nacelle
#

i bound mouse 4 to inventory

leaden hedge
#

no

copper nacelle
#

in the gayest way

compact sedge
#

how do you have to do it

leaden hedge
#

its an nsp file

compact sedge
#

oh eww

#

can you extract that

#

or is it encrypted

leaden hedge
#

which you'll have to decrypt with the switch keys

compact sedge
#

or something

#

ewwx2

#

fuk that

mortal escarp
#

i'm not super familiar with switch hacking, but they have layeredFS working now
would that help?

compact sedge
#

yeah ur not getting mods until people crack it because the switch I guess is some shitty locked down platform that doesn't want you to have mods.

leaden hedge
#

well you'd have to use layeredFS to replace the assembly-csharp

#

switch is cracked

compact sedge
#

ok

leaden hedge
#

we have keys

compact sedge
#

well that solves one problem

leaden hedge
#

i think eshop games are encrypted with your console key though

compact sedge
#

I swear every time I think of buying a console shit like this comes up

#

and I realize that I absolutely would hate a console

mortal escarp
#

portable HK is pretty great

leaden hedge
#

tbh I'm going to wait until the cartidge comes out

#

xci files are much easier to decrypt afaik

mortal escarp
#

will be even better once mods are available for it lol

leaden hedge
#

they aren't console unique

compact sedge
#

look something about locked down platforms pisses me off, even if they end up cracked in the end

#

the fact they aren't open from day 1

#

that by design they are locked down

#

just something about that infuriates me

#

This is why I don't have a smartphone

leaden hedge
#

or maybe once CFW comes develops a bit more they'll add a function to dump certain files as they try to load

#

so I can just tell it to dump assembly-csharp.dll as it tries to load

compact sedge
#

I'm sure

#

GL on that btw

leaden hedge
#

but the actually dll should be 99% the same

#

considering they managed to backport glitches to the pc version

compact sedge
#

they should be 100% the same unless they did something special with the switch one

#

which would be weird

#

anyway I'd still compile modding api for switch separately

leaden hedge
#

switch one is definitely slightly different

compact sedge
#

since it's on a weird version

#

not the vanilla nor vanilla beta

#

but like an older beta

leaden hedge
#

saves aren't encrypted on switch for some reason

compact sedge
#

oh

#

so not 100% the same

leaden hedge
#

so thats atleast one difference

#

but yeah I don't feel like decompiling the eshop files right now

#

maybe if theres a better CFW tool for dumping files

mortal escarp
#

yeah i edited my botw save with an online save editor lol

compact sedge
#

but yeah if you wanna take on this project go for it I'm probably not touching a switch for a long time

leaden hedge
#

or the physical comes out

compact sedge
#

if ever

leaden hedge
#

I mean it should just be the same for making mods

#

the making the api should be pretty much identical besides the additional step of getting the dll from the game

#

tbh I'd probably work on it right now If my switch was current firmware

#

I also wanted to get the celeste TAS running on switch

solemn rivet
#

no u

opal hearth
#

hey i have a question about being rainbow colored and fighting lost kin

copper nacelle
#

thanks tc

solemn rivet
#

gay cancer

compact sedge
#

holy crap bitmasks rock @leaden hedge thanks for telling me about them

copper nacelle
#

^

opal hearth
#

about halfway thru the fight a second lost kin appeared which i assume is supposed to be normal, but killing one of them sent me out of the body while the other one attempted to keep attacking me. is that normal?

solemn rivet
#

I swear, if someone ever tries to pass some code claiming to be 56 and I don't see either of these words, I'm gonna call bullshit

copper nacelle
#

out of body?

#

what

opal hearth
#

out of the dream world

#

whatever

dusky lion
#

Don't think I have ever seen 56 say cancer

copper nacelle
#

ur cancer

leaden hedge
#

bitmasks are cool I guess

solemn rivet
#

you've just had an out of body experience

#

how do you feel?

opal hearth
#

:\

leaden hedge
#

I think everyone should be forced to make a substanial program on limited hardware

#

just so they learn how to make not shit code intenseface

#

like 7 trillion nested switches

#

and hope the compiler works it out

dusky lion
solemn rivet
#

kek

copper nacelle
dusky lion
#

dammit

solemn rivet
#

LexiP dunno

leaden hedge
#

try using none stream mode

solemn rivet
#

never tried it

copper nacelle
#

you're supposed to be able to kill the main one

#

and win

#

the other one just has 99999 health

opal hearth
#

ah alright.

#

so it worked as intended

#

worked as nintendo

leaden hedge
#

so we should kill the 2nd one

solemn rivet
#

so you're saying is I can kill the other one

leaden hedge
#

sounds legit

dusky lion
#

Finna kill the 99999

copper nacelle
#

yes

solemn rivet
#

I like how everyone had the same idea

dusky lion
#

At Fireb0rn

solemn rivet
#

because 99999 ≠ infty

opal hearth
#

welp i beat this silly extra challenge i guess yay me

solemn rivet
#

muzznik when tho

opal hearth
#

yeah yeah i still haven't fought muzznik okay

copper nacelle
#

@compact sedge finna join you on linux

#

now that i have mouse bindings

#

but actually why are side mouse buttons just not in the regular bindings list like wtf

#

takes all of 3 seconds to add

solemn rivet
#

so, I looked into it

#
Memória de vídeo dedicada:    2048 MB DDR3
Memória de vídeo dedicada:    0 MB
Memória compartilhada do sistema:    4048 MB```
#

my system is sharing 4GB

#

nice

compact sedge
copper nacelle
#

tfw i was considering adding please mention 56#1363 if sprites don't load to elegy

solemn rivet
#

kek

compact sedge
#

definitely putting error code 4 first tho

#

because it's the most important

solemn rivet
#

I like that you capitalized God but didn't capitalize Blackmoth

#

rebel scum

compact sedge
#

shit

solemn rivet
#

infidel

dusky lion
#

I like the prologue

#

People who do not read the readmes are 90% more likely to not succeed in life

leaden hedge
#

can't you just use a dict for that

compact sedge
#

?

#

I am using a dict

leaden hedge
#

no I mean

compact sedge
#

I guess but I'm dynamically setting it based on the language etc

copper nacelle
#

dict of redwing problems as a key and a keypair value w/ that stuff as a value

compact sedge
#

except I'm a monoglot so it's only gonna be english for now and maybe french somewhere down the line

solemn rivet
#

I can translate it into portuguese for you

#

not that it matters

copper nacelle
#

i can translate it into latin

solemn rivet
#

pig latin when

leaden hedge
#
if(langStrings["General"] == null )
    langString["General"] = new Dictionary<string, string>();
langStrings["General"]["PROLOGUE_EXCERPT_01"] = modStrings[redwingProblemCode][0];
langStrings["General"]["PROLOGUE_EXCERPT_02"] = modStrings[redwingProblemCode][1];
langStrings["General"]["PROLOGUE_EXCERPT_03"] = modStrings[redwingProblemCode][2];
compact sedge
#

I'm still setting it in code no matter how I do it

solemn rivet
#

is this effectively the same as using .Add(key, value)?

compact sedge
#

yes\

#

you can add strings just by adding them

solemn rivet
#

doing dict[key] = value;

#

oh

#

that's neat

leaden hedge
#

if you wanted to do language you could do

if(langStrings["General"] == null )
    langString["General"] = new Dictionary<string, string>();
langStrings["General"]["PROLOGUE_EXCERPT_01"] = modStrings[language][(redwingProblemCode*4)+0];
langStrings["General"]["PROLOGUE_EXCERPT_02"] = modStrings[language][(redwingProblemCode*4)+1];
langStrings["General"]["PROLOGUE_EXCERPT_03"] = modStrings[language][(redwingProblemCode*4)+2];
compact sedge
#

fuck it still showed the in wilds thing

leaden hedge
#

dicts are gay tbh

#

use hashtables

#

thanks

compact sedge
#

oh nvm im a dungo

#

56 ima make all my dicts set in functions just to piss you off

copper nacelle
#

die

#

it looks so ugly

#

ree

leaden hedge
#

who doesn't speak english anyway

#

translating gay

compact sedge
leaden hedge
#

did you put debugging stuff in

compact sedge
#

Im a dungo

#

again

#

x2

#

forgot to actually set the error code in the lore.cs file

solemn rivet
#

wait - I always thought a dict was just a List<KeyValuePair>

#

googling does wonders

leaden hedge
#

did you get the joke intenseface

#

dicts are hashtables

solemn rivet
#

yeah

#

sadly I had to google it

#

but, hey

#

TIL

copper nacelle
leaden hedge
#

no cancer

#

fake code

copper nacelle
#

fixed

compact sedge
#

what are these colors

leaden hedge
#

not monokai

copper nacelle
#

the word you were looking for is good

solemn rivet
#

is that actually better, 56?

#

honestly curious

#

it's shorter to type, sure

copper nacelle
#

yes

#

it's cached

solemn rivet
#

got it

compact sedge
#

uh is the NewGameHook not called when you click new game

#

like it's called but not right away

#

like the in wilds they speak your name text displays before that hook is run

solemn rivet
#

wut

leaden hedge
#

probably as you spawn in

#

do sceneLoaded

#

and check for the tutorial cutscene

solemn rivet
compact sedge
#

if I do GameManager.instance.gameObject.AddComponent<mycomponent> before then does it break anything

#

and also is there another hook I can use

leaden hedge
#

another hook compared to what

#

and no it doesn't break anything

copper nacelle
#

when are keybindings saved

#

i've changed mine thrice but it hasn't saved anything

compact sedge
#

how do I remove a component?

copper nacelle
#

destroy it

compact sedge
#

and are components destroyed automatically on exiting to main menu

copper nacelle
#

yes

leaden hedge
#

annoyingly yes

opal hearth
#

can someone lik me to the randomizer item sheet thinger?

copper nacelle
opal hearth
#

danke

compact sedge
#

ok the text at the start of the game just isn't read through LanguageGet I guess or something because my component is loaded but I can't get it to work

leaden hedge
#

do you have logs

#

are you logging your LanguageGet Hook?

compact sedge
#

lol ok no ur right

#

it's not even getting to that point

#

null reff

#

me dungo

#

KeyNotFoundException

#

apparently I can't do if (langStrings["General"] == null)

leaden hedge
#

no you cant

#

theres a keyExists

#

on dicts

compact sedge
#

ok

#

welp that solved everything

rain cedar
#
try
{
     if (langStrings["General"] == null);
}
catch (Exception)
{
     return;
}```
compact sedge
#

sorry wrong channel

solemn rivet
#

from

#

kek

#

no

#

it belongs here

rain cedar
leaden hedge
#

whats the var name for broken and unbreakable charms?

rain cedar
#

brokenCharm_x and fragileWhatever_unbreakable I think

leaden hedge
#

yeah looks correct

compact sedge
rain cedar
#

Who else is in the redwing team?

compact sedge
#

uhh a couple of people in my redwing server I guess

#

like Papers for example has drawn a bunch of art for me

rain cedar
#

I thought it was all procedural

compact sedge
#

just what's in game

#

anyway

#

uh what else do I even have to do

#

I feel like I could just release the mod now tbh

#

oh right increment the version number to 1.0.0, also look for bugs. I'll do that second part tomorrow

#

I bet it won't have any of those... right?

leaden hedge
#

whats the king souls charm state var

#

and the carefree melody var

rain cedar
#

royalCharmState I think

#

And also gotShadeCharm

#

Probably grimmchildLevel controls carefree melody too

compact sedge
#

lol I hope not tbh

rain cedar
#

Why?

compact sedge
#

idk just seems weird

#

af

leaden hedge
compact sedge
#

then again the fact they're literally on the same charm name is a big meme

rain cedar
#

Check in dnspy

leaden hedge
#
            if (this.playerData.grimmChildLevel == 1)
            {
                return this.grimmchildLevel1;
            }
            if (this.playerData.grimmChildLevel == 2)
            {
                return this.grimmchildLevel2;
            }
            if (this.playerData.grimmChildLevel == 3)
            {
                return this.grimmchildLevel3;
            }
            if (this.playerData.grimmChildLevel == 4)
            {
                return this.grimmchildLevel4;
            }
            if (this.playerData.grimmChildLevel == 5)
            {
                return this.nymmCharm;
            }
compact sedge
#

ok

#

not a switch

#

why

#

is this like this

leaden hedge
#

it might have been

compact sedge
#

oh

#

does that get optimized out

leaden hedge
#

swiches auto compile to if at <5 elements

compact sedge
#

what

#

why 5

leaden hedge
#

5 it becomes a hashtable usually

compact sedge
#

also shouldn't it become if
else if

rain cedar
#

There's also a bool carefreeShieldEquipped it looks like

#

But it's on HeroController

compact sedge
#

I mean not that it matters for return

#

but

rain cedar
#

Not PlayerData

leaden hedge
#

this should be if elseif

rain cedar
#

Idk weird game

leaden hedge
#

considering it can't be 1 AND 2 at the same time

compact sedge
#

it doesn't matter since it's returning the vars but if else if is more clear in intent

leaden hedge
#

you know what I just realized

#

tc must some what know what bitmasks are

#

because royalCharmState is bitmasked

rain cedar
#

I don't think so

leaden hedge
#

well its not actually got out via bitmasks

rain cedar
#

The int is set up such that it could be used like that

leaden hedge
#

but its put in like a bitmask

rain cedar
#

But there's also bools for the charm halves

#

I think that's a coincidence

compact sedge
#

hmm well I for one found one and only one thusfar use for bitmasks in my code and I'm really happy with them

leaden hedge
#

nah because they would have just done +1 per white and check <= 2 to render whiteCharm else black

#

then just checked the bools

#

it feels like they figured out half of it

#

but then just gave up

unreal trellis
compact sedge
#

yes

#

use the mod installer in the pins

#

it's the one by gradow

#

also

#

verify your game files

#

before you install any mods

#

because the moddb lightbringer overrides important files

unreal trellis
#

Is backing up all the files the same as that?

compact sedge
#

uh if you have the game on steam just verify the integrity

unreal trellis
#

Alrighty, thanks.

compact sedge
#

or you can delete ur hk folder and replace it with the backup one

unreal trellis
#

Also i followed the instructions of the video.

dusky lion
#

Wait

rain cedar
#

Neither, they got it from moddb

compact sedge
#

why is the other one still on the drive anyway

#

we need a folder in the drive for old mods

#

so idiots stop downloading them

#

no offense

rain cedar
#

If we had modding-support literally everyone would mute it immediately and nobody would get any help

dusky lion
#

I would help in modding-support

compact sedge
#

I'd help people trying to play my mods

dusky lion
#

Because exclusively to me I receive Dopamine in return for helping others

compact sedge
#

and probably people trying to play not-my-mods too

leaden hedge
#

wouldn't matter

#

just make modding a private channel

#

so people would have to ask in modding support intenseface

compact sedge
#

and then I couldn't access it sadgrub

dusky lion
#

RIP me then

leaden hedge
#

FeelsGoodMan

#

banned plebs

compact sedge
leaden hedge
#

I wish

compact sedge
#

for people with green names only

leaden hedge
#

then I could leave plebland

rain cedar
compact sedge
#

sure

#

that's just what you want us to think

leaden hedge
#

why does speedruncom-staff have a secret chat

dusky lion
#

Why does speedrunner, a self appointed role, have access to a plethora of secret channels yet all modders get is a green name and manage messages for this channel alone?

leaden hedge
#

what do you talk about there 🤔

compact sedge
#

they collude

rain cedar
#

We talk about which runners to make wait on verification

compact sedge
#

you can pay money to get your fake run verified

leaden hedge
#

you don't even verify them

#

you didn't watch that verulean run

#

don't lie

rain cedar
#

I watched it

leaden hedge
#

legit

dusky lion
#

Watched the whole 95 hours

#

eeee

compact sedge
#

no he totally watched all 124 hours with a same day verify

leaden hedge
#

at 8x speed

compact sedge
rain cedar
#

10x speed actually

leaden hedge
#

he watched it on 10 different screens

#

starting at 0/10/20/30 etc %

compact sedge
#

did you skip past the breaks tho

#

that's the real question

leaden hedge
#

no what if he oob'd in the breaks

rain cedar
#

A "break" is the perfect time to cheat

#

Can't be too safe

dusky lion
#

Did you become omniscient and know immediately what would, has and is going to happen in the stream?

compact sedge
#

tbh he could totally have silently added exactly one essence to his file in one of the breaks and I doubt anyone would notice

leaden hedge
#

dunno why you'd do that

#

he could have just spliced

rain cedar
#

Like anyone is gonna spend a week grinding 900 essence just to cheat 1

leaden hedge
#

or setup a bot to farm essence

compact sedge
#

I mean if it was a 105th place run I could see just accepting it without scrutiny but this is a world record run we are talking about /s

leaden hedge
#

I bet he doesn't even watch the flower% runs either

rain cedar
#

Excuse me

#

Do you mean elderbug%?

leaden hedge
#

too long

#

its flower% now

#

shitmeme% tbqh

unreal trellis
#

Im having another problem downloading lightbringer, im not 100% sure if you need to match up versions to your hollow knight version, because none of them match up and im running version 1.3.1.5.

rain cedar
#

Installer

dusky lion
#

Have you tried

unreal trellis
#

Installer?

dusky lion
#

The API

unreal trellis
#

Yes, i have.

dusky lion
#

Sean is the ModDB version API? I don't use ModDB myself

#

Did you get it from this page?

unreal trellis
#

Yes.

dusky lion
#

Notice the giant text that says OUTDATED

rain cedar
#

I N S T A L L E R

dusky lion
#

Go to pins and get the API mod installer

unreal trellis
#

Okay.

dusky lion
unreal trellis
#

Ok, well by doing what you've told me i've gotten hollow knight to run, but the mod dosent seem to work. I did the installer and downloaded all the things corectly according to what ive been supposed to do, but even though the game is running, the mods arent, on the top right it says, Lightbringer mod: FAILED TO LOAD check modlog.txt. But i cant find that so i dont think i can fix the problem myself. Sorry for bothering.

rain cedar
#

It's by your saves

compact sedge
#

install modcommon

dusky lion
#

I feel like ModCommon should just come with the API with extra instructions in the readme since nearly every mod already needs it

unreal trellis
#

Im doing that.

#

It worked! Thanks!

leaden hedge
#

hooks should be added to modding api

#

then we don't need modcommon intenseface

compact sedge
#

truth be told I'd rather they be in modding api but I'd rather they weren't made by globbing every single file in the Managed folder into one massive 8MB assembly

rain cedar
#

Yeah 8 MB is pretty shit

#

Not like 6.9 MB

compact sedge
#

fair counterpoint

#

but ehh they make so little sense in modcommon

#

like now we just have two copies of the Assembly-CSharp I guess both technically running at once

#

and somehow that's just ok

rain cedar
#

Hooks is always a separate assembly though

#

Making it in API would just be mashing it into there with ILMerge instead of into modcommon

compact sedge
#

and to install Hooks into modcommon you need a "vanilla" folder... that contains a modding api version of the assembly c#

#

like idk what your definition of vanilla is

#

but

#

idk the whole thing is a mess and I have no idea what the solution to it should be

#

all I know is that I thought hooks would be useful to my modding but I've used them a total of 0 times

#

and I used to have hook based code but it's all gone now because I never needed itt

fair rampart
#

im using lightbringer atm and would like to say it would be rad af if the devs included it in a future mode of the game just my two cents

exotic venture
#

modding api as standard when

rain cedar
copper nacelle
#

@compact sedge .

leaden hedge
#

get fuckt

#

noob

solemn rivet
#

I'll make the installer auto install modcommon for every mod then

#

People seem to click No when the installer asks them to install mod dependencies

#

Smh

#

Never trust the user

leaden hedge
#

why is there even a prompt for dependancies

copper nacelle
#

^

#

force them imo

solemn rivet
#

done

#

delet a few lines of code

#

now all it says is "Too late, ransomware is already installed m8"

compact sedge
#

@copper nacelle inb4 all substantive modding communication moves to a channel 7 people can see.

leaden hedge
#

way more than 7 people

compact sedge
#

why does everything happen in the middle of the night

leaden hedge
#

I'm not sure why this role less "alex" is in there

compact sedge
#

there's a sheo bot?

leaden hedge
#

I think it was a art bot

#

that'd save all art posted in art

#

and let you request them from it

#

iirc

compact sedge
#

why does an art bot have a admin granting role?

#

because that's like the only way it'd be able to see arbitrary channel x.

leaden hedge
#

it just has the bot role

#

I assume all bots have fixed perms

compact sedge
#

which grants it blanket admin permissions?

#

meme

leaden hedge
#

because zote needs everything

compact sedge
#

zote doesn't, dyno does

#

now live certainly doesn't

leaden hedge
#

doesn't zote need most administration tools

compact sedge
#

not really

leaden hedge
#

and it accidently deleted discussion once

#

and announcements

compact sedge
#

it needs to be able to manage messages to delete them

leaden hedge
#

so it must have admin perms

compact sedge
#

and it needs to be able to ban people and stuff I guess

leaden hedge
#

just make a really good bot

#

and find out intenseface

royal ridge
#

yes bot was art, then it spammed everyone pings because it got hijacked

leaden hedge
#

well someone forgot to remove oauth strings from the source

compact sedge
#

really?

royal ridge
#

no joke

compact sedge
#

so nobody's bothered to host the art bot since then?

exotic venture
#

the bot still works

#

but it's obsolete now

compact sedge
#

hahahaha that's a good one. You and I both know discord randomly deletes old images

#

and you know this because you ran zote for a while

exotic venture
#

wot, i ran zote?

compact sedge
#

well you did something with zote

#

ever load a zote meme or something and see nothing appear

exotic venture
#

🤔

#

that's just embeds screwing up

compact sedge
#

is it? why does doing ;em always give you dead image links?

#

are you saying that at some point when zote added images to his library it was bugged and added fake links

exotic venture
#

¯_(ツ)_/¯

#

ask conrad about all of this tbh

compact sedge
#

and if so then it has been a minimum of 2 months 2 days since that happened and mothlove still has like 3 dead images in it.

exotic venture
#

complain to conrad not me zote

copper nacelle
#

@compact sedge why are all your classes lowercase wtf

#

and all your methods

compact sedge
#

why are you reading my code

copper nacelle
#

cause I'm following you and I check the GitHub app sometimes and you're like 90% of the commits and it said hard mode so I wanted to see what it was

compact sedge
#

lul

#

well glad my github mirroring works then I guess

#

90% really?

#

how few people are you following

hazy sentinel
#

2.4

compact sedge
#

my methods are lowercase because camelcase methods makes sense to me and it helps me distinguish between MY methods and unity methods I'm overriding/using @copper nacelle

copper nacelle
flat forum
#

56 how do you make these?

hazy sentinel
#

samsung scrollshot meme

copper nacelle
#

^

fair rampart
#

do mods prevent gamepad usage or am i having a different issue

ornate rivet
#

they dont

copper nacelle
#

@fair rampart if you have native controller beta turned on try turning it off

fair rampart
#

when i booted up mods my gamepad wont become recognized. i tried toggling the native beta on and off with nothing changing. currently i have my gamepad simulating the keyboard but its not as smooth at some points.

copper nacelle
#

are you on mac

#

or linux

fair rampart
#

pc

copper nacelle
#

you could try the beta

fair rampart
#

im on the beta--- would that be whats wrong?

copper nacelle
#

iirc avengjng angle was having some issues w/ a controller on current

#

uhh

#

are you using the beta api

fair rampart
#

yes

copper nacelle
#

it should work but trying current couldn't hurt

fair rampart
#

alrighty

#

i switched over to current and it seems to be fine now. either way thank you for the assistance.

copper nacelle
#

cool

#

yw

compact sedge
#

wow I'm way more active than I think going by that screenshot

#

actually... every single one of these involves me except for KDT making the modding docs and gradow forking the docs and the very bottom one

#

so that's like all but 4

copper nacelle
#

oh do I have redwing watched or something

compact sedge
#

idk but I mirror all my changes to github, and ofc I send PRs to people using the platform they use

#

so basically github for everyone but gradow

copper nacelle
compact sedge
copper nacelle
#

and I check GitHub for code fairly often

compact sedge
#

I mean I mostly do all my work using git

#

and ofc mirroring to github solves that problem in the sense that I can always look at my code on github

copper nacelle
#

true

#

I use gitlab for my dotfiles and stuff

#

cause I don't look at them except locally

compact sedge
#

makes sense I guess. I'm old school in the sense that I only keep my dotfiles on local git repos

#

if I was gonna put them online I'd want it to be on a server I run, running my own instance of gitlab or maybe just git

#

not that I don't trust gitlab with my data, but I don't trust anyone with it

copper nacelle
#

not being able to sync between my laptop and my desktop sounds like pain tbh

compact sedge
#

I use unison

#

which is rsync frontend

copper nacelle
#

that's neat

compact sedge
#

yeah it syncs over ssh

#

so all encrypted

#

and stuff

copper nacelle
#

also one of the main reasons I use git is cause I fuck up my dotfiles too often

#

like once I made a repo for my emacs config

compact sedge
#

yeah I use git but my git repo is in a folder that gets synced by unison

copper nacelle
#

hadn't pushed it anywhere

#

then I deleted the folder

compact sedge
#

and git is just for backups

#

well not backups

#

more being able to restore older versions

#

like time machine on mac I guess

#

but just for the stuff I care about

copper nacelle
#

yeah

#

that's why deleting the folder was extreme pain

#

literally ended up doing
cat /dev/sda2 | grep "a line from my emacs config I remembered"

compact sedge
#

lol

#

painx2

copper nacelle
#

on the bright side it ended up working

#

got my config back and then immediately pushed it

leaden hedge
#

I only push code when I actually release something major

copper nacelle
#

^

#

or bug fixes

compact sedge
#

pfft absolutelynotmeirl

compact sedge
#

aaaa why aren't fool eaters on layer 11 like every other enemy

#

tc pls

#

I was using that layer to check for enemies

#

now I have to check if there's a healthmanager object or something

#

uh so question for people who know c# really well

#

if I have an if statement like this

if (checkA() || checkB() )

and lets presume that checkA is very quick and checkB takes a little bit of time

  1. If checkA returns true does it execute the if statement before running checkB?
  2. can it do both check at the same time?
rain cedar
#

I think it wouldn't run checkB

compact sedge
#

and does the order matter

copper nacelle
#

p sure it's the same as bash

#

just the first one

trim grove
#

yes, it skips it, in order to run both you'd have to write it in a way that it has to check both

copper nacelle
#

is there any language that doesn't only run the first one

rain cedar
#
static void Main(string[] args)
{
    if (CheckA() || CheckB()) Console.WriteLine("C");
    Console.ReadLine();
}

static bool CheckA()
{
    Console.WriteLine("A");
    return true;
}

static bool CheckB()
{
    Console.WriteLine("B");
    return true;
}```
compact sedge
#

thanks

trim grove
#

i sure hope not kek

compact sedge
#

so I should always order my if statments to do the quick fast checks first

#

and the slow checks last then

#

right?

rain cedar
#

Yes

compact sedge
#

just throwing this out there but the fact many FSMs skip GetBool pisses me off.

rain cedar
#

They don't though

compact sedge
#

well for one, all the charm notch cost display stuff does

#

for two, the player's greatslash/nail art check does

#

and uh

#

that's all I got

#

I have some memey code to get nail arts working

rain cedar
#

Most of the inventory is handled from C# components

compact sedge
#

not the actual display of the charm cost

rain cedar
#

Well it's not directly accessed by anything relevant so idk what to tell you

#

Make sure your code does what you think it does

compact sedge
#

no my code works

#

but I had to do some hacky stuff to get it there

#

speaking of hacky

#

what's up with fool eaters

#

do they not have hitboxes

#

I'm so confused why my fire stuff isn't hitting them

leaden hedge
#

what are fool eaters

compact sedge
#

the plants

#

that sit there

#

and snap

#

on you

leaden hedge
#

its right at the bottom iirc

compact sedge
#

eww

#

oh

#

that explains a lot

#

that's disgusting

leaden hedge
#

and its only when they are snapped

compact sedge
#

yeah I know that part

#

but like my fireballs fly through them

leaden hedge
#

er

compact sedge
#

I guess because their hitbox is so low

leaden hedge
#

you could put 2 hitboxes on it

#

one with the hitbox way lower

#

and only check for the plant with that one

compact sedge
#

look I write hacky code

#

but not that bad

rain cedar
#

Hang on charmCost_x is an int but you're complaining about FSMs bypassing GetBool

#

You're using the hook for ints, right?

compact sedge
#

no my point is there's a lot of stuff that the game will ignore

leaden hedge
#

I mean if you want to be techical your fireball hitbox should touch the ground

compact sedge
#

unless you set the playerdata var directly

leaden hedge
#

if cast from the ground

compact sedge
#

no because they're floating fireballs

#

that are cast from your player

copper nacelle
#

I mean would you want them to use reflection for everything

compact sedge
#

idk how they should do it

#

but my code to work around it doesn't sit well with me

#

it works

#

it's fast

#

but it feels wrong

#

I should probably get over it

copper nacelle
#

the trick here is to give up

leaden hedge
#

if you're dead inside

#

you don't need to worry about it

compact sedge
#

yes

#

56 is right

#

as long as ONE of my attacks can hit fooleater

copper nacelle
compact sedge
#

and not the laser one

#

it's good enough

#

I'll make it trails

#

trails are easy

trim grove
#

if you dont have a 600 nested if statement, what good even are you

leaden hedge
#

I'm going to make a string compare

#

that does it by nesting max_int switches

compact sedge
#

sorry the worst I've written is a quintuple nested for loop with two ifs thrown in for good measure

leaden hedge
#

with every possible character combination intenseface

compact sedge
#

but y'all have seen that code already

trim grove
compact sedge
leaden hedge
#

it does

compact sedge
#

lol the fact that's a password check thing makes it even better

leaden hedge
#

emails have to be less than 65 characters

compact sedge
#

guys highly recommend. Add a "DebugColliders" to the knight

#

it's super helpful

#

trust me

copper nacelle
#

leaden hedge
compact sedge
#

I knew it

rain cedar
#

Hidden channels are also good for asking who alex is

leaden hedge
#

ex mod obviously

rain cedar
#

Yes

leaden hedge
#

some dargons is also in staff channels

#

despite not being a mod anymore

compact sedge
#

ok so it has a collider but it's inactive for most of the time and when it does become active for some reason it isn't triggering my triggers

leaden hedge
#

pretty sure it did

#

on the last one

compact sedge
#

it triggers sharp shadow

#

but not my fire stuff

leaden hedge
#

and I think the issue is, your meatying it

#

so its might be entering, seeing its disabled and not triggering again when it does become active

compact sedge
#

I'm... what

leaden hedge
#

meaty means to have your hitbox active as something becomes vulnerable

compact sedge
#

you know what I think you're right

#

except there's one issue: my trail works like this:

as soon as it enters a hitbox it deals damage. Then it deals damage every 0.3 seconds or so to all enemies still in its hitbox until it has done 4 of these

#

so the plant must just not be triggering my OnTriggerEnter thing at all

leaden hedge
#

why not use Stay

compact sedge
#

I don't think they have healthmanagers at all

#

that might be the problem

#

no wonder the game's enemy check code is as bizzare as it is

#

this is basically what it looks like

if (targetLayer == 20 || targetLayer == 9 || targetLayer == 26 || targetLayer == 31 || target.Name.Contains("Geo"))
            {
                return;
            }
else {
// damage code here
}
compact sedge
#

im an idiot turns out fool eaters hurt other enemies that walk inside their hitbox

copper nacelle
#

put mouse bindings on the drive

compact sedge
#

it's not my mod, it's the game. something really funky is going on with the knight's transform when you dash off an elevator

#

any speedrunners know why this happens

#

this feels like something a speedrunner could exploit

hollow pier
#

no i dont know why a giant beam of light appears when you dash

#

is this a lifeblood change

compact sedge
#

I should clarify

#

the length of that beam is the amount the knight is being moved

#

during one dash

#

so the knight is being moved really fast

#

when you dash off an elevator

young walrus
#

Only elevators?

compact sedge
#

yes but all elevators

#

or at least

#

I have only thusfar found elevators

#

also the lift from CoT to crossroads

young walrus
#

Yeah but like.... The dash is normal on ground?

#

Or does it also look like this

compact sedge
#

the dash appears to travel the normal amount of distance but the knight transform (his position) is being set to wacky distances

young walrus
#

Cuz you didn't show a dash on normal ground in the clip

compact sedge
#

yes

young walrus
#

So I have no comparison