Files
pfQuest xpGuideandClaude Sonnet 5.5 ef2f4f34b3 pfQuest xpGuide 1.0.0
A leveling guide for WoW 1.12 players of pfQuest, based on Easy Route by stealthzi (MIT).
See README.md and CHANGES.md.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01XfR1apt9f3R7SxBKB2FF2D
2026-11-16 14:47:43 +08:00

9 lines
643 B
Bash
Executable File

#!/bin/bash
read pf script r c lv m n x <<< "$*"
cd "$(dirname "$0")"
unset PFQ PFUI SA; case "$pf" in 1) export PFQ=1;; b) export PFQ=brues;; u) export PFUI=1;; ub) export PFUI=1 PFQ=brues;; s) export SA=${SA_DIR:?set SA_DIR to a pfQuest-SmartArrow checkout};; us) export PFUI=1 SA=${SA_DIR:-/path/to/pfQuest-SmartArrow};; esac
res=$(timeout 300 texlua $script ${ADDON:?set ADDON to the addon folder} $r $c $lv $m $n $x 2>&1)
e=$(echo "$res" | grep "^errors"); [ -z "$e" ] && e="CRASH: $(echo "$res" | tail -1 | cut -c1-160)"
echo "pf=$pf $script $r $c L$lv $m | $e"
echo "$res" | grep -A6 '^ERROR' | head -14 | sed 's/^/ /' | cut -c1-300