https://github.com/bkader/garbageprotector

Blocks some functions that causes the game to freeze or lag.

https://github.com/bkader/garbageprotector

Science Score: 13.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
  • DOI references
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (7.8%) to scientific vocabulary

Keywords

addons worldofwarcraft wotlk wow
Last synced: 5 months ago · JSON representation

Repository

Blocks some functions that causes the game to freeze or lag.

Basic Info
  • Host: GitHub
  • Owner: bkader
  • Language: Lua
  • Default Branch: main
  • Homepage:
  • Size: 165 KB
Statistics
  • Stars: 7
  • Watchers: 3
  • Forks: 3
  • Open Issues: 0
  • Releases: 0
Topics
addons worldofwarcraft wotlk wow
Created over 4 years ago · Last pushed over 3 years ago
Metadata Files
Readme Funding

README.md

GarbageProtector

Some WoW addons call the lua collectgarbage function irresponsibly, causing all execution to halt until it is finished. This can take more than half a second, which freezes the game in an annoying manner. Most addons don't need to make such calls, but some do anyway, causing these lockups.

The addon's folder name has 3 "!"s at the beginning to cause it to be loaded first, before any addons that would slow loading screens with collectgarbage calls.

Warning: Due to the nature of the 2 hooks GarbageProtector implements, unless the hooks are toggled off (from either the GarbageProtector options menu, the command line interface, or the Lua setter functions), it will prevent:

  1. Full manual garbage collection cycles (function named "collectgarbage"; does not prevent the regular rate of Lua's garbage collector)
  2. Updating the current count of addon memory usage (function named "UpdateAddOnMemoryUsage"; makes profiling addons show 0 or their most recently-queried value)

For example, ElvUI has a feature to run a garbage collection manually by clicking somewhere. This is prevented by GarbageProtector because it is an irresponsible use of collectgarbage which locks up your game (which if run automatically like some addons do, is not nice to the user). However, if you really want to run it, you can toggle GarbageProtector's option with "/gp collectgarbage" or from the GUI options menu. That's why options were added in the first place: so you can choose what you want to do.

How to install

  1. Download the package.
  2. Unpack the Zip file.
  3. Open the folder GarbageProtector-main.
  4. Copy (or drag and drop) !!!GarbageProtector folder into your Wow-Directory\Interface\AddOns.
  5. Restart WoW
  6. Enjoy!

Owner

  • Name: Kader Bouyakoub
  • Login: bkader
  • Kind: user
  • Location: Algeria
  • Company: @ianhubnet

Simple dynamic guy, a developer, a gamer, a geek and specialized in anything as long as I can learn it.

GitHub Events

Total
  • Watch event: 2
  • Fork event: 1
Last Year
  • Watch event: 2
  • Fork event: 1

Issues and Pull Requests

Last synced: over 1 year ago

All Time
  • Total issues: 0
  • Total pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Total issue authors: 0
  • Total pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 0
  • Pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
Pull Request Authors
Top Labels
Issue Labels
Pull Request Labels