Jump to content
  • 0

increasing max_hp on battle.c


Question

Posted (edited)

I'm planning to increase the maximum hp on battle.c up to 900b but when i tried to recompile the server i always got this error.

 

trunk\src\map\battle.c(7332): warning C4305: 'initializing' : truncation from '__int64' to 'int'

 

my revision is 17726 of rathena trunk, please help....

Edited by cahadeyelo

5 answers to this question

Recommended Posts

  • 0
Posted

my ignorance deceives me sometimes, sorry...and i was hoping for a different answer coz I've done that

Hp can not exceed 2.1 (2^32-1 to be exact) bil as that is the limitations of the system you would have to change it from int32 to int 64 which is honestly not that easy

  • 0
Posted

Just change max hp in player.conf.

// Maximum HP. (Default is 1000000)
max_hp: 1000000

Next time post in general support as this isn't a scripting issue and probably why you didn't get a fast reply.

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...