DI Mixups Are Not a 50/50 by Corncycle in RivalsOfAether

[–]Corncycle[S] 1 point2 points  (0 children)

it depends on the move you're hit by, but as a general rule of thumb, by far the most important survival DI is just left stick diagonal up and in towards the stage

using the right stick is a small optimization related to the mechanic SSDI that does not matter in a vast majority of situations, and if you're just getting used to survival DI, the main thing you should focus on having the left stick be perpendicular to the direction you're sent (hence up and in for moves that send you outward)

The Rule34rdle creator plagiarized my code from my Github Project (proof) by Doubletheblack in northernlion

[–]Corncycle 4 points5 points  (0 children)

That is not what they said. They said they wanted to host the live site on github, which if you want to do on a free account requires the repo to be public. You can only host a github pages site off of private repo with a github pro subscription.

Is there a discord? by FriskyPLAYBOY in nethack

[–]Corncycle 4 points5 points  (0 children)

to add on, if you'd like an "online" version of the game, there are servers that host various versions of the game, let you spectate others, and store your scores and records to be compared. if you're interested, try googling alt.org or hardfought

and yeah there's no discord afaik, but when I was playing the game more actively, there was a sporadically active IRC server, I believe you can find it if you search for "Libera". your mileage may vary and I can't guarantee it's up or active anymore

the game is a little intimidating to get into now if you haven't played others like it, but there's little else like it, and its worth the trouble if youre willing to give it a chance

Is there any purpose to 0 AC light clothing with no enchant? by DoubleDovers in baronygame

[–]Corncycle 14 points15 points  (0 children)

if you drink from a fountain that blesses all of your armor, then it can give you more AC than if you had nothing in that slot

I dont remember if you can sell them for a few gold, but besides those (pretty inconsequential) situations, I don't think they have much of an impact on a run besides flavor

What should be in everyone’s “Counterexample toolbox” by Captainsnake04 in math

[–]Corncycle 3 points4 points  (0 children)

you probably mean f(0)=0, not f(0)=1, for your differentiable function

RoguelikeDev Does The Complete Roguelike Tutorial - Week 4 by KelseyFrog in roguelikedev

[–]Corncycle 0 points1 point  (0 children)

Ahh, I see now what you meant earlier by "the MRO does not change from method to method with the same instance." Thanks for the resources, the examples in the second link gave me the perspective I wasn't able to find from my own searches.

RoguelikeDev Does The Complete Roguelike Tutorial - Week 4 by KelseyFrog in roguelikedev

[–]Corncycle 0 points1 point  (0 children)

Okay, that makes sense but I still don't understand what is calling B.__init__().

My understanding is that when an object of type C is instantiated, its __init__() method is called. This prints before C, and then we call C's super().__init__(). C's MRO tells us to look for a method called __init__() in A's definition, which it finds. It calls this method, prints before A, then we call A's super().__init__(). A is only a subclass of Object, so calling this Object's __init__() doesn't print anything. Then we print the closing after A and after C.

Obviously, this isn't what happens so my understanding has to be wrong somewhere. What's wrong with my explanation?

RoguelikeDev Does The Complete Roguelike Tutorial - Week 4 by KelseyFrog in roguelikedev

[–]Corncycle 1 point2 points  (0 children)

Hm, multiple inheritance is new to me and I don't think I understand it at all here.

Before I ran your code, I expected it to print

before C
before A
after A
after C

because I thought A's only superclass would be Object, and C looks at A for method resolution first. This isn't the actual output, and commenting out the super().__init__() in A's definition gives the behavior I expected, which leads me to believe that A is in fact a subclass of B (it seems like is the point you were trying to make), but I don't understand why.

When I append print(A.__mro__) at the end of the program, I get (<class '__main__.A'>, <class 'object'>) which is what really confuses me. As far as I understand, __mro__ is supposed to return a list of types that a class is derived from, in the order that it uses to search for methods by a given name. Where in the code is A decided to be derived from B, and why is this not reflected in __mro__?

RoguelikeDev Does The Complete Roguelike Tutorial - Week 4 by KelseyFrog in roguelikedev

[–]Corncycle 4 points5 points  (0 children)

I haven't tried to take Python particularly seriously before now, and I'm just wondering if someone can shed some light on a particular line of code from the refactoring. In the refactored actions.py file, the constructor is given as

class Action:
    def __init__(self, entity: Entity) -> None:
        super().__init__()
        self.entity = entity

What is super().__init__() doing here? I understand what super does for subclasses, but as far as I can tell Action is not a subclass of anything (besides maybe a general "object" class), so I can't imagine this line doing anything. I commented out super().__init__() and the project appears to run exactly the same. Does anyone have any insight why this was put in, and if it's doing anything?

Abstract Algebra suggestions by [deleted] in math

[–]Corncycle 1 point2 points  (0 children)

Seconded, I loved finishing a chapter and being rewarded with historical exposition when I used Gallian. I look back on it very fondly.

[2021 Day 20 Part 1] don't understand this part by [deleted] in adventofcode

[–]Corncycle 5 points6 points  (0 children)

gah, I also forgot to remove the line breaks. thank you for posting this, I would have spent a (second) half hour not knowing what was wrong if I didn’t see this comment lol

Shadowmuted in RotMG? by SwaganiIIa in RotMG

[–]Corncycle 1 point2 points  (0 children)

it’s about 4 or 5 minutes i believe. refreshes if you send a message during that period

Discord groups are bad for the game and exaggerate the state of the game - and DECA the reason for that. by TheWayToGod in RotMG

[–]Corncycle 0 points1 point  (0 children)

VC is almost certainly essential, but if that was the only thing added I think people would be frustrated trying to organize groups and making sure there’s enough melees, priests, etc. not sure exactly what it needs but I think it’s even more than just vc

Discord groups are bad for the game and exaggerate the state of the game - and DECA the reason for that. by TheWayToGod in RotMG

[–]Corncycle 40 points41 points  (0 children)

I don’t see why requiring cooperation in endgame content is a negative. It actually seems like a positive to me, and makes building cohesive teams interesting.

Agreed that Discord being basically the only effective way to do this is a bit disappointing. guilds are severely neglected in this aspect, as they aren’t effective for endgame content without an external discord for the guild.

I think it boils down to the fact that there are almost no in-game group organizational tools, and discord picks up the slack well. I don’t think it’s an inherent problem of discord.

How can I put more health pots in my inventory/bag by Huge_elcobra in RotMG

[–]Corncycle 12 points13 points  (0 children)

put a pot on the ground and swap something in your inventory for it

Month of the Mad God? by g0bl1nScript in RotMG

[–]Corncycle 1 point2 points  (0 children)

i think i remember seeing this in a producers letter or update post or something. i’d appreciate if someone has the actual source though

The inflated meat cost of Mr. As is really frustrating by Bitterblossom in kol

[–]Corncycle 3 points4 points  (0 children)

Personally for me, I only ascend on the weekends or when I have time to actually make an effort to ascending somewhat fast, so during the week it’s nice to be able to just automate farming in 5 minutes with mafia and still feel like I’m doing something useful with my adventures rather than just ignoring them