Home Creators Posts Import Register Favorites Logout

Content

Hi everyone

Development and testing continues on seamless co-op for Dark Souls II. In this post I'll discuss what I've been working on this past week.

Player Respawning

In a previous post I briefly detailed the work and functionality of respawning players in the mod.

In other seamless co-op mods, connected players remains persistent throughout the game play session - When remote players and "respawn" they usually just get teleported back to the bonfire and have their character death flags reset and health regenerated.

Dark Souls II is, of course, special and there is no intrinsic function for respawning a dead character that I could find. Enemies that do come back to life infinitely usually do so through the EnemyGeneratorCtrl class which can freely create and delete enemy character instances without too much overhead.

As a result of this I had to make a workaround where a new character is created every time a remote player dies. This worked.. kind of - however in the event of a full session, one or more players dying could cause issues where the old character instance was still lingering afterwards for a few seconds, causing the newly generated character instance to get ignored.

I have rewritten the network player character manager of seamless co-op to instead queue requests for respawning players, flag the death or warping instance to be unloaded and then once certain conditions are met (e.g. fully loaded, no obstructions, old instance deleted, etc.) the new character instance will be created. This appears to have fixed the occasional freeze and crash which was also happening every so often during play testing.

Initial character & placement synchronisation

A difficult part of any seamless mod development is preservation of enemy states upon a player reloading.

In Dark Souls II specifically, you might notice that save & quitting the game preserves all enemies exactly where they were - in contrast to the other games where you can often get out of a difficult situation by quitting to the title menu to reset their position.

This is a functionality provided by MapSnapDataManager which is a game class which, as it's name suggests, takes a snapshot of the map you're in (and some adjacent maps depending on where you are). 52 bytes of data regarding each enemy in the area is taken, and upon reloading this information will be used to place the enemies back where they were when you quit to the menu.

When you join a host world, basic information about enemies are sent to the connecting player including:

Whether the enemy is dead or not

Where the enemy is

What the enemy is doing (e.g. attack animation, casting a spell, etc.)

Various flags regarding to AI functionality

Your own game's MapSnapDataManager is disabled as a guest player, and you rely solely on the information provided by the host. Where this gets difficult is when either you die in a different map to the host or the host themselves dies.

To fix this, I have entirely disabled resetting of MapSnapDataManager upon dying, meaning that if you die the enemies will remain in their exact position / dead state as if nothing had happened.

This is necessary for seamless development however it will undoubtably make the game much easier as it's possible to just throw yourself carelessly at the enemies over and over again without any worry of them coming back if you die -- This is why I originally added rot and afflictions on death in the other seamless mods to encourage players to use the bonfire and reset the world or accumulate debuffs.

Testing continues

The initial play testing continues. Both minor and severe bugs are being identified and fixed along the way.

As always - thank you for your patience and a huge thank you to all of my supporters <3

Let me know if there are any suggestions for the debuffs / rot acquired on death. This will be a toggle similar to the other mods.

Take care

~ Yui

Files

Comments

Philip A Guernsey

How are you doing Password matching? I know DS2 didnt have it. They had the rings.

Yui

Same as every other seamless co-op mod. You set the password in a settings file and then you use that to match with people with the same password.

Philip A Guernsey

Oh nice! So that doesnt have anything to do with the native password matching? I was always curious. I dont know much about modding but it is interesting!

Treesap Studios

Peak Souls 2 is simply too advanced for regular multi-player functions.

Yui

Nope! Seamless is a completely different multiplayer layer that isn't related to vanilla at all, so as far as mechanics go I'm starting from scratch and making my own

SignOf Insanity

My initial first thought for the "rot" effect is to do something akin to apply a temporary bonfire ascetic to make remaining enemies / bosses harder. Pro: -Since it's an existing mechanic in the game, SURELY it should be easier to implement and build off of (copium). -Easy for players to understand and decide if it is worth to reset at bonfire. Potential Cons: -Would most certainly affect both players instead of just the one who died -Not sure if just buffing enemies is an interesting mechanic -Would probably interfere with the vanilla system. Not sure if you already had plans for that.

Elijah Edwards

Is the hollowing system for dying going to remain in the game? I feel like that would be punishment enough

Yui

Not really, since you can just use a human effigy to restore it without resting at a bonfire to reset the enemies.

DrSmeggulasXIII

Would a workaround be possible by changing the functionality of burning a human effigy at a bonfire to reverse hollowing instead of simply using it as an item. Since base game burning of a human effigy cuts off summoning/invading which in seamless coop is redundant.

Jake

Maybe losing a point from a random stat? Could be something mundane if you don't use the stat or devastating if it changes your ability to equip your weapon. If it's too random could also pick the highest leveled stat or something

Leo Thibodeau

Ideas for rot - Gain less souls - Temporary higher hp cut from hollow - Taking more Damage - Dealing less damage - Reduced spell slots/ spell uses (if the game detects they have spells equipped) - ADP Reduction (effectively reducing I-frames and making the flask slower to drink) - Eat a % of durability on equipment (or a fixed amount if you want something like third dragon ring to just break instantly) - Break a piece of equipment randomly - Slowly getting poisoned (Builds slow so it takes like 5-10 mins to actually trigger poison) - Less poise damage (this one hurts to write, poise breaking enemies in ds2 is so important) - Ascetic Ascended ( this one isnt a rot per say, it would be a buff to the enemies, if possible you could make a buff that is stackable that enemies can have applied to them. it would effectively increase their stats to NG+, NG++... etc. but without actually giving them the effects of ng+ to avoid receiving things like ritual band +2 from najka or witch soul from the sinner) - Disable human effigy (cant use one till you sit down) - Temporary fat roll (could potentially detect if you are fat rolling or higher so it doesnt trigger if you already have this but could trigger if you aren't) - Spawn a pursuer in the boss room (this one is pure evil and wouldnt tell you what the rot does when you get it so you cant just be like "im going to sit so i dont make the boss harder" at least early on anyway until people catch on)

Easy Perrin

As always, you remain the GOAT of fromsoft modding. With how much more effective statuses are in 2 compared to other DkS games, a rot that reduces resistances would certain be more impactful! Reduced equip load and equipment durability damage up are also ideas I had

Sklave Gottes

How are you going to do the earthen peak and iron keep map loading. Since you load multiple at a time, don't they overlap? How will you keep iron keep from appearing in the sky?

Haunted Reaver

dont you already rot on death by default in ds2? (going hallow)

ThatGuyCole

When it comes to rots, i've played with them off for the other seamless mods you made, and DS2 already has the lowering max hp through hallowing, so if including rots again I guess maybe lowering soul acquisition as one? Assuming you're removing soul-memory it shouldn't cause too many issues outside of just regular playthroughs (and encourage people to sit at bonfires). I don't remember the other 3 you had for Elden Ring rots, but that's my 2 cents for those 2 types of downsides. Glancing at other comments, Agility (ADP) reduction would be interesting, I don't think brutal but annoying enough to convince someone to go sit at a grace. Also with enemies permanently dying after so many kills (unless in covenant of champions) i'm curious how that is handled as you mentioned here with players not respawning enemies being an issue. (if one player is in said covenant while the other isn't) because it also makes areas be the next new game cycle of difficulty while in it (if memory serves me right?). Also sorry if you already answered this or if this falls under a simple solution that eludes me. As always thank you for your hard work on this and I look forward to more progress on this.

Yui

Kind of, but the idea behind rot is that it makes players use a bonfire to remove the debuff. In Dark Souls II you can remove the hollowing by using a human effigy anywhere.

Anthony

I can test your beta whenever you want buddy lmk if you need tester.. really lookin forward to playin this with friends :D

Hapfel

It's not the type of loading you're expecting there. They don't overlap in that way, iron keep is just above earthen peak and it shouldn't cause any issues. (Worked fine in testing)

Haunted Reaver

Ah so you don't just keep respawning with less and less enemies. My bad.

victor wahlberg

Yo Yui big fan been using ur coop mod for elden ring, ds1, ds3 and nightreign and me and my friends would love to be testers to ds2 cuase we love ds2 the most but are rlly bummed over no good coop mod out. So we can help and try it out!

Liza Wagner

hi yui! im producing a dark souls stream for ludwig w your co op mods. would love to chat if you can :D disc is @__liza

Enki

will you still be able to open the shrine of winter with 1 mil soul memory or is it completely gone?

ThirdStrikeEnjoyer

Seriously thank you so much for your hard work on this, it's easily my most anticipated thing to come out in awhile <3

Yui

Still possible. Soul memory still exists but it's just not used for matchmaking

Enki

thank you so much unlocking licia's infinite supply of lightning spears early is going to be very useful

Mateo

Debuffs like - Increased stam consumption by 30% or Stam regen reduction by 50% - lol a really cool one Always Covered in Oil so youll burst into flames if u get touched by fire and never rest , a debuff where all staggers inflicted on you are heavy staggers (like the difference between getting hit by a dagger and a great sword) Defense reduction by 60% would be standard, fat rolling, attack speed reduced (technically you can do that because when low on stamina ur atk speed gets reduced anyways) Reduced block stability those all would be really cool debuffs that would REALLY make any player want to rest

Mateo

Also Yui, im always available to play test for you if you ever need some one to do so