/targetgroupbuff snippet
Add this to client.h
Code:
bool TGB() {return tgb;} Code:
#define OP_TargetGroupBuff 0x2042 In client_process.cpp, find case 0x2042: and replace that section with this: Code:
case OP_TargetGroupBuff: { Code:
case ST_Group: |
it works great on his WR server.
but one small problem, up on login, it shows 'Target Group Buff *ON*' .. eq live doesnt do that. |
Why is it a problem? Because Live doesnt do it? I wouldnt say thats a problem, I would call that a difference...
Thanks Wiz! |
That's not a major problem, nice to update the players that it's on so they can decide to turn it off if need be.
|
One minor thing I missed, bool tgb = true; needs to be declared in Client::Client, that's all.
|
I merged this in last night. Mind taking a look Wiz and verified I implemented it correctly? It will be out on CVS today.
Thanks |
It's implemented almost verbatim, i made some small changes.
tgb defaults to false (it's stored client side) and 2 is the tgb status requester. Bugs: Target can change while casting, (eg, tab) Target doesn't get buffed if not grouped. (caster gets hit twice) IPC can't cast group spells. |
Quote:
Haven't implemented a fix for buffing someone ungrouped yet. IPC? |
Interactive Player Character ... Bot :)
|
Quote:
|
This will fix the bug with ungrouped targets.
Code:
case ST_Group: |
All times are GMT -4. The time now is 03:13 PM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.