Contributor MrQuin 6409 Posted September 16, 2018 Contributor Share Posted September 16, 2018 Hello devs So the problem with me is that the hp recovery when using elixir is fast (like 3k hp per second) I would like to know how to fix this and thanks :3 My only accounts are here and on M2D, Don't trust anyone else from other shitty sites. Link to comment Share on other sites More sharing options...
Contributor MrQuin 6409 Posted September 16, 2018 Author Contributor Share Posted September 16, 2018 On top of this when using only big elixir(72726) you get plus 1000HP o_O My only accounts are here and on M2D, Don't trust anyone else from other shitty sites. Link to comment Share on other sites More sharing options...
zeimpekis9 68 Posted September 16, 2018 Share Posted September 16, 2018 Search the vnum on the game source 1 Link to comment Share on other sites More sharing options...
Contributor MrQuin 6409 Posted September 16, 2018 Author Contributor Share Posted September 16, 2018 28 minutes ago, zeimpekis9 said: Search the vnum on the game source Nothing ... My only accounts are here and on M2D, Don't trust anyone else from other shitty sites. Link to comment Share on other sites More sharing options...
Contributor MrQuin 6409 Posted September 17, 2018 Author Contributor Share Posted September 17, 2018 #Suggestione purhapse My only accounts are here and on M2D, Don't trust anyone else from other shitty sites. Link to comment Share on other sites More sharing options...
Contributor MrQuin 6409 Posted September 18, 2018 Author Contributor Share Posted September 18, 2018 ##Up My only accounts are here and on M2D, Don't trust anyone else from other shitty sites. Link to comment Share on other sites More sharing options...
Nirray 192 Posted September 18, 2018 Share Posted September 18, 2018 How to remove max hp bonus:char_item.cpp in \game\src Search: case ITEM_AUTO_SP_RECOVERY_X: isSpecialPotion = true; set it to false or scroll down and search: if (true == isSpecialPotion) { if (type == AFFECT_AUTO_HP_RECOVERY) { bonus = POINT_MAX_HP_PCT; } else if (type == AFFECT_AUTO_SP_RECOVERY) { bonus = POINT_MAX_SP_PCT; } } delete/comment Also, your fast health recovery bug is in the same file (char_item.cpp) - or db item_proto values Search: PointChange + POINT_HP Good luck! 1 I completely abandoned working on the files for this game. I do not respond to private messages. Link to comment Share on other sites More sharing options...
Contributor MrQuin 6409 Posted September 18, 2018 Author Contributor Share Posted September 18, 2018 1 hour ago, Nirray said: How to remove max hp bonus:char_item.cpp in \game\src Search: case ITEM_AUTO_SP_RECOVERY_X: isSpecialPotion = true; set it to false or scroll down and search: if (true == isSpecialPotion) { if (type == AFFECT_AUTO_HP_RECOVERY) { bonus = POINT_MAX_HP_PCT; } else if (type == AFFECT_AUTO_SP_RECOVERY) { bonus = POINT_MAX_SP_PCT; } } delete/comment Also, your fast health recovery bug is in the same file (char_item.cpp) - or db item_proto values Search: PointChange + POINT_HP Good luck! I did understand your first part of turning true to false but why delete that function (exist twice) And for this part:Also, your fast health recovery bug is in the same file (char_item.cpp) - or db item_proto values When search i do what ? And thank you very much for responding My only accounts are here and on M2D, Don't trust anyone else from other shitty sites. Link to comment Share on other sites More sharing options...
Nirray 192 Posted September 18, 2018 Share Posted September 18, 2018 58 minutes ago, MrQuin said: I did understand your first part of turning true to false but why delete that function (exist twice) And for this part:Also, your fast health recovery bug is in the same file (char_item.cpp) - or db item_proto values When search i do what ? And thank you very much for responding I said "or" (there's no need to delete it if you already set true to false but I've also told you where the max health bonus occurs in the source code). For the second part I meant something like "do it yourself" but nevermind. Post here your char_item.cpp in code tag and item_proto lines of those vnums from DB: ITEM_AUTO_HP_RECOVERY_S = 72723, ITEM_AUTO_HP_RECOVERY_M = 72724, ITEM_AUTO_HP_RECOVERY_L = 72725, ITEM_AUTO_HP_RECOVERY_X = 72726, ITEM_AUTO_SP_RECOVERY_S = 72727, ITEM_AUTO_SP_RECOVERY_M = 72728, ITEM_AUTO_SP_RECOVERY_L = 72729, ITEM_AUTO_SP_RECOVERY_X = 72730, then I could help you again I completely abandoned working on the files for this game. I do not respond to private messages. Link to comment Share on other sites More sharing options...
Contributor MrQuin 6409 Posted September 18, 2018 Author Contributor Share Posted September 18, 2018 14 minutes ago, Nirray said: I said "or" (there's no need to delete it if you already set true to false but I've also told you where the max health bonus occurs in the source code). For the second part I meant something like "do it yourself" but nevermind. Post here your char_item.cpp in code tag and item_proto lines of those vnums from DB: ITEM_AUTO_HP_RECOVERY_S = 72723, ITEM_AUTO_HP_RECOVERY_M = 72724, ITEM_AUTO_HP_RECOVERY_L = 72725, ITEM_AUTO_HP_RECOVERY_X = 72726, ITEM_AUTO_SP_RECOVERY_S = 72727, ITEM_AUTO_SP_RECOVERY_M = 72728, ITEM_AUTO_SP_RECOVERY_L = 72729, ITEM_AUTO_SP_RECOVERY_X = 72730, then I could help you again I'll PM it to you .. My only accounts are here and on M2D, Don't trust anyone else from other shitty sites. Link to comment Share on other sites More sharing options...
Contributor MrQuin 6409 Posted September 20, 2018 Author Contributor Share Posted September 20, 2018 #Up for more suggestions My only accounts are here and on M2D, Don't trust anyone else from other shitty sites. Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now