Advertisement
Guest User

Untitled

a guest
Feb 22nd, 2017
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.81 KB | None | 0 0
  1. @echo off
  2. setlocal EnableExtensions EnableDelayedExpansion
  3. echo Wespel's show Online player coordinates, based on IKShadow's Show foundation spams
  4. echo Lists of coords where online players can be found
  5. echo Run it from ConanSandbox\Saved\ (or change db path in source)
  6. timeout 5
  7. set db=game.db
  8. 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
  9. for /f "tokens=1,2,3,4 delims=| " %%a in (results.txt) do (
  10. set player=%%a
  11. set xc=%%b
  12. set yc=%%c
  13. set zc=%%d
  14.  
  15. echo !player! : TeleportPlayer !xc! !yc! !zc! >>output.txt
  16. )
  17. start notepad output.txt
  18. timeout 1
  19. del output.txt
  20. del results.txt
  21. exit
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement