Does hot loading work on a running server with connected clients?
NurEinMensch
Join Date: 2003-02-26 Member: 14056Members, Constellation
<div class="IPBDescription">An idea for an event that might be fun.</div>Does hot loading work on a running server with connected clients? And will it upload the changes to all clients? What I mean is if someone has a server running with people playing on it, and uses Spark to edit the map, will the changes be applied immediately when he saves? Will the changes be sent to the clients in real time?
Because if it works like that I propose that once the alpha is out, during one day of the week the devs should run a server and let us play a map while that map is being worked on by the devs. Just thought that might be fun.
Because if it works like that I propose that once the alpha is out, during one day of the week the devs should run a server and let us play a map while that map is being worked on by the devs. Just thought that might be fun.
Comments
Not a whole lot of practical applications though, nevermind the unknown amount of hassle involved.
Can't have clients think they're at (X,Y,Z) and suddenly that's outside the map.
Unless they can some how download the map while playing it...
I guess it's possible in theory, but actually doing it?
Yeah, realtime transfer of map data from server to client isn't feasible. Well... it probably isn't on any sane client/server model, at least. If one was designed specifically for this purpose, and the server was only sending data describing the ordering of map assets already possessed by the client, it might work...
but yeah, the point is, that's all "what if." It's not how it is or will be.
<!--quoteo(post=1752520:date=Feb 11 2010, 04:00 PM:name=spellman23)--><div class='quotetop'>QUOTE (spellman23 @ Feb 11 2010, 04:00 PM) <a href="index.php?act=findpost&pid=1752520"><{POST_SNAPBACK}></a></div><div class='quotemain'><!--quotec-->Can't have clients think they're at (X,Y,Z) and suddenly that's outside the map.<!--QuoteEnd--></div><!--QuoteEEnd-->
That's pretty trivial. If you were committed to making something like this work, you could just have an algorithm to snap the player to an in-bounds location.
and b) when they described the hotloading earlier, they said that it was necessary to reload the level for changes to occur. it would be possible to distribute live versions to the clients, but it wouldn't be easy and there wouldn't really be a reason to.
That's true. It's similar to how NS deals with buildings though. It's not really changing the map as much as manipulating it incrementally by adding stuff in-game.
Doing a hot-loaded map might be possible with this idea, incrementally shut off areas, re-populate, etc. but it's probably not worth it. Just close the server, re-load the map to the clients, and fire it up. Since we're saving so much time to not require uber compiles (thank goodness, took me 3 hours to render my NS1 map) it's close enough.