-
Notifications
You must be signed in to change notification settings - Fork 66
Feat/portals weight #429
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
base: master
Are you sure you want to change the base?
Feat/portals weight #429
Conversation
… the bot as well.
Introduce weight field to Portal class and modify StarBuilder to handle weighted edges Update StarManager with specific portal weights for better pathfinding
| .addMap(22, "2-6").addPortal(2000, 11500, "2-5").addPortal(18500, 2000, "2-8") | ||
| .addMap(23, "2-7").addPortal(2000, 11500, "2-5").addPortal(18500, 2000, "2-8") | ||
| .addMap(24, "2-8").addPortal(2000, 11500, "2-6").addPortal(18500, 11500, "2-7").addPortal(11084, 11084, "2BL"); | ||
| .addMap(24, "2-8").addPortal(2000, 11500, "2-6").addPortal(18500, 11500, "2-7").addPortal(10500, 12500, "2BL", 10.0); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This just makes it so the void will avoid using BL portals even if they may be significantly shorter paths.
I don't understand the rationale behind this, unless its intended to be for accounts of a level lower than minimum requirement, but if that's the aim then it shouldn't be just 10 more weight, it should be straight up disabled until you have the minimum level, and should change based on your level.
| Time.toString(Math.max(0, pauseUntil - System.currentTimeMillis()))); | ||
| } | ||
|
|
||
| private void showClosePopup() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
disconnect module changes look good, but them being in the same PR as the other changes is not
please open them separately if you want these merged
No description provided.