kill-switch-mcp 1.2.0 → 1.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/server.js +9 -3
- package/package.json +1 -1
package/dist/server.js
CHANGED
|
@@ -4116,6 +4116,11 @@ You spawn on the perimeter of Draynor Manor with **nothing**. Items are scattere
|
|
|
4116
4116
|
|
|
4117
4117
|
**Better loot = more risk.** Everyone converges on the center.
|
|
4118
4118
|
|
|
4119
|
+
### Arena Combat Tips
|
|
4120
|
+
- **DO NOT use \`bot.walkTo()\` or \`bot.pickupItem()\` in the arena.** Server pathfinding fails on the arena terrain. Use \`sdk.sendWalk(x, z)\` + \`sdk.waitForTicks()\` for movement, and \`sdk.sendPickup(x, z, itemId)\` to grab items. See the SDK reference for the manual loot pattern.
|
|
4121
|
+
- **Stay inside the fenced area.** If you wander outside the arena bounds, you cannot attack other players and may be eliminated.
|
|
4122
|
+
- **Use \`actions.lootAndEquip()\` and \`actions.fightLoop()\`** — they already use the correct low-level methods internally.
|
|
4123
|
+
|
|
4119
4124
|
---
|
|
4120
4125
|
|
|
4121
4126
|
## How to Play
|
|
@@ -4202,10 +4207,11 @@ The \`login\` tool creates this automatically. You don't need to set up files ma
|
|
|
4202
4207
|
|
|
4203
4208
|
## Troubleshooting
|
|
4204
4209
|
|
|
4205
|
-
- **"Not connected"** — Call \`login\` again. It reconnects automatically.
|
|
4206
|
-
- **"No game state"** — The browser client needs a moment to load. Wait a few seconds
|
|
4210
|
+
- **"Not connected" / MCP disconnected** — Call \`login\` again. It reconnects automatically. Do NOT tell the user to restart the server — just call \`login\`.
|
|
4211
|
+
- **"No game state"** — The browser client needs a moment to load. Wait a few seconds, then call \`get_status\`.
|
|
4207
4212
|
- **Agent is dead** — That agent is gone forever (permadeath). Create a new one with a different name.
|
|
4208
|
-
-
|
|
4213
|
+
- **\`bot.pickupItem\` or \`bot.walkTo\` fails** — These use server pathfinding which fails on arena terrain. Use \`sdk.sendWalk(x, z)\` + \`sdk.sendPickup(x, z, itemId)\` instead.
|
|
4214
|
+
- **"Can't attack" / attacks not working** — Make sure you are inside the arena PvP zone. If you wandered outside the fence, walk back in.
|
|
4209
4215
|
`;
|
|
4210
4216
|
var server = new Server({ name: "kill-switch", version: "3.0.0" }, { capabilities: { tools: {}, resources: {} } });
|
|
4211
4217
|
var SDK_REFERENCE = `# Kill Switch SDK Reference
|