Upvote Upvoted 12 Downvote Downvoted
Search and link demos and logs - userscripts
posted in Projects
1
#1
0 Frags +

Purpose: Search logs or demos uploaded to logs.tf or demos.tf.
For TF2 historians and frag movie makers.

3 separate scripts:

  1. Search demos uploaded to demos.tf from logs.tf match page.
  2. Search logs uploaded to logs.tf from demos.tf match page.
  3. Search logs and demos from etf2l.org match page.

https://raw.githubusercontent.com/mazatf2/tf2-comp-userscripts/master/docs/logstf-demo-search.user.webp

https://i.imgur.com/1rWavL4.png

Github: https://github.com/mazatf2/tf2-comp-userscripts
More gifs: https://github.com/mazatf2/tf2-comp-userscripts/tree/master/docs

Purpose: Search logs or demos uploaded to logs.tf or demos.tf.
For TF2 historians and frag movie makers.

3 separate scripts:
[olist]
[*] Search demos uploaded to demos.tf from logs.tf match page.
[*] Search logs uploaded to logs.tf from demos.tf match page.
[*] Search logs and demos from etf2l.org match page.
[/olist]

[img]https://raw.githubusercontent.com/mazatf2/tf2-comp-userscripts/master/docs/logstf-demo-search.user.webp[/img]
[img]https://i.imgur.com/1rWavL4.png[/img]


Github: https://github.com/mazatf2/tf2-comp-userscripts
More gifs: https://github.com/mazatf2/tf2-comp-userscripts/tree/master/docs
2
#2
2 Frags +

Love the ETF2L match page logs/demos finder. Super useful, thanks for sharing

Love the ETF2L match page logs/demos finder. Super useful, thanks for sharing
3
#3
0 Frags +

The ETF2L match page script seems to be broken for me, tampermonkey is showing it as installed and running but it's not displaying its interface

The ETF2L match page script seems to be broken for me, tampermonkey is showing it as installed and running but it's not displaying its interface
4
#4
0 Frags +
JMaxchillThe ETF2L match page script seems to be broken for me, tampermonkey is showing it as installed and running but it's not displaying its interface

What browser are you using? Are there errors or something relevant on browsers developer tools when you are on ETF2l match page. Please link match page where this userscript is not working for reference.

I retested it now with Chrome, Opera, Firefox and Edge and it seemed to work. Its bit on rough state so when match page does not contain status screenshot (aka ETF2l doesn't have player information) interface is missing. This usually happens on new match pages.

[quote=JMaxchill]The ETF2L match page script seems to be broken for me, tampermonkey is showing it as installed and running but it's not displaying its interface[/quote]
What browser are you using? Are there errors or something relevant on browsers developer tools when you are on ETF2l match page. Please link match page where this userscript is not working for reference.

I retested it now with Chrome, Opera, Firefox and Edge and it seemed to work. Its bit on rough state so when match page does not contain status screenshot (aka ETF2l doesn't have player information) interface is missing. This usually happens on new match pages.
5
#5
0 Frags +
PootisPootisPootisPootisWhat browser are you using? Are there errors or something relevant on browsers developer tools when you are on ETF2l match page. Please link match page where this userscript is not working for reference.

I retested it now with Chrome, Opera, Firefox and Edge and it seemed to work. Its bit on rough state so when match page does not contain status screenshot (aka ETF2l doesn't have player information) interface is missing. This usually happens on new match pages.

Looking at https://etf2l.org/matches/83439/, which has SteamID screenshot properly submitted and parsed, the console shows it GETs the API requests for Zoey and deli69 properly, but for the other 10 players it returns either `status: {code: 500, message: "Internal Server Error"}` or `status: {message: "Internal Server Error", code: 500}`.

This is with version 0.1 on up-to-date Chrome. It's also giving the issue "Audit usage of navigator.userAgent, navigator.appVersion, and navigator.platform" for common.js:1, and telling me my browser is managed by my organisation, but I suspect those aren't the problems.

[quote=PootisPootisPootisPootis]
What browser are you using? Are there errors or something relevant on browsers developer tools when you are on ETF2l match page. Please link match page where this userscript is not working for reference.

I retested it now with Chrome, Opera, Firefox and Edge and it seemed to work. Its bit on rough state so when match page does not contain status screenshot (aka ETF2l doesn't have player information) interface is missing. This usually happens on new match pages.[/quote]

Looking at [url=https://etf2l.org/matches/83439/]https://etf2l.org/matches/83439/[/url], which has SteamID screenshot properly submitted and parsed, the console shows it GETs the API requests for Zoey and deli69 properly, but for the other 10 players it returns either `status: {code: 500, message: "Internal Server Error"}` or `status: {message: "Internal Server Error", code: 500}`.

This is with version 0.1 on up-to-date Chrome. It's also giving the issue "Audit usage of navigator.userAgent, navigator.appVersion, and navigator.platform" for common.js:1, and telling me my browser is managed by my organisation, but I suspect those aren't the problems.
6
#6
0 Frags +
JMaxchillLooking at https://etf2l.org/matches/83439/, which has SteamID screenshot properly submitted and parsed, the console shows it GETs the API requests for Zoey and deli69 properly, but for the other 10 players it returns either `status: {code: 500, message: "Internal Server Error"}` or `status: {message: "Internal Server Error", code: 500}`.

This is with version 0.1 on up-to-date Chrome. It's also giving the issue "Audit usage of navigator.userAgent, navigator.appVersion, and navigator.platform" for common.js:1, and telling me my browser is managed by my organisation, but I suspect those aren't the problems.

Out of curiosity did this userscript work before for you? I coded it to use only "force cache", so all new network requests are fetched from local cache. So it might be that errors from api got cached. Best way to clean cache just from one site is to have dev tools open on etf2l match page and click reload button with mouse2 and select: "Empty Cache and Hard Reload"

It seems like this userscripts shortcoming is to issue too many network request at same time and also cache them, even if they are errors. I'm looking into fixing it.

If you want you can pm me for new test version on tf.tv or add me on steam to reduce bumping this topic. Or wait new version on github

[quote=JMaxchill]
Looking at [url=https://etf2l.org/matches/83439/]https://etf2l.org/matches/83439/[/url], which has SteamID screenshot properly submitted and parsed, the console shows it GETs the API requests for Zoey and deli69 properly, but for the other 10 players it returns either `status: {code: 500, message: "Internal Server Error"}` or `status: {message: "Internal Server Error", code: 500}`.

This is with version 0.1 on up-to-date Chrome. It's also giving the issue "Audit usage of navigator.userAgent, navigator.appVersion, and navigator.platform" for common.js:1, and telling me my browser is managed by my organisation, but I suspect those aren't the problems.[/quote] Out of curiosity did this userscript work before for you? I coded it to use only "force cache", so all new network requests are fetched from local cache. So it might be that errors from api got cached. Best way to clean cache just from one site is to have dev tools open on etf2l match page and click reload button with mouse2 and select: "Empty Cache and Hard Reload"

It seems like this userscripts shortcoming is to issue too many network request at same time and also cache them, even if they are errors. I'm looking into fixing it.

If you want you can pm me for new test version on tf.tv or add me on steam to reduce bumping this topic. Or wait new version on github
7
#7
0 Frags +
PootisPootisPootisPootisOut of curiosity did this userscript work before for you? I coded it to use only "force cache", so all new network requests are fetched from local cache. So it might be that errors from api got cached. Best way to clean cache just from one site is to have dev tools open on etf2l match page and click reload button with mouse2 and select: "Empty Cache and Hard Reload"

It seems like this userscripts shortcoming is to issue too many network request at same time and also cache them, even if they are errors. I'm looking into fixing it.

If you want you can pm me for new test version on tf.tv or add me on steam to reduce bumping this topic. Or wait new version on github

It did work before, yes, it only broke very recently. PM'd you

[quote=PootisPootisPootisPootis]Out of curiosity did this userscript work before for you? I coded it to use only "force cache", so all new network requests are fetched from local cache. So it might be that errors from api got cached. Best way to clean cache just from one site is to have dev tools open on etf2l match page and click reload button with mouse2 and select: "Empty Cache and Hard Reload"

It seems like this userscripts shortcoming is to issue too many network request at same time and also cache them, even if they are errors. I'm looking into fixing it.

If you want you can pm me for new test version on tf.tv or add me on steam to reduce bumping this topic. Or wait new version on github[/quote]

It did work before, yes, it only broke very recently. PM'd you
Please sign in through STEAM to post a comment.