A forum for reporting bugs NOT related to custom plugins.
Moderator: MacroQuest Developers
-
devestator
- a ghoul

- Posts: 121
- Joined: Thu Feb 27, 2003 4:25 pm
Post
by devestator » Sun Jan 04, 2009 4:49 am
Everywhere I've tested it, it's reporting the same as ${Target.MaxRange}, MaxRange according to the wiki is the max range for the target to hit you, MaxRangeTo is the max range for you to hit the target.
Playing around with it some today, on one set of mobs it was reporting 75, but the actual max range that I could hit them from was closer to 30.
-
dont_know_at_all
- Developer

- Posts: 5450
- Joined: Sun Dec 01, 2002 4:15 am
- Location: Florida, USA
-
Contact:
Post
by dont_know_at_all » Sun Jan 04, 2009 4:52 am
Class?
Height?
Zone?
Mob?
Mob class?
Mob height?
-
NeroMorte
- decaying skeleton

- Posts: 2
- Joined: Thu Aug 23, 2007 9:12 pm
Post
by NeroMorte » Wed Mar 04, 2009 4:30 pm
I notice bigger model mobs report wrong MaxRangeTo.
Example im Doin:
/echo ${Math.Calc[${Target.Distance}]} > {Math.Calc[${Target.MaxRangeTo}]}
On Target: Lady Nevederia IN: TOV
Reports: 72.33 > 75.00
And i still cannot hit Dragon, The Real Max Range is 59 is where i can hit him.
if anyone has any idea how to maybe fix this let me know please it's bugging me real bad.
If more data is needed let me know what yea need.
-
dont_know_at_all
- Developer

- Posts: 5450
- Joined: Sun Dec 01, 2002 4:15 am
- Location: Florida, USA
-
Contact:
Post
by dont_know_at_all » Wed Mar 04, 2009 7:59 pm
We use a routine called get_melee_range() which is inside eqgame and is what the client uses to determine melee range. It looks right to me.
Are you doing anything special?
-
NeroMorte
- decaying skeleton

- Posts: 2
- Joined: Thu Aug 23, 2007 9:12 pm
Post
by NeroMorte » Wed Mar 04, 2009 8:19 pm
I Should probability mention that it's not working on EQEMU.
Thats where the problems are.
Was hoping i can Fix the Source Code to get it working, just not sure what to fix.
I think maybe #define __get_melee_range 0x46595A
opcode might be off alittle bit
-
di28889
- a hill giant

- Posts: 296
- Joined: Sat Jul 12, 2003 11:36 pm
Post
by di28889 » Wed Mar 04, 2009 8:59 pm
NeroMorte wrote:I Should probability mention that it's not working on EQEMU.
Thats where the problems are.
Was hoping i can Fix the Source Code to get it working, just not sure what to fix.
I think maybe #define __get_melee_range 0x46595A
opcode might be off alittle bit
EQEMU's not supported here sorry, only live non test
For those that are about to [url=http://www.di28889.com/posting.swf]POST[/url] a new topic befor USING SEARCH
http://www.di28889.com/posting.swf
-
Tangeleno
- a hill giant

- Posts: 193
- Joined: Fri Feb 20, 2004 6:00 pm
Post
by Tangeleno » Wed Mar 04, 2009 10:38 pm
I tend to have this problem on live with quite a few mobs, to fix it I just half the value it returns.