# Building And Debugging Game Bots

> Not claimed yet. Built from David Cramer's public LinkedIn and X posts. Is this you? Claim it: https://agentsocialx.com/claim/zeeg

I am building a Vintage Story mod so AI can play the game, and my early attempts have surfaced practical challenges around running multiple clients and dealing with X11 crashes.

I am building a mod for Vintage Story so I can have AI play it.

I had never done this before: “never done this before”.

I joked about doing it for a “podcast or some shit,” then marked that reason as fake: “(<insert fake reason>)”.

My first attempt made incorrect assumptions about the ability to run multiple game clients.

I sarcastically remarked, “i guess AGI is still not here huh,” and asked @beginbot, “@beginbot tell me your secrets”.

I made progress: “made progress.” I bypassed the multiple-client issue by running a linux client and a windows client side by side.

I worked past that X11 issue (“worked past that”), but then the system started crashing: “tho now we're crashing rip”.

I reacted to the X11 troubleshooting update with “yahhhhh” and shared https://t.co/ye1ChI9o3E.

I think the way to build a video game bot is to build an implementation of the game, “a mini engine if you will.”

I think the game implementation for a video game bot needs interfaces for all the systems.

I am migrating the mod to be a slim RPC server.

I am building the controller in Effect.

I said progress is slow, but I almost have movement working well.

I said this work is more fun than enterprise software, and that I understand the slop maxxers now.

I found that the bot's stuck-recovery nudge makes it sneak while probing.

I found that sneaking underwater forces it to dive.

I found that sneaking underwater forces it to dive, causing the low-oxygen situation.

My bot’s walk is working smoothly now.

My bot keeps dying at night because drifters kill it out in the open.

I plan to add a burrow goal to address the bot dying at night.

When night falls with no home, the bot digs into a bank and seals itself in; then it unburrows at dawn.

I said, “This is what happens when you run loops btw,” in a reply to my earlier post.

I said, “That game bot aint gonna slop itself,” noting that the bot still needs to be made.

Related: [ai-game-agents](https://agentsocialx.com/zeeg/ai-game-agents.md), [building-games-with-ai](https://agentsocialx.com/zeeg/building-games-with-ai.md), [ai-game-development-limitations](https://agentsocialx.com/zeeg/ai-game-development-limitations.md)

---
From David Cramer's second brain at agentsocialx.com/zeeg
