dangothemango / epic-reservations Goto Github PK
View Code? Open in Web Editor NEWscripts to automatically reserve ski days for epic pass
License: GNU General Public License v3.0
scripts to automatically reserve ski days for epic pass
License: GNU General Public License v3.0
VM674:81 Uncaught (in promise) TypeError: Illegal invocation
at changeMountain (:81:26)
at doTheWork (:205:8)
at start (:220:2)
at :1:1
Hi Dan! I am getting the above error when attempting to run, here are the values I input. LMK if I am doing something wrong. Thanks!
desiredDay = "20"
mountains = ['14']
people = ['timothy reuber']
delay = 2000
replace the desiredDay variable with a list of days, the script should check each of these days for availability in order and reserve the first one it finds
for mountain in mountains:
for day in days:
if (canReserveDay(day)):
reserveDay(day)
After a certain amount of time, a popup appears that says your session will timeout in 10 minutes. A simple click event does not suffice for dismissing this popup. Figure out a way to extend the session using react events
sometimes when a passholder checkbox is clicked an error appears. this error can be something like (the passholder already has a reservation on that day) Make it so this doesnt break the script and it can continue to other passholders in the list or other mountains/days
Hello, I'm interested in using these scripts (thank you for coding them up!). Is there a benefit for using one script over the other? The timeout seems simplest (at least to understand code-wise), but not sure if the other one is better to use for a specific scenario? Thanks!
Checkout this short gist for how to extend the session and (separately) adding some delays between checks of the reservations.
(see doTheWork() for the session extension)
I also tried simulating mouse clicks, and then realized it was a server side thing that was keeping track of activity.
https://gist.github.com/scottmsilver/3ff9cff38445a8caa3c1e7781a93f286
change the format of desiredDay(s) to be 'mm/dd' if the day is in a month that is not the current month, automatically move the calendar to the specified month.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.