Giter Club home page Giter Club logo

gatoclient's Introduction

Gatoclient Remastered

Gatohost Github All Releases Github Release Verison

It's what people would have wanted

Discord Banner 2

Gatoclient Rewritten is a totally new client based on what I learned since making the original client. I've worked to fix many of my issues and built on top of what other clients of today bring to the table.

If you don't want a feature, you don't have to run it because it won't be installed in the client. Instead, you can open the Krunker Social Page and download addons from the Gatoclient Addon Store. This ensures that you won't be slowed down by features you don't want to use.

If you would like to support me, consider following me on my socials:

Twitch Youtube Twitter

Credits

Before I start listing some of the cool stuff, you should check out the stuff made by these cool people

  • Crankshaft Client (KraXen72) - Settings Hook (Modified to support Custom User Agents), Launch Arguments, Menu Timer CSS
  • Nullclient (LukaDev) - API, Minor Changes and Improvements
  • RAYS Client (Zedboy) - Minor Changes and Improvements
  • IDKR (Mixaz) - Resource Swapper (That I had to patch)
  • Gatoclient-Lite (Luketheduke) - Minor Changes and Improvements

Rewritten Features

  • Performance comaprable to Nullclient + Crankshaft
  • GatoAddons + Store (Userscripts that I personally approve can be downloaded in-client)
  • Customizable Loading screen
  • Resource Swapper (Documents > GatoclientResourceSwapper > Mod)

Installation

  • Go to the releases page
  • Download the appropriate portable or setup exe for your PC (Currently only Windows)

For Setup (RECOMMENDED)

  • Download the setup exe
  • Run The installer
  • Install Gatoclient using the installer
  • Run the exe on your desktop or your quick start menu

For Portable

  • Download and run, the game is already installed in the exe

gatoclient's People

Contributors

creepycats avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

gatoclient's Issues

Resource Swapper incomplete?

Replacing the medal images doesn't seem to be supported yet. I have replaced the default medal images under \Mod\img\medals and it works with the same file path for the official client but not gato.

Preload reload background image

Describe the bug
Loading page background image should be preloaded.

To Reproduce
Steps to reproduce the behaviour:

  1. Open the client, reload the page, or join a new game.

Expected behaviour
The background image should be instantly loaded, as to avoid the grey background.

Desktop (please complete the following information):

  • OS: Windows 11
  • Version 1.4.0

Mac port pls

Can you make a Mac port? I think you can do it with emscripten.

MapTweaks+

The Addon MapTweaks+ is been removed. May I know the reason? Are we gonna have a better addon? or will we get the addon back?

Alt Tab

Whenever i alt tab to switch tabs many tabs of the game open and i cant close even 1 or the whole game crashes

Toggle for Gato Client settings icon

Is your feature request related to a problem? Please describe.
The Gato Client icon is redundant when the tab is already in settings.

Describe the solution you'd like
A toggle in Gato settings for the settings icon.

Describe alternatives you've considered
Using a custom CSS to display: none; it.

gatoclient not loading

Hello for some reason my gatoclient is not loading for no reason. Can someone please try and help.

High ping on GatoClient

i always have high ping on gatoclient on any other krunker client I don't know if you can fix it but please can you help me
by the way it may be because I use a 5ghz internet connection

Custom sky

will the custom sky feature come back in the future?

Addons Won't Download

I'm playing on the Linux and the add-ons say downloaded in the top left of the hub but when i return to the settings it says no add-ons downloaded.

no sound

i have no sound in game but have sound in the hub section

Fix initializing issue

the client is stuck on initializing and couldn't be accessible to play the game, and it is my humble request to fix the issue and I will be obliged for it

Gato icon is draggable

Describe the bug
The Gato Client settings icon can be dragged as an image on user mousedown.

To Reproduce
Steps to reproduce the behavior:

  1. Launch the application.
  2. Mousedown the Gato Client settings icon
  3. Drag it around

Expected behaviour
The icon should be static, undraggable like the rest of the side icons. An easy solution is to add #gatoMenuItem > img.menBtnIcn { -webkit-user-select: none; -webkit-user-drag: none; -webkit-app-region: no-drag; } to GatoClientElectron\app\settings\css\settings.css

Desktop (please complete the following information):

  • OS: Windows 11
  • Version 1.4.0

adjustments to the clients setting icon

Is your feature request related to a problem? Please describe.
gato client menuItem is ugly as shit, be a normal client and follow my suggestion below

Describe the solution you'd like
remove the gato client menuItem and instead have it be a tab inside the settings window like other clients.

Describe alternatives you've considered
N/A

fix CSS imports + other various fixes

Describe the bug
CSS Imports do not work due to the wacky way you import css (appending it one after the other in a linear fashion)
Additionally, the mainWindow is loaded weirdly using a 5 second timeout, lets speed that up a bit

Fix

Main.js

splashWindow.once('ready-to-show', () => {
    // if updates enabled call: autoUpdate();
    // else, launch immediately:
    launchGame();
});

Replace double function call with something cleaner, call loadURL only after window is set up, and add a .once listener so that the window is shown once ready.

    function launchGame() {
        mainWindow.setBackgroundColor('#000000');
        mainWindow.setSize(1600, 900);
        mainWindow.center();
        mainWindow.removeMenu();
        if (userPrefs['fullscreen'] == true) {
            mainWindow.setFullScreen(true);
            mainWindowIsFullscreen = true;
        }

        mainWindow.loadURL(url.format({
            pathname: 'https://krunker.io',
            icon: __dirname + 'src/cat.ico' // Doesn't work anymore just ignore it
        }));

        mainWindow.once('ready-to-show', () => {
            splashWindow.destroy();
            mainWindow.webContents.send('injectClientCSS', clientCSS);
            mainWindow.webContents.send('injectCustomCSS', customCSS);
            mainWindow.show();
        });
    }

Add show: false to mainWindow so that we do not have to hide it after creation

    //Make the window
    mainWindow = new BrowserWindow({
        autoHideMenuBar: true,
        show: false,
        webPreferences: {
            preload: path.join(__dirname, 'preload.js'),
            enableBlinkFeatures: 'enable-heavy-ad-intervention'
        }
    });

Read custom css before showing mainWindow and cache it.. The css is then injected once the window is shown.

    // CSS swap
    fs.readFile(swapperFolder + '/main_custom.css', "utf-8", function (error, data) {
        if (!error) {
            clientCSS = data.replace(/\s{2,10}/g, ' ').trim();
        }
    });

Preload.js
Replace single CSS function with 2: one for client css and one for custom

ipcRenderer.on('injectClientCSS', (event, css) => {
    let s = document.createElement("style");
    s.setAttribute("id", "gatoclientCSS");
    s.innerHTML = css;
    document.getElementsByTagName("body")[0].appendChild(s);
});
ipcRenderer.on('injectCustomCSS', (event, css) => {
    let s = document.createElement("style");
    s.setAttribute("id", "customCSS");
    s.innerHTML = css;
    document.getElementsByTagName("body")[0].appendChild(s);
});

Additional requests
Please provide a way to skip the auto update process to improve launch performance.
Also please, please remove that 35MB gif file and replace it with something more efficient to save on bandwidth.

Wrong client setting tab

Describe the bug
The last tab in settings gets labelled and redirects to client. CSS/margins also get slightly changed as a result.

To Reproduce
Steps to reproduce the behaviour:

  1. Navigate to settings via the settings
  2. Press any tab that isn't the Gato settings tab.
  3. Note the Gato client has now changed to Client, alongside with its event listeners. The tab is empty.

Expected behaviour
Gato client setting should remain regardless what tab you navigate to.

Screenshots
https://user-images.githubusercontent.com/49583904/144258626-8c7ac68e-9442-4c5a-b62e-043fd069743c.mp4

Desktop (please complete the following information):

  • OS: Windows 11
  • Version 1.4.0

[Feature request] Auto-load multiple mods

I'd love to see a setting where you can set some mods to stack by default whenever you open the game. Like maybe a sounds mod, a skins mod and a CSS mod for example.

Not sure exactly how you would choose which mods, maybe pasting a mod ID or something (not really sure how it works)

LInux AppImage Wont Open

The only way i've been able to get the AppImage to open is by running it through terminal with --no-sandbox.

Low resolution background in client settings

Describe the bug
Poor, low-resolution background in Gatoclient settings

To Reproduce
Steps to reproduce the behaviour:

  1. Open the application.
  2. Press the Gato logo.
  3. Note the background resolution.

Expected behaviour
Clear, sharp background image

Screenshots
image

Desktop (please complete the following information):

  • OS: Windows 11
  • Version 1.4.0

the client stuck on loading screen

Whenever I am opening the client it's stuck on the initializing screen.
here is a screenshot.
image

Please fix this soon & no it's not my internet.

recaptcha don't work on linux

Recaptcha not working. A window pops up at the top that moves the content but not the crosshairs. The game becomes so unplayable.
This problem exist only on 1.17

Custom billboards do not replace image billboards

Describe the bug
Custom game billboards will only replace billboards with text, not image backgrounds such as FaceIt promotions.

To Reproduce
Steps to reproduce the behaviour:

  1. Launch the client, ensure you have custom billboards enabled
  2. Join a game, look for a billboard with an image (eg. FaceIt)

Expected behaviour
Custom billboards should override image billboards.

Desktop (please complete the following information):

  • OS: Windows 11
  • Version 1.4.0

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.