-
Notifications
You must be signed in to change notification settings - Fork 33
POB Update #349
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?
POB Update #349
Conversation
Aingar
commented
Nov 17, 2023
- Major performance optimization to health manipulation
- Earhart randomization should now never trigger after a server crash
- Flattening of Dock_Call hook method
- Minor cleanup of unused variables in CoreModule
- /base setshield now only accepts valid numeric input
- Major performance optimization to health manipulation - Earhart randomization should now never trigger after a server crash - Flattening of Dock_Call hook method - Minor cleanup of unused variables in CoreModule - /base setshield now only accepts valid numeric input
| } | ||
|
|
||
| WritePrivateProfileString("Timer", "lastRandomization", itos((int)currTime).c_str(), cfg_filehyperspaceHubTimer.c_str()); | ||
| WritePrivateProfileString("Timer", "lastRandomization", itos((int)(currTime - (currTime % randomizationCooldown))).c_str(), cfg_filehyperspaceHubTimer.c_str()); |
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.
wot - isn't this some other PR?
|
|
||
| pub::SpaceObj::SetRelativeHealth(space_obj, base->base_health / base->max_base_health); | ||
|
|
||
| base->baseCSolar = (CSolar*)CObject::Find(space_obj, CObject::CSOLAR_OBJECT); |
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.
You must call Release on this whenever we bin a PlayerBase object, e.g. probably in basedespawn
| base_shield_reinforcement_threshold = FLT_MAX; | ||
| } | ||
| } | ||
| if (baseCSolar && base_health <= max_base_health) |
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.
ok but what does this have to do with checking vulnerability windows?