[CF List] First trials

Mark Wedel mwedel at scruz.net
Tue Jul 31 23:39:05 CDT 2001


Nils Lohner wrote:
>
     
      Installation sugestion:
     
     >
     
      - have the 'maps' archive unpack into crossfire-<version/maps. and have
     
     >
     
        the installer install them automatically.  $datadir is defined there.
     
     >
     
        I had a problem with that too: according to some docs it would seem to
     
     >
     
        want $pregix/games/maps, but in reality it seems to look in
     
     >
     
        $prefix/share/crossfire/maps (which makes more sense). THis is
     
     >
     
        probably just an INSTALL or README cleanup.
     
     
 I don't see any real ambiguous notes in the INSTALL about the maps - it just
says they need to be unpacked into whatever datadir is, but doesn't really
mention where that may be.

 IMO, there is no real reason to unpack the maps into the server area, and then
copy them over.  Doing so results in twice the amount of disk space (and the
maps are the biggest user of disk space) and would lengthen the install time
(copying 30 MB of data will pretty much always take a non trivial amount of
time).  Notes about how to install the maps could be better (and in fact, adding
a note such that after you run 'make install', the last thing it says is
something like 'the maps should be unpacked into x/y/z' - the makefile can give
the real path for this, since it has gone through the variable substitution that
the README has not.



>
     
      The client needs to support a -h or -help option too, and a -debug would
     
     >
     
      be good to see where it fails with connections (i.e. connectiong to
     
     >
     
      server:port etc.)
     
     
 It does support -help.  OTOH, if you enter any invalid command, you get the
usage message - the only different about -help is that it does not complain
about an invalid command.

 The error message about xpm is pretty bizarre.  I'm not going to worry about it
too much, as xpm support should probably get removed from everything in the not
too distant future.

>
     
      The performance seems slow, both with PNG and XPM (PNG looks nicer
     
     >
     
      though... it also seems a little bigger).  Do you have any
     
     >
     
      performance-measuring code in the client or server?  That would be
     
     >
     
      useful... I think that the game may have slowed down when lots of items
     
     >
     
      were left lying around, even when I'm not directly on that map.  Not
     
     >
     
      sure though.
     
     
 Best measure is probably top.  Note that crossfire is not a really fast action
game.  The server basically does 8 turns/second.

 Performance on the client has no great measure.  From what work I have done,
most is actually spent on the map redraws (as of now, the client makes no real
use of hardware accelleration, as it is just basicaly blatting bits to the
screen).  the SDL client could use texture map or other hardware assistance for
drawing.


>
     
      Hm.  Should it be?  The messages it printed out made me wonder.  I guess
     
     >
     
      it's harmless though.  It probably gets created when you save your
     
     >
     
      gdefaults.
     
     
 Yes, it should be created once it needs to save something there.

>
     
     
     >
     
      >> - after the first character I played, none of my characters have ANY
     
     >
     
      >>   melee weapons skils, no matter which race/type I pick!  AAh, I need to
     
     >
     
      >>   pick a type ( paladinl, etc.) before I can have any skill at all.
     
     >
     
      >>   This needs to eb a a FAQ
     
     >
     
      >This seemed quite obvious. But if didn't guessed it, it must certainly go=
     
     >
     
      >=20
     
     >
     
      >into the FAQ.
     
     >
     
     
     >
     
      Better yet: put a panel in front of the exit with the info, and a gate
     
     >
     
      that the player needs to open.  That should take care of it.
     
     
 The problem was that sometime characters that already have chosen popped back
on that map after a save, so they needed some way to get out.  If no one has
seen that recently, removing the bypass that lets you get out without choosing
would also be a valid solution.


>
     
      Hm.  True... maybe there could be an 'amulet of pause' or something that
     
     >
     
      teleports you to a safe location until you unpause?
     
     
 As a multiplayer game, this of course gets tricky.  If a player is able to
pause whenever in danger and wait for the calvary to arrive, life gets very
easy.  If we're going to allow someone to effectively pause via amulet or
whatever else, the actual mechanism doesn't make that much difference (it would
not be hard to add logic to the server which basically says monsters ignore
paused characters and paused character can't take damage).

 But consider this abuse:  Player has such abilities, and casts a whole bunch of
fireball spells, which say will engulf where the character is.  Character
engages gismo, and thus won't take damage from the spells himself, yet the
spells will still expand and kill everything nearby.  Player then unpauses, and
grabs whatever loot.

 This isn't to say that it would certainly be nice to be able to pause things -
more than once I have wanted to do so.  My main point here is that this is
something pretty tricky to do without opening up a lot of abuses.

    
    


More information about the crossfire mailing list