Log in

View Full Version : Inspect buffs without group


lordnivek1
03-31-2015, 09:33 PM
Is there any way to make it so I can use the group AA skill inspect buff without being in a group of three?

Drajor
04-03-2015, 11:59 AM
This is untested, however this (https://github.com/EQEmu/Server/blob/master/zone/client_packet.cpp#L12859) is where the condition is checked for group members being 3 or more. Change > 2 to > 1 and see what happens.

demonstar55
04-03-2015, 12:15 PM
If you mean the NPC's buffs showing up in the target window you can make that change, but if you mean the /command then you're out of luck since the client has checks.

lordnivek1
04-03-2015, 05:43 PM
If you mean the NPC's buffs showing up in the target window you can make that change, but if you mean the /command then you're out of luck since the client has checks.


yes I just want to make it so i can actually see the mobs buffs/debuffs in the target window without having to be in a group on my sever.

This is untested, however this (https://github.com/EQEmu/Server/blob/master/zone/client_packet.cpp#L12859) is where the condition is checked for group members being 3 or more. Change > 2 to > 1 and see what happens.

Thank you I will look at this when I get some time here this weekend

lordnivek1
06-07-2015, 11:11 AM
Has anyone had any luck with this? Nothing I have tried has worked. All I want is to be able to see the dots/debuffs that my necro casts on mobs without having to be in a group lol.

lordnivek1
06-07-2015, 03:15 PM
This is what is in the aa.cpp I am guessing since it is noted and never been fixed that no one has been able to rewrite this to get it working.


void Client::InspectBuffs(Client* Inspector, int Rank)
{
// At some point the removed the restriction of being a group member for this to work
// not sure when, but the way it's coded now, it wouldn't work with mobs.
if (!Inspector || Rank == 0)
return;

EQApplicationPacket *outapp = new EQApplicationPacket(OP_InspectBuffs, sizeof(InspectBuffs_Struct));
InspectBuffs_Struct *ib = (InspectBuffs_Struct *)outapp->pBuffer;

uint32 buff_count = GetMaxTotalSlots();
uint32 packet_index = 0;
for (uint32 i = 0; i < buff_count; i++) {
if (buffs[i].spellid == SPELL_UNKNOWN)
continue;
ib->spell_id[packet_index] = buffs[i].spellid;
if (Rank > 1)
ib->tics_remaining[packet_index] = spells[buffs[i].spellid].buffdurationformula == DF_Permanent ? 0xFFFFFFFF : buffs[i].ticsremaining;
packet_index++;
}

Inspector->FastQueuePacket(&outapp);
}

demonstar55
06-07-2015, 08:07 PM
That's not the same thing. (Same LAA, different effect)

lordnivek1
06-07-2015, 08:31 PM
That's not the same thing. (Same LAA, different effect)

So is there any way to to make it so I can always see the buffs in the target window at all times?

demonstar55
06-07-2015, 10:30 PM
I pushed code to support this.

lordnivek1
06-08-2015, 08:09 AM
That is awesome!! Thank you very much for your help with this.

lordnivek1
06-08-2015, 08:49 PM
I am still not able to get this to work. I did a new git pull, recompiled server with no problems, added the rule into the database in mysql, changed the rule id_set to 10 (i use 10 instead of 1 for my server), changed the rule from false to true(tried it with false also). still cant see buffs/dots/debuffs or anything on mobs. Did I do something wrong or miss something?

lordnivek1
06-10-2015, 11:47 AM
I pushed code to support this.

Maybe I miss under stood what this meant. I was thinking that having buffs always show up was implemented, but after rereading maybe Demonstar55 just added code to make it possible to code in the ability.

demonstar55
06-10-2015, 01:33 PM
Turn the rule on, target a mob, should be able to see his buffs/debuffs if he has any.

lordnivek1
06-10-2015, 01:41 PM
Turn the rule on, target a mob, should be able to see his buffs/debuffs if he has any.

Hmm I can still only see buffs/debuffs with three people in my group but not when I am solo. I even make a brand new server to see if that would help. Well I guess I will keep playing with it then and try and figure out what I am doing wrong. Thank you very much for taking the time to reply and add the code.

rencro
06-11-2015, 12:19 AM
Slight bug in the code, need to change the Rule in the table from:


INSERT INTO `rule_values` (`ruleset_id`, `rule_name`, `rule_value`, `notes`) VALUES (1, 'Spells:AlwaysSendTargetBuffs', 'false', 'Allows the server to send the targets buffs ignoring the LAA.');


to


INSERT INTO `rule_values` (`ruleset_id`, `rule_name`, `rule_value`, `notes`) VALUES (1, 'Spells:AlwaysSendTargetsBuffs', 'false', 'Allows the server to send the targets buffs ignoring the LAA.');



Notice the extra needed s in there. Stop your server, update the rule in the db also set to true, restart server, and you should be golden..

lordnivek1
06-11-2015, 07:14 AM
Slight bug in the code, need to change the Rule in the table from:


INSERT INTO `rule_values` (`ruleset_id`, `rule_name`, `rule_value`, `notes`) VALUES (1, 'Spells:AlwaysSendTargetBuffs', 'false', 'Allows the server to send the targets buffs ignoring the LAA.');


to


INSERT INTO `rule_values` (`ruleset_id`, `rule_name`, `rule_value`, `notes`) VALUES (1, 'Spells:AlwaysSendTargetsBuffs', 'false', 'Allows the server to send the targets buffs ignoring the LAA.');



Notice the extra needed s in there. Stop your server, update the rule in the db also set to true, restart server, and you should be golden..

Yes this fixed it. Thank you so much. I was pulling what little hair I have left out trying to get this to work lol.

rencro
06-13-2015, 11:28 AM
This still needs to be updated on the repo, can someone with push verify this and commit.


diff --git a/utils/sql/git/optional/2015_06_07_SpellsTargetBuffsRule.sql b/utils/sql/git/optional/2015_06_07_SpellsTargetBuffsRule.sql
index 1dcc9d9..c5dc9c2 100644
--- a/utils/sql/git/optional/2015_06_07_SpellsTargetBuffsRule.sql
+++ b/utils/sql/git/optional/2015_06_07_SpellsTargetBuffsRule.sql
@@ -1 +1 @@
-INSERT INTO `rule_values` (`ruleset_id`, `rule_name`, `rule_value`, `notes`) VALUES (1, 'Spells:AlwaysSendTargetBuffs', 'false', 'Allows the server to send the targets buffs ignoring the LAA.');
+INSERT INTO `rule_values` (`ruleset_id`, `rule_name`, `rule_value`, `notes`) VALUES (1, 'Spells:AlwaysSendTargetsBuffs', 'false', 'Allows the server to send the targets buffs ignoring the LAA.');

rencro
06-14-2015, 12:06 PM
Guess not..