[CF-Devel] (automatic) apply rings

crossfire-devel-admin at archives.real-time.com crossfire-devel-admin at archives.real-time.com
Wed Apr 2 01:45:05 CST 2003


Bernhard Kuemel wrote:
>
     
      Mark Wedel wrote:
     
     
>
     
      Mhm. But the client could not keep track of last recently applied
     
     >
     
      rings after quitting or sleeping in bed of reality. It could try so in
     
     >
     
      a save file but there might be some confusion if the player used a
     
     >
     
      different client in the meanwhile. That would not matter much for my
     
     >
     
      FIFO, but for your stack (keep longest worn ring on).
     
     
  Well, I'd be a bit less worried in that case - it wouldn't take very long for 
the player to establish the ring wear order, and which things would work as 
expectedly.



>
     
      I also like it much better not to remove things before I use others.
     
     >
     
      This is an extra command that takes time and may open a short time
     
     >
     
      vulnerability. If the unapply happens automatically (in the server)
     
     >
     
      this is maybe even an atomic action. But, well, atomic key changing is
     
     >
     
      not realistic so it need not be in the game. An extra command also
     
     >
     
      takes up space in the byte limited keybindings.
     
     
  The fact that applying an item automatically un applies something else and 
then applies the new item really quickly should really be considered a bug.

  At minimum, such actions should take longer (twice as long).  In a more 
realistic sense, the times for equip/unequip are quite fast - switching from the 
dragon armor to power plate mail in one tick is quite a trick.

  It'd be relative easy to add some real times to what it takes to switch items. 
   It's basically just a matter of reducing the players speed_left by a higher 
amount.  Doing it in an incremental fashion would be a lot harder (eg, 5 ticks 
to remove armor, and say 5 ticks to put armor on, and in those 8 ticks where 
armor is being removed/equipped, you get no benefit of it).

  This is getting unrelated to the question at hand.  But mostly a note that 
consider the atomic process of a ring being unequipped and a new ring being 
equipped in the same tick a bonus, and not something to be expected.

  In any case, I think Bernd's solution looks to be the best.  I'd rather not 
have to try to track when/what orders rings were applied, and it does look like 
Bernd's solution is sufficient to allow everything that needs to be done via 
keybinding.


_______________________________________________
crossfire-devel mailing list
     
     crossfire-devel at lists.real-time.com
     
     
     https://mailman.real-time.com/mailman/listinfo/crossfire-devel
     
     
    


More information about the crossfire mailing list