Jump to content

Loading (and re-hosting) a saved multiplayer game?


mnjm97
 Share

Recommended Posts

I am new to the forums but following along for a long time.

I tried searching for this first but have been unable to find an answer.

I was playing a local LAN game with my son on a couple of occasions where I was the host

and he joined me.

I saved and ended the game (bedtime...) and we tried to restart it the following night.

however, the "load game" is only located under "single player"

I have tried several ways to resume the game but have been unsuccessful...

1. is this a known issue or am I doing something wrong?

2. is there a "hack" to trick the server to continue an already in-progress game?

3. will this "feature" ( "Load Game" under "Multiplayer" ) be something a possible future release might include?

Link to comment
Share on other sites

1. is this a known issue or am I doing something wrong?

#1088

2. is there a "hack" to trick the server to continue an already in-progress game?

No.

3. will this "feature" ( "Load Game" under "Multiplayer" ) be something a possible future release might include?

Yes, see the ticket. But there is nobody working on this currently.
Link to comment
Share on other sites

binaries/data/mods/public/gui/{pregame/mainmenu.xml,gamesetup/*,savedgames/} for the GUI part. Reusing most of gamesetup should help with not having to duplicate a lot, but just having a dummy screen and filling that in later might also work just fine.

source/{gui/scripting/ScriptFunctions.cpp,ps/Game.{cpp,h},ps/SavedGame.{cpp,h}} for the actual loading and starting (though that will need a different way for multiplayer saved games).

source/network/Net{Server,Client}.{cpp,h} for the rejoining logic.

Not complete by any means, but it should give you an idea where to start.

Link to comment
Share on other sites

  • 8 months later...

OK.. I failed miserably at trying to get this to work...

I would like to pass this along to anyone with better programming skills.

The ticket for this is from 4 years ago...

It should really be fixed before the final release.

all tickets should be fixed or at last have a review before final release. We are in alpha version yet.
Link to comment
Share on other sites

OK.. I failed miserably at trying to get this to work...

I would like to pass this along to anyone with better programming skills.

The ticket for this is from 4 years ago...

It should really be fixed before the final release.

Maybe you should ask the devs on IRC, working alone is not really the best solution when people are able to help you ;)

Link to comment
Share on other sites

Maybe you should ask the devs on IRC, working alone is not really the best solution when people are able to help you ;)

Oh, I would if I actually had something that wasn't completely embarrassing as far as coding goes...lol

I like to at least have something presentable in order to discuses the hangups.

In this case I hacked the crap out of it and caused more issues than I solved.

Link to comment
Share on other sites

all tickets should be fixed or at last have a review before final release. We are in alpha version yet.

I only brought it up because I read on the forums (not sure where at the moment) about gearing up for final release....

maybe someone was talking out their backside...lol

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...