Git Product home page Git Product logo

oldschooljs's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  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

oldschooljs's Issues

When fetching the highscores for boss kc the first 4 are incorrect

I've started using the library to get some info for a personal project and I noticed that the first 4 boss kcs are incorrect (excluding callisto and cerberus because I noticed the data on them isn't on the response from the API).

Here's my example code

const Hiscores = require('oldschooljs').Hiscores;

Hiscores.fetch('Inversion').then(player => {
    console.log(player.bossRecords);
}).catch(console.error);

this is the response I get:

{ abyssalSire: { rank: -1, score: -1 },
  alchemicalHydra: { rank: 26144, score: 65 },
  barrowsChests: { rank: 28494, score: 81 },
  bryophyta: { rank: 26211, score: 370 },
  cerberus: { rank: -1, score: -1 },
  chambersofXeric: { rank: 1960, score: 1305 },
  chambersofXericChallengeMode: { rank: 1336, score: 40 },
  chaosElemental: { rank: 4324, score: 141 },
  chaosFanatic: { rank: 9087, score: 104 },
  commanderZilyana: { rank: 4668, score: 654 },
  corporealBeast: { rank: 9551, score: 171 },
  crazyArchaeologist: { rank: 72770, score: 3 },
  dagannothPrime: { rank: 22056, score: 316 },
  dagannothRex: { rank: 25908, score: 358 },
  dagannothSupreme: { rank: 21108, score: 338 },
  derangedArchaeologist: { rank: -1, score: -1 },
  generalGraardor: { rank: 14079, score: 477 },
  giantMole: { rank: 91222, score: 2 },
  grotesqueGuardians: { rank: 9831, score: 205 },
  hespori: { rank: 76628, score: 7 },
  kalphiteQueen: { rank: 12531, score: 202 },
  kingBlackDragon: { rank: 20799, score: 340 },
  kraken: { rank: 19926, score: 2015 },
  kreeArra: { rank: 15894, score: 116 },
  krilTsutsaroth: { rank: 17636, score: 100 },
  mimic: { rank: 5164, score: 2 },
  obor: { rank: -1, score: -1 },
  sarachnis: { rank: 14639, score: 21 },
  scorpia: { rank: 1727, score: 484 },
  skotizo: { rank: 34922, score: 23 },
  theGauntlet: { rank: 1103, score: 89 },
  theCorruptedGauntlet: { rank: 2534, score: 4 },
  theatreofBlood: { rank: 970, score: 915 },
  thermonuclearSmokeDevil: { rank: 13580, score: 724 },
  tzKalZuk: { rank: 2054, score: 1 },
  tzTokJad: { rank: 7240, score: 19 },
  venenatis: { rank: 2721, score: 595 },
  vetion: { rank: 5824, score: 74 },
  vorkath: { rank: 12263, score: 877 },
  wintertodt: { rank: 131007, score: 60 },
  zalcano: { rank: 20517, score: 75 },
  zulrah: { rank: 28225, score: 800 } }

The highscores page for this player:
https://secure.runescape.com/m=hiscore_oldschool/a=870/hiscorepersonal?user1=Inversion

You can see there that sire, hydra, barrows and bryophita's scores are wrong.

EDIT:

After going through some other profiles I realized what the problem is, you're not taking into account the highscores for LMS which upsets the first few boss highscores. You should also probably remove Cerberus like you did with Callisto until they make it show up on the api.

Assume no ROW

Assume no monsters are killed with ROW unless it's coded as optional , with no row as the default

Update Revenants normal and secondary drops

Back in October 2021, Jagex reajusted the revenant's normal table and added secondary drops with blighted items on them.

The bot is still currently using the old normal loot table and should be updated.

The uniques have already been updated here - #326

[Question] GWD Bosses drop tables

How did you calculate the coin weight in gwd bosses drop tables. For example for General Graardor it's 28 here. In the wiki I see it's (31.7 + 1.25)/127? What are the steps to get 28 as the weight for coins?

Boss parsing offset

๐Ÿ› Bug Report

The parsing for bosses is now wrong, off by 1. I expect this is relevant to the new RC boss.

I expect Jagex extended the boss CSV list and the delimiters are not reflecting it appropriately.

For example, stats and info for Vorkath are now parsed as Kree'Ara due to the offset issue.

Beach boxing gloves

in oldschooljs/src/data/items/
Item ids: 11705,11706 are duplicate name
messes with discord bot, suggest alternatives:

11705: Beach boxing gloves (yellow)
11706: Beach boxing gloves (pink)

Add Kill Options

Add Kill Options to monsters. Examples:

  • Number of barrows points, whether you have diary completed or not
  • Whether youre in task, in wildy, etc
  • In catacombs or not

Ring of wealth maybe not as it would probably be a big pain.

Show GE values of the drops

๐Ÿš€ Feature Proposal

It would be very nice if the total GE value of all of the loot is shown as well

image

Loot Simulator Blue Dragon not showing scaly blue dragonhides

๐Ÿ› Bug Report

Write a description of the bug here, give all the information you can about what it is, how it happened.
Screenshot_20240530_221538

As shown in screenshot, scaly bluedragonhide doesn't appear in the GUI.

Actually, I just tested it on Vorkath as well and doesn't show up there either
Screenshot_20240530_221714

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.