Home Creators Posts Import Register Favorites Logout

Content

Hi everyone

Development of the mod continues. In this post I'll be discussing even more discoveries and workarounds I've had to create to get the mod working in a more playable state

World state progression

In previous posts I've discussed about MapSnapDataManager. This is a class that holds up to 3 loaded maps, and saves object and enemy states so if you run back and forth between a few maps the game doesn't have to start from scratch every time.

You might notice, in the vanilla game, that if you ran through a few maps without touching a bonfire:

Map A -> Map B -> Map C -> Map D

If you clear all of the enemies in every map, then if you ran backwards from map D back to map A, the enemies and object states in Map A will be reset even if you haven't warped or rested. This is just because when you load map D, MapSnapDataManager "forgets" the clear info about Map A so your progress is gone.

A really easy bug to encounter in seamless is based on the limitation of this class, and it's when players run through different maps asynchronously. If players load maps in different orders, then MapSnapDataManager will "forget" maps at different points, meaning it's very possible to be in a map which is in a completely different state to the host.

The fix

In previous posts, I've mentioned about preserving object states. In seamless co-op, the host periodically informs other players about the state of objects in maps that aren't loaded. This way, if a guest players warps to a different map the host doesn't have loaded, then the object state will reflect that of the host world accurately.

This past few days, I've done the same thing but with enemy states. The issue of MapSnapDataManager "forgetting" the last loaded map is no longer a problem because I have written my own implementation of the system from scratch.

Seamless will keep logs of certain parts of enemy generator instances, such as health, location, and enemy flags, and keep them permanently until another player rests at a bonfire. This means that you could clear every single enemy in every map, and still backtrack through the game and have the enemies remain in the same state as they were before with no resetting.

Of course if a player rests at a bonfire, this list is cleared.

The primary objective of this re-implementation was not to "fix" the behavior in the base game, but as a necessary step to ensure that players can play as seamlessly as possible through the game.

The best way to play all of the seamless co-op mods is to stick together. This is least stressful for the mod, but at the very least this will resolve some of the glaring issues that splitting up amongst the group would have caused.

I've tested this and it seems to be working as intended. There are still some lingering issues with players being far away from each other, however these will be addressed in a more long-term perspective and aren't essential for a preliminary release.

Other adjustments / fixes / features added the past week:

Disaster enemies will now drop a "transient curse" which is an item you can burn in any bonfire for an effect (described further down)

EnemyGeneratorDeadCounter now persists from multiplayer sessions (i.e. if you kill an enemy in the host world, it will also count as a kill in your own world)

Phantoms entering the abyss with the host will also inherit the phantom colour associated with being an abyss intruder. Dying in the abyss now also triggers spectator mode similar to being in a boss fight.

EventTaskObjCtrl objects (i.e. primal bonfires) will no longer force interactions from every player when activated

DemoCtrl (cutscene) synchronisation for so that hosts and guests, but not invaders, can skip cutscenes and have it communicated to different clients

Visual effect synchronisation for bonfire actions

Ability to skip the ending credits in the first NG cycle (mentioned in this post)

Note on the bonfire burn context menu

The bonfire burn context menu is hardcoded in Dark Souls II. When selected, an array of 3 items (sublime bone dust, bonfire ascetic, and human effigy) is created with an associated list of functions to create a "FexCommandSelectJob".

This is then used to create the window seen in the image below, and selecting any of the items will then create a "FixOrderJobSequence" which is just a command window with the "Yes" / "No" selection boxes, and a pre-defined function that runs when you select either.

In seamless co-op, you can use bonfire ascetics and sublime bone dust online. But I had to restrict bonfire ascetic use to hosts only and remove the human effigy to avoid confusion. In doing so, I discovered that the function that creates this FexCommandSelectJob, actually accepts a vector of item/function pairs.

As a result, I added a new item - a transient curse - to the bonfire burn context menu, hid the bonfire ascetic for non-host players, and removed the human effigy from the menu.

I've also made it very easy to just add as many items as I like to the burn menu, but that would only be useful for further modding or development of seamless co-op.

Although this isn't strictly a pre-alpha release requirement, I had a lot of fun doing a deep dive into the menu system and learnt a lot in the process.

To be done:

Creating a system where items are not instanced correctly

This is unfortunately very annoying to do because, unlike the other souls games, ItemLot pickups are not associated with event flags. They are directly attached to the object that they spawn from themselves, meaning I have to access unloaded object data during a session

This is probably the biggest sticking point for me right now. And it is not game breaking so it is less of a priority. It allows guest players to duplicate items, which is relatively harmless but also looks very bad. I'm looking into it this week.

Fixing bonfire warps

Currently, if one player sits at a bonfire whilst another player is just starting the warp animation, it will softlock the player warping. Meaning they have to restart. I know what causes it I just STILL need to get around to fixing it :P

I'm currently working on a video to "formally" announce the mod.

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

Take care,

Yui

Files

Comments

mrjimmyman

nice work! good progress ;D

Joshua Olivera

Is there anyway to block players from sitting while another is mid warp? Like create a blocked timer for a minimum of 10 seconds? Just a thought

Yui

Yep that's pretty much what I'm going to do!

Joemal

Played seamless coop for elden ring the first week it was released, loved every second. Saw you create DSR and DS3 and am floored by the amount of work youre putting into making an enjoyable experience for us to enjoy for FREE. You do not get enough praise for your work, keep it up, king.

jame kin

Thanks for your hard work I'm looking forward to play this with 3 of my friends (they never finish D2) this is gonna be fun

TheChesireMouse

I like your funny words magic man. Another post that mostly goes over my head but very cool to see the progress and clear development being done. Thanks!

Ryn Fox

I always appreciate the deep dives into what the code is doing and how you're thinking and solving around it. Thanks for another great post!

Brian D

Sick! Question, will you be able to run item/enemy randomizers like you can with your other seamless mods when you eventually release? I assume yes but just making sure, appreciate your hard work!

LostTales

Heck yeah, love the hard work you do for the souls community and players. This mod and the rest has made dark souls something special for those who use this mod and newcomers wanting to game with friends. Keep up the work and "don't you dare go hollow friend" (Yui). 🔥

Yui

Item and enemy randomisers should be fine, but DS2 has a hardcap of 255 enemies per map. Any more than that, even with the enemy uncapper mod, will not work online as the NetEnemyManager system cannot handle it

vuko

legend

Brian D

Gotcha, so don't use an enemy uncapped mod, but 1:1 enemy randomization shouldn't be a concern. Great to hear!

Roccomar

In the past, i was searching for a mod like this, only one mod was avalaible and it didnt Perform that well, including the fact that i was running the risk to get banned (Coop overhaul mod for ds2), i tested on 2025 the seamless coop and actually playing with My Friends the DSR versión, You literally made a mod that fixes the original Game and performs better than the original Game, You fixed the ds2 online with blue acolyte btw so i'm waiting this new mod to play with My Friends, thanks You for all the work man, You need to be hired by fromsoftware and make this official.

Hidden Is Classified

Girl, you are simply the best, balancing this and your private life would be a nightmare for anyone and you still somehow manage, thank you for everything you do!

Luis .raposo

pretty sick seeing a active mod development.

Sentry

What do Transient Curses do?

miramax09

Holy moly this is so gorgeous... Keep on and fingers crossed "less than 3"

Marrome

thank you forever for working on this!! fight on! fight on!!! >//<

Spartan Fred

A seamless coop update on a Tuesday morning??? Must be Christmas…

Bob Whyland

Will player messages be visible between players using to mod? One of my favorite parts of DS2 is the community and it would be cool to see

TorchBush

Thank you for all the hard work! Just curious but where would you post the announcement video when it happens?

Bartosz Sakowicz

It's really interesting to get info about the game code and know how this game works. The MapSnap thing... So unexpected for me, that you can spaw enemies by runnig around the DS world. GJ Yui. Thanks for Your hard work!

Roamin' Danger (Allen R.)

I got a buddy who is dreading going through this game atm and I am waiting for this to experience the game with him, I feel like with the increase in enemies and changes from DS1, this mod would compliment the game greatly with full co-op all the way through, I like DS2 and feel this game is very misunderstood from many souls fans.

Alex Oxygen

that's why (s/t)he(y)'s the goat!

Yui

I'm a girl but thank u!

Alex Oxygen

i wasn't sure, keep the slay up queen.

SxSh0vv

Yui, hello. I have a strange question. Are you boy or girl?

Gurt

Can’t wait to play!