Dungeon loop trial: no dungeon without something to drink
Almost all level 15 autonomous players were short of money and went into dungeons with nothing to drink: a third of the runs' time went into waiting for their mana. From now on, they first earn enough through their quests to buy their drinks.
- Commit
- 820377b
- Build
- Build success · Target worldserver
The finding
Of the night's runs at Ragefire Chasm, only 3 out of 97 reached the end. Nearly a third of their time was spent waiting for the mana of a healer or caster with nothing to drink.
The reason: almost all autonomous players at level 15 and above were short of money, with less than 10 silver for 1,435 of 1,924. Having levelled up very fast through quests, they killed few monsters and spent their savings at their class trainer at every level. With nothing to buy drinks with, they ended up signing up without any.
The fix
An autonomous player that uses mana and cannot afford its drinks no longer goes into a dungeon without them. It goes back to its quests, which earn money, until it can pay for them with some margin, then returns to the loop and buys them at its base.
Checked on the test server
A healer without money: instead of signing up without drinks, she goes back to quests to earn enough to buy them. No crash.
Deployment
The new version of the module is installed on the server.