[CF-Devel] Exp questions

crossfire-devel at archives.real-time.com crossfire-devel at archives.real-time.com
Mon Oct 27 22:36:18 CST 2003


Nicolas Weeger wrote:
>>
     
       No way to recalculate that.  A characters overall exp is no longer 
     
     >>
     
      tied to the exp in their skills.  This fixes a bunch of problems, 
     
     >>
     
      mostly related to exp loss, but also makes things more flexible (it's 
     
     >>
     
      reasonable now to make it easy to gain exp in certain non combat 
     
     >>
     
      skills and not have those skill contribute much to overall level.  Eg, 
     
     >>
     
      you could be level 50 alchemist, but still only level 10 overall or 
     
     >>
     
      something.
     
     >
     
     
     >
     
     
     >
     
      Hum, from the code, it seems overall = sum of pondered skills exp (the 
     
     >
     
      skill->exp_mul value).
     
     >
     
      Plus exp gained through party when the player doesn't have the skill.
     
     
  Generally the case, but not always.

  For example, there are caps on the amount of exp/levels (in skills) you can 
lose by dying.

  IT is very likely that at some levels, the 20% cap comes into play for some 
skills, while the 3 level cap comes in for other skills (if you're say level 5 
in literacy, and level 50 in one handed weapons).  So literacy loses 20%, one 
handed weapons loses 3 levels.

  You're overall exp, most likely being higher than level 50, will also incur 
the 3 level cap.

  So there is no foolproof way of saying figuring out total exp from skills and 
vice versa.  You can at best get approximations (which could actually be pretty 
far off - if you have several skills that get hit by the 3 level cap, for 
example, that would skew things more).

>
     
     
     >
     
      My only concern right now is that some chars on crossfire.metalforge.net 
     
     >
     
      are broken. I know it's a test server, and that resetting player can be 
     
     >
     
      done. But some have already played quite a lot of time, and probably 
     
     >
     
      don't feel like restarting their player again. So I was wondering of a 
     
     >
     
      way to fix the exp trouble (reminder: some players suddenly gained 2 
     
     >
     
      billion exp in many skills).
     
     >
     
      A DM helped me partially fix my char, resetting skills levels to 
     
     >
     
      previous values. But overall exp is still really high, i'm level 110.
     
     >
     
     
     >
     
      So i figured a dm-only function to reset overall exp as sum of pondered 
     
     >
     
      xp could come in handy. Still requires fixing manually all the skills, 
     
     >
     
      though... -.-
     
     
  Well, only some subset of skills would be broken.  The correct fix here would 
be for the DM, if willing, to go adjust everything that is wrong with the 
player, and not try to find some programatic way to fix it.

  Programatic ways to fix previous bugs is generally a bad thing - you're left 
with code that may or may not be needed, is special purpose, etc.



_______________________________________________
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