Jump to content

Recommended Posts

Posted

According to claude.ai:
Bugs in capuzzo.gm...
These bugs don't explain why the bots are stationary, but they do need fixing:

Line 1499: `MapRoutes.ATTACK_Barrier_1_1 = MapRoutes.PLANT_Tank_Barrier_2;` overwrites the route defined on line 1492. It should likely be `ATTACK_Barrier_2_1` instead.
Lines 179–180, 211–212, 316–317, and 641–643: "ESCORT_tank" and "MOUNT_tank" are written in lowercase, whereas the goals are named `ESCORT_Tank` and `MOUNT_Tank_Allied` / `MOUNT_Tank_Axis`. If the lookup is case-sensitive, these user limits have no effect. I haven't verified this in the code.
In the `ESCORT_Tank` and `PLANT_Tank_Barrier_1` routes: the key `ROUTE_F15_1` is defined twice in the same table, so the second one replaces the first.


Probable causes to check on the server
BSP name. Omni-bot officially provides waypoints for `capuzzo_b1`, whereas the final version, "Capuzzo Airport," uses the BSP name `capuzzo`. Your .pk3 file must contain the exact path `maps/capuzzo.bsp`. If it is `capuzzo_b1` or another variant, your files will not load. (i verified: capuzzo.bsp correct)
File names and location. Linux is case-sensitive: the files must be named exactly `capuzzo.way`, `capuzzo.gm`, and `capuzzo_goals.gm` and located in the `omni-bot/et/nav` folder. The files must be placed directly in that folder or at the root of a .zip archive, not inside a subfolder.
Map version. Your waypoints were created in 2018 for a specific version of Capuzzo. If your server is running a different version with different terrain, the bots will be unable to find a path and will remain stuck.
How to determine the cause
Check the console log when the map loads. If the .way file cannot be found, Omni-bot logs a message like `Waypoint capuzzo.way not found in file or archives`. If it is found, the log will indicate `2238 Waypoints Loaded from file…`.
Enable script debugging. Add `Debug = true` to the global `Map = {` table at the top of `capuzzo.gm`. The line `Omni-bot map script for capuzzo executed.` should then appear. If the waypoints load but this line is missing, the script is crashing during the loading process.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...