and again a little bit of me

    Share
    avatar
    xlinkinx

    Posts : 164
    Join date : 2012-12-11
    Age : 25

    and again a little bit of me

    Post  xlinkinx on 1st November 2013, 12:12

    a quick look at the code will return results.

    1. dead player can not throw Trade (TradeRequest.java )
    2. while fishing the player can not throw Trade (TradeRequest.java)
    3. on off during the siege at the door seen hp, if no osdy then hp is not visible (DoorInfo.java)
    4. on off can not enchant while running (RequestEnchantItem.java)
    5. Hero on the official server must be taken at the monument
    6. Statistics Olympiad not off, so I can not explain because of the translation, but I think if you give the code would be clearer:
    Code:
    --- /gameserver/head-src/com/l2jоther/gameserver/model/entity/olympiad/Olympiad.java (revision 83)
    +++ /gameserver/head-src/com/l2jоther/gameserver/model/entity/olympiad/Olympiad.java (revision 84)
    @@ -79,4 +79,5 @@
     private static final String OLYMPIAD_GET_HEROS = "SELECT char_id, char_name from " + "olympiad_nobles where class_id = ? and competitions_done >= 9 order by " + "olympiad_points desc, competitions_done desc";
     private static final String GET_EACH_CLASS_LEADER = "SELECT char_name from " + "olympiad_nobles where class_id = ? order by olympiad_points desc, " + "competitions_done desc";
    + private static final String GET_EACH_CLASS_LEADER_A = "SELECT char_name from " + "olympiad_nobles where class_id = ? order by char_name";
     private static final String OLYMPIAD_DELETE_ALL = "DELETE from olympiad_nobles";
     private static final int[] HERO_IDS =
    @@ -1328,5 +1329,6 @@
     PreparedStatement statement;
     ResultSet rset;
    - statement = con.prepareStatement(GET_EACH_CLASS_LEADER);
    + statement = con.prepareStatement(GET_EACH_CLASS_LEADER_A);
    + if (_period == 1) statement = con.prepareStatement(GET_EACH_CLASS_LEADER);
     statement.setInt(1, classId);
     rset = statement.executeQuery();

    7. Heal restores hee should only up to a maximum ie ful hp and healing will 0 hp
    Code:
    --- /gameserver/head-src/com/l2jоther/gameserver/handler/skillhandlers/Heal.java (revision 1)
    +++ /gameserver/head-src/com/l2jоther/gameserver/handler/skillhandlers/Heal.java (revision 5)
    @@ -121,4 +121,9 @@
     else if(skill.getSkillType() != SkillType.HEAL_PERCENT)
     hp *= target.calcStat(Stats.HEAL_EFFECTIVNESS, 100, null, null) / 100;
    +
    + if (hp + target.getCurrentHp() >= target.getMaxHp())
    +      {
    +        hp = target.getMaxHp() - target.getCurrentHp();
    +      }

    target.setCurrentHp(hp + target.getCurrentHp());

    DnR
    Admin
    Admin

    Posts : 994
    Join date : 2012-12-03

    Re: and again a little bit of me

    Post  DnR on 3rd November 2013, 11:57

    3. As far as i know, door HP used to be always visible in C4.
    4. Never heard of such thing. :S
    5. Not confirmed.
    6. So, you tell me that once heroes are formed, ranking is done alphabetically.
    That's what your patch does.
    7. NOT C4 feature.
    avatar
    xlinkinx

    Posts : 164
    Join date : 2012-12-11
    Age : 25

    Re: and again a little bit of me

    Post  xlinkinx on 3rd November 2013, 13:19

    DnR wrote:3. As far as i know, door HP used to be always visible in C4.
    4. Never heard of such thing. :S
    5. Not confirmed.
    6. So, you tell me that once heroes are formed, ranking is done alphabetically.
    That's what your patch does.
    7. NOT C4 feature.
    3. I checked and you are right at the door is always visible xn
    4. I made a mistake it is not off and on Java doing so would reduce the problem
    5. I think this is more rasmotret time unnecessarily heal until I checked at the door and hp 2 players took Hiro at the monument
    6. you're right
    7. and here, too, right

    Sponsored content

    Re: and again a little bit of me

    Post  Sponsored content


      Current date/time is 23rd August 2017, 03:37