Thread Status:
Not open for further replies.
  1. kukelekuuk C͕̹̲̽ͪ͐ͩ̔L̜̦̝͈ͦ̿̾̿ḘA̻̗̤̳̐ͭ̆̿̃̑ͭN̊̓͑̇ͯ
    Builder ⛰️ Ex-EcoLeader ⚜️⚜️⚜️ Premium Upgrade

    Joined:
    May 25, 2011
    Messages:
    10,007
    Trophy Points:
    84,160
    Ratings:
    +6,910
    Right now the splash effect happens on hit. Which appears to be wildly inaccurate and plain annoying.
    It should be on damage, we need a feedback on damage. When a user isn't in spy we see them turn red. But we can't actually see if we damaged the spy user. We just see a shitton of splash potion effects, which doesn't help in the slightest.
     
  2. Jrg5978 Mayor
    Mayor ⛰️⛰️ Ex-Tycoon ⚜️⚜️⚜️

    Joined:
    Aug 14, 2012
    Messages:
    1,356
    Trophy Points:
    46,910
    Gender:
    Male
    Ratings:
    +627
  3. CosmOrigist Builder
    Builder ⛰️ Ex-Tycoon ⚜️⚜️⚜️

    Joined:
    Nov 8, 2012
    Messages:
    667
    Trophy Points:
    33,090
    Gender:
    Male
    Ratings:
    +438
  4. Dccciz Nicememer55
    Builder ⛰️ Ex-Tycoon ⚜️⚜️⚜️ Premium Upgrade

    Joined:
    Mar 8, 2013
    Messages:
    2,802
    Trophy Points:
    54,090
    EcoDollars:
    $0
    Ratings:
    +2,060
    +1 It's impossible to know if you're hitting someone if they have spy, unless they're wearing armor.
     
  5. alpert3925 Builder
    Builder ⛰️ Ex-EcoLeader ⚜️⚜️⚜️ Premium Upgrade

    Joined:
    Jun 17, 2012
    Messages:
    1,230
    Trophy Points:
    50,660
    Gender:
    Male
    Ratings:
    +1,086
    Also, this would prevent the potion effect before grace period which is extremely annoying. +1
     
  6. 7amoodw Electrical and Electronics Engineer
    ECC Sponsor Resident ⛰️ Ex-EcoLegend ⚜️⚜️⚜️⚜️ Prestige ⭐ IV ⭐ Premium Upgrade

    Joined:
    Mar 16, 2012
    Messages:
    3,405
    Trophy Points:
    97,160
    Ratings:
    +5,202
  7. amzy29 Builder
    Builder ⛰️ Ex-Tycoon ⚜️⚜️⚜️

    Joined:
    Apr 5, 2013
    Messages:
    131
    Trophy Points:
    30,390
    Gender:
    Male
    Ratings:
    +72
  8. DeMacca Builder
    Builder ⛰️ Ex-Mayor ⚒️⚒️

    Joined:
    Jan 22, 2014
    Messages:
    966
    Trophy Points:
    24,140
    Gender:
    Male
    EcoDollars:
    $0
    Ratings:
    +326
    +1



    Sent from my iPhone using Tapatalk
     
  9. donkey5k •| The Legendary Donkey |•
    Builder ⛰️ Ex-EcoLeader ⚜️⚜️⚜️ Premium Upgrade

    Joined:
    May 14, 2013
    Messages:
    1,581
    Trophy Points:
    52,510
    Gender:
    Male
    Ratings:
    +492
    +1 Helpful
     
  10. Original_Jackson ♕ Ecoleader ♕
    Builder ⛰️ Ex-EcoLeader ⚜️⚜️⚜️ Premium Upgrade

    Joined:
    Jul 5, 2013
    Messages:
    1,377
    Trophy Points:
    48,090
    Gender:
    Male
    Ratings:
    +901
    +1 I also notice quite often the spy user won't even take damage, especially if two people in spy are fighting eachother.
     
  11. knears2000 Builder
    Builder ⛰️ Ex-President ⚒️⚒️

    Joined:
    Jan 3, 2013
    Messages:
    4,010
    Trophy Points:
    50,590
    Gender:
    Male
    Ratings:
    +1,956
    In essence, their entire body turns red? That's how I always imagined it. +1
     
  12. 314 Irrational GameAdmin, former ServerAdmin
    EcoLegend ⛰️⛰️⛰️⛰️ Ex-President ⚒️⚒️ Prestige ⭐ VI ⭐ Premium Upgrade

    Joined:
    Apr 1, 2014
    Messages:
    7,010
    Trophy Points:
    101,160
    EcoDollars:
    $5,880,000
    Ratings:
    +4,919
  13. kukelekuuk C͕̹̲̽ͪ͐ͩ̔L̜̦̝͈ͦ̿̾̿ḘA̻̗̤̳̐ͭ̆̿̃̑ͭN̊̓͑̇ͯ
    Builder ⛰️ Ex-EcoLeader ⚜️⚜️⚜️ Premium Upgrade

    Joined:
    May 25, 2011
    Messages:
    10,007
    Trophy Points:
    84,160
    Ratings:
    +6,910
  14. KHobbits Builder
    Builder ⛰️ Ex-EcoLegend ⚜️⚜️⚜️⚜️ Premium Upgrade

    Joined:
    Aug 19, 2011
    Messages:
    238
    Trophy Points:
    51,290
    Gender:
    Male
    Ratings:
    +236
    Feel free to mock up the code change you want.

    Sent from my Nexus 5 using Tapatalk
     
  15. lexi731rocs_ Mayor
    Mayor ⛰️⛰️ Ex-EcoLegend ⚜️⚜️⚜️⚜️ Prestige ⭐ I ⭐

    Joined:
    Sep 4, 2013
    Messages:
    931
    Trophy Points:
    63,410
    Gender:
    Female
    Ratings:
    +669
    I like this idea, but we should keep it so you can see them turn red when they are hit (they as in /kit spy users).

    +1
     
  16. KHobbits Builder
    Builder ⛰️ Ex-EcoLegend ⚜️⚜️⚜️⚜️ Premium Upgrade

    Joined:
    Aug 19, 2011
    Messages:
    238
    Trophy Points:
    51,290
    Gender:
    Male
    Ratings:
    +236
    Just so you know, I'm not being flippant, I just have no idea what you actually want.

    Background info: the the splash effect is currently triggered by EntityDamageByEntityEvent and triggers at EventPriority.HIGHEST.
    The code double checks that both entities are players, and that the player being hit is invisible, is there some other stipulation that needs added?

    The purpose of the effect is to give you a rough idea of when you actually succeed at hitting the player, so you have a rough idea of the location of a invisible player.
     
  17. kukelekuuk C͕̹̲̽ͪ͐ͩ̔L̜̦̝͈ͦ̿̾̿ḘA̻̗̤̳̐ͭ̆̿̃̑ͭN̊̓͑̇ͯ
    Builder ⛰️ Ex-EcoLeader ⚜️⚜️⚜️ Premium Upgrade

    Joined:
    May 25, 2011
    Messages:
    10,007
    Trophy Points:
    84,160
    Ratings:
    +6,910
    Right now it gives a splash on hit, but not when damage is actually taken. I know it's in the entitydamagebyentity event, so maybe do some debugging and check if that event gets triggered even when damage is not dealt. (0 damage)
     
    #17 kukelekuuk, Jun 16, 2014
    Last edited: Jun 16, 2014
  18. KHobbits Builder
    Builder ⛰️ Ex-EcoLegend ⚜️⚜️⚜️⚜️ Premium Upgrade

    Joined:
    Aug 19, 2011
    Messages:
    238
    Trophy Points:
    51,290
    Gender:
    Male
    Ratings:
    +236
    Why would it be possible to hit but not deal damage...

    I've added:

    if (event.getDamage() < 1) { return; }

    See if that fixes the issue, the change will probably be applied next restart.
     
    #18 KHobbits, Jun 16, 2014
    Last edited: Jun 16, 2014
  19. knears2000 Builder
    Builder ⛰️ Ex-President ⚒️⚒️

    Joined:
    Jan 3, 2013
    Messages:
    4,010
    Trophy Points:
    50,590
    Gender:
    Male
    Ratings:
    +1,956
    Hmm, would it be possible to have the invisible user's body turn red instead of the splash potion. For example, they become visible for a second or two and they're just a light red. Would that be possible?
     
  20. KHobbits Builder
    Builder ⛰️ Ex-EcoLegend ⚜️⚜️⚜️⚜️ Premium Upgrade

    Joined:
    Aug 19, 2011
    Messages:
    238
    Trophy Points:
    51,290
    Gender:
    Male
    Ratings:
    +236
    While I have made the tweak in the post above, which could be considered a bug fix if it does anything, since the code is currently only supposed to show splashes on damage.

    In what situations would a player ever be hit, but not take damage? I'm not talking about client side glitches which cause client local particle effects, this splash damage is done when the server registers a hit. There should be no situations where a hit doesn't cause damage?

    Additionally if this does fix it, surely this is a bad thing, since it means it will be harder to find invisible players?
     
Thread Status:
Not open for further replies.