-
Notifications
You must be signed in to change notification settings - Fork 2
Documentation
The anotherkrunkerclient boasts a plethora of customization features to help you optimize your experience in Krunker. Below, we have provided detailed information about the client's specifications and how to use it.
Resource swappers, also known as assets swappers, are a powerful tool that anotherkrunkerclient fully supports, much like most other clients.
These swappers offer end-users the ability to customize Krunker's assets by blending them with their own local resources. This means that users can swap out default game fonts, exchange gun sounds, or even extend the site with their own custom stylesheet.
Moreover, anotherkrunkerclient takes the resource-swapping experience a step further by allowing users to set their own resource swapper path. This feature is particularly handy for those who switch between different Krunker clients and wish to avoid managing multiple folders containing the same assets or symbiotic links.
The client is also capable of fixing origin (CORS) issues with browserfps.io, the alternative domain for Krunker, to ensure seamless functionality.
By default, the resource-swapper path for anotherkrunkerclient is %HOMEPATH%/Documents/<client name> (<client name> being anotherkrunkerclient in this case. However, since this repository can also serve as boilerplate code, this path may vary.
The default path for anotherkrunkerclient is %HOMEPATH%/Documents/<client name> (<client name>, in this case being anotherkrunkerclient, but as this repository can serve as boilerplate code, that may vary.
Another purpose of anotherkrunkerclient is to be beneficial for streamers who have otherwise limited resources. Upon completion of stream OAuth process, a new chat tab will appear: the chat associated with your stream. This chat replicates the messages from your channel, so any messages typed by you or your viewers will be displayed in the in-game chat. If you type a message on the in-game chat while your stream chat is open, it will automatically be sent to your stream chat instead.
Moreover, the client offers various Krunker-related commands that viewers can use, and the client will respond accordingly. For instance, !link will respond with a link to your Krunker game, and moderators and broadcasters can use !ping, which will prompt a response of pong!
At present, the client is only compatible with Twitch. However, plans for incorporating custom commands and YouTube Live support are on the horizon.
Web extensions such as uBlock Origin help to protect your privacy by using "Filter lists" to remove malicious content such as ads and trackers from most websites. With the @cliqz-adblocker-electron dependency, anotherkrunkerclient can achieve similar results.
By default, the heaviest combination of filter lists is used (easylist, ublock-origin and peter-lowe) to ensure maximum efficiency. What's great is that you can further add to the predefined lists in the settings. To apply additional filters, you can split lists with a comma and input it in the settings. Please refer to the following list for syntax details.
Permitted:
- URLs using http/https protocol
- Text files in the resource swapper, when prefixed with
swapper:// - Files outside the resource swapper directory
- Other internet protocols
- Plaintext filters
Examples of incorrect usage:
ftp://user@host/foo/filters.txt,5,krunker.io###termsInfo,/home/philip-fry/filters.txt
Examples of correct usage:
https://pastebin.com/raw/K2N0RyTC,swapper://filters.txt
anotherkrunkerclient falsifies the User-Agent readout in an attempt to hide it's an electron wrapper. This cannot be disabled, and attempting to may result in malfunction.
To achieve the User-Agent spoof, the client employs the top-user-agents dependency, which updates an array of commonly used user agents at regular intervals. The process of generating a fake user agent involves first detecting the operating system and then iterating through the list until a suitable match is found for the detected operating system and Chrome. The generated user agent is then stored in the configuration and is read when the app launches.
It is worth noting that the spoofed user agent will only last for 14 days before expiring and being refreshed.
Userscripts are a critical component of Krunker's functionality. While they are commonly associated with in-game cheats, they can also unlock a wealth of additional features for users. This includes anything from displaying key overlays and enabling remote procedure calls to game optimizations and modifying skybox colors.
To fully support userscripts, anotherkrunkerclient is working to implement the GreaseMonkey API. This involves everything from parsing metadata blocks to exposing GM tools to the userscript and executing scripts anonymously in accordance with the documentation.
However, this is not without its challenges, as there are gaps to be addressed between the functionality of node and browsers.