#archived-modding-development
1 messages ยท Page 385 of 1
yeah
heres the thing
game code does not need to be pristine
if it works
great
unless its causing severe performance issues
whatever
this isn't something you're constantly going to be iterating on
ok but no code needs to be pristine
and making new features for
after the development phase usually
or at least not much
you ever start writing code and then come up with issues which end up solving themselves but now you've wasted an hour on it
this but its hour*4
yes
extension methods will make this not suck for me
best feeling is when you use prebuilt shit you made to implement a completely new feature
and if you use the obsoleted method it is not my problem
and it works perfectly
worst feeling is literally just copy pasting the entire thing but for some reason it STOPS working and now you have to add new shit that the old one didnt need to work in the first place
yeah but it was a working version on a previous branch, then you rewrite stuff thats unrelated to it but decides it must cease functioning completely
do you program professionally?
well not yet
Same
API
tc is bad
and any fsm which access player data uses reflection
uncached reflection
i am swapping it to dynamically generated il
which is faster than cached reflection
You can also use the class for mods ofc
is this inline with your earlier "il is omega fast vs reflection" thing
yes
understandable
Ok I think I did it
time to watch it burn
I should be using il for setting stuff too
Please kill me
No it's just that I should be using IL for setting stuff too
which will be different methods
so i have to rename half the things
i could be doing my history homework right now
really makes you think
It's fucked
very fucked
h :omegalul: mework
me irl
but y
so i can see why it's not working
`
[INFO]:Invalid IL code in (wrapper dynamic-method) Modding.ReflectionHelper:FieldAccessgotCharm_30 (PlayerData): IL_0000: ldarg.1
`
because kuro didnt stream
this looks pain ngl
ahh
why is this ldarg_1
and not ldarg_0
deep confusion
because ldarg_0 is this
but this isn't a static method
so it's a lie
my life is a lie
it works
gj
yes please
pain
could just have hitstun be a global timestop
no
delete this
that would ruin the point of it
the boss would not have time to move to a better spot to fuck you over
it'd just be slow
I'm looking at the HK boss fight
am I stupid or is there no hitstun
on the knight
ok but you can't nail when you look like that
yes
I dont have a hard timestop for a hit
let me check
sets timescale to 0.01 for 0.3 seconds
and then recovers to 1 over 0.2 after that
I like the idea of decently long time freeze when you get hit
lets you recuperate mentally
@floral furnace are you a generic
isnt this like a point second difference
jeez this hitstop is going to be suuuch a pain
just create 100k amount of objects to lag the player then delete them all once as your hitstop
you ever want something bigger than 
the issue here is that 30 maggots on the same message is the correct approach
but nitro costs money
i thought you already had nitro
the keyword here is had, i shouldve used have in your context
the hell i thought you have it, considering you can use some ax related emotes from what can remember outside of it
twitch subs
ahh understandable
i am technically subbed to myself
for
and 
and i am actually subbed to ax for
and 
but but, dont you sub by paying in the first place 
understandble^2
ok i think i finished set
no now i test it
then swap modcommon extensions
then homework
i also need to eat
i'm starving
hi starving
oh shit wait
HK has parrying
now how the fuck did they do that
it auto swapped setattr to the new generic one
๐ฉ
i'm just leaving the old one there for safety
7 hours of hs + transport i sleep
10 hours of hs + transport i awake
17 days till spring break
a good sign
spring break is next week 
imagine not having tests every other day
wait fuck
latin test
death
[INFO]:method argument length mismatch
i love how this exception message is just all lowercase
does not it not reach the menu at all
no that's after loading a save
i c
oof
what
i can show you video
I found the problem
it is that i am bad
what's your point
it's enemy rando loading
Same
what was the issue
dm.CreateDelegate(typeof(Action))
that was throwing the exception?
hmm yes
nice
hello
look at any of these prs
such as
note that the pr is by the creator
amazing
the repo itself is also pretty neat
vscode/vim mix
i'll probably give it a try for haskell
this guy has fucking ascended
blessed
hello guys. :)
i'm about to finish randomizer no claw walkthrough, but here is the thing. Hornet in the black egg temple says "go get all charms". i have all of it, except king soul. can't figure out, how to get there w/o claw. help, please.
i even completed the left room, before the elevator, https://www.twitch.tv/videos/400360414?t=02h27m47s but just can't get, what i should do in the right one.
i wish i could do that, but there is no enemies or enviermental damage sources in accesible part of the room. and also, it's a dreams. :D
white palace doesnt count as a full on dream
but yeah, theres no way to damage yourself
Oh fuck oh shit
ok nvm we good
technically you can beat the game at no percent in enemy rando, because you can just find the hollow knight randomly and kill it
oh god oh fuck it got out
@sly hare
;i
ok
reeee
dankcol_ent...(3).png
saleh why do you have multiple copies of the same png on your desktop
saleh why do you have multiple copies of the same png on your desktop
saleh why do you have multiple copies of the same png on your desktop
I was getting the sprite sheet for all Colosseum walls
and I made a mistake
Pale Champion's last phase will be even better than DoH's 
it will be beautiful
I just need someone to draw pale lurker riding an Oblobblebblele
wait what if I also had other zote riding primal aspids 

I have aids
very tempted to click on link
it all makes sense now
Hornet has aids
Wow nice name where'd you get it
Thanks! (Eek did you know jngo beat panth 5 all binds)
eek!
Im having an issue running the Enemy Randomizer mod
K
ok well fix your issue easy
you wont get a better answer than that if you dont elaborate
when i boot up the game it says there was an issue loading the game
hmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm'
i have an item randomizer working
Okay....
Okay. Well I can't help you unless you actually give some information
More than "it's not working"
1 i dont know how to access modlog, and 2 this is my first time modding
Okay. Well I'm done helping you.
Okay cool thanks for the help
I'll just wait for someone more informed about this to help me out
how
like i mean how do i access the directory
okay listen i wasnt the best with this type of stuff in computer systems class
hmm
then use A
yeah i know
then just use your a drive
calling mick uninformed but this smh ๐
okay well he just wasnt helping, and i never said he was uninformed,
What worked
didnt even need your help
omg!
What did you change
i used the installer
Wow

like listen
Amazing. Literally my first piece of advice
your pc you cant even navigate directories in your credit ๐
but isnt it granted you use the installer
Like directories are the only in a pc im retarded with
why do people think they need to do computer classes to know how to use a computer
but then again i have high functioning autism
dont we all
wdym about the installer knightmere?
Why would it be?
The installer is just copy paste with extra steps
yes
people got lazy of copying and pasting so gradow created a program that does it for you ๐
alright im gonna go hang out with me madre
what
this tbh
And the lazy also benefit from it, ofc
this is me
2me4irl
why dont you get more thanks for making the installer
so i dont have to copy and paste
you have my thanks gradow ๐
And you have mine knightmere
?
For beating 56's hard pp
Yo Iโm going to post the New Zealand shooting in meme
B๐คI
uhhh can you don't
someone update the api on the drive for me thanks
roger that captain bham
roger that captain bham
no
ya
a6d6e5b7ae5885a32d1844e2399eeb62dd285187
i can
fucking google drive
we have so many copies of modlinks that i have to delete old versions before uploading a new one
descriptive error btw
you did this to yourself buddy
now you must deal with the consequences of your actions
by deleting the last 300 versions using js
a-c-d h-R-d a-Fb-E-J-ac-Mq
wonderful class name
too much work
i just deleted the last 5
You can't get private fields from IL
life is pain
@rain cedar dumb logs are gone ๐ฆ
Okay so while IL can't access private fields, LINQ expressions can and are still way faster
more api changes time
damn there is a lot of issues with the enemy randomizer mod
smh lazy modders
56
๐ ฑradow
fix controller support for the API or else
you do it
else
ok
ok
else
how I fix
if you go to the pinned linux api and a normal vanilla api and diff them you can see the one actually important class that's changed
just add an if statement
this is for linux controller support not the normal weird controller stuff
how fix do

@rain cedar @vale zenith Elder bug is indeed a cool dude


sean literally going to murder you irl
mushrooms do that
oh sean's the least of his worries
firzen literally going to murder you irl
so i downloaded lightbringer and im having a lot of fun with that
hi having a lot of fun with that
okay die
Why did the mod installer just download all of panic at the disco into its folder
Wait no
this is a bunch of my wife's music
where did this even come from
@solemn rivet
๐ค
I assume it has something to do with the unzipping process maybe
These are a list of files that are 4th down in my recent clipboard items, and they are the most recent files I copy/pasted
Is there some kind of shared temp file cache that gets used for copy and pasting files, and also whatever is used for the modinstaller?
Hey! I installed the item randomizer mod and I'm really stuck. Is anyone willing to help me a little?
Don't know if this is the best channel to ask, tell me if it isn't
firzen's wrath has really been invoked
essay 
I set the mod to no skips, although I did shade skip sometimes. Well, the only thing I think can use to progress is monarch wings. Aside from that, I've got dream nail, cyclone slash, dash slash and sharp shadow (no dash though). I can get howling wraiths, just need to farm. I tried going to soul sanctum but couldn't, and I got everything I could from forgotten crossroads, greenpath, city of tears and fungal wastes.
That basically sums up my playtrough up until now
did you check all shops?
I bought everything
Sly, Iselda, Leg Eater and Salubra
Not one charm to kill the baldurs
oh yeah
I thought he didn't have that yet
Sperguze, check Nailmasters and chests too
I think I checked all chests
The nailmaster in kingdom's edge gives me howling wraiths
Oh I forgot about howling cliffs, can I reach the nailmaster there?
no
I need claw right?
just to make sure
you are on easy right?
did you get the chest next to massive moss charger
Yeah I am
It was in the long room with acid that leads to Queen's gardens if unlocked from the other side?
yes
Then I did, only gave me geo
My charms are Stalwart shell, Soul catcher, Spell twister, Grubsong, Unbreakable strength, Steady body, Quickslash, Thorns, Defender's, Quick focus, Sharp shadow, Nailmaster'
did you check grubsong?
I got a charm from grubfather, and I assume it has to be the one replacing grubsong
i cant think of any other check that doesnt involve skips
did you check dashmaster and claw
I checked both, dashmaster gave me dream nail and claw gave me geo
If the skip is not too hard I can try to pull it off
there's no reason for you to do that since (supposedly) the mod can't place an item in a spot that requires a skip
apparently weaversong is not locked behind misc skips
so try that
Oof time to go into deepnest without any upgrades
Thanks, I hate it
Seriously though, thanks for your help
๐
wow kuro being helpful
shut up retard
i would but i have type 3 autism
omg that's so toxic
if you parent get methods created via DynamicMethod to the class which has a private field you want to get you can bypass private without being painfully slow
incredible
Knightmere
oh wait this might actually be useful 56
What's wrong with 45:45
it will help me achieve stasis
it's almost like player data reflection is sped up significantly now
Is it just because zote
Any new mods?
khan
khan's the newest one i think
sigh
I plan to release pale champion before april 18
so that's going to be a new mod soon
k
@copper nacelle
What's a good functional language I should learn
Haskell
k
wtf is going on
haskell
time to learn yay
pastel
learnyouahaskell is good
and online
i got more from just trying to make something tho
that's usually how it goes
How difficult would it be to make a mod that removes the lifeblood vines from godhome
They ruin screenshots of the place
starting a new godseeker file is my favourite mod
But redoing all those bindings on a new file is painnnnnnnn
GL.Begin(GL.QUADS);
foreach (Entity e in Entity.entities)
{
foreach(HitBox hb in e.hitboxes.HitBoxesL)
{
Vector3 tL = c.WorldToScreenPoint(e.gameObject.transform.position + new Vector3((-hb.width+hb.x) / 20f, (hb.height+hb.y) / 20f, 0));
Vector3 tR = c.WorldToScreenPoint(e.gameObject.transform.position + new Vector3((hb.width + hb.x) / 20f, (hb.height + hb.y) / 20f, 0));
Vector3 bL = c.WorldToScreenPoint(e.gameObject.transform.position + new Vector3((-hb.width + hb.x) / 20f, (-hb.height + hb.y) / 20f, 0));
Vector3 bR = c.WorldToScreenPoint(e.gameObject.transform.position + new Vector3((hb.width + hb.x) / 20f, (-hb.height + hb.y) / 20f, 0));
switch ((HitBox.HitBoxType)hb.type)
{
case HitBox.HitBoxType.PUSHBOX:
GL.Color(green);
break;
case HitBox.HitBoxType.HITBOX:
GL.Color(red);
break;
case HitBox.HitBoxType.HURTBOX:
GL.Color(blue);
break;
case HitBox.HitBoxType.INTERACT:
GL.Color(purple);
break;
}
GL.Vertex3(tL.x / Screen.width, tL.y / Screen.height, 0);
GL.Vertex3(bL.x / Screen.width, bL.y / Screen.height, 0);
GL.Vertex3(bR.x / Screen.width, bR.y / Screen.height, 0);
GL.Vertex3(tR.x / Screen.width, tR.y / Screen.height, 0);
}
}
GL.End();
is this the most galaxy brain way to render hitboxes 
56 where's the version of the api with functional controllers for all OSs
We've already got a version with functional keyboard for all OSs idk what more you could want
I heard someone was making a level creator mod, is that true?
If you have an answer or anything just @ me
heehoo
I mean
what's the latest ver of the api in which controllers worked?
I'm gonna find out what's causing the issue and attempt to fix it
(spoilers: and fail)
Idk I don't use controller
hmmm
guess I'll start with TGT
huh
so at some point InControl got HollowKnightInputModule
it wasn't there in the TGT assembly
huh
I'm trying to diff the api and the vanilla assembly using JustAssembly, but it shows the vanilla as being empty
even tho I can open it with dnspy and see everything where it's supposed to
wtf

If JustAssembly isn't working you could dump the files with dnSpy and it's no token option
And then just diff normally
Try them both as .dll maybe
shouldn't matter, but I'll try it anyways
same
I'll try opening the vanilla assembly in dnspy and saving it as anything else
maybe it's encrypted or something
obfuscated
etc
it work

nice
nice
this is on the api
and this is vanilla
wtf
why doesn't it know how to compare those
Incredible
It says .dll on vanilla
Clearly different
Ah so I'm a genius
hi a genius
best api feature tbh
heckin' IL and ON man
ok, so nothing was removed, which kinda scares me
if I had to guess, I'd say it's either On.XInput or IL.XInput that's somehow messing with XInput
๐ฆ
it's also in the api btw
.dll
it's the api
I added the .dll so it would diff them
notice the On namespace
and the file is CSharpmod
I'll try removing that XInput and see what happens
it'll break, that's for sure
but how
hmmm
I give up

take 2
c
ntr
ller
k, it compiled
hmm
I removed all On and IL InControl and XInput
still doesn't work
I give up take2
Finally
what
why are C++ constructors so ugly
That doesn't look so bad yeah
Hey guys. So ive been playing a randomized items run for the first times and got the cyclone slash where at the very beginning where the shaman was instead of my vengeful spirit, so i obviously cant get through to greenpath. Has this happened to other people? Is my run pretty much already screwed?
you can use normal constructors but I'll get docked points for being inefficient
but this seems pretty normal to me 753
check shops
I'm just really annoyed by having nothing in my curly braces
oh
Well you can kill baldurs with cyclone. Dunno if it's an easy setting tho
right
it's just not right
It probably is in easy
I don't really think about anything but hard when adding stuff
Vengeful spirit isn't the only thing that can kill baldurs
Well you can with cyclone
So keep at it
You have to go out of range then back in immediately
While cycloning
It's pretty easy if you know how to do it
It's easier on the mound baldur
Lets you get closer before closing
kk which one of you fucks wants to play the demo
finding oobs before release Pog
that's what they all say
not with that attitude
Level is surrounded by a thick box
Still finds a way out
no transitions?
None in the demo no
unfortunate
but I have them set up
๐ at school but about time
ye ye gimme a moment
time to go oob
any gdrive
ye
is it really an hk fangame if you cant go oob at every transition
krythoCursor
is it really a hk fangame if youre barely not infringing on copyright
is it really a hk fangame if you didn't spill spaghetti all over the code?
now to mod it before it releases
I didn't do a clean up
so some parts of the code are probs a bit ugly
most is okay though
I think >_>
it doesnt exist
was the Ori rip off
removed it
wasn't working out
code is still there though
you can probs reactivate it actually
literally a bool flip
are you supposed to not be able to djump out of glide
you can
why is slash invisible real shit
because I'm lazy and really should make a better placeholder
like a box
like a normal human
you can cheat the timer by ignoring it, picking up upgrades then going back to activate it
56 wanna race
sure but i'll lose

go
i love the terminology
hmm?
nice
i got bench storage

rofl
if its useful for speedrunning and not intrusive to regular playthroughs make sure to patch it
lmao nice
up as in jump
cant go up tho
oh you can just phase through walls
up as in interact
wait what
wonderful
wow. 5 minutes and we're phasing through walls
what was that about no oob?
how'd you get noclip
you just walk through it
๐
did you both do it through the bench?
yeah
because I know why that happened
bench sets body to kinematic and that mode can go through everything
alright 56 wanna do an nmg race? 
wild
oh shit yeah bench is broken

perfect fan game tbh
wow
agreed
incredible
I'm sorry 56
I doubted your power to achieve oob
I will not make the same mistake again
i am in the void now

who couldve ever believed this alpha build would have glitches
I'm pretty sure clicking R will reset everything though
literally everyone
yeah it still does
well its easy to replicate a glitch when you know it's there
I know what it's happening though
like I said before passing controls over is pretty poorly implemented atm
just 3 states and things have the potential to fight over it
that is the wrong recording
I havent played yet but its great just seeing mr lazyman lose his shit over everyone breaking the demo in less than three minute
hmmmmmmmmmmmmmmmm
56 i saw that
I'm laughing my ass off
HmmmHm
ds3?
dark souls 3
holding up while dashing might be what keeps you up
how we doing
needs more coyote frames
nani
who
being able to jump for a very brief period of time after walking off a ledge
why
because he got out of bounds in 5 min
you can jump right as you walk off a ledge?
controller doesn't work?
yours?
okay it's just going in the ceiling which makes you go up
has anyone tried playing with controller?
controllers icky
i'm trying now
if you stay near the edge you can dash down and back into bounds
my controller works
Ya the "on wall" state is determined by if any of 4 raycasts return true
so if you're surrounded by wall
ya it will think you're on the wall
and since being on the wall refreshes dash
eeeeeh
local man routes ag
so how are you breaking off the bench exactly?
no I know that but what are you inputing
nani
this is with nohboard's 3 or 4 frames of delay
@cunning lagoon What am I supposed to be looking at?
ooooh I know whats happening okay
kk so like I said beyond glitches how am I doing on feel?
pretty decent
would be nice to have controller support
๐ค

listen you shit
OH LOL its because I used fucking single nintendo joycons to map the controls
lel I died
this for example is where coyote frames would come in handy
this is still a couple frames later than when i actually pressed jump
oh you're saying you WANT a few extra frames where the character can still jump
while off the edge
yeah
ah kk
the movement all feels pretty good
I'm kinda proud of the wall jump
you can use bench storage for the first gauntlet but i can't figure out how to skip the part where you go down
bench storage?
missed the sub 1 
keeping bench state while not on bench
is that a legit HK bug
that is also a hk glitch yes
holy shit I did it
you get transition storage and can then float with bench
no oob tho
hk's bench storage lets you float up with jump and stuff
perfectly replicated TC's spaghetti
hmm?
there's been a number of times I'll walk off a ledge, dash, then try to double jump
and it just won't happen

cancelling bench storage oob lets you fall
you're stuck at a weird angle though
like a diagonal line
not every time
are you also not meant to have the dash off and edge then still have an air dash?
do you mean being able to dash again if you dash off the ledge?
Currently no you cant and I know the line of code that controls that.
and I also know you CAN dash again off a wall if you go up
so I'll fix that inconsistency
we're trying to focus on aerial combat
so we thought a dash that goes up and a glide would suit that
plus its cool as shit
I could really enjoy this movement if my controller worked with it
lots of fancy air stuff you could do
I'm pretty sure unity lets you rebind in the input window
doesn't read my controller

and I don't care enough to troubleshoot
prototype energy meter
currently just heals you for one if you hit enough shit and it fills
one tick per thing hit
stops counting at 4 with max HP
KB?
I'd fly through this with controller. lol
nmg right
yeah
pogo into dash?
fun fact
you can attack mid dash
and break out of it
aka you can dash, pogo mid if you aim it well enough
and then dash again right away
with a new direction
listen
i can't find any broken thing to do with bench


basic float is just bench storage + up dash
hit up/down to cancel
i can't find any good place to phase through the wall
time to mod in zoom out
maggotPrime
plz no


