Skip to content

Commit

Permalink
Merge branch 'master' into tob-repeat
Browse files Browse the repository at this point in the history
  • Loading branch information
TastyPumPum authored Oct 12, 2024
2 parents f3acc73 + 9bab974 commit 199660d
Show file tree
Hide file tree
Showing 47 changed files with 6,504 additions and 6,672 deletions.
9,558 changes: 4,743 additions & 4,815 deletions data/monster_data.tsv

Large diffs are not rendered by default.

44 changes: 19 additions & 25 deletions docs/src/content/docs/getting-started/wiki.md
Original file line number Diff line number Diff line change
Expand Up @@ -292,6 +292,18 @@ This is an automatically generated list of pages with possible issues to be look

[/index.mdx](https://github.com/oldschoolgg/oldschoolbot/blob/master/docs/src/content/docs/index.mdx): Doesnt use the new command formatting

[/osb/Activities/brimhaven-agility-arena.md](https://github.com/oldschoolgg/oldschoolbot/blob/master/docs/src/content/docs/osb/Activities/brimhaven-agility-arena.md): Doesnt use the new command formatting

[/osb/Activities/fountain-of-rune.md](https://github.com/oldschoolgg/oldschoolbot/blob/master/docs/src/content/docs/osb/Activities/fountain-of-rune.md): Doesnt use the new command formatting

[/osb/Activities/hallowed-sepulchre.md](https://github.com/oldschoolgg/oldschoolbot/blob/master/docs/src/content/docs/osb/Activities/hallowed-sepulchre.md): Doesnt use the new command formatting

[/osb/Activities/mage-training-arena.md](https://github.com/oldschoolgg/oldschoolbot/blob/master/docs/src/content/docs/osb/Activities/mage-training-arena.md): Doesnt use the new command formatting

[/osb/Activities/mahogany-homes.md](https://github.com/oldschoolgg/oldschoolbot/blob/master/docs/src/content/docs/osb/Activities/mahogany-homes.md): Doesnt use the new command formatting, Contains unintended HTML (e.g. `<td>`)

[/osb/Activities/wintertodt.md](https://github.com/oldschoolgg/oldschoolbot/blob/master/docs/src/content/docs/osb/Activities/wintertodt.md): Doesnt use the new command formatting

[/osb/Bosses/colosseum.md](https://github.com/oldschoolgg/oldschoolbot/blob/master/docs/src/content/docs/osb/Bosses/colosseum.md): Doesnt use the new command formatting

[/osb/Bosses/inferno.md](https://github.com/oldschoolgg/oldschoolbot/blob/master/docs/src/content/docs/osb/Bosses/inferno.md): Doesnt use the new command formatting
Expand Down Expand Up @@ -380,25 +392,15 @@ This is an automatically generated list of pages with possible issues to be look

[/osb/Raids/tob.mdx](https://github.com/oldschoolgg/oldschoolbot/blob/master/docs/src/content/docs/osb/Raids/tob.mdx): Doesnt use the new command formatting

[/osb/Skills/agility/agility-pyramid.md](https://github.com/oldschoolgg/oldschoolbot/blob/master/docs/src/content/docs/osb/Skills/agility/agility-pyramid.md): Doesnt use the new command formatting

[/osb/Skills/agility/brimhaven-agility-arena.md](https://github.com/oldschoolgg/oldschoolbot/blob/master/docs/src/content/docs/osb/Skills/agility/brimhaven-agility-arena.md): Doesnt use the new command formatting

[/osb/Skills/agility/hallowed-sepulchre.md](https://github.com/oldschoolgg/oldschoolbot/blob/master/docs/src/content/docs/osb/Skills/agility/hallowed-sepulchre.md): Doesnt use the new command formatting

[/osb/Skills/agility/monkey-backpacks.md](https://github.com/oldschoolgg/oldschoolbot/blob/master/docs/src/content/docs/osb/Skills/agility/monkey-backpacks.md): Doesnt use the new command formatting

[/osb/Skills/agility/README.md](https://github.com/oldschoolgg/oldschoolbot/blob/master/docs/src/content/docs/osb/Skills/agility/README.md): Doesnt use the new command formatting

[/osb/Skills/construction/mahogany-homes.md](https://github.com/oldschoolgg/oldschoolbot/blob/master/docs/src/content/docs/osb/Skills/construction/mahogany-homes.md): Doesnt use the new command formatting, Contains unintended HTML (e.g. `<td>`)
[/osb/Skills/agility.md](https://github.com/oldschoolgg/oldschoolbot/blob/master/docs/src/content/docs/osb/Skills/agility.md): Doesnt use the new command formatting

[/osb/Skills/construction/player-owned-houses.md](https://github.com/oldschoolgg/oldschoolbot/blob/master/docs/src/content/docs/osb/Skills/construction/player-owned-houses.md): Doesnt use the new command formatting

[/osb/Skills/construction/README.md](https://github.com/oldschoolgg/oldschoolbot/blob/master/docs/src/content/docs/osb/Skills/construction/README.md): Doesnt use the new command formatting

[/osb/Skills/construction/stash-units.md](https://github.com/oldschoolgg/oldschoolbot/blob/master/docs/src/content/docs/osb/Skills/construction/stash-units.md): Doesnt use the new command formatting, Contains unintended HTML (e.g. `<td>`)
[/osb/Skills/construction/stash-units.md](https://github.com/oldschoolgg/oldschoolbot/blob/master/docs/src/content/docs/osb/Skills/construction/stash-units.md): Doesnt use the new command formatting

[/osb/Skills/cooking.md](https://github.com/oldschoolgg/oldschoolbot/blob/master/docs/src/content/docs/osb/Skills/cooking.md): Doesnt use the new command formatting, Contains unintended HTML (e.g. `<td>`)
[/osb/Skills/cooking.md](https://github.com/oldschoolgg/oldschoolbot/blob/master/docs/src/content/docs/osb/Skills/cooking.md): Doesnt use the new command formatting

[/osb/Skills/crafting.md](https://github.com/oldschoolgg/oldschoolbot/blob/master/docs/src/content/docs/osb/Skills/crafting.md): Doesnt use the new command formatting

Expand All @@ -412,11 +414,7 @@ This is an automatically generated list of pages with possible issues to be look

[/osb/Skills/farming/tithe-farm.md](https://github.com/oldschoolgg/oldschoolbot/blob/master/docs/src/content/docs/osb/Skills/farming/tithe-farm.md): Doesnt use the new command formatting

[/osb/Skills/firemaking/firemaking-training.md](https://github.com/oldschoolgg/oldschoolbot/blob/master/docs/src/content/docs/osb/Skills/firemaking/firemaking-training.md): Doesnt use the new command formatting

[/osb/Skills/firemaking/README.md](https://github.com/oldschoolgg/oldschoolbot/blob/master/docs/src/content/docs/osb/Skills/firemaking/README.md): Doesnt use the new command formatting

[/osb/Skills/firemaking/wintertodt.md](https://github.com/oldschoolgg/oldschoolbot/blob/master/docs/src/content/docs/osb/Skills/firemaking/wintertodt.md): Doesnt use the new command formatting
[/osb/Skills/firemaking.md](https://github.com/oldschoolgg/oldschoolbot/blob/master/docs/src/content/docs/osb/Skills/firemaking.md): Doesnt use the new command formatting

[/osb/Skills/fishing/aerial-fishing.md](https://github.com/oldschoolgg/oldschoolbot/blob/master/docs/src/content/docs/osb/Skills/fishing/aerial-fishing.md): Doesnt use the new command formatting

Expand All @@ -430,7 +428,7 @@ This is an automatically generated list of pages with possible issues to be look

[/osb/Skills/fletching.md](https://github.com/oldschoolgg/oldschoolbot/blob/master/docs/src/content/docs/osb/Skills/fletching.md): Doesnt use the new command formatting

[/osb/Skills/herblore.md](https://github.com/oldschoolgg/oldschoolbot/blob/master/docs/src/content/docs/osb/Skills/herblore.md): Doesnt use the new command formatting, Contains unintended HTML (e.g. `<td>`)
[/osb/Skills/herblore.md](https://github.com/oldschoolgg/oldschoolbot/blob/master/docs/src/content/docs/osb/Skills/herblore.md): Doesnt use the new command formatting

[/osb/Skills/hunter/birdhouses.md](https://github.com/oldschoolgg/oldschoolbot/blob/master/docs/src/content/docs/osb/Skills/hunter/birdhouses.md): Doesnt use the new command formatting

Expand All @@ -444,11 +442,7 @@ This is an automatically generated list of pages with possible issues to be look

[/osb/Skills/hunter/README.md](https://github.com/oldschoolgg/oldschoolbot/blob/master/docs/src/content/docs/osb/Skills/hunter/README.md): Doesnt use the new command formatting, Contains unintended HTML (e.g. `<td>`)

[/osb/Skills/magic/fountain-of-rune.md](https://github.com/oldschoolgg/oldschoolbot/blob/master/docs/src/content/docs/osb/Skills/magic/fountain-of-rune.md): Doesnt use the new command formatting

[/osb/Skills/magic/mage-training-arena.md](https://github.com/oldschoolgg/oldschoolbot/blob/master/docs/src/content/docs/osb/Skills/magic/mage-training-arena.md): Doesnt use the new command formatting

[/osb/Skills/magic/README.md](https://github.com/oldschoolgg/oldschoolbot/blob/master/docs/src/content/docs/osb/Skills/magic/README.md): Doesnt use the new command formatting, Contains unintended HTML (e.g. `<td>`)
[/osb/Skills/magic.md](https://github.com/oldschoolgg/oldschoolbot/blob/master/docs/src/content/docs/osb/Skills/magic.md): Doesnt use the new command formatting, Contains unintended HTML (e.g. `<td>`)

[/osb/Skills/mining/motherlode-mine.md](https://github.com/oldschoolgg/oldschoolbot/blob/master/docs/src/content/docs/osb/Skills/mining/motherlode-mine.md): Doesnt use the new command formatting

Expand All @@ -460,7 +454,7 @@ This is an automatically generated list of pages with possible issues to be look

[/osb/Skills/mining/zalcano.md](https://github.com/oldschoolgg/oldschoolbot/blob/master/docs/src/content/docs/osb/Skills/mining/zalcano.md): Doesnt use the new command formatting

[/osb/Skills/prayer.md](https://github.com/oldschoolgg/oldschoolbot/blob/master/docs/src/content/docs/osb/Skills/prayer.md): Doesnt use the new command formatting, Contains unintended HTML (e.g. `<td>`)
[/osb/Skills/prayer.md](https://github.com/oldschoolgg/oldschoolbot/blob/master/docs/src/content/docs/osb/Skills/prayer.md): Doesnt use the new command formatting

[/osb/Skills/runecrafting/guardians-of-the-rift.md](https://github.com/oldschoolgg/oldschoolbot/blob/master/docs/src/content/docs/osb/Skills/runecrafting/guardians-of-the-rift.md): Doesnt use the new command formatting

Expand Down
21 changes: 10 additions & 11 deletions docs/src/content/docs/osb/combat-achievements.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -259,9 +259,8 @@ Rewards can be claimed by simply using [[/ca claim]] after completing a new tier
| Abyssal Sire | Respiratory Runner | 1 in 10 chance per kill |
| Alchemical Hydra | Alchemical Veteran | 75x Alchemical Hydra KC |
| Araxxor | Araxxor Veteran | 25x Araxxor KC |
| Araxxor | Araxxor Speed-Trialist | 1 in 200 chance per kill |
| Araxxor | Relaxxor | 1 in 200 chance per kill |
| Araxxor | Relaxxor | 1 in 200 chance per kill |
| Araxxor | Araxxor Speed-Trialist | 1 in 1 chance per kill |
| Araxxor | Relaxxor | 1 in 10 chance per kill |
| Basilisk Knight | Reflecting on This Encounter | 1x Basilisk Knight KC |
| Callisto | Callisto Veteran | 20x Callisto KC |
| Cerberus | Ghost Buster | 1 in 10 chance per kill |
Expand Down Expand Up @@ -400,11 +399,11 @@ Rewards can be claimed by simply using [[/ca claim]] after completing a new tier
| Alchemical Hydra | Working Overtime | 15x Alchemical Hydra KC |
| Alchemical Hydra | The Flame Skipper | 1 in 25 chance per kill |
| Alchemical Hydra | Don't Flame Me | 1 in 25 chance per kill |
| Araxxor | Araxyte Betrayal | 1 in 250 chance per kill |
| Araxxor | Perfect Araxxor | 1 in 400 chance per kill |
| Araxxor | Let it seep in | 1 in 400 chance per kill |
| Araxxor | Arachnid Lover | 1 in 400 chance per kill |
| Araxxor | Araxxor Speed-Chaser | 1 in 400 chance per kill |
| Araxxor | Araxyte Betrayal | 1 in 25 chance per kill |
| Araxxor | Perfect Araxxor | 1 in 50 chance per kill |
| Araxxor | Let it seep in | 1 in 40 chance per kill |
| Araxxor | Arachnid Lover | 1 in 1 chance per kill |
| Araxxor | Araxxor Speed-Chaser | 1 in 1 chance per kill |
| Araxxor | Araxxor Master | 75x Araxxor KC |
| Cerberus | Arooo No More | 1 in 25 chance per kill |
| Cerberus | Cerberus Master | 150x Cerberus KC |
Expand Down Expand Up @@ -533,9 +532,9 @@ Rewards can be claimed by simply using [[/ca claim]] after completing a new tier
| -- | -- | -- |
| Alchemical Hydra | Alchemical Speed-Runner | 1 in 55 chance per kill |
| Alchemical Hydra | No Pressure | 1 in 33 chance per kill |
| Araxxor | Araxxor Speed-Runner | 1 in 500 chance per kill |
| Araxxor | Perfect Araxxor 2 | 1 in 1000 chance per kill |
| Araxxor | Swimming in Venom | 1 in 1000 chance per kill |
| Araxxor | Araxxor Speed-Runner | 1 in 1 chance per kill |
| Araxxor | Perfect Araxxor 2 | 1 in 200 chance per kill |
| Araxxor | Swimming in Venom | 1 in 50 chance per kill |
| Chambers of Xeric | Chambers of Xeric (5-Scale) Speed-Runner | 1 in 1 chance per kill |
| Chambers of Xeric | Chambers of Xeric Grandmaster | 150x Chambers of Xeric KC. |
| Chambers of Xeric | Chambers of Xeric (Solo) Speed-Runner | 1 in 1 chance per kill |
Expand Down
76 changes: 45 additions & 31 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,44 +1,58 @@
{
"scripts": {
"============DEVELOPMENT": "============",
"watch": "nodemon --delay 1ms -e ts -w src --exec 'yarn buildandrun'",
"dev:stage1": "yarn concurrent \"yarn\" \"yarn wipedist\" \"prisma db push\" \"yarn generate:robochimp\"",
"dev:stage2": "yarn concurrent \"yarn build:tsc\"",
"dev:stage3": "yarn concurrent \"yarn commands\" \"yarn creatables\" \"yarn wiki\"",
"dev:stage4": "yarn lint && yarn test",
"dev": "yarn dev:stage1 && yarn dev:stage2 && yarn dev:stage3 && yarn dev:stage4",
"watch:tsc": "tsc -w -p src",
"buildandrun": "yarn build:esbuild && node --enable-source-maps dist",
"start": "echo 'yarn start is now the same as yarn watch' && yarn watch",
"============SCRIPTS": "============",
"spritesheet": "tsx ./scripts/spritesheet.ts && yarn lint:biome",
"data": "concurrently \"tsx ./scripts/monster_table.ts\" && yarn lint",
"wiki": "tsx ./scripts/wiki.ts",
"commands": "tsx ./scripts/renderCommandsFile.ts",
"creatables": "tsx ./scripts/renderCreatablesFile.ts",
"generate:robochimp": "prisma generate --no-hints --schema prisma/robochimp.prisma",
"============BUILDING": "============",
"build": "tsx ./scripts/build.ts",
"start": "yarn build && node --enable-source-maps dist/",
"gen": "concurrently --raw \"prisma generate --no-hints\" \"prisma generate --no-hints --schema prisma/robochimp.prisma\" && echo \"Generated Prisma Client\"",
"prettify": "prettier --use-tabs \"./**/*.{md,yml}\" --write --log-level silent",
"gen": "concurrently --raw \"prisma generate --no-hints\" \"yarn generate:robochimp\" && echo \"Generated Prisma Client\"",
"build:tsc": "tsc -p src",
"watch:tsc": "tsc -w -p src",
"build:esbuild": "concurrently --raw \"yarn build:main\" \"yarn build:workers\"",
"build:main": "esbuild src/index.ts src/lib/workers/index.ts --sourcemap=inline --minify --legal-comments=none --outdir=./dist --log-level=error --bundle --platform=node --loader:.node=file --external:skia-canvas --external:@prisma/robochimp --external:@prisma/client --external:zlib-sync --external:bufferutil --external:oldschooljs --external:discord.js --external:node-fetch --external:piscina",
"build:workers": "esbuild src/lib/workers/kill.worker.ts src/lib/workers/finish.worker.ts src/lib/workers/casket.worker.ts --sourcemap=inline --log-level=error --bundle --minify --legal-comments=none --outdir=./dist/lib/workers --platform=node --loader:.node=file --external:skia-canvas --external:@prisma/robochimp --external:@prisma/client --external:zlib-sync --external:bufferutil --external:oldschooljs --external:discord.js --external:node-fetch --external:piscina",
"============TESTING": "============",
"test": "yarn concurrent \"yarn test:circular\" \"yarn test:lint\" \"yarn test:unit\" \"yarn test:typecheck\"",
"test:typecheck": "concurrently \"tsc -p tests/unit\" \"tsc -p tests/integration\"",
"wipedist": "node -e \"try { require('fs').rmSync('dist', { recursive: true }) } catch(_){}\"",
"dev": "concurrently --raw --kill-others-on-fail \"yarn\" \"yarn wipedist\" \"yarn lint\" && concurrently \"yarn build\" \"yarn wiki\" && yarn test",
"test": "concurrently --raw --kill-others-on-fail \"tsc -p src && yarn test:circular\" \"yarn test:lint\" \"yarn test:unit\" \"yarn test:typecheck\"",
"test:circular": "dpdm --exit-code circular:1 --progress=false --warning=false --tree=false ./dist/index.js",
"test:lint": "biome check --diagnostic-level=error",
"test:unit": "vitest run --config vitest.unit.config.mts",
"test:docker": "docker compose up --no-attach db --no-attach redis --build --abort-on-container-exit && docker compose down -v",
"test:watch": "vitest --config vitest.unit.config.mts --coverage",
"buildandrun": "yarn build:esbuild && node --enable-source-maps dist",
"build:esbuild": "concurrently --raw \"yarn build:main\" \"yarn build:workers\"",
"build:main": "esbuild src/index.ts src/lib/workers/index.ts --sourcemap=inline --minify --legal-comments=none --outdir=./dist --log-level=error --bundle --platform=node --loader:.node=file --external:skia-canvas --external:@prisma/robochimp --external:@prisma/client --external:zlib-sync --external:bufferutil --external:oldschooljs --external:discord.js --external:node-fetch --external:piscina",
"build:workers": "esbuild src/lib/workers/kill.worker.ts src/lib/workers/finish.worker.ts src/lib/workers/casket.worker.ts --sourcemap=inline --log-level=error --bundle --minify --legal-comments=none --outdir=./dist/lib/workers --platform=node --loader:.node=file --external:skia-canvas --external:@prisma/robochimp --external:@prisma/client --external:zlib-sync --external:bufferutil --external:oldschooljs --external:discord.js --external:node-fetch --external:piscina",
"test:circular": "dpdm --exit-code circular:1 --progress=false --warning=false --tree=false ./dist/index.js",
"test:ci:unit": "concurrently --raw --kill-others-on-fail \"yarn test:unit\" \"yarn test:lint\" \"tsc -p tests/integration\" \"tsc -p tests/unit\" \"yarn build:tsc && yarn test:circular\"",
"spritesheet": "tsx ./scripts/spritesheet.ts && yarn lint:biome",
"data": "concurrently \"tsx ./scripts/monster_table.ts\" && yarn lint",
"wiki": "tsx ./scripts/wiki.ts",
"test:ci:unit": "yarn concurrent \"yarn test:unit\" \"yarn test:lint\" \"tsc -p tests/integration\" \"tsc -p tests/unit\" \"yarn build:tsc && yarn test:circular\"",
"============LINTING": "============",
"lint:biome": "biome check --write --unsafe --diagnostic-level=error",
"lint": "concurrently --raw --kill-others-on-fail \"yarn lint:biome\" \"yarn prettify\" \"prisma format --schema ./prisma/robochimp.prisma\" \"prisma format --schema ./prisma/schema.prisma\""
"lint:prettier": "prettier --use-tabs \"./**/*.{md,yml}\" --write --log-level silent",
"lint:prisma": "yarn concurrent \"prisma format --schema ./prisma/robochimp.prisma\" \"prisma format --schema ./prisma/schema.prisma\"",
"lint": "yarn concurrent \"yarn lint:biome\" \"yarn lint:prettier\" \"yarn lint:prisma\"",
"============MISC": "============",
"wipedist": "node -e \"try { require('fs').rmSync('dist', { recursive: true }) } catch(_){}\"",
"concurrent": "concurrently --raw --kill-others-on-fail"
},
"dependencies": {
"@oldschoolgg/toolkit": "git+https://github.com/oldschoolgg/toolkit.git#8686dc639154c528ce739c440554bc0c46c8ae79",
"@prisma/client": "^5.17.0",
"@prisma/client": "^5.20.0",
"@sapphire/ratelimits": "^2.4.9",
"@sapphire/snowflake": "^3.5.3",
"@sapphire/time-utilities": "^1.6.0",
"@sapphire/timer-manager": "^1.0.2",
"@sentry/node": "^8.15.0",
"@sentry/node": "^8.34.0",
"ascii-table3": "^0.9.0",
"bufferutil": "^4.0.8",
"discord.js": "^14.16.2",
"discord.js": "^14.16.3",
"dotenv": "^16.4.5",
"e": "0.2.33",
"exit-hook": "^4.0.0",
Expand All @@ -48,36 +62,36 @@
"murmurhash": "^2.0.1",
"node-cron": "^3.0.3",
"node-fetch": "^2.6.7",
"oldschooljs": "git+https://github.com/oldschoolgg/oldschooljs.git#50fff6e124d20f8118bcc09dad385046119a9175",
"oldschooljs": "git+https://github.com/oldschoolgg/oldschooljs.git#4056e639e7007226015d1380dd2312692bbfa8c3",
"p-queue": "^6.6.2",
"piscina": "^4.6.1",
"piscina": "^4.7.0",
"postgres": "^3.4.4",
"random-js": "^2.1.0",
"remeda": "^2.7.0",
"remeda": "^2.15.0",
"simple-statistics": "^7.8.3",
"skia-canvas": "^1.0.2",
"sonic-boom": "^4.0.1",
"sonic-boom": "^4.1.0",
"zlib-sync": "^0.1.9",
"zod": "^3.23.8"
},
"devDependencies": {
"@biomejs/biome": "^1.8.3",
"@biomejs/biome": "^1.9.3",
"@types/lodash": "^4.14.195",
"@types/node": "^20.14.9",
"@types/node-cron": "^3.0.7",
"@types/node-fetch": "^2.6.1",
"@vitest/coverage-v8": "^2.1.2",
"concurrently": "^8.2.2",
"dpdm": "^3.14.0",
"esbuild": "0.21.5",
"esbuild": "0.24.0",
"fast-glob": "^3.3.2",
"google-auth-library": "^9.14.1",
"google-spreadsheet": "^4.1.4",
"nodemon": "^3.1.4",
"prettier": "^3.3.2",
"prisma": "^5.17.0",
"nodemon": "^3.1.7",
"prettier": "^3.3.3",
"prisma": "^5.20.0",
"spritesmith": "^3.4.1",
"tsx": "^4.16.2",
"tsx": "^4.19.1",
"typescript": "^5.5.3",
"vitest": "^2.1.2"
},
Expand All @@ -86,6 +100,6 @@
},
"packageManager": "[email protected]",
"resolutions": {
"esbuild": "0.21.5"
"esbuild": "0.24.0"
}
}
Loading

0 comments on commit 199660d

Please sign in to comment.