asianadam Posted March 25, 2013 Posted March 25, 2013 I tried the guide and still not working. Anyone would like to help me? The thing I want is both hp to be max to 20mil. So like, Max Hp 20mil and when heal hp goes 20mil. Quote
Emistry Posted March 26, 2013 Posted March 26, 2013 trunk/conf/battle/player.conf // Maximum HP. (Default is 1000000) max_hp: 1000000 Quote
asianadam Posted March 26, 2013 Author Posted March 26, 2013 What I meant was how to increase the capacity in hp? for example 12345678/20000000. The 12345678 is error but the max hp is fine. Lemme show you the picture Quote
Emistry Posted March 26, 2013 Posted March 26, 2013 i think it's the SQL datatype for HP and MAXHP column are not enough to cover 20,000,000 HP...since it can only hold up to around 8,000,000 mil++ HP only..because it's mediumint(8) try run this SQL query. ALTER TABLE `char` CHANGE COLUMN `max_hp` `max_hp` INT UNSIGNED NOT NULL DEFAULT '0' , CHANGE COLUMN `hp` `hp` INT UNSIGNED NOT NULL DEFAULT '0' ; Please do a back up before you run this..just in case anything unusual happen ~ Quote
asianadam Posted March 26, 2013 Author Posted March 26, 2013 I am not exactly sure where to put that i think it's the SQL datatype for HP and MAXHP column are not enough to cover 20,000,000 HP...since it can only hold up to around 8,000,000 mil++ HP only..because it's mediumint(8) try run this SQL query. ALTER TABLE `char` CHANGE COLUMN `max_hp` `max_hp` INT UNSIGNED NOT NULL DEFAULT '0' , CHANGE COLUMN `hp` `hp` INT UNSIGNED NOT NULL DEFAULT '0' ; Please do a back up before you run this..just in case anything unusual happen ~ I am not sure where to put that. I am sorry for being noob. Quote
asianadam Posted March 26, 2013 Author Posted March 26, 2013 so I run that "ALTER TABLE `char` CHANGE COLUMN `max_hp` `max_hp` INT UNSIGNED NOT NULL DEFAULT '0' , CHANGE COLUMN `hp` `hp` INT UNSIGNED NOT NULL DEFAULT '0' ;" in the machine..... Quote
Question
asianadam
I tried the guide and still not working. Anyone would like to help me? The thing I want is both hp to be max to 20mil. So like, Max Hp 20mil and when heal hp goes 20mil.
6 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.