On 2/14/09, Kreuvf <[email protected]> wrote:
> bugs buggy wrote:
>  > Well, seems that we can't use physFS to read a archive within a archive.
>  > We also can't tell what is the file for said map pack easily.
>
> You could do it the way Black NEXUS did it, although this surely has several
>  drawbacks: http://wow-projekt.bplaced.net/warzone2100/black_nexus_mp1.wz
>

That is one of things that is crashing us now.
Host has that map pack.
User connecting don't.
game tries to send map, but since, it is in the map pack, it has no
idea how to deal with it, and it can't find anything to send.
If we send false on that condition, then the User still don't have the
map, and it requests the map again, and we run into a infinite loop.

My patch right now, has a force exit() to the host, since *all*
players must have that map pack to work correctly.
The other option would be to kick the user that don't have the map
pack.  And since we can't send messages on a kick, they will try to
connect again & again...

Which is the lesser of two evils?


>  > Inside the .info file itself would be all the author's name, and
>  > whatever else info the map pack creator wants to put inside it.  The
>  > game wouldn't ever read the contents of that file though.
>
> http://developer.wz2100.net/wiki/Organization_Proposal (it's a bit fucked up 
> due
>  to the move from mediawiki to tracwiki)
>
>
>  > Would this be a good way to handle it?
>
> Could be wise to make a more general decision on it as you may want to bundle
>  several mods as well.
>
>  - Kreuvf

_______________________________________________
Warzone-dev mailing list
[email protected]
https://mail.gna.org/listinfo/warzone-dev

Reply via email to