#archived-modding-development

1 messages ยท Page 130 of 1

flat forum
#

and the 2 mods Kerr was making

rain cedar
#

Oh ok

flat forum
#

I don't think he finished either

leaden hedge
#

is that the way it works Kappa

flat forum
#

any idea what will happen to them? Will he just finish them later?

rain cedar
#

Anything I put up with no license is because I forgot

leaden hedge
rain cedar
#

I don't actually care if anyone uses my stuff

leaden hedge
#

if you put code on github its free game intenseface

compact sedge
#

if you put code on github anyone can download it for personal use IIRC but you could DMCA someone if they modify it and redistribute it

#

the purpose of a permissive license is to explicitly waive your own right to send a DMCA

rain cedar
#

GPL 3 also specifies any modified version has to be GPL 3 as well, right?

compact sedge
#

yes

rain cedar
#

Yeah thought so

compact sedge
#

but only public projects

#

so you could internally fork it and do whatever

#

but if you wanna sell or give out binaries you have to include source code

leaden hedge
#

this is about Xecuter using Atmosphere homebrew code in their proprietary OS

compact sedge
#

under the GPLv3

leaden hedge
#

which is a sold product

#

and atmosphere is GPL v2

#

so definitely not allowed in any way

rain cedar
#

I have no idea what Xecuter is but that's shitty of them

compact sedge
#

you can do that if you provide your project's source code along with the sold binaries. You can sell open source stuff

leaden hedge
#

well they don't

compact sedge
#

and only provide source to buyers

leaden hedge
#

Xecuter make a CFW for switch that loads "backups"

copper nacelle
#

iirc it's just that you have to provide the modified source if someone asks for it

#

so like

#

they can send you a cd w/ the source if they want and it still counts

leaden hedge
#

I'm gonna take a guess and say they wouldn't

compact sedge
#

for v2

The text of the license obliges you to provide source code for binaries you distribute, and gives you exactly three options for providing source code. These options are spelled out in section 3 of the LICENSE file in the BusyBox source tarball:

3(a) bundle the complete, corresponding source with the binary.
3(b) bundle a written offer good for three years to provide that source upon request. (These days this is often a URL).
3(c) pass along somebody else's 3(b) offer.
leaden hedge
#

considering they charge for it and the licence checking is on the switch

#

I could email them and ask intenseface

compact sedge
#

if they have no way of telling if you didn't buy it then I'm sure you could email them. Good luck actually getting it tho.

leaden hedge
#

I have a legitimate copy of the program

#

so I have a licence intenseface

compact sedge
#

in that case

#

... hahaha there's no way they're gonna comply

#

but

#

they legally should have to

copper nacelle
#

if they don't, sue them

#

ez money

compact sedge
#

nothing like trying to sue random asian companies under US courts.

#

painless and super effective and fast process I'm sure

leaden hedge
#

I think if their company was legit and in china it'd work

#

but they'd just vanish suspiciously

compact sedge
#

aaaa why does list.Count give me a null ref when I have list = new List<Collider2D>(); in my start function

#

omg

#

eww I know why

#

for some reason my trigger is running before start

leaden hedge
#

bad code delet

compact sedge
#

needless to say my lasers have a few problems with them

copper nacelle
#

copy the radiance's lasers

#

ez

leaden hedge
#

copy crawlids lasers

compact sedge
#

for one... and I'm still not sure why... I take double damage when I'm hit but both flameshield and lasers are down

copper nacelle
#

best lasers in the game tbh

#

ez accidental hard mode feature

compact sedge
#

for two, you should see their hitboxes

#

it's crazy how bad they are

#

not that anyone can tell since the lasers are so shortlived

#

for three... they're STILL not long enough

#

uhh oh for some reason I'm not getting iframes after getting hit like I should

#

so that's why I'm taking 2x damage

rain cedar
#

I don't have anywhere else to complain about things I find in salt & sanctuary source

leaden hedge
#

hmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm

compact sedge
#

aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa

#

that pains me

rain cedar
#

Which is just wtf

compact sedge
#

what is this switch

#

how does the game even run

leaden hedge
#

cancer

#

this is tc2

rustic stag
#

No such thing as too many magic numbers

#

๐Ÿ‘Œ

compact sedge
#

hollow knight 2 source code leaked

leaden hedge
#

well this has no variables ๐Ÿค”

rain cedar
#

Excuse me flags is a variable

leaden hedge
#

sorry

#

it has a variable

#

and 100 magic numbers

#

why even list the 2nd set of numbers

rustic stag
#

There I fixed it

compact sedge
#

I got knocked around by a few enemies and now I have immobility storage. How did I mess up my code this bad.

leaden hedge
#

why not

switch(flags){
case 1:
case 2:
 break;
default:
  //stuff
  return;
}
//stuff
#

although I shoudn't question stuff that has a 40 item long fallthrough

rain cedar
#

Why do that when you can put another switch in your default?

copper nacelle
#

what the actual fuck

leaden hedge
#

12 tredecillion iq

rain cedar
#

Never had problems with hitting 60 fps

#

And it doesn't really crash

#

Pretty stable

leaden hedge
#

its made in switchscript

#

the most stablest of languages

rain cedar
#

Of course

#

It's kinda tempting to clean up the code in some of these files

#

Just so I can tell what it even does

compact sedge
rain cedar
#

That's fucked

compact sedge
#

how come I keep taking damage without any iframes

leaden hedge
#

probably some coroutine on the hero isn't being ran

compact sedge
#

I'm using ModHooks.Instance.TakeDamageHook

copper nacelle
#

wow you stole blackmoth's bug

compact sedge
#

blackmoth not loaded btw

#

possibly in greymoth

#

idk

rustic stag
#

If you want kind of a hacky not-supposed-to way of doing it, you could set HeroController.instance.INVUL_TIME to some interval (takes a float, I believe) every time you get hit

leaden hedge
#

probably won't fix the floating

compact sedge
#

if HeroController.instance.INVUL_TIME is more than 0 I shouldn't take damage right

#

well the floating is probably from being hit WAY before my character should be able to be hit

#

causing some storage or something

rustic stag
#

Yeah I can't help you there lol

leaden hedge
#

you can set the invuln var probably

compact sedge
#

I have 0 iframes for some reason

#

maybe I got rid of them in greymoth

#

actually

#

let me try disabling greymoth

#

since 56 said I stole a blackmoth bug

copper nacelle
#

you did

#

the flying into the air uncontrollably stuck like that thing happens in blackmoth sometimes

compact sedge
#

oh cool I found a mothbug

#

1 it was greymoth's fault
2 I think my modding api code doesn't work

#

I mean

#

it works 100% don't even bother checking sean

rain cedar
#

Ok I wasn't going to check anyway

compact sedge
#

wait no it works fine

#

it's uh

#

I forgot dash pressed hook overrides original dash

#

meme

#

sorry it's weird for me to think about modapi hooks actually stopping the original function

#

and now I'm remembering why I needed greymtoh in the first place

leaden hedge
#

wow the docs say that

copper nacelle
#

greymoth

#

or greymtoh

compact sedge
#

lol you know what the problem is in blackmoth and my mod

#

EVERY SINGLE FRAME that you aren't dashing

this is set:

HeroController.instance.cState.invulnerable = false;

#

thankfully, believe it or not, my anti-turbo button code can be adapted to fix this issue as well

copper nacelle
#

nice

compact sedge
#

should I send a PR to gradow

copper nacelle
#

yes please

#

that bug is annoying af

compact sedge
#

react below

#

regardless of reactions I will

#

but

#

do it anyway

#

gotta relookup how to update my remote repo

copper nacelle
#

nice

compact sedge
#

oh it's already fixed in 1.7.2

#

or it should be

#

what version of blackmoth do you use

rain cedar
#

4.2.0

leaden hedge
#

Blaze it

rustic stag
flat forum
#

waiting for Redwing v4.2.0 with meme changes and it's called BlazeWing

compact sedge
#

I'm still waiting for redwing 1.0

#

YESSSSSSSSSS

#

guess who blessed my mod testing again

#

I love this game

#

6th time

#

this is why I test in this area

copper nacelle
#

change it so he always spawns

compact sedge
#

that'd ruin the fun

rain cedar
#

Go further, make a playable menderbug mod

compact sedge
#

yes

copper nacelle
#

y e s

compact sedge
#

it'll be just like dustforceDX

#

but ur building stuff

#

instead of sweeping stuff

copper nacelle
#

make him spawn everytime even after you kill him then kill him repeatedly

compact sedge
#

Mender Emperor boss battle

compact sedge
#

welp just released another beta of my mod so uh fun times

opal hearth
#

he gets so tired of fixing everything that he's just absolutely furious with rage and attacks

compact sedge
#

better idea

#

anyone ever try killing the chickens in zelda games

#

that but for menderbug

opal hearth
#

omg hahaha

copper nacelle
#

that'd be neat

opal hearth
#

or combine the two. he attacks you and his attacks are the zelda chickens

copper nacelle
#

imo his attacks are himself

#

he shoots out himself rotated 90 deg

compact sedge
#

if I ever made this I'd make menderbug completely unkillable

#

and he'd haunt you for the rest of the game

#

with these attacks

opal hearth
#

and to make it even better, they're actually just zelda chickens instead of bugs.

compact sedge
#

you can kill his ghosts but they keep appearing

opal hearth
#

bonus points if they're from links awakening

compact sedge
#

not gonna lie I'm mostly just estatic that my project which has turned into about a month and a half in the making is finally starting to shape up

#

I really hope I can beat the release of GnG

opal hearth
#

wouldn't it be better to wait til after to avoid having to recode?

compact sedge
#

very little will need to be recoded on my end

#

I may have to wait for some patches for ModdingAPI

copper nacelle
#

inb4 lost kin fsm gets completely changed

compact sedge
#

my mod is currently using ONE, count them, ONE FSM

#

and it's the knight

#

well two fsms on the knight

#

but only one game object

opal hearth
#

is there a way of keeping a game on steam from updating at all so none of the mods break until i decide to update?

copper nacelle
#

i'm using like three

#

no

#

lk Control/Stun Control/Spawn Balloon

compact sedge
#

im really happy my favorite boss only has one FSM I care about

copper nacelle
#

don't you replace grimm's stun control

compact sedge
#

I just stop it

#

from functioning

#

and set its state

copper nacelle
#

meirl

compact sedge
#

so I guess 2 fsms

#

but one's a generic fsm

#

in everyboss

dusky lion
#

That screenshot above is the first time I have seen Menderbug

copper nacelle
#

what if i add restbench to lost kin

#

ok did it

compact sedge
#

Menderbug is bless

copper nacelle
#

time to see what happens

compact sedge
#

lpt

#

test ur mods in crossroads-1

#

you'll see him a bit... not often

copper nacelle
#

lost kin in crossroads-1 big think

compact sedge
#

make mods you can test in crossroads 1

#

like that old version of mantis gods

#

where they followed you everywhere

copper nacelle
#

@leaden hedge the headbang attack is still in lost kin

flat forum
#

Lost Lord new version when?

copper nacelle
#

var is just always set to false

flat forum
#

wait, the headbang with all the bubbles?

copper nacelle
#

yeah

flat forum
#

SET IT TO TRUE AHAHAHHAHAA

copper nacelle
#

did

compact sedge
#

so after I make redwing I have to do a meme mod right

copper nacelle
#

he just kinda headbanged and spawned nothing

compact sedge
#

it's the law

#

?

copper nacelle
#

headbang doesn't spawn anything with lost kin cause it's unimplemented

#

idk

#

oh yeah it's cause they removed the FSMs

compact sedge
#

ok cuz I kinda wanna make shitmothst and I know how I want to do it and it shouldn't take more than like 3 hours to do

copper nacelle
#

was looking through the FSM Viewer and another gameobject called Infected Knight Dream also had lK Control and stuff but left the headbang FSMs in

#

also has stuff that are now moved to components

#

like recoil and such

compact sedge
#

for added fun shitmothst will, like all my other mods, be compatible with all other mods

copper nacelle
#

Lost Kin just has lK Control, Spawn Balloons, and the stun one

compact sedge
#

idk I don't use json but that's crazy

#

this is why grimm's nice

flat forum
#

Lost Kin doesn't have Stuns, right?

compact sedge
#

they learned their lesson

copper nacelle
#

lost kin has stuns

compact sedge
#

when they made TGT expansion

copper nacelle
#

i just killed them

flat forum
#

yeah

#

now add the balloons

copper nacelle
#

i imagine i could reimplement the headbang attack if i wanted to

#

don't really want to tho

flat forum
#

and give me the .dll

#

make balloons EXPLODE

copper nacelle
flat forum
#

what's new since the last version I tried?

#

can I have a .dll please

copper nacelle
#

not much really

#

mostly code cleanup

compact sedge
#

fight lost lord with redwing

copper nacelle
#

no

#

not even hard enough yet

#

gotta combo e v e r y t h i n g

flat forum
#

e v e r y t h i n g

compact sedge
#

once I add the crazy insane redwing handicap that makes all attacks that aren't redwing attacks do 1 damage

#

then try it

copper nacelle
#

also he has some var called angry

flat forum
#

evade backdash now spawns bubbles, starts the sword wave and after sword wave ended another bubbles

copper nacelle
#

not a bad idea

#

how about evade backdash => bubbles => dash => bubbles

flat forum
#

(56 said something's not a bad idea wow)

#

make it so that the sword waving attack now constantly spawns bubbles

copper nacelle
#

๐Ÿ‘€

#

that sounds hellish

#

and great

dusky lion
#

Ouch

#

I opened up 2 instances of Visual Studio and it did not go well

rain cedar
#

Visual studio works fine with as many open as you want

compact sedge
#

hows the ram usage

rain cedar
#

I'm fine on RAM

#

8.47/16

#

dnspy is using as much as all the visual studios combined anyway

#

It's way more of a problem

steep sail
#

16 GB RAM... I have only 6!

rain cedar
#

Wtf 6 in 2018

#

8 was standard like 5 years ago

compact sedge
#

I effectively have only 6 or 7

steep sail
#

I have pretty cheap laptop

compact sedge
#

but ram actually costs more now than 5 years ago

dusky lion
#

I only have 8 gigabytes so F

steep sail
#

costs for me around $500

rain cedar
#

Costs more but you're still expected to have more than 8 for any heavy use

compact sedge
#

my lack of ram on this laptop is actually somewhat slowing down my mod development pipeline

#

I need just 1-2 more GB and then I'd have enough

#

but 10GB of ram is weird

rain cedar
#

I bought 16GB around 4 years ago because of modded minecraft using like 20GB

#

Good purchase

compact sedge
#

not the worst idea in the world

leaden hedge
#

i wish I had like 64 or 128gb of ram

#

so I could just ramdisk all my problems away

dusky lion
#

^ This but unironically

rain cedar
dusky lion
#

grubthink

rain cedar
#

It said 2

#

Maybe they're used

#

Cheaper anyway

#

Only $1300 to get 128GB

#

And I would need a new motherboard

#

Which means probably a new CPU

#

Very good investment I'm sure

dusky lion
#

Kind of overkill though

#

What would you possibly be running to need 128 gigabytes of ram?

rain cedar
#

Ramdisk

dusky lion
#

Understandable

rain cedar
#

I wonder if it's at all possible to use a ram disk as your boot drive

#

Probably not

dusky lion
#

According to Google

#

It is possible but not typically with whats on your motherbd since, as you know, its volitile. The did make a ram drive board called the iram that had a battery backup on it for just such thing. Sadly Gigabyte never followed up with more of this kind of product.

rain cedar
#

Yeah I'm looking at the thing it mentions right now

#

Used $4790 lol

#

For 4GB

dusky lion
#

Found it on a different website

#

Out of stock though

rain cedar
#

The thing with this is it's too small to put anything meaningful on

#

So the fast speed will mean nothing since you'll be waiting on transfers to/from the slower disks

#

Maybe someday in my lifetime there will be large affordable hardware ram disks

leaden hedge
#

ill put my favourite hentai on it

#

so i can load it faster

rain cedar
#

I hadn't thought of that

#

Maybe I should buy it after all

dusky lion
#

I do not have a way to respond to that

#

So I will just default to cornywoke

rain cedar
#

haha yes I too am weirded out by the mention of hardcore animated porn

#

๐Ÿ‘‰ ๐Ÿ‘Œ

dusky lion
#

I do not

#

I cannot

#

I will not

leaden hedge
#

ใผใใฎใดใ“ will go on there

dusky lion
#

My Piko

rain cedar
#

Boku no piko

dusky lion
#

Well

#

Time to leave this server forever and purge this computer and purge this planet

rain cedar
#

Bye

dusky lion
#

Visual Studio crashed so that's nice

rain cedar
#

Nice

dusky lion
#

Bonus fun fact

rain cedar
#

Wow I hate it when people gary in the bathtub

dusky lion
#

Apparently this

rain cedar
dusky lion
#

F

#

No Gary's

#

At least I can say "go commit in the bathtub" now

opal hearth
#

the bathgorb

dusky lion
opal hearth
#

time to go to bed before i start thinking i have a sense of humor goodnight cool people

dusky lion
#

By the way when I say soon I mean Team Cherry levels of soon

fair rampart
#

hey could somebody please help me? i wanted to try bonfire mod. when i just replace the Assembly-CSharp.dll the game wont launch just a black screen. but if i put the whole folder into the directory the game starts but i dont find any menu or something else to use the bonfire mod. sorry but im new into modding ._.

dusky lion
#

Come into my DM realms

#

And I will help you

fair rampart
#

how? its the first time for me to use discord

dusky lion
#

I'll do it

exotic venture
#

have you tried following the mod install instructions

#

check the pins for that

fair rampart
#

i watch it right now

#

the mod installer said it is installed but how do i use it ingame?

solemn rivet
#

Bloodstained beta release hollowwoke

solemn rivet
#

oh boi

#

should I record it?

#

@compact sedge what's that about setting invuln false?

cosmic trellis
#

hey
is there a gog api for version 1.1.1.8 ?

solemn rivet
#

why would you need 1.1.1.8?

cosmic trellis
#

I want to speedrun this game and a friend told me to use the 1.1.1.8 version for some glitches. I wanna use the debug mod for practice but the api version isn't working on gog.

mossy pike
#

you mean the 1.1.1.8 modding api version doesn't work on your gog copy, is that it?

cosmic trellis
#

yes

mossy pike
#

try using the Info Program from the Resources on the SR.com game page

#

it has basic functions such as infinite HP/Infinite Soul if I'm not mistaken

cosmic trellis
#

nice
thanks

compact sedge
#

meme u already fixed it but I hadn't in the code I stole wrote

#

@solemn rivet

solemn rivet
#

Got it

#

Dunno what I did but ok

compact sedge
#

I didn't know it was a bug in blackmoth truth be told. Maybe in a really old version but in every version I've worked on it hasn't been

#

it was 56 who brought it to my attention at all

solemn rivet
#

well

#

people keep complaining about it

#

and I have no idea what to do tbh

#

I added an invul timer after each dash to try and prevent that

compact sedge
#

as it is now it seems mostly bug free as far as I can tell. There's a few oddities that aren't really your fault, along with a lot of exceptions thrown that don't seem to matter too much. but otherwise it works pretty well.

solemn rivet
#

eh

#

like I said I plan on rewriting most of it at some point

#

because as it is, the code is so ugly

solemn rivet
#

weird, enemyhpbars isn't working for me

#

I think the gdrive version is outdated

compact sedge
#

weren't you the last person to update it?

solemn rivet
#

I think so

#

weird

#

anyway, recompiled it and it works

#

updated the gdrive link

compact sedge
#

uhh so there's a problem in KDT's documentation but I have no idea what to put for the example code that would be concise and accurate

flat forum
#

Dashing = true

compact sedge
#

really? I'm mildly suspicious that just setting: HeroController.instance.cState.dashing = true;
wouldn't do much

flat forum
#

If(PlayerDataBool.Notdashing)
{
Dashing = true;
}

compact sedge
#

papers pls

flat forum
#

Sorry

compact sedge
#

Gradow would this work or do I need more here?

        if (HeroController.instance.cState.jumping)   
        {
            HeroController.instance.cState.dashing = true;
            HeroController.instance.GetType().GetMethod("dashQueueSteps", BindingFlags.NonPublic | 
                                    BindingFlags.Instance)).SetValue(HeroController.instance, 0);
        }
#

not trying to write good code just functional code in fewest number of lines

solemn rivet
#

Papers pls is a good game

#

*GetField

#

what exactly do you want with this code?

#

prevent double-dashing/air-dashing?

compact sedge
#

idk I'm trying to rewrite the bad and wrong code in the docs

#

which

#

tbh

#

makes more sense than how the hook is actually done

flat forum
compact sedge
#

but in reality it's just a void hook that stops the original from running 100% of the time

fair rampart
#

I'm back, I'm here to let you know i was able to get the enemy randomizer to work but whenever I click the "randomize enemies" button it works for some minutes but then the game will crash sometime during the process(The mouse will change to the normal one and then the game will close. I most recent time it also made a loud buzzing sound while doing that)
Any ideas why?

solemn rivet
#

download more ram

#

AA: yeah, it's just a stop

compact sedge
#

Minimum requirements:
Windows: 12GB of RAM 2GB vram
Mac/Linux: 8GB of RAM, 3GB of vram

#

best I can tell anyway

solemn rivet
#

didn't the api get updated?

#

or is it still void?

#

I think we changed it to bool not too long ago

compact sedge
#

unless there's a modding api version 44 then no

solemn rivet
#

might me wrong tho

compact sedge
#

I changed DashVectorHook to have an input

solemn rivet
#

oh

compact sedge
#

but not DashPressedHook

solemn rivet
#

that was it

#

wait

#

but didn't sean change it?

fair rampart
#

Wait how do I download RAm

solemn rivet
#

to stop giving NREs

#

you don't

#

it's meme

compact sedge
#

sean's change was internal

fair rampart
#

HOW do I acquire big ram

compact sedge
#

and doesn't affect the hook itself

#

basically

#

the hook is supposed to return a bool

#

but it's defined as a void hook

#

so the bool would always be null

#

and instead of making the hook defined as a bool hook he just made the bool always true

#

so that it wouldn't break blackmoth

#

this being on my request

#

but very early into the redwing development

fair rampart
#

But
how do i get big ram

solemn rivet
#

eh

#

that makes no sense, AA

#

better to break blakmoth and have a sensible hook imo

compact sedge
#

I agree but this was because I asked him to fix it and he didn't want to ask you if it was ok to break it

solemn rivet
#

smh

#

ok

#

pr time

compact sedge
#

anyway what I said was wrong

#

so ignore that I guess

#

I'm gonna eat lunch and do some homework but I'll send a PR to revert this commit and also switch the hook to a bool

#

unless you want to do it now

solemn rivet
#

well, but that's only internally, no?

#

public delegate void DashPressedHandler();

#

the delegate is still a void

compact sedge
#

the delegate needs to be switched to a bool, and that commit needs to be reverted

#

those two things should be all you need to fix it

solemn rivet
#

yeah

fair rampart
#

Compact mode big meme

compact sedge
solemn rivet
#

I'm currently editing it to submit the PR

#
internal bool OnDashPressed()
        {
            Logger.LogFine( "[API] - OnDashPressed Invoked" );

            if( _DashPressedHook == null ) return false;
            
            bool ret;
            
            Delegate[] invocationList = _DashPressedHook.GetInvocationList();
            foreach( Delegate toInvoke in invocationList )
            {
                try
                {
                    ret = (bool) toInvoke.DynamicInvoke();
                }
                catch( Exception ex )
                {
                    Logger.LogError( "[API] - " + ex );
                }
            }

            return ret;
        }```
#

this should be it, right?

compact sedge
#

yeah make ret default to false not true

#

good

#

although

#

maybe better would be

#

having the hook use a bool arg

solemn rivet
#

yeah

#

I was thinking about that

#

adding an override argument

#

something like DashPressedHook(bool override)

compact sedge
#

works for me

solemn rivet
#

wait

#

that makes -1 sense

compact sedge
#

uhh

#

you have a point

#

huh

#

wait

solemn rivet
compact sedge
#

you know what'd be an interesting bool

#

if you'd dash normally in vanilla

solemn rivet
#

wdym

compact sedge
#

DashPressedHook runs every time you press the button

#

but you can press the button and not dash

#

because either your dash is still on cool down

#

or you're in the air

solemn rivet
#

uh-huh

compact sedge
#

anyway just make it have 0 args

#

anything DashPressedHook(bool override) could do, dynamically linking to other mods could do better.

#

I mean uh why would anyone ever do that

solemn rivet
#

wait

#

lemme think

fair rampart
#

How I get more ram guise

solemn rivet
#

buy it

#

literally

fair rampart
#

what

#

Any other way

compact sedge
#

the minimum requirements are pretty high, not a lot you can do about them

#

I guess rewrite enemyrando to have a serializer

#

but until then unless you have 8-12GB of ram and 2-3GB of vram there's no hope

fair rampart
#

But I don't know how the fricc what a serializer even is

solemn rivet
#

I can't think of a better solution than what we had earlier, AA

#

making it return if it should or not everride

compact sedge
#

yeah IMO that makes the most sense

fair rampart
#

ok_grimm ๐Ÿ‘โ€๐Ÿ—จ ๐Ÿ‘„ ๐Ÿ‘โ€๐Ÿ—จ

#

what now

compact sedge
#

play different mods

solemn rivet
#

Raisin bran, in short you can't play it

compact sedge
#

there's this really fun one which lets you throw spears

#

and another one that lets you become a spear

fair rampart
#

No
I need big rando
now NoW NOW

flat forum
#

Y enemy rando want so much Ram

fair rampart
#

salty me

flat forum
#

Enemy RAMdo

compact sedge
#

what are ur computer specs

flat forum
#

(Still salty about 32bit windows)

#

I think I had 8GB Ram with 3.5GB usable

fair rampart
#

I'm not steve jobs Angle

young walrus
#

Well yeah, cuz you're alive

fair rampart
#

wrong

flat forum
compact sedge
#

papers I honestly cannot believe that you would continue using 32 bit windows even with all the ram you give up

#

but

flat forum
#

I

#

Said

#

That

#

July I'll do it

#

Please be patient with me

fair rampart
#

How do you not do 32 bit windows

compact sedge
#

do what

fair rampart
#

I want to yote 32 bit windows so I can not give up so much ram, like you said

flat forum
#

So you too suffer the curse of 3.5 GB ram

#

And the inability to run Firewatch you Stupid wretched idiot of a maschine

compact sedge
#

install lunix

fair rampart
#

Stop speaking Italian guys

compact sedge
#

embrace the infinite ram... and finite vram it provides

fair rampart
#

ANyways how do I install big lunix and will there be any side effects

compact sedge
#

yes

#

cancer and death among others

fair rampart
#

o

compact sedge
#

/s

fair rampart
#

/s?

solemn rivet
#

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

#

/s

compact sedge
#

is this... he who should not be named

solemn rivet
#

no

compact sedge
#

ok

solemn rivet
#

another person

fair rampart
#

uhm

#

well

#

what now

solemn rivet
#

now you do not play enemy rando

#

that's it

young walrus
#

Rip RAM

solemn rivet
#

wait

#

that still makes no sense

#

what if one mod tells it to override and another tells it not to

#

sigh

#

I can fix that

fair rampart
#

Please Fix your stuff whatever magic genie created enemy rando

#

@magic genie

young walrus
#

Fix your stuff. Lol

#

Nice meme

solemn rivet
#
        internal bool OnDashPressed()
        {
            Logger.LogFine( "[API] - OnDashPressed Invoked" );

            if( _DashPressedHook == null ) return false;

            List<bool> overrides = new List<bool>();
            
            Delegate[] invocationList = _DashPressedHook.GetInvocationList();
            foreach( Delegate toInvoke in invocationList )
            {
                try
                {
                    overrides.Add((bool) toInvoke.DynamicInvoke());
                }
                catch( Exception ex )
                {
                    Logger.LogError( "[API] - " + ex );
                }
            }

            return overrides.Any(b => b);
        }```
#

how's this, aa?

fair rampart
#

Well I don't know, gradow. you?

solemn rivet
#

ffs

#

eh

#

I hadn't realized it didn't already have LinQ as a reference

#

sigh idk if I wanna add another using

#

I can do it with an if but

#

ugly

#
internal bool OnDashPressed()
{
    Logger.LogFine( "[API] - OnDashPressed Invoked" );

    if( _DashPressedHook == null ) return false;

    bool ret = false;
    
    Delegate[] invocationList = _DashPressedHook.GetInvocationList();
    foreach( Delegate toInvoke in invocationList )
    {
        try
        {
            toInvoke.DynamicInvoke();

            if ((bool) toInvoke.DynamicInvoke())
            {
                ret = (bool)toInvoke.DynamicInvoke();
            }
        }
        catch( Exception ex )
        {
            Logger.LogError( "[API] - " + ex );
        }
    }

    return ret;
}```without linq
compact sedge
#

"what if one mod tells it to override and another tells it not to"

That was mildly why I wanted it to have a bool arg

#

wait so what's the behavior now

#

does it run the hook 3 times with

            toInvoke.DynamicInvoke();

            if ((bool) toInvoke.DynamicInvoke())
            {
                ret = (bool)toInvoke.DynamicInvoke();
            }
#

or am I reading this wrong

solemn rivet
#

I hope not

#

but maybe

#
internal bool OnDashPressed()
{
    Logger.LogFine( "[API] - OnDashPressed Invoked" );

    if( _DashPressedHook == null ) return false;

    bool ret = false;
    
    Delegate[] invocationList = _DashPressedHook.GetInvocationList();
    foreach( Delegate toInvoke in invocationList )
    {
        try
        {
           
            if ((bool) toInvoke.DynamicInvoke())
            {
                ret = true;
            }
        }
        catch( Exception ex )
        {
            Logger.LogError( "[API] - " + ex );
        }
    }

    return ret;
}```
#

zote hacks

oak junco
#

You know what would be hilarious, a mod that replaces the radiance with a tik tik

solemn rivet
#

otherwise, I can locally get the return value and check if it's true

#

but that is even uglier

compact sedge
#

IDK how it should be done but my wishlist is:

  1. be able to hook this without changing if the original dash is run
  2. be able to run the original dash while using this hook

This seems to solve both of those problems

solemn rivet
#

just don't know if it'll work tho

#

that's the main issue

#
bool overrides = (bool) toInvoke.DynamicInvoke();

if (overrides)
{
    ret = true;
}```
#

maybe this instead?

compact sedge
#

I think that's the same as what you had above

solemn rivet
#

yeah

#

but idk if it'll work inside an if statement

#

and I was hoping resharper would suggest refactoring it to what it was before

compact sedge
#

if I knew c# I could say for sure

solemn rivet
#

56 help

compact sedge
#

test it imo

solemn rivet
#

do I only need the vanilla dlls?

compact sedge
#

yes

#

in a folder called Vanilla

solemn rivet
#

yeah

#

I'll have to verify

#

cause I didn't back it up

copper nacelle
#

@solemn rivet what

compact sedge
#

I got u

copper nacelle
#

I was just reading through chat

#

doesn't Kerr's PR already fix the returns

#

the ones that's there from like October

compact sedge
solemn rivet
#

oh, does it?

compact sedge
#

no it doesn't

copper nacelle
#

I mean it's titled fix a bunch of delegates or something

#

probably does

compact sedge
#

no

#

it was "fixed"

#

but the current behavior sucks

#

and doesn't match the documentation

copper nacelle
#

what's even the point of the return rn

solemn rivet
#

not spamming modlogs with nres

#

thanks aa

#

56: will this cs if ((bool) toInvoke.DynamicInvoke()) { ret = true; }actually invoke the method?

fair rampart
#

56 help The enemy rando mod is big ๐Ÿ…ฑ roke

copper nacelle
#

I think so

#

can you call GC manually in unity

#

yeah that should invoke it

#

would calling Resources.UnloadUnusedAssets() between the enemy rando scene changes help with the ram usage

solemn rivet
#

I need to fix blackmoth rq

fair rampart
#

Typo, You said "Blackmoth" instead of "enemy rando"

copper nacelle
young walrus
#

Keep complaining all you want. Your machine can't play it. shrugs

solemn rivet
#

god I can't compile it

#

monomod is screwing with me

compact sedge
#

:(

#

I can try when my class is over

solemn rivet
#

as soon as I'm sure it works I'm gonna send a pr

fair rampart
exotic venture
#

could you not post that in here please

solemn rivet
#

He's even more annoying than DMS

#

Also, hey mys! Any news on the new channels? Not to pressure you or anything, just asking

exotic venture
#

i haven't heard jack

hazy sentinel
#

any news on gng

solemn rivet
#

WWIII when mys

exotic venture
#

gng is an illusion

#

and WWIII already passed

solemn rivet
#

We fallout boys

vale hedge
#

Hmm. Would anyone be willing to tell me how to bring up the menu for the debug mod? I have no clue if I installed it properly.

hazy sentinel
#

F1

young walrus
#

If you don't immediately see it upon entering a game, you didn't do it right

copper nacelle
#

should be in the top left of the title if you installed it correctly

vale hedge
#

No clue what I'm doing wrong then.

young walrus
#

Use an installer

#

Make sure you have modcommon installed

#

Make sure the api is installed

#

Make sure you're on the proper version

fair rampart
#

@pearl sentinel pls fix

copper nacelle
#

stop

rain cedar
#

Kerr doesn't even have anything to do with debug

fair rampart
#

But

#

I'm big salty over enemy rando not having the one thing gradow said

copper nacelle
#

what

rain cedar
#

I'm not gonna scroll through hundreds of messages to figure out what you mean

fair rampart
#

cool

#

It was something that would fix the ram problem or something

rain cedar
#

The object serializer

#

That's a lot of work, and it's not really a "fix"

fair rampart
#

Oh yeh

rain cedar
#

It'll happen when/if it happens

#

Don't ping people to tell them to do stuff

#

We're all volunteers here doing modding as a hobby

fair rampart
#

I am A literal plague

hazy sentinel
#

you're not wrong

exotic venture
#

please do not mention modders without clear reason and randomly mentioning them isn't gonna solve your issues

#

actually they'll make them worse

fair rampart
#

Any ways I can free up RAM to possibly help in the meantime?

copper nacelle
#

close ur stuff

#

wokest

#

swap to linux

dusky lion
#

Imagine if a thing called a search engine exists that lets you search the entirety internet for help

hazy sentinel
fair rampart
#

close what stuff tho

copper nacelle
#

all of it

hazy sentinel
#

programs you don't need

dusky lion
#

Imagine if a thing called a search engine exists that lets you search the entirety internet for helpโ„ข

buoyant obsidian
#

don't @ the modders or they'll bully you

rain cedar
#

It's fine to @ people if there's a good reason

#

"fix it" is not a good reason

exotic venture
#

actually multiple mentions of modders for no reason will get you angry modders and even angrier mods

#

this is a fact

pearl sentinel
#

so, enemy rando loading crash is usually not a ram issue; i've found. it's been one of two things

#

either they're on a laptop with an nvidia graphics card that is suffering from a bug with unity games that causes them to wrongly use the integrated graphics device on the laptop

#

OR

#

they have a crappy graphics card with not enough graphics memory

#

in the first case, there's a fix

#

in the 2nd case, there's an expensive fix

glossy pelican
#

anything new and fun here?

hazy sentinel
#

pretty fun to read Raisin bran's messages depending on how much pain you want to feel

glossy pelican
#

im already in so much pain

solemn rivet
#

well, I use a laptop with nvidia gpu and it runs fine

compact sedge
#

how muchvram do y'all have

hazy sentinel
#

0

exotic venture
#

what's a vram

#

i only have an igpu

compact sedge
#

same

#

but the problem is this

#

mesa will not on my system, allocate more than 2GB of system memory as video memory

#

which means my cap is 2GB

#

it's possible there's a config for this tho

exotic venture
#

you can increase it with more ram

#

because it takes like

compact sedge
#

I have 8GB of ram

exotic venture
#

a quarter or something

#

yeah

compact sedge
#

oh

#

wow

#

really

#

that makes 100% sense

exotic venture
#

yes

#

i've got 12 gigs on my laptop so it takes 3

#

or

#

4

#

i can't even count

#

no it's 3

solemn rivet
#

I'm gonna send the pr then

#

the 3 commits are thanks to the back and forth we had

compact sedge
#

LPT you can squash commits

#

git rebase -i HEAD~3

#

and then change the two most recent commits to squash

#

and it will merge them into one commit

#

then do git push --force and it will automatically update the PR

solemn rivet
#

I've never used rebase before

#

I'm stuck

#

halp

compact sedge
#

ok I can try to explain

solemn rivet
#

I mean

compact sedge
#

rebase -i does it in interactive mode

solemn rivet
#

I changed it to squash no problem

compact sedge
#

ok

solemn rivet
#

but how do I execute it

#

I'm stuck

compact sedge
#

are you in vi right now

#

or is nano the default text editor on windows

solemn rivet
#

gitbash

compact sedge
#

ok

#

so you changed it to squash and saved the file

#

and then it should have let you change the commit message

#

right

solemn rivet
#

no

compact sedge
#

ok

solemn rivet
#

I just changed it to squash

compact sedge
#

ok

solemn rivet
#

and can do nothing else

compact sedge
#

now

#

press escape once you've made your changes

#

and type

#

:wq

#

that's how you exit vi

#

big secret

solemn rivet
#

oh

compact sedge
#

many jokes made about it

solemn rivet
#

phew

#

saved

rain cedar
#

Ok I merged it

solemn rivet
rain cedar
#

Same

compact sedge
#

meme

#

see this is why vi is the worst. by the time you figure out how to exit it to improve your PR it's already too late

rain cedar
#

What was there to even improve?

#

I looked at the changes and it looked fine

solemn rivet
#

3 commits

compact sedge
#

just squashing 3 commits that all do the same thing

solemn rivet
#

because me and AA are big dungos

solemn rivet
#

omg

rain cedar
#

Doesn't really matter

compact sedge
#

ofc it doesn't matter in the end

#

but

copper nacelle
#

life without vim isn't worth living imo

compact sedge
#

no I just find it really funny that that joke about being stuck in vim is still relevant

#

idk tho I told git bash to use nano as my editor

#

so i'd have no trouble escaping

buoyant obsidian
#

it's still relevant because college

compact sedge
#

actually I don't even have vim installed right now

#

:P

#

clearly I'm a monster

#
Available targets for the EDITOR variable:
  [1]   /bin/nano
  [ ]   (free form)
#

how does this make you feel 56

copper nacelle
#

wtf

#

sickness

#

manipulating large blocks of text without vim is painful

hexed swan
#

/bin/nano thinkgrub

copper nacelle
#

also not having di) is painful

compact sedge
#

omg it's the chosen one

copper nacelle
#

more like

#

bad editor

compact sedge
#

I use kate with regex when I need to change a lot at once

buoyant obsidian
#

try vim without google

copper nacelle
#

I use vim mode in all my ides

#

and evil-mode in emacs

#

also Kate doesn't have multiple cursors therefore ad

compact sedge
#

you know what does tho

buoyant obsidian
#

multiple cursors???

compact sedge
#

rider

#

it's a neat feature

#

you can edit multiple lines at once

copper nacelle
#

yeah multiple cursors

#

C-v I

buoyant obsidian
#

wow

compact sedge
#

you can also in rider and probably vim too select all occurances of some text

#

to edit simultaniously

copper nacelle
#

also both Rider and Kate don't have :<15, 20> normal 0f"d0

compact sedge
#

line number is good enough for me usually

copper nacelle
#

also why does vs have better vim than rider

#

reeeee

compact sedge
#

it's a neat feature tho

copper nacelle
#

my eyes

dusky lion
#

What is this

#

Delete this

compact sedge
buoyant obsidian
#

Light them is superior

#

dark theme is going to burn out your eyes you dummies

compact sedge
#

I use light theme for my laptop because I use this device in bright areas usually

buoyant obsidian
#

use light theme on a low brightness monitor

compact sedge
#

I can certainly keep my brightness a lot lower than I would be able to otherwise

dusky lion
#

Apparently it's genetic

compact sedge
#

so 50% find one harder and 50% find the other harder

rain cedar
#

Neither is hard to read, light mode just actually hurts to look at

compact sedge
#

believe it or not though I actually don't have it and I know because I have glasses and had that tested

#

it's mostly I've stopped doing all my work in a dark room

#

because idk something about the sun just makes me happier

rain cedar
#

But if it's 3 in the morning there's no sun

copper nacelle
#

i moved my computer to a room next to a window

#

room was like 80 degrees

#

i died

rain cedar
#

Wow 80 so hot

copper nacelle
#

then i moved it back into the basement where it's like 68

rain cedar
#

You baby

buoyant obsidian
#

what color temp is better for darkness

#

cool or warm

#

can't remember

opal hearth
#

warm

compact sedge
#

the warmer the less strain

#

but also the uglier everything is

#

But yeah the 3am thing isn't a problem for me because I'm usually up before dawn and asleep not long after sunset, except in the summer

#

or when I'm cramming for finals

solemn rivet
#

Up before dawn

#

What are you, a monster?

copper nacelle
#

how tf do you dodge ngg

#

i can't get above like

#

430

solemn rivet
#

By dying

compact sedge
#

that's like, more or less my score

#

gotta prejump

#

apparently

#

I sure af can't do it

copper nacelle
#

is normal mode affected by the starting multiplier thingy

#

also is ngg affected by it

compact sedge
#

ngg is not

#

ngg is basically a port

copper nacelle
#

also is the ig scoreboard for ngg both normal and hard mode

#

or just normal

compact sedge
#

just normal, it's probably not even possible to get over like 1.6k on hard mode

#

let alone 3.2k

copper nacelle
#

i did more damage first try on hard mode than i've done in all my normal mode attempts

compact sedge
#

well you do have twice as many grimms you can attack

copper nacelle
#

ree i was just gonna use hard mode for easy score

compact sedge
#

ok

#

look

#

if you get a high score in hard mode I'm willing to put you on the board

#

let's just say the board is any mode

#

I mean you can take advantage of getting all your soul at the start to spam spells to hit both grimms at once

copper nacelle
#

gonna try fury

#

hard mode fury build

compact sedge
#

but other than that you have nothing on your side

copper nacelle
hazy sentinel
#

wow download speed at 300 kb/s

#

great

copper nacelle
#

448

compact sedge
#

welp now ur on the scoreboard have fun

copper nacelle
#

hard mode easier than normal mode stay woke

fair rampart
#

I have been placated from Randomizer rageโ„ข
But I think it would be a good Idea to state that I had removed a lot(most likely at least 1.7 GB) of stuff and the thing still didn't work
I wonder if it might have bee something else(which could possibly provide insight into what is causing this bug if somebody somehow figures out what it is) or, more likely, the mod still needs more RAM to function

compact sedge
#

bee

#

for one harddrive space != ram

#

for two

copper nacelle
compact sedge
#

get to 3200 before you say that

fair rampart
#

Was the first thing for me?

compact sedge
#

or alternatively get to 2400 on normal mode and 800 on hardmode and splice them together

#

uh yeah harddrive space is not ram

pearl sentinel
#
so, enemy rando loading crash is usually not a ram issue; i've found. it's been one of two things
either they're on a laptop with an nvidia graphics card that is suffering from a bug with unity games that causes them to wrongly use the integrated graphics device on the laptop(edited)
OR
they have a crappy graphics card with not enough graphics memory
in the first case, there's a fix
in the 2nd case, there's an expensive fix
compact sedge
#

I forgot what my for two was though

#

oh yeah my for two was that

#

what kerr said

fair rampart
#

Well, how do I figure out what graphics card I have?

compact sedge
#

uhh do you see a windows icon in the corner of your screen

hazy sentinel
#

it really be like this huh

compact sedge
#

click on it

#

you get like this menu ok

#

and on it you should see my computer somewhere

#

and if you right click it

#

and click properties

#

and take a screenshot

#

now this is really hard

#

to take a screenshot you press this button on your keyboard that says "print screen"

#

but sometimes it just says prt sc

#

but don't worry

#

it means "print screen"

#

and then you type ctrl + v in this discord chat

rain cedar
#

dxdiag

fair rampart
#

I see "prt scr" which I assume is the same thing

compact sedge
#

yes prt scr == prt sc

rain cedar
#

I love you

dusky lion
#

No prt scr is actually the button that deletes your computer from existence be very careful with it

fair rampart
#

cool

compact sedge
#

wait does windows not show you the gpu on the computer properties sean is this a legit problem?

copper nacelle
#

it doesn't

fair rampart
copper nacelle
#

it shows processor and ram

dusky lion
#

Not Using Chrome

compact sedge
#

no

leaden hedge
#

whats a gpu

compact sedge
#

stop finch

rain cedar
copper nacelle
#

not using firefox themed with userchrome.css

compact sedge
#

oh

leaden hedge
compact sedge
#

huh it doesn't on kde either

hazy sentinel
rain cedar
#

@fair rampart Press win+r and type in dxdiag

compact sedge
#

^

rain cedar
#

Show us that

leaden hedge
#

it tells you on device manager

#

or should intenseface

rain cedar
#

There's a button that says save all information on the dxdiag screen

#

Click that, save the file somewhere, send it here

compact sedge
#

btw nobody ask how I got 8 CPUs in one computer. it's a really big server motherboard

dusky lion
fair rampart
#

Where the fricc win button

rain cedar
#

Isn't that vram?

#

4GB vram is fine

compact sedge
#

^

rain cedar
#

Windows key

compact sedge
#

I was running out with 2GB

rain cedar
#

The one that opens the start menu

compact sedge
#

but 4 should be enough

hazy sentinel
#

the key with 4 wobbly squares on it

dusky lion
#

I'll use snipping tool to take a picture of the key on the keyboard

#

I wanted to commit to the meem by using the onscreen keyboard but you physically cannot

hazy sentinel
#

ok gonna leave before i die

copper nacelle
pearl sentinel
#

so

dusky lion
#

The onscreen keyboard is physically unable to be snipped

pearl sentinel
#

you can also post the output_log.txt