luizadauto / aionxemu

Automatically exported from code.google.com/p/aionxemu
6 stars 6 forks source link

[Core][146] Distance for skills #23

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Hi devs. When i try use skill what i can use from 15m its say me "target too 
far" i need made 1 step closer and i can use this skill fine. Then its problem 
for many skills. Looks like its global for skills. Its problem because when you 
use close range meele skills got always "target too far" error.

How i test? Game show you your distance in game to target. For example this 
skill http://www.aionarmory.com/spell.aspx?id=176

Aim to target on far distance like 17m. Push attack with this skill, you going 
to closer and attack. Check distance = 14 m. When you step back to 15 m error 
"far target" 

Hard play close combat because 1 m its alot fot meele attacks.

Tnx

Original issue reported on code.google.com by to...@mail.com on 7 Mar 2011 at 8:20

GoogleCodeExporter commented 8 years ago
In FirstTargetRangeProperty.java try increasing the distance tolerance value 
slightly.
[code]
Index: FirstTargetRangeProperty.java
===================================================================
--- FirstTargetRangeProperty.java   (revision 150)
+++ FirstTargetRangeProperty.java   (working copy)
@@ -67,7 +67,7 @@
             }
         }
         //tolerance
-        distance += 1.5;
+        distance += 2;

         //testing new firsttargetrangeproperty
         if ((float) (MathUtil.getDistance(effector, firstTarget)) <= distance) {
[/code]

Original comment by ZeroSign...@gmail.com on 10 Mar 2011 at 3:37

Attachments:

GoogleCodeExporter commented 8 years ago

Original comment by ZeroSign...@gmail.com on 10 Mar 2011 at 4:04

GoogleCodeExporter commented 8 years ago
Hm.. thank you for help i test it. Strange you not add this fix to trunk, why? 
:)

Original comment by to...@mail.com on 10 Mar 2011 at 11:34

GoogleCodeExporter commented 8 years ago
I change to 2.5, not help, still problem.

Original comment by to...@mail.com on 11 Mar 2011 at 8:58

GoogleCodeExporter commented 8 years ago
i try change for 5m and what i see, looks like we miss :) Because i try use 
skill ID-169 you going to 0m to target and use it.
Second if you use skills from far distance you going to 0m and dont use skill 
need push it again. Then all time need push skills twice. Same for ranger 
skills too.

Original comment by to...@mail.com on 11 Mar 2011 at 9:45

GoogleCodeExporter commented 8 years ago
Can someone else verify that this is actually a Server issue? It sounds like 
the same bug retail has.

Original comment by ZeroSign...@gmail.com on 15 Mar 2011 at 5:14

GoogleCodeExporter commented 8 years ago
Dont know how ppl playing with this bugs and not report...

Original comment by to...@mail.com on 16 Mar 2011 at 5:43

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
my feedback about this :

I have this bug (saying target is too far away) but only in 1 case :
When using auto-move to mob on casting and only 1 times

Example from my gladiator :
- I'm at 20m
- cast the 17m skill : my char approach the mob to 16m, stop, and say it is too 
far away
- cast again and the skill work

Now if I move manually to 17m, and the cast the skill : there isn't any problem

This "bug" isn't really a probleme for player like me that spam skill until it 
is cast ;)

But It can be a serious pb for those using macro with automove ..

regards

Original comment by simeria2...@gmail.com on 19 Mar 2011 at 10:42

GoogleCodeExporter commented 8 years ago

Original comment by ZeroSign...@gmail.com on 23 Mar 2011 at 5:10

GoogleCodeExporter commented 8 years ago

Original comment by ZeroSign...@gmail.com on 30 Mar 2011 at 4:40

GoogleCodeExporter commented 8 years ago
Some checks in the class Mathui should be done . 

Original comment by unkm...@gmail.com on 25 Jan 2013 at 6:04