Git Product home page Git Product logo

pit's Introduction

pit

brooke's attempt at creating a Hypixel Pit events tracker
Hey, everyone!
This is my attempt at creating something similar to https://pit.splox.us. As much as I like the site, I was frustrated with its high daily downtime, no way to view events that had already started, or a way to filter events.
I'm teaching myself JavaScript with this project!

pit's People

Contributors

brooke-gill avatar adjectiven0un avatar

Stargazers

John Doknjas avatar Dysprosium163  avatar  avatar  avatar Aidan Liu avatar  avatar  avatar Clipi avatar

Watchers

Clipi avatar  avatar  avatar

pit's Issues

Page crashes if all events are HiddenEvents

No event is currently being displayed at the moment because HiddenEventCount === EventsToLoad.
However, this also means AudioChecker() and RapidFirst(transformation) throw exceptions, as this is not supposed to happen.
Those errors stop further execution of the code, and consequently, DayNightCycle() is never called, and the timer never gets updated.

Values in the `prestige_xp` lists

Hi, I noticed that for the prestige_xp lists, the values of each element may be slightly too high (not entirely sure though):

   `xp_map = [15, 30, 50, 75, 125, 300, 600, 800, 900, 1000, 1200, 1500, 0];
    prestiges = [100, 110, 120, 130, 140, 150, 175, 200, 250, 300, 400, 500, 600, 700, 800, 900, 1000, 1200, 1400, 1600, 1800, 2000, 2400, 2800, 3200, 3600, 4000, 4500, 5000, 7500, 10000, 10100, 10100, 10100, 10100, 10100, 20000, 30000, 40000, 50000, 75000, 100000, 125000, 150000, 175000, 200000, 300000, 500000, 1000000, 5000000, 10000000,];
    prestige_xp = [65950, 138510, 217680, 303430, 395760, 494700, 610140, 742040, 906930, 1104780, 1368580, 1698330, 2094030, 2555680, 3083280, 3676830, 4336330, 5127730, 6051030, 7106230, 8293330, 9612330, 11195130, 13041730, 15152130, 17526330, 20164330, 23132080, 26429580, 31375830, 37970830, 44631780, 51292730, 57953680, 64614630, 71275580, 84465580, 104250580, 130630580, 163605580, 213068080, 279018080, 361455580, 460380580,575793080, 707693080, 905543080, 1235293080, 1894793080, 5192293080,11787293080,];`

E.g., for the first element of prestige_xp, 65950 is what you get by multiplying each value in xp_map by 10 and then summing the products. However, since players start at level 1, this sum is too great (by counting 15xp for level 0 --> 1). So instead the first element of prestige_xp should be 65935, which is obtained by 9(15)+10(30)+10(50)+...+10(1500).

I may be missing something though, since I noticed in oldtracker.html that 65935 used to be the first element's value, but it was commented out and replaced with 65950.

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.