Fixing custom widget performance and log spam in beyond all reason

How to track down widget errors, reduce infolog spam, and tune UI widgets for spectator replays in BAR.

Tags: beyond all reason widgets, custom widget errors, infolog spam, spectator ui, ui performance

When a widget floods the infolog

Custom widgets can quietly dump numeric spam into the BAR infolog. The game still runs, but your console fills with repeated lines that make actual errors impossible to spot. This usually happens when a widget polls a numeric value every frame without checking if it changed.

Attack range widgets are a frequent source. They calculate range values for displayed overlays, and if the underlying code logs every calculation instead of just the display update, you get thousands of identical entries. The fix is wrapping output behind a change check or throttling the log to once per meaningful change.

Widget performance impact on fps

Each active widget adds a small overhead. The common estimate is around one to two percent per widget, though this shifts up and down depending on what the widget does. Heavy polling widgets inside repeated loops cost more than a single-call info display.

Global variable access in widgets carries a minor penalty. Most developers agree it is not worth optimizing every single call. Target the hot loops instead. If a widget runs the same calculation hundreds of times per frame, cache the result locally and reuse it.

Cleaning up spectator ui

Watching replays with the full BAR interface on screen creates a lot of visual noise. The command panels, build options, and resource readouts all stack up. Most of these elements are individual widgets you can remove.

Press F5 with default keybinds to strip all UI from the screen. This gives a clean view of the map and units. For more granular control, BAR developers have discussed building a light UI widget that lets spectators toggle specific panels. Until that ships, manually disabling widgets one by one through the widget configuration menu is the path forward.

Key panels to consider removing during spectating:

Tracking down the spamming widget

If your infolog shows repeating numeric lines, narrow it down by disabling widgets in groups. Turn off half at a time, replay the match, and check if the spam stops. Repeat with the problematic half until you isolate the culprit.

Check the widget infolog prefix. Well-written widgets tag their output so you can grep for the source name. If the spam has no prefix, it is coming from a poorly structured widget and disabling is the fastest fix.

Play with a group that values clean setup

Getting your BAR interface right is part of playing well. Creed of Champions runs structured gameplay and training sessions where members share setup advice, from widget configs to control schemes. Everyone starts somewhere, and having experienced players walk you through their interface choices saves hours of trial and error.

[Crd] Creed of Champions is a great place to learn and play BAR in a friendly atmosphere. Training sessions, team gameplay, even some non-BAR stuff. Large cross section of abilities, time zones, and game mode interests.