• Visit Rebornbuddy
  • [Plugin] Chicken based on TCP Disconnect

    Discussion in 'Archives' started by Heilmann, Dec 25, 2017.

    1. Heilmann

      Heilmann Member Legendary

      Joined:
      Feb 7, 2010
      Messages:
      60
      Likes Received:
      3
      Trophy Points:
      8
      Hello Community,

      Since the ESC and Logout killed me many times, I've decided to implement a TCP Disconnect. This method of disconnecting is the fastest way to disconnect PoE, as far as I know. Even faster than using Currports.

      Most of the code is from PoEHUD/AutoQuit, they took the code from lutbot. All credits go to Lutcikaur (http://lutbot.com/#/).

      Introductions: Make sure that you run Exilebuddy as Administrator!

      If you have problems, check the log file for the following entry:
      Good - [Chicken] SetTcpEntry. Return-Value: "0".
      Bad - [Chicken] SetTcpEntry. Return-Value: "317". --> Run Exilebuddy as Administrator!

      I'm not a developer, I'm doing this for fun, code could be messed up.

      Kind Regards
      Heilmann
       

      Attached Files:

      Last edited: Dec 27, 2017
      tofm and dirin like this.
    2. kuskner

      kuskner Member

      Joined:
      Oct 12, 2013
      Messages:
      529
      Likes Received:
      2
      Trophy Points:
      18
      I get Bad - [Chicken] SetTcpEntry. Return-Value: "317". How do I fix it?
       
    3. Heilmann

      Heilmann Member Legendary

      Joined:
      Feb 7, 2010
      Messages:
      60
      Likes Received:
      3
      Trophy Points:
      8
      Run Exilebuddy as Administrator.
       
    4. kuskner

      kuskner Member

      Joined:
      Oct 12, 2013
      Messages:
      529
      Likes Received:
      2
      Trophy Points:
      18
      thanks my bad
       
    5. Biffin

      Biffin New Member

      Joined:
      Sep 11, 2012
      Messages:
      5
      Likes Received:
      0
      Trophy Points:
      1
      dont work for me, i start EB in admin mode but wont chicken out when under the hp%. any clue what it can be?
       
    6. demonviper

      demonviper Active Member

      Joined:
      Apr 8, 2014
      Messages:
      536
      Likes Received:
      56
      Trophy Points:
      28
      Can confirm this is amazing and works well thanks!
       
    7. dirin

      dirin Member

      Joined:
      May 16, 2014
      Messages:
      55
      Likes Received:
      1
      Trophy Points:
      8
      I don't die often, but when I do it's usually 5% from leveling. I'll give this a shot and see how it works! Running as administrator now. Thanks a lot for the contribution!!
       
    8. Heilmann

      Heilmann Member Legendary

      Joined:
      Feb 7, 2010
      Messages:
      60
      Likes Received:
      3
      Trophy Points:
      8
      Please check the log file and look for the [Chicken] message or upload your log.
       
    9. dirin

      dirin Member

      Joined:
      May 16, 2014
      Messages:
      55
      Likes Received:
      1
      Trophy Points:
      8
      Not working. It says it's going to chicken then proceeds to where it was normally going. Some examples (I'm running as Admin.)

      2018-01-01 13:39:54,639 [25] WARN Logger - [Chicken] Now chickening because our HP (2%) is below threshold (25%)
      2018-01-01 13:39:54,662 [25] INFO Logger - [Logic] Now moving towards {1452, 2312} because [dist (36) > MaxRangeRange (35)]
      ------
      2018-01-01 13:40:42,791 [25] WARN Logger - [Chicken] Now chickening because our HP (12%) is below threshold (25%)
      2018-01-01 13:40:42,846 [25] INFO Logger - [Logic] Now moving towards the monster Well Creeper because [canSee: False][pathDistance: 8.496977][blockedByDoor: False]
      ------
      2018-01-01 14:08:40,227 [25] WARN Logger - [Chicken] Now chickening because our HP (15%) is below threshold (25%)
      2018-01-01 14:08:40,259 [25] INFO Logger - [Logic] Now moving towards the monster Prayer Guard because [canSee: False][pathDistance: 30.13256][blockedByDoor: False]
      ------
      2018-01-01 14:12:16,720 [25] WARN Logger - [Chicken] Now chickening because our HP (15%) is below threshold (25%)
      2018-01-01 14:12:16,786 [25] WARN Logger - [Chicken] Now chickening because our HP (18%) is below threshold (25%)
      2018-01-01 14:12:16,843 [25] INFO Logger - [UpdateObstacles] Update => Success
      2018-01-01 14:12:16,847 [25] WARN Logger - [Chicken] Now chickening because our HP (20%) is below threshold (25%)
      2018-01-01 14:12:16,900 [25] WARN Logger - [Chicken] Now chickening because our HP (23%) is below threshold (25%)
      2018-01-01 14:12:17,017 [25] INFO Logger - [UpdateObstacles] Update => Success
      2018-01-01 14:12:18,032 [25] INFO Logger - [UpdateObstacles] Update => Success
      2018-01-01 14:12:18,723 [25] DEBUG Logger - [FinishCurrentAction][True] Waited 0 ms for the action to finish Cyclone.
       
    10. Heilmann

      Heilmann Member Legendary

      Joined:
      Feb 7, 2010
      Messages:
      60
      Likes Received:
      3
      Trophy Points:
      8
      Hello dirin,

      The user Biffin has the same problem. I've send him a new version with more log messages, currently I don't know why this is happening.

      https://mega.nz/#!vF8zVSZZ!hly0OAWNEumWV9FYV96TCIFz9MU7jbnGyOFoB9fZGEQ
      Download this version and post the log. Maybe it is related to UAC, but I don't know.

      Kind Regards
      Heilmann
       
    11. Skuz76

      Skuz76 Member

      Joined:
      Dec 28, 2015
      Messages:
      71
      Likes Received:
      1
      Trophy Points:
      8
      Can we disconnect under 70% ES? the higher i can actually is 50% ES
       
    12. Pachi

      Pachi Member

      Joined:
      May 31, 2011
      Messages:
      117
      Likes Received:
      9
      Trophy Points:
      18
      the reason why this is not working for certain people as it was not working for me is because we are using the steam client, edit this line.
      Process[] processes = Process.GetProcessesByName("PathOfExile"); <-- stand-alone client
      Process[] processes = Process.GetProcessesByName("PathOfExileSteam"); <-- steam client
       

    Share This Page