Home Creators Posts Import Register Favorites Logout

Content

Hi everyone

Development of the mod continues. In this post I'll be discussing some bug fixes I've made and the sever event treasure mechanic in Dark Souls II.

Vanilla bug fixes and QoL improvements

"Disable double click" bug for keyboard users

A bug that has plagued KB+M players for over a decade at this point is that of the "Disable double click" option in the input settings not applying correctly. While the actual toggle works correctly (ON/OFF persists between game launches), the actual functionality doesn't. This means that players who are playing KB+M and want double clicking disabled have to turn the option off then on again every game re-boot.

The cause is relatively straightforward, and that is when the save file is read and the settings are applied to the keyboard input class, it mistakenly reads the byte from itself instead of the user settings (guaranteeing that it will be OFF).

Game boot volume

A common setting included in the seamless co-op mods is the "default_volume" option in the ini file. This is because, when the game starts, the game's options are originally initialised at default volumes in the GameDataOption class. The volume for music, sound effects, and voice is at 50%. The issue is that the player's save data isn't read until they go past the "Press any button to continue" option on the intro screen which can absolutely destroy your ears if you have high system volume and low game volume.

In Dark Souls II seamless, just like in the other games, I have rewritten the default constructor of GameDataOption so that the volume can be customised (or muted) until your save data is loaded - hopefully saving you from a jump scare.

Invalid weapon upgrade crash

A classic scummy cheat some players use against others is by dropping weapons on the ground with invalid infusions / upgrade levels.

When the game is calculating the stats to be displayed in the in-game menu when you have your inventory open, it tries to read the weapon stability rate from WeaponReinforceParam directly. It does this by moving all of the values onto the stack

You can see how, with an unchecked reinforce level - maximum allowed by the code being 15 - If you pass a reinforce level greater than 10 to this function it's going to start reading random stack objects instead. The function itself is heavily mutated, but you can see where it's accessed here, and with the stack frame of this function being 104 bytes, a weapon upgrade of 14 will access beyond this stack frame causing undefined behavior (in this case an invalid read)

I should note that the scripts malicious cheaters use to give these save-corrupting items to players in the vanilla game are patched in seamless co-op, therefore this was more done as a point of interest rather than a necessity.

Invalid weapon infusion crash

Furthermore, pre-patch, players could forcibly equip invalid infused weapons on your own or their character. Infusions out-of-bounds of what can be found in the game will crash with the following message:

"不正なカスタム属性[%u]が設定されています。バグなのでプログラムを修正してください"

"An invalid custom attribute [%u] has been set. This is a bug; please fix the program."

This was patched by FromSoftware themselves, but as there is still a way of doing it online to other players I figured I'd fix it whilst I was here.

Server Event Treasure

As people who played the original Dark Souls II (32-bit) know, there was a chest inside the Majula mansion that contained special rewards. On the run-up to the DLC release, FromSoftware added a few unique custom weapons to mark this event, however these were only available for a limited period of time and have never been present in the Scholar of the First Sin release (64-bit).

Since there is no server event right now, the chest inside the Majula mansion basement just has a soul vessel in it.

Looking into this mechanic, it's very unique in that a specific param (OnlineEventParam) handles this interaction. I reversed this function in it's entirety. I probably sunk like 10 or 20 hours into it just so I could fully understand what was going on.

There are actually 2 chests in the Majula mansion. One that contains the soul vessel (ItemLotParam2Other: 10045600) and another that contains a torch (ItemLotParam2Svr: 10045500).

There is a 2-byte field in OnlineEventParam that determines the special item reward for this chest, and if that is nonzero then the "Normal" chest will be hidden, and the "Server" chest will be visible. As mentioned however, by default the Sever chest will just have 1 torch in it.

I considered how to approach this best in seamless co-op. As I know people aren't a big fan of time-exclusive items. I will keep this a secret for now, but rest assured the reskinned items will be available for everyone who plays the mod, all of the time.

Thank you for your patience, and a huge thank you to all of my supporters <3

I am currently mid-way through a few different playthroughs with friends. Working (relatively) as intended so far. I will update people further in the future.

Take care

~ Yui

Files

Comments

Gatokal

This mod is solving problems I didn’t even remember having until reading the dev log. This is amazing. I do remember being jumpscared by the intro.

Jack Gustavio

You doing great Work me and my friend waiting for them and playing ds 1,2 and three in one Run at coop i believe in you, thx

SardineCat

Would you be able to implement the deadzone fix into this mod perhaps when its almost ready for deployment/public testing?

Scrrolcz

Big thanks for the chest. I really love the reskinned weapons. By the way. If someone cheats them in using something like cheat engine or some other player trades them. Does any of it mark the player as a cheater in your Blue Acolyte mod ?

Yui

Nope you can just spawn them in too if you want.

Sauce Hut

Hell yeah yui keep up the great work! This is mod going to be such an awesome experience!

Sentry

Gods work on the Disable Double clicking bug TYSM!!

TheChesireMouse

God, I really love all of this. Solving problems you by no means had to and making arguably a better experience than the base game so thank you! The volume change is good even if the ear assault is arguably very funny. I apologize if this was already mentioned in a previous post but have you/do you plan on having the pilgrims of the dark challenges and boss compatible with coop as well?

santiago cristobal

Oh thank godddddddddd, the the double click bug is the most annoying for me, and one of my friends played the entire game with it T_T. You're doing amazing work!

Cameron

Bro cannot stop cooking < 3

Bob Whyland

Today we are one day closer to DS2 seamless being released 🙏

Oliver Swanick

I understand the desire to add many features, it is very cool and I'm sure they will improve my favorite game, But it's been a year. can I and my friend just play it already? Please?

Patrip

Love the work so far, but i gotta agree with Oliver Swanick. Server event treasure is not really a minimal viable product thing... that could have came later being honest. That being said it's your choice and I will still support you and eagarly await the release

Yui

I think you are misunderstanding how I am developing the mod. It's not like the core functionality is ready to ship and I'm just delaying working on random stuff - It's all being worked on in parallel, and I take breaks to do something else to keep my interest. You say "it's been a year" like this is easy to make. Understand that Dark Souls II is a totally difference game engine to all of the other FromSoftware games and in an in-house engine with absolutely no modding infrastructure. The fact that I've done this much is an absolute miracle since I am having to basically reverse engineer the entire game to get seamless co-op to work. If you played it right now, today, you'd have bugs and issues and you'd start complaining. Let me actually work on it please, I will release it for testing when it's ready to be tested...

Oliver Swanick

my apologies for coming off as rude, It was not intentional. I do understand ds2 is a different 'beast' and it is made very differently then the rest. again I did not intend to come off as rude, Simply I have eagerly been awaiting ds2 seamless since the announcement of ds3 seamless, Checking on average twice-thrice a week this page. I am fine wiht bugs, I have played ds1 seamless using 'daughters of ash', ds3 seamless in convergence,champions ashes and cinders, as for elden ring, that game's convergence aswell. each had their challenges with making them function properly with seamless. some things never worked, Not your fault ofc. mostly unexpected clashings. I am expecting bugs and issues. I am very very eager for dark souls 2 seamless! it is my favorite game of all time. I would not 'start complaining' I would be alright with bugs and issues. and if you so desired could compile any I see into a list if that would aid you.

Yui

The controller deadzone fix is included with DS2 seamless co-op. The fix is implemented with the permission of the original mod author (for SoTFS, not the mod listed)

Wildrok

Had no idea there was a Patreon. Thank you so much homie this has been an awesome experience with my friends who can not play souls game due to skill issues.

Ramis Pollux

yo, is it real 4 now to test this one?

Cosmic Bananas

gotta say thanks for the mods. ive loved the elden ring coop mod its worked far better than it has any right to. and these darksouls ones look great. Donated purely because of my good experience with elden ring coop. crazy seeing someone mod and rework multiplayer on a game, and do it so well. insane seeing it getting worked on for 4 other games.

oscar kitt

Been following this mod ever since it got announced, amazing work keep it up. I have to ask though

Fabian Tobar

Hi Yui, I'm a big fan of your work with co-op mods. A year ago, I played Elden Ring co-op with a friend thanks to you, and it was a fantastic experience. A week ago, we finished Dark Souls 1 with your mod, and it was great too. I wanted to ask if there's a beta or alpha version available to try out your seamless co-op mod for Dark Souls 2. I understand you're still developing it, but I saw Ludwig's stream playing with the mod, and I wanted to ask if there's any possibility of accessing a beta version. Thanks so much!

Marrome

Thank you for all the good work you're doing for the community!! cannot wait for this to be ready to play! ran into some issues with the regular co-op in DS2 and found this mod in development, best of luck with development, it seems like DS2 has an insane amount of issues with its summoning so this really will make everything so much better Dx

Joemal

I appreciate you bringing those timed items in, I thought they looked really cool and was disapointed that I couldnt get them in sotfs