ImpactDevelopment / ImpactIssues

Please use this repo to report bugs and request features
https://impactclient.net/
216 stars 36 forks source link

Low Memory Usage Mode #610

Open Thunder33345 opened 6 years ago

Thunder33345 commented 6 years ago

AKA AFK Mode

AFK mode will at a click of button turn off all unnecessary features, lower graphics setting, lower framerate etc so that it can be run with multiple instance of the same client in multiple/same server with multiple accounts

it should generally just lower all graphic settings as low as the client's API will allow for example changing render distance to as low as possible(config to overwrite it for things that need chunk loading) lower FPS to 10/lower if possible disable all particles stop rendering all dropped items optionally mute all sound optionally notifier that plays a sound for player status, play a sound if HP/Food goes down or player go within range(but i think auto logger is still your best friend)

this is useful for people who want to afk in minecraft while playing other games, or even run multiple accounts with minimal impact to the device's framerate

once the AFK mode is disabled, everything will resume as normal, all settings will be set to previous position

SuperOP535 commented 6 years ago

these all can be done from settings and modules

Thunder33345 commented 6 years ago

auto afk when lost focus toggle, when this is on, and user lost focus in game, it will try to turn off/limit unnecessary features like capping framerate turn off particles, turn off render distance etc all have an option(same as above)

so that when you go offscreen to check discord/search something you dont have to deal with the unnecessary lag everything will return to normal when you return your focus to the window

i originally intended for this to be a separate issue but i think it's better to be merged

LeafHacker commented 6 years ago

mfw every time xisuma posts a video we get a feature request

Thunder33345 commented 6 years ago

i think pepsi mod have smth like that too that lock framerate when went out of focus, but we can do better than that

ZeroMemes commented 5 years ago

I'd added something similar in Baritone for the CI pathing tests. It could be re-implemented into Impact. https://github.com/cabaletta/baritone/commit/d7a0d26fd24fd5f881f56db6596e57df3b4353b1#diff-883e2575b5eb8ce3a7f9f99663a1a401R52

Additionally, the render distance could be set to 0, which effectively unloads all chunks except the one you are in (maybe a radius of 1 I'm not sure) and nothing is rendered, and we could force the window size, because the method used in the diff only works during startup.