Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Public Join - Elapsed time check #48

Merged
merged 4 commits into from
Nov 3, 2019

Conversation

ryancrunchi
Copy link
Collaborator

Added PublicJoinMaxElapsedTime property in StarterConfig of D2BotPubJoin.
Added functions to retrieve the elapsed time of a game in the public games list in OOG.js.

This PR is a copy/paste of my PR from kolton repo : kolton/d2bot-with-kolbot#985

Usage
In your char config :
Config.StarterConfig.PublicJoinMaxElapsedTime = 60; // seconds
Bot will not join public games which elapsed time is greater than this value. Set -1 to disable.

jaenster and others added 4 commits November 1, 2019 23:21
Added `Missiles` to `sdk.unittype`.
Added Missiles Data to `GameData`.
Refactored Prototypes to use `defineProperty` instead of `__defineGetter__` and be enumerable properties.
Removed duplicate declaration of `unit` getter for `PresetUnit` class.
Added `moveBy` function to Unit prototype.
Added GeneticAlgorithmAttack bot script.
Added `missiles.txt` and `monstats.txt` sdk files from d2 mpq data.
Added `PublicJoinMaxElapsedTime` property in StarterConfig of D2BotPubJoin.
Added functions to retrieve the elapsed time of a game in the public games list in `OOG.js`.
@jaenster jaenster mentioned this pull request Nov 3, 2019
@jaenster
Copy link
Owner

jaenster commented Nov 3, 2019

Normally i wouldnt like merging it directly to master, But eh. not much comes with it now, lets

@jaenster jaenster merged commit f07b39a into jaenster:master Nov 3, 2019
@ryancrunchi ryancrunchi deleted the elapsed-time-check branch November 3, 2019 16:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants