cahadeyelo Posted January 23, 2016 Group: Members Topic Count: 70 Topics Per Day: 0.02 Content Count: 172 Reputation: 1 Joined: 11/13/14 Last Seen: 23 hours ago Share Posted January 23, 2016 (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 January 23, 2016 by cahadeyelo Quote Link to comment Share on other sites More sharing options...
0 Stolao Posted January 31, 2016 Group: Developer Topic Count: 48 Topics Per Day: 0.01 Content Count: 1443 Reputation: 344 Joined: 10/17/12 Last Seen: Sunday at 01:58 PM Share Posted January 31, 2016 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 Quote Link to comment Share on other sites More sharing options...
0 cahadeyelo Posted January 25, 2016 Group: Members Topic Count: 70 Topics Per Day: 0.02 Content Count: 172 Reputation: 1 Joined: 11/13/14 Last Seen: 23 hours ago Author Share Posted January 25, 2016 or you can just tell me how to properly edit the max_hp capped on my server Quote Link to comment Share on other sites More sharing options...
0 Oceanid Posted January 26, 2016 Group: Members Topic Count: 7 Topics Per Day: 0.00 Content Count: 80 Reputation: 2 Joined: 10/08/13 Last Seen: March 5, 2020 Share Posted January 26, 2016 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. Quote Link to comment Share on other sites More sharing options...
0 cahadeyelo Posted January 26, 2016 Group: Members Topic Count: 70 Topics Per Day: 0.02 Content Count: 172 Reputation: 1 Joined: 11/13/14 Last Seen: 23 hours ago Author Share Posted January 26, 2016 (edited) my ignorance deceives me sometimes, sorry...and i was hoping for a different answer coz I've done that Edited January 27, 2016 by cahadeyelo Quote Link to comment Share on other sites More sharing options...
0 cahadeyelo Posted February 1, 2016 Group: Members Topic Count: 70 Topics Per Day: 0.02 Content Count: 172 Reputation: 1 Joined: 11/13/14 Last Seen: 23 hours ago Author Share Posted February 1, 2016 thanks sir Stalao for clearing my questions, sad to say that my client ditched me up but the information you gave are in my future's use. Quote Link to comment Share on other sites More sharing options...
Question
cahadeyelo
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 cahadeyeloLink to comment
Share on other sites
5 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.