L2-scripts Форум

L2-scripts Форум (http://l2-scripts.ru/forum/index.php)
-   Archive Lindvior, Ertheia, Odyssey, Undergeround, Helios, Grand Crusade (http://l2-scripts.ru/forum/forumdisplay.php?f=103)
-   -   [CORE]Shield defense still not working from all direction (http://l2-scripts.ru/forum/showthread.php?t=3954)

boulanger 04.11.2013 21:26

[CORE]Shield defense still not working from all direction
 
shield defense is wrong... it have succeess at all sides exept from back who have 0% succeess, and the shield defense is stuck on 90% with or without aura and focus shield...

iqman 06.11.2013 00:04

Не работает блокировка щитом со всех направлений (есть такие скилы которые дают защиту 360 градусов не пашет)

Core 10.12.2013 13:28

I checked this with debug in server. Its working (Checked skills: 318 Aegis Stance, 316 Aegis)! Get skill ID's where this dont working.

boulanger 17.12.2013 04:02

From behind with no shield defence 1898 dmg

http://img4.hostingpics.net/pics/210284Shot00010.png

http://img4.hostingpics.net/pics/587850Shot00011.png

and here from the front with shield defence working 1339 damage


http://img4.hostingpics.net/pics/576633Shot00012.png

http://img4.hostingpics.net/pics/996693Shot00014.png

boulanger 17.12.2013 15:59

and here is the code from positionutils, maybe i am wrong in the below examples, but for sure the 360 degree shield defense is not working, in game with geodata enabled on live server, players complain for 3 months allready and tested also. please check positionutils class.

Цитата:

ublic class PositionUtils
{
private static final int MAX_ANGLE = 360;
private static final double FRONT_MAX_ANGLE = 100.0D;
private static final double BACK_MAX_ANGLE = 40.0D;
is clear max angle from fron is 100, not 180 and back only 40 not 180 , to make total 360, maybe i am wrong but please recheck, clearly this is not working for no one in game (live server using geodata).

Код:

public static int convertDegreeToClientHeading(double degree)
  {
    if (degree < 0.0D)
      degree = 360.0D + degree;
    return (int)(degree * 182.04444444399999D);
  }


boulanger 21.12.2013 00:57

video proof also , no 360 shield defense no matter the skill

http://www.youtube.com/watch?v=w_fPo...ature=youtu.be

boulanger 10.02.2014 21:02

please fix this players complain about this for 4 months, in tauti was working, in lindvior is not!

360 degrees shield defense not work!

iqman 16.02.2014 22:42

fixed the hard way. There's no need to calc the angle if it's 360 degrees, therefore I've added a note in the code if the max angle is 360 (like from everywhere) he will be always facing the target.


Часовой пояс GMT +4, время: 19:47.

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd. Перевод: zCarot