|
|
Thread Tools | Display Modes |
#1
|
|||
|
Archery (all ranged attacks?) non-functional near max range
Occasionally when you attempt to fire an arrow near whatever your maximum archery range is, the ranged attack hotkey will depress/gray out, but no arrow will fire. This is separate from the "Error: timer not up" message.
I'm not entirely sure what's causing the problem, but it seems that I've been able to replicate it on mobs with large hitboxes (dragons, giants, etc). Since a patch or two ago, it has become impossible to hit dragons at >300 range. | ||
Last edited by Ciroco; 08-29-2014 at 12:44 AM..
|
#2
|
|||
|
Yeah, it is annoying the way the server disagrees with the client on range calcs.
There's a similar issue with spells when Z-axis is involved, cast will happen and then get interrupted at end. | ||
#3
|
|||
|
The fact that you mentioned big mobs with large hitboxes made me think that the range calc is supposed to be "edge to edge" rather than "center to center". Fired up my test server and tried it out: yep, the ranged attack button will grey out at much further distances against bigger targets. Can grey it out at ~190 distance with a 100 range bow and 25 range arrow against a size 50 target (dragons are size 25).
I'm surprised if that wasn't figured out a long time ago. There's a comment in the EQEmu code that kind of hints at it... Code:
float range = RangeItem->Range + AmmoItem->Range + 5; //Fudge it a little, client will let you hit something at 0 0 0 when you are at 205 0 0 Can't necessarily be sure that this is actually classic and not something that was introduced in later clients... but it's a pretty fundamental thing so it probably wouldn't have changed since the early days. And it makes sense; avoids the situation where a short range throwing weapon can only hit a huge dragon from within melee range and such. | ||
#4
|
||||
|
Quote:
H
__________________
Haynar <Millennial Snowflake Utopia>
| |||
#5
|
|||
|
I assume it just adds the final range from the auto attack range calc on top or something like that. Will fiddle around with it a bit I guess.
| ||
#6
|
||||
|
Quote:
Pulling out whatever math you've got in Mob::CombatRange or equiv and slapping it on top of the bow + arrow ranges (or throwing whatever, didn't test that though) should be enough for a quick fix, probably. | |||
#7
|
|||
|
Will see if I can find the function in the client. Might be able to match it up exact.
H
__________________
Haynar <Millennial Snowflake Utopia>
| ||
#8
|
|||
|
The prettied-up dump I got looked like this... http://pastebin.com/vBShmVHc
Where "LoadAvatarHeight" returns size * 0.6f (confirmed through testing that each point of size difference is worth +0.6 range), and I suspect one of the two floats multiplied by "MultiMeleeRangeVars" is size again which would put the other typically in the vicinity of 1.2875... although it's not a constant so it may well vary (by race?). Dunno. | ||
#9
|
|||
|
That looks like decompiled client exe. I can use stuff in that to find it if its same in titanium.
H
__________________
Haynar <Millennial Snowflake Utopia>
| ||
#10
|
|||
|
I've had this problem for a while and it is pretty consistent. Easy to replicate by walking towards a mob and spamming bow... button will grey but arrow won't shoot, no arrow consumed but you have to wait for refresh on bow.
Let me know if I can provide anything to assist. | ||
Thread Tools | |
Display Modes | |
|
|