20000th poster gets a cookie (cookie thread (Part 7)) (Part 9)

This is so funny

1 Like

THERE WERE ADMINS. They just weren’t orangeandblack5

3 Likes

I rendered the site orangeandblack5less

2 Likes

do not listen to the woke mob’s lies

2 Likes

i think unironically ive had like 6 politicians call me today and my phone keeps calling them scammers

2 Likes

Nya

2 Likes

I’ve worked on code some before taking a step back, and working a better formalization of the rules that’s written down rather than relying on a model in my head. Quick breakdown is abilities have modes. Modes can be activated (like for an action), triggered, or static (passive). An action is anything with one or more activated modes. When an action is used, exactly 1 mode is activated. Modes can then apply 1 or more effects. I haven’t entirely sorted out how scope (what’s being affected) maps to specific effects yet, but whatever.

When action or triggered ability is activated, it creates a ā€œdispatchableā€ instance that contains the mode that needs to be resolved, and the scope. At any point one or more dispatchables are created because of the same event like a thing that causes abilities to trigger, or the game progressing to the step where it resolves actions, it first sorts all of those dispatchables. The sorting function compares the highest effect weight of dispatchables which is the highest weight of effects the mode has. So instead of inspecting it and seeing that its effect is redirecting or blocking or whatever, it just checks what the highest weight is among all effects in each mode, and the effects are assigned weight ahead of time.

That’s a soft way to handle priority, and you can sort of leave it there if you want OoO, but that doesn’t entirely solve issues with multiple redirectors or blockers or anything in the same tier that would influence what another action does. You can find some way to handle those cases that isn’t a dependency system, or you can try to build a dependency system.

2 Likes

Constructing a dependency system is rough. Here’s the current definition that I will eventually attempt to implement:

An ability is said to ā€œdepend onā€ another if applying the other would change the text or the existence of the first ability, what it applies to, or what it does to any of the things it applies to. Otherwise, the ability is considered to be independent of the other ability. The ability an another ability depends on is said to be ā€œa dependency ofā€ that other ability.

Dependency detection is somewhat easier, and can be simplified in certain cases. For example, a redirecting ability is a dependency of all abilities whose source is the player its targeting. Blocking is similarly straightforward. However, we have to actually inspect modes now, and more specifically, we need to detect dependencies on a per effect basis. Like a jail keeper protects (from kills) and blocks. It needs to resolve before the player its blocking and before any killing actions affecting its target.

It’s probably most efficient to create scope graphs at some point to understand what abilities could even possibly be connected like if player A targets player B, B targets A, and neither player is targeted by anyone else , we only need to check abilities of A and B for dependencies between each other.

That covers 90% of cases, and would give you something that’s probably close to parity with modbot, but with a more intuitive resolution system.

The last 10% is trickier. If there’s an ability that does something only if the target is blocked when it resolves, it should resolve before blocking does, but detecting that these things are related is a bit troublesome. I have ideas for my system (checking if characteristics in conditions overlap with characteristics being modified), but this is where it really depends on the implementation. I mean, all of this depends on the implementation, but that in particular can be tricky if you aren’t designing your system to handle it.

1 Like

[…1] died and got (isekai’d), but (its) soul was split into two. Broken in body and personality, […2] deemed that a compensation (needs to be given).

Magnolia ā€œMaggyā€ Cupid lives in Worldline A with her stepsister Nadezhda ā€œNadjaā€ Cupid, in a world where cherished objects gained human form.

Hibiki Hirakata (平形響) lives in Worldline B with a healing ability, in a world where superpowers are starting to appear everywhere in the world.

1 Like

How did it take Xblade so long to get the URL changed but this was done so quickly
We truly are built different here on Fortress of Truth!

4 Likes

how did it take xblade so long to destroy the site but it only took may like 15 minutes

11 Likes

Efficiency.

2 Likes

https://sudokupad.app/v2ncgbuj3u
28:18 | I only got this because I bifurcated on Box 8.

chat

i was actually feeling good abt my exam today

3 Likes

then i got the worst fucking headache in my life

4 Likes

i cannot do a programming exam whilst my head hurts

because programming already makes my head hurt!!!

1 Like

GIANT scam

1 Like

i rate college 0/10

2 Likes

im dropping out trump’s economy will save me MAGA

10 Likes