Skip to content

Weeeqt/BoL-API-Tester

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 

Repository files navigation

API Tester for BoL 2.0

What is it?

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.

How to use:

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.

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.

Important:

During automatic testing please don't use any spells and don't move your hero.

Script related tasks:

ToDo:

  1. Modify current myHero methods tests to also test for specific used members (such as myHero.pos, myHero.visionPos, myHero.isMoving, etc).

Done:

  • Add initial test, which tests common stuff like Utility.DelayAction and other stuff, which is required to perform basic tests.

Spudgy's bugfarm:

Unfixed:

  1. If there is Graphics.DrawLine() and Render.Line with same width - it bugs out and draws only one of them.
  2. myHero.animation is still buggy.
  3. Callback.Unbind() is often causing bugsplats.
  4. "GameStart" callback gets triggered before actual game start if you reload the script during loading screen.

Fixed:

  • 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.

About

Automated BoL 2.0 API Tester

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published