Search found 37 matches

by MildewMan1
Mon Oct 12, 2020 11:58 pm
Forum: Technical Discussion
Topic: Does anyone know about networking?
Replies: 30
Views: 28105

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

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

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

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

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

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 7774 times
by MildewMan1
Mon Sep 14, 2020 10:26 pm
Forum: Technical Discussion
Topic: Does anyone know about networking?
Replies: 30
Views: 28105

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...
by MildewMan1
Sun Sep 13, 2020 9:52 pm
Forum: Technical Discussion
Topic: Does anyone know about networking?
Replies: 30
Views: 28105

Re: Does anyone know about networking?

I think I'm close to having this working. I added something to my network debugging app where I can send what I call a "Net Message" to the game over the network to simulate things that a real player would do. I am able to select a race using my debugger and select a landing site, which ge...
by MildewMan1
Fri Sep 04, 2020 5:12 pm
Forum: Technical Discussion
Topic: Does anyone know about networking?
Replies: 30
Views: 28105

Re: Does anyone know about networking?

Here's a couple more.
Listening.JPG
Listening.JPG (27.32 KiB) Viewed 7879 times
JoinMyGame.JPG
JoinMyGame.JPG (20.57 KiB) Viewed 7879 times
by MildewMan1
Fri Sep 04, 2020 5:12 pm
Forum: Technical Discussion
Topic: Does anyone know about networking?
Replies: 30
Views: 28105

Re: Does anyone know about networking?

Sorry for the delay in getting these pictures uploaded.
HostTCPGame.JPG
HostTCPGame.JPG (25.87 KiB) Viewed 7879 times
JoinTCPGame.JPG
JoinTCPGame.JPG (28.73 KiB) Viewed 7879 times
MultiplayerSetup.JPG
MultiplayerSetup.JPG (30.44 KiB) Viewed 7879 times