Skip to content

Commit

Permalink
Remove original run.py, rewrite readme and update start.bat
Browse files Browse the repository at this point in the history
  • Loading branch information
Pazdikan committed Sep 17, 2024
1 parent be98f3c commit fff1717
Show file tree
Hide file tree
Showing 3 changed files with 52 additions and 238 deletions.
66 changes: 51 additions & 15 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,43 @@
> [!WARNING]
> This script is designed for 1920x1080 display. If you are using a higher resolution display please set it to 1920x1080 in windows' display settings.
# AFK Script for Dead by Daylight

This script is designed to automatically farm XP and a few bloodpoints while avoiding detection:

- **Anti-AFK Proof**: Ensures consistent actions to prevent AFK kicks.
- **Banner-Proof**: Handles cases where survivors disconnect during loading screens.
- **Killer Behaviors**: Implements various killer strategies to maximize bloodpoints gain.
- **XP Gain**: Achieves up to 4000 XP per hour (excluding queue times).
- **Configurable Settings**: Includes settings for customization (more to come).
- **Testing Results**: Tested for 5 hours, yielding ~11,000 XP (queue times took half of that).




## Statistics

(still gathering)

| | Per game | Per hour (in-game) |
|-------------------------|----------|--------------------|
| XP (ex. 1st game bonus) | | |
| Bloodpoints as OTHER | | |
| Bloodpoints as TRAPPER | | |


## Behaviors

All killers follow a basic movement pattern by moving back and forth. This helps bypass the anti-AFK system introduced by BHVR, which disconnects you from the game if no movement is detected. You can still interact with survivors (e.g., hit them), but without any movement, after the game ends you'll be treated like you disconnected (no xp, and matchmaking ban).


| Killer | Actions |
|---------|--------------------------------|
| TRAPPER | - Placing and picking up traps |

# An AFK Script for Dead by Daylight

## Setup

> [!WARNING]
> This script is designed for 1920x1080 display. If you are using a higher resolution display please set it to 1920x1080 in windows' display settings.
1. Download and unpack this repository
2. Install python 3.11+
3. Install python requirements (setup.bat, first time only):
Expand All @@ -15,18 +49,20 @@ pip install -r requirements.txt
python run.py
```

## Features
- [X] Queueing
- [X] Attacking
- [X] Random Movement
- [X] Statistics
- [X] Different behaviour for different killers (for bloodpoints)
- [ ] Settings (ui + saving)

## Settings

You can configure the script's behavior in the `src/config.py` file.

| Variable | Description | Values |
|-------------|----------------------------------------------------------|----------------|
| killer | Select the killer you're using (with custom behavior) | OTHER, TRAPPER |
| xp_limit | Script will exit after gaining this much XP | 0 to disable |
| games_limit | Script will exit after playing this many games | 0 to disable |


## Bans

# Behaviors
All killers walk forward-backward and attack. Some time ago BHVR added an anti-afk system which make you "DC" after the game (so you won't get xp and bloodpoints). You can even hit survivors, but if you didn't move an inch you will get kicked.
There's no widespread evidence of players getting banned for AFK farming. Survivors often benefit from it as well (through healing, totems, etc.).

| Killer | Actions |
|-|-|
| <img src=".github/TheTrapper.webp" alt="drawing" width="150"/> | - Placing and picking up traps<br>
However, **I am not responsible for any bans** that may occur.
221 changes: 0 additions & 221 deletions run.py

This file was deleted.

3 changes: 1 addition & 2 deletions start.bat
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
pip install -r requirements.txt
python run.py
python src/main.py

0 comments on commit fff1717

Please sign in to comment.