#archived-modding-development
1 messages · Page 425 of 1
seriously tho
lol
I actually have a patch for benchwarp too, but I was waiting in case any more bugs were found from it
k yep didn't find it 😃 thanks
left overs?
I had been wondering what all the storyrecord calls in the fsms do
Good to know the answer is nothing
would make for easy hooks
for the ones called from fsms
the ones called from actual code are probably inlined
homothety, will you try to PR the rando changes or release rando2.5?
I won't PR anything until it's been thoroughly tested
idk if it makes much of a difference whether the main branch is with Sean or with me. He can probably make better long term updates
tfw you suck at github and then this comes along
monkaMerge
Mostly just curious. I'll have mapmod support either one, but the logic packs I'll probably add to yours since it'll have more options. It might be easy enough to add logic packs to both. Still down the road sadly though; i want coop and multiworld first
i think
@shy cloak https://github.com/Ayugradow/Enemy-HP-Bars
56 sent you gitlab, not sure how up-to-date that one is
ha thank you 😃
something seems off about the logic here... It's probably because randomapmod doesn't take your changes into account though more than a fault of yours homothety 😆
Brand new game
hmmm 😬
It's not you, it's me
One of my favorite moments in testing
i cannot believe captaindapper is breaking up with homothety
was when I decided to check to make sure the collector's map was adding correctly
and discovered that I had deleted the quill from Iselda a billion years ago
lmao
hah rip
amazing tree
kill the brackets 
^
a short tutorial on how to kill sean
brackets: the movie
stag station
It's only randomized if geo chests are off
a true warrior carries himself to battle 
Oh okay. I chose default so must be the case
Yeah, geo chests are off in the default right now
with lantern in the pool, who needs 'em anyway
yeah, shops are much cheaper without lantern or simple key vanilla prices
okay on the other hand i need 700 geo for progression
not really complaining I guess
just different
i think grinding geo might making interesting routing some times
I mean, you get 200 geo from False Knight
That isn't any different from getting 200 geo from fury
That's another reason I think prices should be shuffled; and intelligently tied to scaling progression stuff
oh that's true
I thought you guys might also appreciate this artistic rendering of the new jiji fsm
lol nice
Dude the routing in this is so sick!
Just those few changes opened up huge routing options
tram pass especially
I think the idea of a tram pass start is really cool
An almost useless connection in vanilla suddenly is really important
GG dude this is amazing 😃
thanks
homothety didn't you say you were going to be busy and not on modding 
I said I wouldn't do any more modding
#archived-modding-development is the opposite of modding
this is true
mino, did you study?
except when you're either asking valid modding questions or people are trying to rope me into doing their modding art this is entirely about the dating sim and m*rkoth
yeah just finished maths
probably going to do some sociology
gave up on good old stalin today

I was kidding about the dating sim btw
I know you already have your hands full and all that mino
and it's not like the dating sim is ever going to become a reality anyways, so
if it ever does happen i'd honestly probably end up offering to help
also haha wdym it's not going to be a reality
I gotta warn you
haha
sigh
it's a dating sim isn't it
i will call you back in 8 months
no, it's going to be a sfw christian family friendly dating sim
I'm sure you read the preview dialogue I wrote earlier today
gosh darn christians 
i didn't actually monkaHmm
but ye if yall plan to do nsfw stuff that's most definitely not stuff i'd be comfortable drawing
good luck if it does happen tho

I like how you take everything I say seriously
as if I had ever said anything seriously
this is why you don't study the entire day
oof
@unborn flicker if you're going and randomizing everything, you should include hunter's journal
y
there are plenty of items which aren't currently randomized
there's no motivating reason to randomize hunter's journal or quill, compared to Godtuner or Collector's Map
what's the reason behind godtuner?
atuning to gods
It's an location locked behind new progression items; randomizing it makes simple keys useful
Hunter's Journal would just make early randomizer even more profitable than usual
It would be more logically consistent to randomize it though, so I'll consider it
logic < fun
I can understand quill not being randomized, it serves no purpose other than direction, although I suppose that would be another potential shop randomization
shops are already really good
very true
I don't currently plan on randomizing any other map stuff
Shops will only get better once I add kingsoul
voidheart too?
I feel like shops should be balanced to make progression items less likely to show up
they are though
huh
each shop can only have at most one progression item
is that specific to your fork? cause I feel like I had two at one point
no
Shopkeeper's Key can unlock another progression item
But yeah, regarding Void Heart, I'm not very good at handling cases which aren't already in the randomizer (see also: godtuner), but I can probably put a shiny in front of the egg or something
Kingsoul would then be logical access to that item
well actually I would probably destroy it without dream nail too
just like how shriek is handled
you guys think this would do anything to infinite loads
no , i think?
They're all caused by oom
Um I mean, all it does is write to log
oh yeah, there's that line with system memory
@buoyant obsidian
:GWchadMegaThink:
i hooked GetBackground
ic
i would actually do something cool but i can't art
that's good for when we can actually make our own new areas
hmmmm making new areas
that's something i've been waiting for the level editor for actually lol
ive been thinking about it for a while
do you remember this ?
I do, sugar
the idea is to make "paths" in the game, so your choices influence the ending
if you want to develop blackmoth even more , i can do that skin
I don't have the time, sugar

:(
but its almost summer
but the idea is to have a void and a radiance path
not here
semesters here go from mar-jul
i remember you briefly mentioning that
and
I have some big thing in my phd this next semester
so I probably won't get much rest this winter
good luck with that
I basically have to convince the department that my research not only is not completely bollocks, but that I know what I'm talking about and that it'll actually be something worthwhile
ty mino
after that, I get 1.5 years to finish my dissertation
so I think I can squeeze some time to mess with blackmoth here and there
but until then...
screw blackmoth do silksong mods
that would be interesting
i hope the code will be better this time 
im trying to do as much as i can this summer because i won't be free until next july, so i relate
maybe
if SS is as good as it seems to be, I might as well make blackmoth 2 on top of it, instead of expanding upon blackmoth
that's the feel, mino
I haven't had any real off time for years, because there's always some deadline right after winter/summer
when did you make blackmoth
how long did it take
holy shit
chadow
im curious as to who was the first person to get into hk modding
maybe it was 753? I mean, it was Lightbringer that brought me to this channel
and what I based blackmoth on
kinda emotional
hey everyone! I'm just getting into modding HK (or any game, for that matter) and no matter how much I look I can't seem to find a LOT of content in Assemply_CSharp.dll which I would like to mod, and I'm not saying resources - those I can find and extract just fine - I'm talking about things like, say, how spells behave and stuff... Can anyone help? Sry for the WOT btw


so folks help me with something
reverse emoji
so i have pv1 and pv2 health managers for the double pv mod, why is pv1's health and pv2's health the same for few moments 
what
pv2 is basically Instantiate(pv1) stored to a static field
how do i access public float settings in dnspy
i am logging the health and i see something like
pv1: 1000
pv2: 780
pv1: 980
pv2: 745
// then suddenly
pv1: 745
pv2: 745
maybe you hit pv1
nah
btw gradow it was indeed 753
then after a while pv1 goes back to 1000 or something
thought so, mino
could just be a logger thread safety problem and i am not seeing it right
did you find the first mention of mods?
what is the first message of modding channel
ok, but I was definitely thinking about Besicobitch's Covering Theorem the whole time 😖
It's hard to stay focused
dissapointing , actually
cursed
Besicobitch is. a name
i guess
the very first modding idea
*Besicovitch
^
In mathematical analysis, a Besicovitch cover, named after Abram Samoilovitch Besicovitch, is an open cover of a subset E of the Euclidean space RN by balls such that each point of E is the center of some ball in the cover.
The Besicovitch covering theorem asserts that there ...
It is a very nice theorem
@shy cloak im not ded anymore so I can answer
2x sanic : done
Double vessel : phase 2
Your behavior? Yeah
hm1, hm2 are health manager hp
hm1: 1000
hm2: 500
hm1: 1000
hm2: 250
hm1: 1000
hm2: 50
hm1: 1000
hm2: 1000
so when one health goes to 0, it basically just changed to the other healthmanager's hp
ie when i am onyl damaging the 2nd object
o hi zaliant, did you beat DV? :^)
o wait, i might know how to fix this
phase 2 on both?
Damn that is fast
I can’t tell if on both
I’ve never had them do it at the same time
Sometimes however one will do the big orb and that’s it
I’ve had it only twice where the smaller orbs get spawned too
o
Intended or not it seems fine to only have the big orb
not intended and yea
what is dv
double vessel
i know but what
i know but what
We broke him
have you tried giving the code causing the behaviour so it's actually possible to tell you what's wrong
Lmao
i know but what
https://hastebin.com/codabuzine.cs sent you the whole class since i don't know what causing this
fool
null coercion on a unity type
why 925
why are you using the fsm hp var
cursed
i was experimenting, i was using health manager before
i thought that would fix it somehow
still those are not the issue there tho, and yea i forgot that null nocercions don't work on unity objects
but why 925
it's half of 1850 :wesmart:
i guess that works too
why not get the hp from the object instead of the fsm
i don't
I mean, you do do that, but only for BossSceneEnded
the idea is to have a big health pool and hitting either of them counts, so basically you have to do a total of 1850 damage and if you do that much damage combined you win
on lines 33-35 he gets the hp from the healthmanagers, but on line 49-51 he gets the hp from the fsm
i was testing stuff out 
Does it happen on first iteration
Because you fucked up the hooks
Idk how it handles adding null ints
Oh it'll just throw
null ints, how?
Tfw Sid wanted to make a simple mod
What if I die
Your hook doesn't get unhooked
It'll try to do this._hm1
And die
NullRef
Making orig(self) never work
unless you have a 100% win rate
that's again not the problem, i am aware of those issues
what's OnHitInstance
The behaviour is on the first pv right?
the problem is if you kill one first, the boss is destroyed but the second health manager's hp becomes the same as the first
ye
gimme the dll
in dnspy
yea the problem is when you kill only one
so i need to do like 10 damage to the other one and then one shot the original
or vice versa
right
yea
i think you can just one shot one to observe it
instead of the hp being 0, it's the other health manager's hp
alright, that's what i planning to do, just didn't know why it was doing it
i'm still checking that
i also need to make my health logic better, it's quite cursed rn
Did you check it's OnDeath event
is the hp being logged the fsm one or the hm one?
alright
gradow wdym
there is a code like , public float blablabla;
and there is no way for me to change that settings
what are you tryna change exactly?
there isnt
pog
so then can you exactly tell me where the nail charge time is ?
it is public
What's the field called
let me take a quick look
wait nailChargeTime was private
how do i change the value
i cant find a place where its used
ye
cool
oof, isDead is always false so can't use that even tho one PV already died
One idea
Try using hpbars
See if it gives you any insight
It tracks healthmanager hp
yea i am looking at the using debug mod
the object is gone
but the 2nd health manager's hp somehow is same as first
when one PV dies ofc
wtf
let me check if the health even goes to 0 for any moment
False


why is your health manager cursed
i have no clue
lol poor sid
i just added a custom behaviour for OnDeath to set the bool
enlighten me 56
illuminate him
lemme make sure i'm right
alright
well i was right but this comes with its own set of issues
what was it
yes
Instantiate copies all components
This includes PureVessel2
So you make another pure vessel with PureVessel2
It prints the hierarchies and also subscribes to the event
But it also grabs the health managers
It grabs pv2's healthmanager (its own)
And it grabs base.gameObject's healthmanager (also its own)
The original grabs pv2's healthmanager and its own healthmanager
They both then log values
o yea, that's what i was thinking too, that's why i printed the screen hierarachies
Once you kill the origiinal
only pv2 is logging
And it's logging its healthmanager
Twice
o
^
Instantiate and then destroy the component
Or have the behaviour on your own gameobject
Note that you'll need to make sure you can't kill one without killing the other if you want the first option
Because if you could kill one w/out killing the other you could have a situation where the one with the component dies and therefore destroys the component, breaking the fight
what about the 2nd option?
You can just instantiate normally
Because the component won't be on the original and therefore won't get copied to the second
Grab one of them with GameObject.Find, grab the other via Instantiate's return
yw
yw
alright it works now
you are godly 56

Soon
hey fuckers what does your brain say when they see this design
penis
Heres a better image than what lazy posted
it looks nice
it says HK cause of the white face
🤔
& black eyes
wow, racist
wow zaliant
It could still be mistaken for HK
~~also there is a guy that claims he did NGG but doesnt have any proof and says the game was easy ~~
Lethere?
Yeah its still very similar to HK so we’re all doing a big collective sigh
why
bad advice time
i think if you shade the face itll help with some color and ad a line that leads up the twirls
like these things
Yeah i mentioned a pattern or something oj her head
idk what those lines in the middle of the petals are
but i think it would help shape the identity of her
honestly idk what this image illustrates 
and if lazy says otherwise just hit that block button
I know its a flower
https://puu.sh/Du9bA/977858fa94.png like maybe if you toyed around with that here-ish
idk
im not an art person
Oki that makes sense
ofc that might require making her entire face blueish
lol
i think she was after a blue lily?
cause that's what i googled
Yep
Maybe to make it more distinct, make the legs greenish and add leaves?
So they're like stems
I'd imagine that'd throw off the color scheme tho
Ye thats what a lot of people have suggested
i assume there's a reason you havent though

Boy there are a lot of swathes that have been tossed around (you can find some in art discussion) between every single iteration
Issue is we’re all too attached to a design thats very much based on hk and dont really want to make big drastic changes
But its fine we’ll figure it out
so I'm at GOML
in the vip area
How does it feel to be a very important programmer
please
one of the pros asked me for water
"I don't have any water for you"
is all I said
Lazy can you get me some water
sure its in orbit atm
I think the bug look is mostly because of the face
All charms are now randomized. Abyss is modified to make LBC accessible with any positive number of blue masks. Void Heart is fixed to allow shade skips. New menu toggle for long items: default replaces them with 3000-5000 geo.

sick
hawt
@gilded lotus here's the updated version, it's nothing different from the outside tho
yeah thats fine
shoutouts to TC for not doing this
just shapes and beats
oh yeah
what is wrong in this image
everything
light theme is the most wrong tho
^
unprecedented readability
hmm yes
are those all errors
when i first played js&b
no khan
the obfuscator intentionally generates junk cs files
it's just obfuscated code
that cannot be compiled
but are placed into the binary after being compiled
so they get decompiled
but why tho
because fuck modders
to prevent hackers/pirates I guess
Yeah they use a thing specifically for unity
Sean figured out how to unencrypt the save files anyway
so the closest thing to encrypting it, kinda then
It's just xor 14 or some shit 
tbf xor is reversable even without original source code
it was part of a flag in pwnadventure 3
very nice
sean looked through the methods for a while until he found something which wrote to a file iirc
it uses this btw
An obfuscator specificially designed for Unity projects. While other obfuscators can stop a game from working, Beebyte's obfuscator looks for specific Unity related code that must be protected.
iirc
😍
is that part of the obsfuikxjfso something
uhhh
yes
uhh
uhhhhhhhhhhhhhhhh
I think if you type that into VS it'll tell you that the second true will never be reached
or that
time to make it using dnSpy
-82
😩
it sets 0 and 5 multiple times too
It optimized out my switch
I had switch("true") { case "true"
and it ate it
Wtf
It optimized my switch to if statements
show
it was switch(s) case "true"
and no other cases
because i didn't think it'd eat my switch
oh my god
what the hell happened to 2nd if statement
no it's right
if it's true it'll print die
if it's not equal to false
it'll do the default thing
and return
oh, because it returns inside the first if
ok
because the second if doesn't exclude the first case
will this get optimized out take your bets
so if it didn't break, it'd print die again
doubt
inb4 5 ifs
doubt means no?
yes

i mean, no no
wut
it prolly will :^)
you're just making us more and more confused
dang
lame
off by 1 if
😩 that's some nice optimization
how do i make it be a switch
i know
I'll add a when statement
The massive brain play
does dnspy not know how to handle switch cases?
No it does
easy, DONT use the optimization option
inb4 that gets optimized too
please
I mean, rider would tell you that switch was bollocks from the start
i want die
@compact sedge it's probably just the first one because it compiles with returns
thanks
it doesn't just make fake functions
but long chains of fake functions
ewww
why must people be like this
ask tc to add the obfussiajf;so to silksong
what method is the multiple cases of true in @compact sedge
i can just check the il
i want to make sure
how do you even read il 56
not quite sure
with my eyes
I genuinely have no idea
I forgot

I tried reading it once and was completely stumped
ok time to look for all calls of DNPJGOHMADM
it's just like asm
but easier
you just need to get used to the instructions
motherfucker
why
😍
none of these have case true
but i'm using a cleaned dll
i checked the non-cleaned
still nothing
no i mean case "true"
as in the string
giockmopfmg
these are all in giockmopfmg
how to quickly fix all errors in rider
unless there is one more than one giockmopfmg
It's this one right?
best i found was this
¯_(ツ)_/¯
is the linux dll different
what is the shasum for you
wait i have another assembly
maybe this one is also cleaned
yeah i have no BELFGNBFIEE in giockmopfmg
give dll
hmmmmmmmmmmmmmmmmmmmm
cmon 0 errors pls
why do you do this
cursed
I have two case "true"s now
Pog
the linux one is so much more fucked
nevermind the il is also unreadable
help how do I do logging that's not in the player.log file
so I can have readable logs
ok I'll just parse tail Debug.log through grep "[MOD]"
very readable code
ok
the great thing is like
they all call !0 !1
I feel like I could hack away at this in a week and have just as good as source code
this obfuscation doesn't even make it harder it just adds busywork
Doesn't calling dictionary add with the same arg twice make it throw?

the answer is neither angle
it'll die before it gets there
easy
all the obfuscation in the world can't hide the fact they cannot spell lol
but on the plus side
no more playing the circle thank god
🦀 Pentagone 🦀
Ok, new Benchwarp update is in. UnlockAllBenches now takes effect on newgame or loadgame and is no longer limited to one use per session. It also now activates toll benches and the Hive bench, and unlocks both trams. It also previsits most areas, to prevent softlocks from titlecards. 
If someone's free to add the new version to the drive, or give me permissions, lmk
drop it here
Thanks! You rock Gradow 
k
Technically, you can actually use the warp button on anything, but it will only go to where you last saved
I don't know how that would work with Pantheons/HoG
But you can use that to warp back to a hardsave location
Or when I do rando, I'll also use warp as I'm walking through Dirtmouth to quickly grab the bench warp point

I'm just watching lobos' Poorly Translated+Cinders mod run of DS3
please, let us come together in this time of need
and make a poorly translated mod for HK
that will accomplish two things
memes
and hate from lore
both of which are ideal tbh
This sounds like a worthy goal.
The only support I can offer is moral support, so I believe in you.
the great dichotomy of #archived-modding-development 
Don't you dare say randomizer doesn't have lore 😡
I care about memes and pissing off lore
so I'm gonna make the poorly translated mod
yeah its called silksong
I look forward to Silksong mod.
scills
So you guys know the new epic games launcher new free game stories untold
I didn't think I'd see another game with it, but it's got fsms
following in the cherry lads footsteps
what game?
Nah it's actually pretty clean and almost everything is color coded
playmaker FSMs though?
Yeah
I'm telling you playmaker is fine
mossbag used infinite soul for ascended bosses confirmed
i wan die
cute dog

i dont get how jngo didnt get that many dagger attacks
i literally always have at least 1 pv doing daggers
https://www.youtube.com/watch?v=JGPR7ET_x0M lol @safe hamlet
i'm pretty sure i just cheesed it super hard with the 4 fireballs
probably all double hitting
that's litearlly like 600 dmg
still epic
😎 epic zaliant style 😎
9 more pages of socio reading before i can do stuff for gun mod
you are not normal
@fair rampart hello god
yeah what ttacco's been yelling about not doing for forever
im blackmailing him into making it
guns in hk ?
mhm

I wanna start modding at hollow knight how to start do you guys have an advice
don't
Mino and Khan: Do you think a maths only stream, with no gaming going on, would be interesting to watch?
Id be up for it

@gilded lotus very nice regardless
Oh yeah, nicely done zaliant!
gradow stream physics
physucks
nou
physics is just maths lite
me too thanks
me also
gradow turn on streamer mode so that it shows whenever you stream
become a real gamer
is there a mod or so that fixes controller issues on Linux? (game crashes if controller is connected or gets connected)
seems to only happen when the controller is ran through steam, and doesnt recognize any input when its a "generic input device" gamepay
Heard rumours on the googlery that the unity version it is built against has a regression on controller support
I can try rebuilding the API against the Linux assembly
It has a slight difference in the incontrol section
it crashes regardless of if the modding api is installed or not, just to clarify
ask angle perhaps?
ill ask them for the stacktrace, give me a second 
https://pastebin.com/raw/JgABeVfc here we go
@solemn rivet me also thanks
gradow's maths fanclub
lmao
I just realized City Crest might actually be useful 
I think you can get to Basin with a Baldur Kill, CH, City Crest, and a Simple Key
Incredible
Time to put that into logic 😎 even though the randomizer still wouldn't be able to give crest and key in that progression chain
It is now my life's mission to create a randomizer and a seed where you have to take that route to get to wings at Void Heart
why do i dare use your fork again? D: this sounds horrifying
I don't know if I could really make that Basin access part of easy mode though, considering the closest real bench would be Leg Eater 😫
How do other item randomizers normally handle compound item progression?
I think I've seen ones which randomly place items and test against logic, and ones which randomly place items up to a certain point, and then force progression placement when down to the last location?
@solemn rivet not deleting his livestream post... BAN HIM FROM LIVESTREAMS BENJ
So I guess I'm thinking of this as a potential randomization method:
- Place all geo pickups, to prevent these from ending up in shops
- Fill accessible locations randomly until only one is left
- Get list of progression items which unlock new locations
--- If the list is nonempty, choose one to force into the remaining location
--- If the list is empty and there are no more locations, place remaining items into shops
--- If the list is empty and there are more locations, try placing progression items into shops. If too many are placed there, get new seed and restart (the cases where this happens should be rare)
what do you mean by pathological geo placement
hmmm, it could actually happen from other things too I suppose
WHAT IS PATHOLOGICAL GEO PLACEMENT
Item randomizer has been around for well over a year
🤔
(x)
did you also know that you are annoying?
I'm sorry.
Dapper, you've seen nothing
it's ok 
So you're saying I could pick up Grubberfly's elegy where FOTF is
Sure
a2 fotf mod when gradow
yes
Wdym knightmere
doesnt fotf always turn into geo though?
hk berserker mode when
watchers of lurien when
sid
I did do that tho
or was that changed
sid
knightmere
im very determined to be a disappointment
That's on sean's rando2, Adrain
But I think homothety's gives more flexibility
just do it
If geo chests and charms are randomized, fury is replaced by geo in my randomizer
also sean's summon mod is quite hot
@fair rampart here
I wouldn't randomize geo chests
then dont enable the option? :p
You can do that with homothety's randomizer
really like that those have toggles 
I wanna start modding but I dunno how to create a workspace have you got an advice
Do you have VS?
I don't have it on the PC
what
Gradow is helping someone learn how to make mods
EPICname, do you have visual studio or any other .net c# compiler
I want to make a refined version of Exaltation.
wdym by refined?
doesnt that reduce damage though?
the exalted quickslash
significantly faster attack speed but less damage
Yeah
wait what's exaltation mod?
it's a mod to put back in the charm glorification thing that tc scrapped
It upgrades charms for godhome
i see
But quickslash's glorified upgrade had NO SWING SPEED CAP
I don't see an issue
the cap was every other frame if you can somehow press the attack button that fast
@unborn flicker why alter the current randomization?
to add rules


how does one read