Jump to content
  • 0

HP lost on warp


F0xxy

Question


  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  224
  • Reputation:   22
  • Joined:  03/23/12
  • Last Seen:  

Like the title says, players lose hp after warping and from what I see it happens when the hp value is higher than the 'hp' value in sql.

 

For example if I equip an item that gives me 5% more hp, after I warp I lose those 5% hp accordingly whch is weird...

 

Tried messing with max hp and health rates and hp_sp tables but nothing helped at all.

 

Hopefully someone can shed some light on this  /lv


PS: I found the problem...

 

Whenever I equip something that adds stats or hp/sp the hp and max hp value in sql are not updated and so when I warp it loads back the old values exactly...

 

How do I fix this?

Edited by F0xxy
Link to comment
Share on other sites

1 answer to this question

Recommended Posts


  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10013
  • Reputation:   2345
  • Joined:  10/28/11
  • Last Seen:  

itemID,.......,{ bonus bMaxHPRate,5; },{},{}

make sure the item_db.txt is correct

 

PS: I think bonus HP doesnt store/update in SQL

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...