yagokurt 84 Posted June 18, 2015 Share Posted June 18, 2015 Hi, i'm having a strange bug with the energy system. If i use an energy crystal and then use a mount the bonus just get double, and even after remove all my armor i still having the bugged effect. Someone have any clue how i could fix it? I'm using a self-compiled game. Here is an video with an example. Link to comment Share on other sites More sharing options...
Active Member Koray 1994 Posted June 18, 2015 Active Member Share Posted June 18, 2015 I think this bug due from mount so is not energy Try this Find pc_mount_bonus function in questlua_pc.cpp if( NULL != ch ) { ch->RemoveAffect(AFFECT_MOUNT_BONUS); ch->AddAffect(AFFECT_MOUNT_BONUS, aApplyInfo[applyOn].bPointType, value, AFF_NONE, duration, 0, false); } Replace if(ch) { if (!ch->GetMountVnum()) return 0; ch->RemoveAffect(AFFECT_MOUNT_BONUS); ch->AddAffect(AFFECT_MOUNT_BONUS, aApplyInfo[applyOn].bPointType, value, AFF_NONE, duration, 0, false); } Link to comment Share on other sites More sharing options...
yagokurt 84 Posted June 18, 2015 Author Share Posted June 18, 2015 (edited) I think this bug due from mount so is not energy Try this Find pc_mount_bonus function in questlua_pc.cpp if( NULL != ch ) { ch->RemoveAffect(AFFECT_MOUNT_BONUS); ch->AddAffect(AFFECT_MOUNT_BONUS, aApplyInfo[applyOn].bPointType, value, AFF_NONE, duration, 0, false); } Replace if(ch) { if (!ch->GetMountVnum()) return 0; ch->RemoveAffect(AFFECT_MOUNT_BONUS); ch->AddAffect(AFFECT_MOUNT_BONUS, aApplyInfo[applyOn].bPointType, value, AFF_NONE, duration, 0, false); } Hi, the problem happen even using the command "/mount_test ID" then should be on the quest commands. Sure? But i'm going to try it. Edited June 18, 2015 by yagokurt Link to comment Share on other sites More sharing options...
Active Member Koray 1994 Posted June 18, 2015 Active Member Share Posted June 18, 2015 I think this bug due from mount so is not energy Try this Find pc_mount_bonus function in questlua_pc.cpp if( NULL != ch ) { ch->RemoveAffect(AFFECT_MOUNT_BONUS); ch->AddAffect(AFFECT_MOUNT_BONUS, aApplyInfo[applyOn].bPointType, value, AFF_NONE, duration, 0, false); } Replace if(ch) { if (!ch->GetMountVnum()) return 0; ch->RemoveAffect(AFFECT_MOUNT_BONUS); ch->AddAffect(AFFECT_MOUNT_BONUS, aApplyInfo[applyOn].bPointType, value, AFF_NONE, duration, 0, false); } Hi, the problem happen even using the command "/mount_test ID" then should be on the quest commands. Sure? But i'm going to try it. Because mount affect values not correct calculated Link to comment Share on other sites More sharing options...
yagokurt 84 Posted June 18, 2015 Author Share Posted June 18, 2015 (edited) I think this bug due from mount so is not energy Try this Find pc_mount_bonus function in questlua_pc.cpp if( NULL != ch ) { ch->RemoveAffect(AFFECT_MOUNT_BONUS); ch->AddAffect(AFFECT_MOUNT_BONUS, aApplyInfo[applyOn].bPointType, value, AFF_NONE, duration, 0, false); } Replace if(ch) { if (!ch->GetMountVnum()) return 0; ch->RemoveAffect(AFFECT_MOUNT_BONUS); ch->AddAffect(AFFECT_MOUNT_BONUS, aApplyInfo[applyOn].bPointType, value, AFF_NONE, duration, 0, false); } Hi, the problem happen even using the command "/mount_test ID" then should be on the quest commands. Sure? But i'm going to try it. Because mount affect values not correct calculated Well, dont work. And isnt mount affect. If i havent energy activated this dont happen. It make duble the energy effect. Edited June 18, 2015 by yagokurt Link to comment Share on other sites More sharing options...
yagokurt 84 Posted June 22, 2015 Author Share Posted June 22, 2015 BUMP! Link to comment Share on other sites More sharing options...
Aerrow 41 Posted May 3, 2019 Share Posted May 3, 2019 On 6/18/2015 at 5:45 PM, Koray said: I think this bug due from mount so is not energy Nope, the problem within the energy system, not for the mounts. For example: get naked use the energy crystal (51002) equip a piece of equipment which has APPLY_ENERGY (18060-18069 has by default) equip for example your armor which has 2000 HP now start unequip and equip your belt -> your HP will start to decrease each time The problem probably within the calculation of the energy or something. Link to comment Share on other sites More sharing options...
Premium WeedHex 635 Posted May 3, 2019 Premium Share Posted May 3, 2019 Can be a bug from bonuslist python lol 1 1 Link to comment Share on other sites More sharing options...
Aerrow 41 Posted May 3, 2019 Share Posted May 3, 2019 Nope, it is a real bug. 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