# vociferous121/ogasai architecture

> Architecture diagram of the GitHub repository vociferous121/ogasai, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-01). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/vociferous121/ogasai
- Repository: https://github.com/vociferous121/ogasai

## Overview

oGasai Scripts is a World of Warcraft Classic bot, using injected code and Lua scripts for gameplay automation. The README documents opening a loader, selecting the game process and DLL, injecting it, and then logging in; it also identifies combat, rest, and targeting as core design areas. The file tree indicates additional navigation, gathering, vendor, and party-follow capabilities. No source excerpts were provided, so internal calls and dispatch relationships cannot be verified and are not drawn.

Main entry points: [`oGasaiLoader.exe`](https://github.com/vociferous121/ogasai/blob/main/oGasaiLoader.exe) (Loader)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_entry["Injection and Core"]
  node_loader["Loader<br/>[oGasaiLoader.exe]"]
  node_core["Core runtime<br/>[core.lua]"]
  node_core_functions["Core functions<br/>[functions.lua]"]
  node_core_menu["Core menu<br/>[coremenu.lua]"]
end

subgraph group_movement["Movement and Grinding"]
  node_grind["Grinding<br/>[script_grind.lua]"]
  node_grind_party["Party grinding"]
  node_navigation["Navigation<br/>[script_nav.lua]"]
  node_pathing["Pathfinding<br/>[script_pather.lua]"]
  node_saved_paths["Saved paths"]
end

subgraph group_combat["Combat"]
  node_combat_rotation["Combat rotation"]
  node_class_combat["Class combat"]
  node_targeting["Targeting"]
  node_aggro["Aggro checks<br/>[script_aggro.lua]"]
end

subgraph group_support["Support Features"]
  node_follow["Party following<br/>[script_follow.lua]"]
  node_follow_movement["Follow movement"]
  node_vendor["Vendor behavior<br/>[script_vendor.lua]"]
  node_gathering["Gathering<br/>[script_gather.lua]"]
  node_professions["Professions"]
  node_radar["Radar<br/>[script_radar.lua]"]
  node_racial_spells["Racial spells<br/>[racialSpells.lua]"]
end

node_user(("Bot operator"))
node_wow["WoW Classic"]

node_user -->|"opens"| node_loader
node_loader -->|"injects DLL"| node_wow

click node_loader "https://github.com/vociferous121/ogasai/blob/main/oGasaiLoader.exe"
click node_core "https://github.com/vociferous121/ogasai/blob/main/core/core.lua"
click node_core_functions "https://github.com/vociferous121/ogasai/blob/main/core/functions.lua"
click node_core_menu "https://github.com/vociferous121/ogasai/blob/main/core/coremenu.lua"
click node_grind "https://github.com/vociferous121/ogasai/blob/main/scripts/script_grind.lua"
click node_grind_party "https://github.com/vociferous121/ogasai/blob/main/scripts/script_grindParty.lua"
click node_navigation "https://github.com/vociferous121/ogasai/blob/main/scripts/script_nav.lua"
click node_pathing "https://github.com/vociferous121/ogasai/blob/main/scripts/script_pather.lua"
click node_saved_paths "https://github.com/vociferous121/ogasai/tree/main/paths"
click node_combat_rotation "https://github.com/vociferous121/ogasai/blob/main/scripts/script_rotation.lua"
click node_class_combat "https://github.com/vociferous121/ogasai/tree/main/scripts/combat"
click node_targeting "https://github.com/vociferous121/ogasai/blob/main/scripts/script_targetMenu.lua"
click node_aggro "https://github.com/vociferous121/ogasai/blob/main/scripts/script_aggro.lua"
click node_follow "https://github.com/vociferous121/ogasai/blob/main/scripts/follow/script_follow.lua"
click node_follow_movement "https://github.com/vociferous121/ogasai/blob/main/scripts/follow/script_followMove.lua"
click node_vendor "https://github.com/vociferous121/ogasai/blob/main/scripts/script_vendor.lua"
click node_gathering "https://github.com/vociferous121/ogasai/blob/main/scripts/script_gather.lua"
click node_professions "https://github.com/vociferous121/ogasai/blob/main/scripts/script_survivalProf.lua"
click node_radar "https://github.com/vociferous121/ogasai/blob/main/scripts/script_radar.lua"
click node_racial_spells "https://github.com/vociferous121/ogasai/blob/main/core/racialSpells.lua"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_loader,node_core,node_core_functions,node_core_menu toneBlue
class node_grind,node_grind_party,node_navigation,node_pathing,node_saved_paths toneAmber
class node_combat_rotation,node_class_combat,node_targeting,node_aggro toneMint
class node_follow,node_follow_movement,node_vendor,node_gathering,node_professions,node_radar,node_racial_spells toneRose
class node_user,node_wow toneIndigo
```

## Components

### Injection and Core

- [Loader](https://github.com/vociferous121/ogasai/blob/main/oGasaiLoader.exe): `oGasaiLoader.exe`
- [Core runtime](https://github.com/vociferous121/ogasai/blob/main/core/core.lua): `core/core.lua`
- [Core functions](https://github.com/vociferous121/ogasai/blob/main/core/functions.lua): `core/functions.lua`
- [Core menu](https://github.com/vociferous121/ogasai/blob/main/core/coremenu.lua): `core/coremenu.lua`

### Movement and Grinding

- [Grinding](https://github.com/vociferous121/ogasai/blob/main/scripts/script_grind.lua): `scripts/script_grind.lua`
- [Party grinding](https://github.com/vociferous121/ogasai/blob/main/scripts/script_grindParty.lua): `scripts/script_grindParty.lua`
- [Navigation](https://github.com/vociferous121/ogasai/blob/main/scripts/script_nav.lua): `scripts/script_nav.lua`
- [Pathfinding](https://github.com/vociferous121/ogasai/blob/main/scripts/script_pather.lua): `scripts/script_pather.lua`
- [Saved paths](https://github.com/vociferous121/ogasai/tree/main/paths): `paths`

### Combat

- [Combat rotation](https://github.com/vociferous121/ogasai/blob/main/scripts/script_rotation.lua): `scripts/script_rotation.lua`
- [Class combat](https://github.com/vociferous121/ogasai/tree/main/scripts/combat): `scripts/combat`
- [Targeting](https://github.com/vociferous121/ogasai/blob/main/scripts/script_targetMenu.lua): `scripts/script_targetMenu.lua`
- [Aggro checks](https://github.com/vociferous121/ogasai/blob/main/scripts/script_aggro.lua): `scripts/script_aggro.lua`

### Support Features

- [Party following](https://github.com/vociferous121/ogasai/blob/main/scripts/follow/script_follow.lua): `scripts/follow/script_follow.lua`
- [Follow movement](https://github.com/vociferous121/ogasai/blob/main/scripts/follow/script_followMove.lua): `scripts/follow/script_followMove.lua`
- [Vendor behavior](https://github.com/vociferous121/ogasai/blob/main/scripts/script_vendor.lua): `scripts/script_vendor.lua`
- [Gathering](https://github.com/vociferous121/ogasai/blob/main/scripts/script_gather.lua): `scripts/script_gather.lua`
- [Professions](https://github.com/vociferous121/ogasai/blob/main/scripts/script_survivalProf.lua): `scripts/script_survivalProf.lua`
- [Radar](https://github.com/vociferous121/ogasai/blob/main/scripts/script_radar.lua): `scripts/script_radar.lua`
- [Racial spells](https://github.com/vociferous121/ogasai/blob/main/core/racialSpells.lua): `core/racialSpells.lua`

### Other components

- **Bot operator**
- **WoW Classic**

## Connections

- Bot operator → Loader: opens (evidence: `README.md`)
- Loader → WoW Classic: injects DLL (evidence: `README.md`)
