Guard

SPGG Bot Docs

Give me your ID if you want to cross this world!

#FC24 Bot Reference

File: fc24.py · Game: EA SPORTS FC 24

#Overview

The FC24 bot is the original implementation. FC25 bot is largely based on this with modifications for the newer game.

#Key Differences from FC25 Bot

Feature FC24 FC25
Window title 'FC 24' 'EA SPORTS FC 25'
Process name FC24.exe FC25.exe
Memory class FC24Memory FC25Memory
Namespace /stream-client /fc25/stream-client
Screen templates templates/ fc25_templates/
Recordings folder recordings/ fc25-recordings/
Mask color Red #ff0000 Red #ff0000
Aranaktu scores
_stop_memory_thread_if_running() ✅ (new)
replay_events_with_timeout() ✅ (new)
_is_float_nan() ✅ (new)
goals_reset_seen gate ✅ (new)
Auto-detect halftime ✅ (new)
Start sequence guard ✅ (new)

#Functions

#on_new_match(data) ACTIVE

WebSocket handler for new-match event. Same overall flow as FC25 but without the timeout checker and start guard.

#on_start_match(data) ACTIVE

WebSocket handler for starting-match event.

#random_left_arrow(evt_name) ACTIVE

Handles team selection through OCR matching. Similar to FC25 but reads from templates/ folder.

#memory_listener_thread() ACTIVE

Memory reading loop. Simpler than FC25 version — lacks the goals_reset_seen gate and auto-halftime detection.

#on_half() ACTIVE

Halftime handler. Replays recordings/half.json.

#on_pause_screen() ACTIVE

Pause screen handler.

#on_draw_screen() ACTIVE

Draw result handler.

#on_end_stream() ACTIVE

End of match handler.

#check_for_popup(evt_name) ACTIVE

Popup dismissal callback.

#check_for_outdated_popup(evt_name) ACTIVE

Outdated popup dismissal callback.