Home Creators Posts Import Register Favorites Logout

Content

Hi everyone!

I finished my exam on Wednesday this week. So now I am available to dedicate more time to the Dark Souls 2 seamless co-op project.

In this post I'm just going to discuss a few more development points in the mod.

Bonfires

I've spent the past few hours today working bonfires into seamless co-op.

As I expected, whereas enabling bonfire use in the other games was easy and required only 2 patches to the game's code, this game had to be a little bit different (and more interesting)...

Similar to the other seamless co-op projects, resting at a bonfire to cause a world reset (i.e respawning enemies and objects) is host based and works two ways depending on who has touched the bonfire:

If the host sits at a bonfire: They will send a message to other clients that the world will be reset

If a non-host sits at a bonfire: They will then confirm with the host whether the world can be reset or not, and depending on the world state the host will inform the session whether the world reset has been successful

Dark Souls II handles the "EventBonfireManager" and "EventWindowManager" separately, and both of these classes have their own conditions for whether or not they can be accessed. Once I'd enabled bonfire use online, I had to then activate event window manager - acting as the bonfire menu - as well. In addition to this, several background checks run to see if your session status changes which will kick you out of the menu.

Rather than deal with this fully, I rewrote a large chunk of the bonfire interactions with online activity in mind. The hours I'd spent reverse engineering these two classes made it relatively straightforward to implement and now I'm happy to say that it's working as intended.

I'm still undecided on how to handle separated players - I'm torn between allowing bonfire resting but kicking player's out of any boss fog, or just disabling bonfires when someone is in a boss fight.

I'm happy to mention that bonfires are basically fully working now in multiplayer, and as with all of the previous seamless co-op mods you will receive the items necessary for multiplayer when you sit at a bonfire.

Boss fights

Co-operative play in the Souls games centers heavily around the primary objective being to help a host out to a boss fight, defeat the boss, and then return to your world with some kind of reward.

As seamless re-designs a lot of multiplayer elements and mechanics, you can of course join any player at any point in the game whether they have cleared the boss or not.

Defeating a boss will usually send a player home. In seamless co-op, I ran into a small issue of a timer being set once a boss was defeated (around 60 seconds or so), and then disconnecting all phantoms regardless of join type once that timer was complete.

Finding where that timer was and disabling it was a bit annoying, but in doing so I've found a large switch statement which I've attached a lot of network debugging to.

This part is also complete, you should be able to clear and progress through the game past bosses with no issues.

Respawning players

Dark Souls II has no method by which a player can naturally respawn inside a session without disconnecting and rejoining.

In the other seamless mods, I was able to make use of utility functions designed for the "brawl" game mode in the arena. There is built-in methods by which players can die and respawn without disconnecting and have their network player instances preserved and flags reset.

In seamless co-op for other games, I have a method named "Rapid Re-Entry Helper" by which players who have died can stay in an online session and can still observe events that have happened between their death and respawn (i.e. killing an enemy whilst a dead player is in a loading screen).

I've already made significant progress is respawning players and world objects, but now I just have to put it into practice. I'll have to rework this helper so that it works with Dark Souls II (whereas I could literally just copy-paste it from Elden Ring -> Dark Souls III -> Dark Souls: Remastered).

I've still got a bit of work to go on getting this fully working, but I'm fairly confident I'll have it working by the end of the week.

I'll post another update relatively soon now that progress is speeding up on the mod

As always, thank you for your kind words and support <3

~ Yui

Files

Comments

Hyggyldy

You do incredible work and should be very proud of yourself!

MadaHaz

Thanks for the update! It's interesting to read through and somewhat see the process on how you do it. For "handling separated players", forcing your mate out of a fight is funny af, plus I'd just intentionally die to restart the fight anyway so that the other players could join it. Would be interested in a poll to see where people here stand on the matter.

Artorias The AbyssWalker

I'm so eager to try it that you have no idea. Thank you very much for the work.

aRandomGuyDudeFellow

Thanks for the behind the scenes insight, Yui! As always your work is hugely appreciated!

Skibur

Me and my friend haven't played ds2 before so we're waiting for this mod to release to play it together 🔥🔥

King_Waso

I really can't wait until this mod is finished! me and my friends have been having a blast on stream playing through Elden Ring, Dark Souls 3 and Dark Souls 1. It has been such a fun time replaying the games with unbound coop. Dark Souls 2 was my favorite Dark Souls before 3 came out, so I'm SO excited to play it again but this time with everyone.

John Growt

You are amazing! Truly thank you for all the work you do for this community >~<

ZEROM4NCER

For those unfamiliar with Dark Souls 2, please refrain from reading this comment. It contains a SPOILER. - - - - As always, thank you. This is all very interesting; in fact, I'm curious to know how you plan to approach the part where the player has to explore the giants' memories. That part is timed; once it expires, the game originally takes the player out of that explorable map. So I wonder if you'll decide to remove that timer as well. (personally, I've always hated that timer).

Elijah Edwards

You are amazing. Doing things for the community that others, like myself, don’t have the know-how to do, and then sharing that with those people. You are keeping these games alive. Thank you so much! absolutely stoked for the ds2 seamless co-op 😁

Farcas Paul

Nice! By the way, just a question: is it possible to also increase the engine limits in ds2? I know there are some randomizer mods for ds2 that don't work properly because apparently there's a hard limit on the amount of different enemies in any given area (or that's how I understand it), so I am wondering if your work could be used to also address that?

Adam Ivers

+1 for disabling bonfires while boss is active. Imagine getting a boss down to 1/4 health only to have a friend rest at a bonfire and kicking you out. Plus it's co-op, if someone's entered the boss chamber the rest of the players should be close behind IMO!

VOID

So far I have played through all the seamless coop mods, and, even with bugs and issues, loved them. I'd say the typical "can't wait" for the next one, but truth is, I can wait, because I know it will be worth it.

Dbroom35

I’m exited for this. Probably my favorite dark souls but also the worst multiplayer imo. Definitely gonna be worth the wait.

BumBum

I cant wait to make hella memories with the boys in this! You are a blessing and keep up the amazing work!!

Philip A Guernsey

Yui has tackled the Dark Souls of modding... excited and cant wait! I would love to be a playtester if you need them!

Anthony

This my most anticipated game of the year to play with buddies thanks for working hard I am excited to play this along with sekiro whenever thats done :D

Lucas Sin'dri

I'm so unbelievably excited for this because dark souls 2 is my favorite one of the series and i have so many friends that have never even touched it but what to join me with seamless. but also, i'm super excited to read these updates because getting a glimpse into your process is mega fun for me as well.

Miojos Abaforado

Yui always doing divine work! I hope you keep bringing the best projects ever. Quick question though: will it be possible to play Seamless together with another mod, like Seeker of Fire?

bang man

You are blessing these mods are bringing me so much joy i really can not Thank you enough for the work you doing here. i spent so much time in every single Seamless co-op mod and DS 2 is my favorite i love those update post of yours and i hope your doing well im glad i can support you with a site like patreon.

yggdrassilbcn

Thanks for all this job. You´re amazing. waiting for this new mod

Jack Gustavio

i like your work you do very good in this thank that you are giving us this mod

Rorb

thanks for all your hardwork. me and my friends are playing through all seamless co-op mods as we speak

Jerry Lee Kitt

Just want to say thank you for all your hard work. I've been able to enjoy all of these games in ways I never thought possible all thanks to the time and effort you have invested. I look forward to playing through DS2 with some of my closest friends without all of the janky PvE mechanics that FromSoft has used over the years.

Игорь Ротарь

Thank you, Yui! I played DS 1 and DS 3 with great enjoyment thanks to your mod. I really hope you'll develop a mod for DS 2 soon. I can't wait to play with my friend. Thank you for your hard work and efforts!

Erroneous

Thank you for your hard work! You have helped me delve into a game series I have always been interested in but has always been somewhat daunting for me. Best of luck on DS2!