Kelsidavis-WoWee/test_ambient_audio.sh
Kelsi d8002955a3 Add debug logging for GameObject spawns to diagnose duplicate cathedral
Added detailed logging in spawnOnlineGameObject() to help identify duplicate
game object spawns. Logs displayId, guid, model path, and position for both
new spawns and position updates. This will help diagnose the floating
cathedral model issue in Stormwind by showing which GUIDs are being spawned
and their coordinates.
2026-02-09 18:04:20 -08:00

36 lines
951 B
Bash
Executable file

#!/bin/bash
# Test script for ambient audio debugging
echo "=== Testing Ambient Audio System ==="
echo ""
echo "Running game for 60 seconds and capturing logs..."
echo ""
timeout 60 build/bin/wowee 2>&1 | tee /tmp/wowee_ambient_test.log
echo ""
echo "=== Analysis ==="
echo ""
echo "1. AmbientSoundManager Initialization:"
grep -i "AmbientSoundManager" /tmp/wowee_ambient_test.log | head -20
echo ""
echo "2. Fire Emitters Detected:"
grep -i "fire emitter" /tmp/wowee_ambient_test.log
echo ""
echo "3. Water Emitters Registered:"
grep -i "water.*emitter" /tmp/wowee_ambient_test.log | head -10
echo ""
echo "4. Sample WMO Doodads Loaded:"
grep "WMO doodad:" /tmp/wowee_ambient_test.log | head -20
echo ""
echo "5. Total Ambient Emitters:"
grep "Registered.*ambient" /tmp/wowee_ambient_test.log
echo ""
echo "Full log saved to: /tmp/wowee_ambient_test.log"
echo "Use 'grep <keyword> /tmp/wowee_ambient_test.log' to search for specific issues"