Search found 37 matches

by MildewMan1
Thu Sep 03, 2020 10:23 pm
Forum: Technical Discussion
Topic: Does anyone know about networking?
Replies: 30
Views: 27880

Re: Does anyone know about networking?

I'll probably end up just using tcp sockets for both.

The 1.31 dll might work with 1.20, but I recall reading in their patch notes that they changed something.

I'll see if I can post some pictures tonight of what I've got so far.
by MildewMan1
Fri Aug 28, 2020 11:29 pm
Forum: Technical Discussion
Topic: Does anyone know about networking?
Replies: 30
Views: 27880

Re: Does anyone know about networking?

Ok made a big breakthrough today. I was able to get UDP sockets to work for LAN games and successfully received and sent some of Deadlock's Net Messages between the game and my network debugging app that I made. I got to the player selection screen before I stopped working on it. I'll see if I can w...
by MildewMan1
Fri Aug 28, 2020 3:47 am
Forum: Technical Discussion
Topic: Does anyone know about networking?
Replies: 30
Views: 27880

Re: Does anyone know about networking?

Some of those functions are never actually called from Deadlock (at least not in version 1.20). The ones that I know of off the top of my head are NetAckSlave, NetClearBroadcastPending, NetDebug, and NetGetNumPlayers (was only used for MPlayer games). I've created a class that handles the sockets (s...
by MildewMan1
Wed Aug 26, 2020 12:05 am
Forum: Technical Discussion
Topic: Does anyone know about networking?
Replies: 30
Views: 27880

Re: Does anyone know about networking?

It's been about a month since I last posted this, so I thought I'd give an update... I think I'm pretty close to figuring out sockets. I was able to hijack some of the Deadlock functions and dialog boxes, and I'm currently able to get an IP address and port as a client and then start the connection ...
by MildewMan1
Sat Jul 25, 2020 5:01 pm
Forum: Technical Discussion
Topic: Does anyone know about networking?
Replies: 30
Views: 27880

Re: Does anyone know about networking?

Yeah that was my thought. I've already got a DLNET dll setup that Deadlock loads up and then it forwards all of the function calls to the real dll that I renamed something else. I have a rough idea of what data is being passed to it from looking through pseudo code of it, and I am able to look at th...
by MildewMan1
Thu Jul 23, 2020 12:56 pm
Forum: Technical Discussion
Topic: Does anyone know about networking?
Replies: 30
Views: 27880

Does anyone know about networking?

As many of you know, Deadlock 1 uses NetBios for its multiplayer stuff, which doesn't work after Windows XP. I have been trying to figure out how the DLNET dlls that contain their networking code work because I'd like to try and make a replacement DLL that would accept the same information from the ...
by MildewMan1
Wed Jul 15, 2020 3:22 am
Forum: General Discussion
Topic: Hidden Easter Eggs in Deadlock 1
Replies: 0
Views: 6808

Hidden Easter Eggs in Deadlock 1

As I was working on decompiling the game, I found a couple of hidden easter eggs that can only be obtained by messing with the memory values. 1) If you set a missile's experience to 22222 and launch it at an enemy, it becomes indestructible and wipes out every enemy colonist and defensive fortificat...
by MildewMan1
Sat Jul 11, 2020 12:34 pm
Forum: General Discussion
Topic: DL1: Overpopulation game mechanic
Replies: 4
Views: 5545

Re: DL1: Overpopulation game mechanic

Here's a screenshot from v1.20 of how it works. It takes the housing capacity and uses it as a modifier and then multiplies that by the morale effect from terrain type (these values are shown in the photo as well). So for a plains territory, if you had a 400% housing capacity modifer, you would get ...
by MildewMan1
Sat Jul 11, 2020 12:02 pm
Forum: General Discussion
Topic: DL1: Overpopulation game mechanic
Replies: 4
Views: 5545

Re: DL1: Overpopulation game mechanic

Yeah I was wrong. It isn't affected by more houses, but morale does seem to be affected by the population limits of each house, so the ChCh't may have a built-in advantage for morale.
by MildewMan1
Wed Jul 08, 2020 2:27 pm
Forum: General Discussion
Topic: DL1: Overpopulation game mechanic
Replies: 4
Views: 5545

DL1: Overpopulation game mechanic

I don't know if I'm the only one who didn't know this, but the overpopulation stat that hurts morale is not based on the number of colonists in your territory. It's actually based on the number of houses you have and the amount of colonists the houses can support. If colonists are packed into the ho...