Search found 33 matches

by MildewMan1
Tue Apr 20, 2021 4:19 pm
Forum: Technical Discussion
Topic: HOW TO: Fix issues with crashing and freezing
Replies: 12
Views: 4610

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: 96243

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: 2268

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: 11575

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: 11575

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: 11575

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: 11575

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: 11575

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...
by MildewMan1
Tue Sep 22, 2020 11:37 am
Forum: Technical Discussion
Topic: Does anyone know about networking?
Replies: 30
Views: 11575

Re: Does anyone know about networking?

That shouldn't be a problem. Just have to get the corresponding memory addresses for the things I am using. I'll start working on that so I can see if the game plays differently. I looked at the patch notes for the windows version, and you were right about the number of players. It also says not to ...
by MildewMan1
Sat Sep 19, 2020 11:11 pm
Forum: Technical Discussion
Topic: Does anyone know about networking?
Replies: 30
Views: 11575

Re: Does anyone know about networking?

Haha, no pun intended! I think I maybe figured out what was causing that problem. At some point I must have accidentally removed some code that sets the player numbers of slaves, and they were getting set to 0 (player 1). I believe the freezing problem was because the code was messing with the wrong...