Code Monkey home page Code Monkey logo

mtf's Introduction

Version 5.0.1, last updated 2019-05-20

Description

This is a script that removes everything from the page except for the game itself and the nice-looking background, sets the Flash quality to "low" instead of "high", and sets the "wmode" parameter to "direct". This reduces lag significantly.

Games currently supported:

How to install

_________________________________________________________________

Step 1: Get a Userscript Manager

Step 2: Get the script

Go to this page. A dialog will pop up, click accept, and the script is installed.

How to use

Visit the Tetromino Friends Arena, and the script will do the rest. The DAS URL hack does work with this.

What it should look like

Without the script installed, it will look something like this:

If the Minimal Tetromino Arena script works, the page will look like this: So anyway, try it out and post results.



Download for Firefox last updated 2019-05-20
Download for Chrome last updated 2019-05-20
Download for Opera last updated 2019-05-20
Download for Edge or Safari last updated 2019-05-20

mtf's People

Contributors

tstnb avatar

Stargazers

 avatar Jerin Varghese avatar

Watchers

James Cloos avatar  avatar

mtf's Issues

As a game starts.

My game lags a lot as the (3...2...1..) countdown and game begins. You brought it to my attention that this was because the game loads the wingraphix for both players everygame (even if they are the exact same players as last game). I feel that preventing these from loading would be able to alleviate a bit of my 5 sec late start to every game.

Thanks,
ZeroT

Firefox extension

The Firefox version relies on Greasemonkey. The Chrome version is a browser extension. The Firefox should be a browser extension.

Address room-creating lag

Context:

[1:29 AM] morningpee: [@timmytoddler24] 10:22 does anyone know how to fix this glitch where whenever you create a room, it's just a blank screen with the frames and it never loads?
[1:32 AM] morningpee: yeah, TF has this "keepalive" interval script that runs about once every minute to filter out players who closed the browser window.
[1:32 AM] BOTShoutbox:
[1:33 AM] morningpee: If you got a gray box, that means there was some delay where they didn't receive your last "keepalive" ping in time, so it has to wait for the next one.

Stats not updating

Potent uses Chrome and reports that he cannot leave a room where he has played a match. He can leave a room where he has not yet played a match.

He also reports that his stats do not update.

Further, he says that Okey_Dokey and Spinifex also have this problem.

URLOverrideHack doesn't work

These GET variables need to be passed to flashVars: das, ar, ihs, irs

URLOverrideHack does work in the master branch as of 5e5ac8f but does not work in the firefox branch as of 48477f4.

Firefox 49 breaks in-Flash scaling

Scaling now occurs using the center of the Flash file as the scaling point. We used to get around this by setting the "salign" Flash parameter to "tl", but it looks like this parameter is no longer observed in Firefox 49.

Allow user to modify how ugly they want it

Add a slider to choose how much it is scaled.

[7:33 PM] Blink: do you allow for downscale %
[7:34 PM] Blink: so we can modify how ugly we want it
[7:34 PM] Blink: lol
[7:34 PM] Blink: if not, feature request lol
[7:35 PM] morningpee: you cannot
[7:35 PM] morningpee: okay, adding it to the queue
[7:35 PM] Blink: incase we don't want it 3x

Chrome version

There's a Chrome version out there but the source isn't here

Live hangs if not logged in

If the user is not logged in, Live starts loading and does not stop loading. Intended behavior is Arena's guest mode.

Opera version

There's an Opera version out there but the source isn't here

Medals cleared and rank getting set to 1

Spinifex reports that when they use MTF, it removes their medals and ranks them down to rank 1. They report that the "rank 1" is only permanent if they play a game while rank 1. That is, if they log out and uninstall MTF without playing a game, they're back to rank 20.

Since some months, I used the Minimal Tetris Friends extension for Chrome (not the Tampermonkey version) and it worked well. I encountered some issues after the update though. Somehow, I got ranked down to rank 1. Probably, not related to MTF, but this had some weird consequences: When I was in bronze and silver ranks and used MTF, it told me I was rank 1 (500 points), ignored my tunings (DAS/ARR) and didn't show any score/win screens (lines sent & win counter). I deactived MTF and ranked up to platinum again and those issues were fixed (forgot to check gold). However, I still can't leave any room (clicking the Exit Now button does nothing).

Chrome permissions

The chrome extension requires these permissions:

  • read and change user's data on tetrisfriends.com
  • read user's internet log

Having the chrome extension not require those permission would be nice

Private rooms don't work

As of 9c0be5a, private rooms don't work. If you make a private room and share the link, then someone else who has MTF installed cannot successfully navigate to that link with the result of joining the private room. What happens instead is that they are placed on the Arena entry splash screen (same behavior as though there was no private room info in the query string).

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.