OAP Lizzard A game interface engine
Game interfaces, outside the game Settings

Building Lizzard / The development journal

Project journal

Milestones, decisions, experiments, mistakes and fixes, newest first. Open an entry for what was checked, the outcome and what is still uncertain. An entry written after the day it describes says when it was written.

Journal entries

Find entries

1–3 of 3 entries for Stage 8 · Test service (of 61 in the journal), newest first. Show all

Stage 8 · Test service Milestone

Moving clips for addon tests, with no frame dropped

An addon's test can now ask Lizzard for a moving clip: a picture of every frame for a stretch of game time, and an MP4 made from them. No frame can be dropped, because Lizzard holds its own game clock and moves it one exact frame per picture, however long each takes to draw.

Read the entry: Moving clips for addon tests, with no frame dropped

I asked whether addon tests could take videos for checking animations. My worry was dropped frames, "especially for addons that are testing animations".

Lizzard keeps the game's clock itself, so a recording moves it exactly one frame per picture: timers and animations run for that frame, the picture is saved, then the next. A slow picture makes the recording slower to make, never the clip wrong. Film renderers work the same way.

One thing can't be held still: Lua that reads the computer's own clock sees real time pass, so such calls during a recording are listed, never trusted silently.

On OAP Party Utilities' slide test, 96 frames came out at 60 a second, none dropped, and the game's animation could be followed leaving a class icon behind. No clip is on the site: its frames show a private chat line, and the site can't show video yet.

Link to this entry
event Stage 8 · Test service Decision

Lizzard's answer to a project's integration requests

A separate project that uses Lizzard sent a draft of six requests. Lizzard answered with what it would and would not do, then built all six agreed items the same day.

A grey and green 3D scene with two pillars, a yellow ring, a blue ball and brown boxes. A dark see-through panel in the middle reads 'A game that isn't WoW', 'Clicks: 3', with a blue 'Click me' button. Yellow status text runs along the top.
Godot's window shows a small panel, 'A game that isn't WoW', with a click count of 3 and a 'Click me' button, drawn by Lizzard's Godot canvas painter over a sample 3D scene. The status line reads 'bare game: 4 frames, 0 errors' and the painter drew 5 items as 34 quads, with nothing copied back from the graphics card.
Read the entry: Lizzard's answer to a project's integration requests

The other project's draft asked for six things, from a session that runs without WoW to a documented handover of each picture. I asked what would benefit both WoW and a future RPG without overcomplicating the system.

Lizzard's answer proposed five items and declined three extras for now. I asked why the diagnostic views had been dropped; by Lizzard's own needs they weren't optional, so they became a sixth item: the toolbox serves any game, with the WoW tabs only for WoW.

All six were built the same day and checked by running: Forever shows all nine tabs, and a bare game made in code shows its five and refuses combat.

Link to this entry
event Stage 8 · Test service Milestone follow-up

The Lizzard host: addon sessions test through a pipe

In one day, stage 8 gave addon development sessions a way to load whole addons or fragments into a running Lizzard, drive them with mouse and key steps, and get reports and pictures back.

Read the entry: The Lizzard host: addon sessions test through a pipe

I asked whether addon sessions could test addons, and fragments of Lua and XML, in a running Lizzard and get results back, with steps such as 'put the mouse over this button', instead of starting a runner each time.

Built in one day: a host with one thread per world, talking JSON over a local pipe, a small Python client, fresh worlds with chosen addons, test steps, and a report of errors, prints, clicks, events and every call to something not built yet. A fresh Retail world with an addon opens in 4.1 s, and six steps run in 0.6 s.

A hidden run leaves my window settings and saved files untouched. Fresh worlds keep their files in the temp folder, because OneDrive held a file just written and refused to delete it in the first test run.

The guide for addon sessions stays unannounced until I say so, and at my request it opens by saying that Lizzard is a work in progress, never the only test, and that testing in game is the authority.

Follow-up, : The first time an addon's own test session reported what Lizzard lacked. OAP Party Utilities' session tested its party window in a fresh world and wrote four gaps into Lizzard's issues list, all now fixed: raid icon codes show as icons, a test can put the player in a dungeon, names can be clicked to whisper, and the window resizes by its grip. When a link takes a click is Lizzard's reading of Blizzard's code, not checked in the game.

Follow-up, : Seven addons are now tested in Lizzard by their own sessions, and by the evening of 17 November they had written 31 reports into Lizzard's issues list, 12 of them from OAP Party Utilities. My rule, from 16 November: while Lizzard is still young, a fault found in a Lizzard test isn't counted against the addon. The addon's session rules out its own steps first and reports the rest as a plain observation; a Lizzard session traces it against Blizzard's code and fixes Lizzard or closes it as the game's own behaviour; I check in the game only what is left. Of the 31, 15 were Lizzard's and are fixed, 2 turned out to be how the game behaves, and 14 are still open.

Link to this entry