Search found 35 matches

by MildewMan1
Mon Sep 20, 2021 6:01 pm
Forum: Technical Discussion
Topic: Deadlock 2: Gameplay fixes
Replies: 0
Views: 265

Deadlock 2: Gameplay fixes

Hello all, I would like to let everyone know that I have created code that should fix some of the gameplay issues with Deadlock 2 on newer systems. While reversing the game code, I recently discovered that Cyberlore didn't truly utilize DirectDraw when making DL2. They basically used it to set the m...
by MildewMan1
Wed Jul 07, 2021 1:49 am
Forum: Creativity Corner
Topic: Contributing to OpenDeadlock development
Replies: 7
Views: 1242

Re: Contributing to OpenDeadlock development

move multiple units/colonists at once, I think this is already a feature in the game if you hold down the Alt key while dragging the units unless you are referring to some other kind of move. As for setting multiple building tasks at the same time, I could see that being useful. Maybe have a settin...
by MildewMan1
Tue Apr 20, 2021 4:19 pm
Forum: Technical Discussion
Topic: HOW TO: Fix issues with crashing and freezing
Replies: 12
Views: 6938

Re: HOW TO: Fix issues with crashing and freezing

Apologies in advance for the long post, but I wanted to give an update. I have almost completely reverse engineered version 1.20 of Deadlock 1. I would estimate that it is about 95% working with a few hiccups that still need to be fixed. Since I basically have the source code, I wanted to try and un...
by MildewMan1
Fri Apr 09, 2021 12:52 am
Forum: General Discussion
Topic: Questions about Deadlock
Replies: 51
Views: 104896

Re: Questions about Deadlock

I doubt the original developers will ever see this, but just in case... Do you remember what resources were used to learn how to create all of your custom drawing/map creation functions in the game? Also one of the territory drawing functions (SmearLight) causes the game to crash when zooming into a...
by MildewMan1
Wed Jan 13, 2021 12:19 am
Forum: Technical Discussion
Topic: Deadlock 2 Demo Upgrade Patch
Replies: 2
Views: 2942

Re: Deadlock 2 Demo Upgrade Patch

Ha it's funny that you posted this. I started working on deadlock 2 around Thanksgiving trying to solve the black screen/flickering in version 1.20, and I was visiting the forum today to say that I think I'm very close to fixing it. Someone in another thread mentioned that he thought it had to do wi...
by MildewMan1
Mon Oct 26, 2020 12:20 pm
Forum: Technical Discussion
Topic: Does anyone know about networking?
Replies: 30
Views: 16335

Re: Does anyone know about networking?

That's great news MildewMan1, I am sorry I am too busy to test it correctly right now. I just want to ask if there is any way to save the game as soon as the host disconnects. Ok, I just uploaded a new version to Github, and I listed all of the changes on the Readme. I added some code where anytime...
by MildewMan1
Sat Oct 24, 2020 2:29 pm
Forum: Technical Discussion
Topic: Does anyone know about networking?
Replies: 30
Views: 16335

Re: Does anyone know about networking?

As long as the host does not enable the Kill AI code, then I believe it should be possible. I will test it out and verify though. I am already working on some improvements to it though including adding a dll version number, which should have been added in the first one, to prevent people with mismat...
by MildewMan1
Tue Oct 20, 2020 5:59 pm
Forum: Technical Discussion
Topic: Does anyone know about networking?
Replies: 30
Views: 16335

Re: Does anyone know about networking?

I am ready to let people test out the new multiplayer framework for Deadlock 1! To use this, copy the 4 DLLs from my github (https://github.com/MildewMan1/Deadlock_Multiplayer) into your Deadlock folder and start Deadlock. If you are using the GOG version, you will need to use the multiplayer patch ...
by MildewMan1
Mon Oct 12, 2020 11:58 pm
Forum: Technical Discussion
Topic: Does anyone know about networking?
Replies: 30
Views: 16335

Re: Does anyone know about networking?

Ok so this is the first time I've ever used multithreading, and I learned something new... I was about to pull my hair out with the load save game thing. It kept freezing the UI when it reloaded the world, and I finally figured out why. You are not supposed to update a UI from any thread except the ...
by MildewMan1
Mon Oct 05, 2020 11:14 pm
Forum: Technical Discussion
Topic: Does anyone know about networking?
Replies: 30
Views: 16335

Re: Does anyone know about networking?

Just an update: I've got all of the code that was working on 1.20 working for version 1.31. Right now I'm working on getting the load multiplayer game code working. The game normally sends the save file in like ~65 byte chunks, which takes a really long time to send for big maps. I've got it sending...