← sources

I trained a PPO agent to farm the Pit in D2R

source: reddit (reddit:reinforcementlearning)published 2026-10-25 10:25ingested 2026-10-26 02:39

retained text

been a while! here's what i've been up to: a ppo agent that farms the pit in d2r (offline, hell, warlock)

trained it in a headless sim i wrote in rust. this version took about 20 min on one cpu, warm started from a net i had for an older build.

reward is just farming rate: -1 per second, + whatever kills and items are worth, -1000 if it dies. i had a level clear bonus at first but dropped it.

net size: \~475k params

ask me whatever

  
no plans to use this online, i just think rl is fun and wanted to try it.

document fetched 2026-10-26 00:35 · canonical https://reddit.com/r/reinforcementlearning/comments/1xeyuw4/i_trained_a_ppo_agent_to_farm_the_pit_in_d2r