Skip to content

Valh88/thistle_tea

Folders and files

NameName
Last commit message
Last commit date

Latest commit

7f7b6e2 · Oct 26, 2024
Oct 26, 2024
Oct 26, 2024
Sep 7, 2024
Oct 26, 2024
Sep 12, 2024
Oct 16, 2024
Oct 26, 2024
Sep 13, 2024
Oct 26, 2024
Oct 26, 2024
Oct 26, 2024
Oct 26, 2024
Jun 19, 2024
Oct 26, 2024
Oct 26, 2024
Oct 26, 2024
Jun 5, 2024

Repository files navigation

thistle tea

wip vanilla private server written in elixir

contributing

i've had a lot of fun hacking on this and it would be neat if you did too

hop in the discord if you're interested in helping out

running

# need elixir + cargo
git clone https://github.com/pikdum/thistle_tea.git
cd thistle_tea
mix deps.get
mix deps.compile

# need npm or bun or similar
cd assets && npm install && cd ../

# need docker + no mariadb port 3306 conflict
./scripts/generate-mangos0-db.sh
# or, just download it
# wget https://pomf2.lain.la/f/jxcam7ob.sqlite -O ./db/mangos0.sqlite

# path to vanilla client, the directory with WoW.exe
# you'll want version 1.12.1 build 5875
# this is only for generating dbc.sqlite + maps
export WOW_DIR="/path/to/vanilla/client"

# need docker
./scripts/generate-dbc-db.sh

# this takes a very long time
# probably 30+ minutes
mix build_maps

# if not localhost, set GAME_SERVER:
# GAME_SERVER=192.168.1.110 iex -S mix
iex -S mix
# change server to localhost in realmlist.wtf
# default logins are in application.ex (test:test)
# also, there's a test server at 150.230.28.221

databases

  • mangos0.sqlite ./scripts/generate-mangos0-db.sh
    • can generate or download
    • this has mobs, items, etc.
  • dbc.sqlite ./scripts/generate-dbc-db.sh
    • need to generate from wow client, since this can't be distributed
    • this has spell info and similar

what (somewhat) works

  • logging in
  • creating characters
  • entering world
  • seeing other players
  • chatting
  • mob spawns/respawns
  • casting spells
  • auto-attacks
  • mob navigation

helpful resources

Releases

No releases published

Packages

No packages published

Languages

  • Elixir 92.3%
  • JavaScript 3.0%
  • Rust 2.1%
  • HTML 1.2%
  • Shell 1.0%
  • Dockerfile 0.3%
  • CSS 0.1%