Commit 3cd915e0 authored by user472393's avatar user472393
Browse files

uatv offline

parent e650485d
Pipeline #89 passed with stage
in 6 seconds
...@@ -779,3 +779,23 @@ bugged no game ...@@ -779,3 +779,23 @@ bugged no game
uamap1 uamap1
!ua demo 2010/7may2 !ua demo 2010/7may2
fierce ! lots of damage fierce ! lots of damage
***
uamap1
!ua demo 2010/12may6
savage opening portion
***
uamap4
!ua demo 2018-03-31/11
bugged wrong map. appears to be what is now uamap4_original
***
uamap5
!ua demo 2018-04-15/07
bugged map
***
uamap11
!ua demo 2020-12-08/7
enjoyable battle
***
uamap5
!ua demo 2020-12-31/21
pit escape in the 7m
...@@ -94,6 +94,7 @@ parser () { ...@@ -94,6 +94,7 @@ parser () {
} }
current_demo () { current_demo () {
read -r var < "$demo_selection" read -r var < "$demo_selection"
info "var is $var"
printf '%s\n' "now playing:" "$var" | $inwee -b "$buffer" printf '%s\n' "now playing:" "$var" | $inwee -b "$buffer"
var=${var##*demos\/} var=${var##*demos\/}
var=${var%%\/*} var=${var%%\/*}
...@@ -171,7 +172,7 @@ next_game () { ...@@ -171,7 +172,7 @@ next_game () {
if test -f "$livefile"; then if test -f "$livefile"; then
printf '%s\n' "OK lets see what's live" | $inwee -b "$buffer" printf '%s\n' "OK lets see what's live" | $inwee -b "$buffer"
else else
printf '%s\n' "next game coming up yeye~~" | $inwee -b "$buffer" printf '%s\n' "offline" | $inwee -b "$buffer"
fi fi
for i in {0..9}; do for i in {0..9}; do
pgrep ua.exe | xargs kill pgrep ua.exe | xargs kill
......
...@@ -32,5 +32,3 @@ while read -r line; do ...@@ -32,5 +32,3 @@ while read -r line; do
((check++)) ((check++))
fi fi
done done
#! /bin/bash
# clean up the favoret games.txt file. it's full of comments reporting errors
file=/opt/uatv/output/favorite_games.txt
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment