This contains a special API Tester class and multiple API tests which help to find what is bugged out after new L patches. Among present tests there are also few test-demos which demonstrate some bugs I've found.
The main point of this tester is to fill it with fully automated tests as much as possible, so they will start on their own as soon as script is loaded and game is started. Basically you just have to load it and let it do the job. Additionally you can switch between tests (go back or forward through tests) with hotkeys.
- L - runs next test
- J - runs previous test
Some tests may be performed automatically, in this case it will automatically start next test. Read console/chat during testing for more information.
During automatic testing please don't use any spells and don't move your hero.
- Modify current myHero methods tests to also test for specific used members (such as myHero.pos, myHero.visionPos, myHero.isMoving, etc).
- Add initial test, which tests common stuff like Utility.DelayAction and other stuff, which is required to perform basic tests.
- If there is Graphics.DrawLine() and Render.Line with same width - it bugs out and draws only one of them.
- myHero.animation is still buggy.
- Callback.Unbind() is often causing bugsplats.
- "GameStart" callback gets triggered before actual game start if you reload the script during loading screen.
- Calling myHero.level is causing bugsplats
- Graphics.DrawText() completely ignores size parameter
- Didn't find WINDOW_W, WINDOW_H alternatives.
- [Note: We don't really need it] Separate BoL 1.0 like GetTextArea() function. Right now it's inside Render.Text class, but it won't hurt to have it as standalone additionally.