Skip to content

Instantly share code, notes, and snippets.

View m-byte918's full-sized avatar
🏠
Working from home

Chris m-byte918

🏠
Working from home
View GitHub Profile
@m-byte918
m-byte918 / BotW_Enemy_Health
Created June 2, 2017 22:01
Breath of the Wild all enemy health
hp=8000, name=Calamity Ganon (Enemy_Ganon)
hp=5000, name=Silver Lynel (Enemy_Lynel_Dark)
hp=4000, name=White-Maned Lynel (Enemy_Lynel_Senior)
hp=3000, name=Guardian Scout IV (Enemy_Guardian_Mini_Senior)
hp=3000, name=Blue-Maned Lynel (Enemy_Lynel_Middle)
hp=2000, name=RemainsElectricCannon (RemainsElectricCannon)
hp=2000, name=Lynel (Enemy_Lynel_Junior_Mountain)
hp=2000, name=Lynel (Enemy_Lynel_Junior)
hp=2000, name=GuardianWeakPoint (GuardianWeakPoint)
hp=2000, name=GuardianBeamCannon (GuardianBeamCannon)
@m-byte918
m-byte918 / BotW_Cheat_Ideas
Created June 3, 2017 01:03
BotW Cheat Ideas
- Magnesis from any distance
- Unlimited stasis'd items
- Unlimited Octorok balloon time
- Enemy attack speed multiplier
- Swing two handed weapons as one handed weapons
- Armor dye color modifier
- Remote bomb quantity
- Remote bomb explosion radius (maybe bomb size radius modifier would have the same effect?)
- Press button to stasis object while magnesis-ing it
- Magnesis any object (enemies, etc)
#include <iostream>
int main() {
while (true) {
int outsideRoot;
int insideRoot;
int d = 2;
std::cout << "input outside root (if none, input 1)\n";
std::cin >> outsideRoot;
@m-byte918
m-byte918 / GameConfiguration.json
Created August 9, 2018 15:43
(Latest) Important Agar.io configs
{
"gameConfig": {
"Default Settings - Comm.": [
{
"key": "tcpPingInterval",
"value": 60
},
{
"key": "udpPingInterval",
"value": 1
@m-byte918
m-byte918 / GameConfiguration.json
Last active December 14, 2020 05:18
Old Agar.io Configuration
{
"gameConfig": {
"Default Settings - Comm.": [
{
"key": "tcpPingInterval",
"value": 60
},
{
"key": "udpPingInterval",
"value": 1
@m-byte918
m-byte918 / MASSES.txt
Created March 21, 2019 23:42
Masses I recorded after exploding on viruses
/*
(614 + 100) -> 345, 46, 33, 30, 29, 26, 22, 22, 22, 22, 20, 20, 20, 19, 19, 19
n/16: 44, 21
(559 + 222) -> 392, 49, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24
n/16: 48, 24
(590 + 222) -> 404, 51, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25
n/16: 50, 25
(712 + 100) -> 406, 51, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25
n/16 50, 25
(848 + 100) -> 479, 59, 30, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29
@m-byte918
m-byte918 / epstein.js
Created March 19, 2020 01:47
Control cell boost direction
boostCell(cell) {
const d = cell.boost.d / 9 * this.handle.stepMult;
if (cell.owner !== null) {
let dx = cell.owner.router.mouseX - cell.x;
let dy = cell.owner.router.mouseY - cell.y;
let d0 = Math.sqrt(dx * dx + dy * dy);
if (d0 < 1) {
dx = 1;
dy = 0;
} else {
@m-byte918
m-byte918 / settings.txt
Last active March 27, 2020 03:19
Some settings I found by observing games
Megasplit settings | Vanis | Gota
----------------------+-------------+-------------
Recombine time | 8 seconds | 30 seconds
Max player cells | 64 | 64
Player start mass | 2000 | 510
Min player split mass | 128 | 36
Min player eject mass | 36 | 52
Min playercell mass | 10 | 10
Playercell decay rate | 0.001 | ~0.004
Min food mass | 4 | 2
@m-byte918
m-byte918 / metascore.js
Last active August 14, 2023 03:26
MK8DX meta score calculator
// Ordered from least -> most important
// See: https://strawpoll.com/polls/B2ZBEWz5zgJ/results
const stats = ["trc", "inv", "hdl", "wt", "acl", "spd", "mt"];
// nth triangle number - https://math.stackexchange.com/questions/593318/factorial-but-with-addition
const n = stats.length;
const statWeightScalar = 1 / ((n**2 + n) / 2);
const statWeights = { };
for (let i = 0; i < n; ++i) {
@m-byte918
m-byte918 / mk8dxbuilder_meta_scores.user.js
Last active August 14, 2023 03:22
Tampermonkey userscript to calculate and show "meta scores" for each combo on mk8dxbuilder.com
// ==UserScript==
// @name mk8dxbuilder meta scores
// @namespace http://tampermonkey.net/
// @version 0.1
// @description calculate and show meta scores for each combo
// @author chrod64
// @match https://mk8dxbuilder.com/
// @icon https://www.google.com/s2/favicons?sz=64&domain=mk8dxbuilder.com
// @grant none
// ==/UserScript==