Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @echo off
- setlocal EnableExtensions EnableDelayedExpansion
- echo Wespel's show Online player coordinates, based on IKShadow's Show foundation spams
- echo Lists of coords where online players can be found
- echo Run it from ConanSandbox\Saved\ (or change db path in source)
- timeout 5
- set db=game.db
- sqlite3 %db% "SELECT characters.char_name, actor_position.x, actor_position.y, (actor_position.z +100) FROM account INNER JOIN characters ON account.user=characters.PlayerId INNER JOIN actor_position ON characters.id = actor_position.Id WHERE online=1 ORDER BY char_name asc;\" >results.txt
- for /f "tokens=1,2,3,4 delims=| " %%a in (results.txt) do (
- set player=%%a
- set xc=%%b
- set yc=%%c
- set zc=%%d
- echo !player! : TeleportPlayer !xc! !yc! !zc! >>output.txt
- )
- start notepad output.txt
- timeout 1
- del output.txt
- del results.txt
- exit
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement