Skip to content

Conversation

@Geph
Copy link
Member

@Geph Geph commented Jul 27, 2025

22 July 2025 version of Neithan's script + other updates:

  • Version and world information in the header, updated readme with .bat
  • Updated locations POI csv with new Mynoa (Mangrove)
  • Fixed hardcoded worldnames to be the right ones (only one trigger using this currently)
  • Player death will be picked up correctly (hopefully sends cause in trigger)

(Built on AIED fork but I reset the new code I added with multiple build worlds)

Geph added 30 commits July 20, 2025 16:13
Got a crash from: self.tools_usage[user]["tool_use_count"] += 1

Fixed with: self.tools_usage[user]["tool_use_count"] = self.tools_usage[user].get("tool_use_count", 0) + 1
Replace with July 22 version from Neithan
1) Added date to act as version # at top
2) Requirements.txt includes shapes now, readme has instructions for a batch file launcher
3) Fixed variable not initialized causing crash
4) Updated incorrect world names (TiltedEarth, Mynoa, etc)
5) Eliminated hard-coded mars build world references (sdp7, sdp12)
6) Death messages now detect and pass the cause of death
Swapping in CSV to version on server (likely newest)
Launcher batch file added
Newer version of Coord tracking
Trigger config last-used
1) Added date to act as version # at top
2) Requirements.txt includes shapes now, readme has instructions for a batch file launcher
3) Fixed variable not initialized causing crash
4) Updated incorrect world names (TiltedEarth, Mynoa, etc)
5) Eliminated hard-coded mars build world references (sdp7, sdp12)
6) Death messages now detect and pass the cause of death
…ly a datetime), not a dictionary, which is what params= expects when used with SQLAlchemy text()
Removed MynoaFar
@Geph Geph requested a review from neithancasano July 27, 2025 15:50
Geph added 16 commits July 27, 2025 14:27
- Added _ensure_user_schema() method in Fetcher to initialize and backfill missing keys (e.g., current_world, total_observation_count).
- Rewrote update_observation_usage() to call _ensure_user_schema() for every user and prevent KeyErrors.
- Improved timestamp conversion in update_observation_usage() (supports int, float, string, pd.Timestamp).
- Added defensive logic for build map checks using GLOBAL_WID and get_wid_for_world.
- Enhanced observation trigger for nearby/similar observations (safe similarity checks).
- Prevented crashes caused by uninitialized or legacy tools_usage entries.
- Added _ensure_user_schema() method in Fetcher to initialize and backfill missing keys (e.g., current_world, total_observation_count).
- Rewrote update_observation_usage() to call _ensure_user_schema() for every user and prevent KeyErrors.
- Improved timestamp conversion in update_observation_usage() (supports int, float, string, pd.Timestamp).
- Added defensive logic for build map checks using GLOBAL_WID and get_wid_for_world.
- Enhanced observation trigger for nearby/similar observations (safe similarity checks).
- Prevented crashes caused by uninitialized or legacy tools_usage entries.
@Geph
Copy link
Member Author

Geph commented Jul 28, 2025

Fixed indentation problem, had ChatGPT rewrite update_observation_usage, fixed several small warnings

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants