Search found 30 matches

by MildewMan1
Mon Oct 26, 2020 12:20 pm
Forum: Technical Discussion
Topic: Does anyone know about networking?
Replies: 30
Views: 3717

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

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

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

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

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

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

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...
by MildewMan1
Sat Sep 19, 2020 7:32 pm
Forum: Technical Discussion
Topic: Does anyone know about networking?
Replies: 30
Views: 3717

Re: Does anyone know about networking?

Here's some of the problems that I've noticed so far that I'm trying to work on and/or figure out what is causing it. At the start of each turn, the host game experiences a decent waiting time where the cursor is the waiting cursor and the UI is unresponsive... At least this happens with 7 players (...
by MildewMan1
Wed Sep 16, 2020 4:05 am
Forum: Technical Discussion
Topic: Does anyone know about networking?
Replies: 30
Views: 3717

Re: Does anyone know about networking?

FINALLY!! I got 2 games to work together after many frustrating hours! I need to polish up some of the stuff to make it more efficient, but I'm pretty stoked that I was able to get this far with 0 networking experience 2 months ago.
2PlayerGame.JPG
2PlayerGame.JPG (422.65 KiB) Viewed 876 times
by MildewMan1
Mon Sep 14, 2020 10:26 pm
Forum: Technical Discussion
Topic: Does anyone know about networking?
Replies: 30
Views: 3717

Re: Does anyone know about networking?

That's what I'm working on is direct internet play using TCP sockets. Anyone should be able to connect to someone else if they have their IP and Port number. Eventually I want to take my debug server and make it into an independent server that would handle all of the games. Instead of having to shar...