Skip to content

v2.2.2 - T6 Expansion & Bug Fixes

Choose a tag to compare

@RedruM-AU RedruM-AU released this 12 Jun 06:19
· 10 commits to main since this release
7bef1be

RedruM's Interactive Zombies Tool — v2.2.2


Overview

v2.2.2 adds six new T6 actions, fixes a perk HUD removal bug, adds a live viewer counter to the dashboard, and resolves several session tracking issues. Teleport Random is reworked to use the zombie AI navigation graph for reliable interior positions on all maps.


🆕 New — T6 Actions

Six new actions added to BO2 Plutonium (T6):

Action Key Description
Red Light Green Light p 30-second event. Green light phases let the player move freely. On red light, movement is detected via origin delta — any movement removes 30% health.
Teleport Random n Teleports the player to a random interior position using level.waypoints (the zombie AI nav graph — always valid, never at map boundaries).
Spawn Zombies k Adds 5 zombies to the current wave via level.zombie_total += 5.
Freeze Controls j Disables player controls for 3 seconds via freezeControls(true/false).
Drunk Mode t 10-second effect — applies screen blur and cycles timescale randomly.
Remove All Points y Strips all player points via minus_to_player_score(self.score).

🐛 Bug Fixes — T6 GSC

Take Perk / Take All Perks — HUD icons not disappearing

Calling self unsetPerk(perk) directly bypasses the perk_think() thread that handles HUD removal (set_perk_clientfield(perk, 0)), the num_perks-- counter, and perk_purchased = undefined. After removing a perk this way the icon stayed on screen and the machine appeared still purchased, blocking repurchase.

Fix: Replaced with self notify(perk + "_stop") — triggers the existing perk_think() cleanup thread which handles all perk state correctly.

Teleport Random — "No spawn points found"

level.powerup_spawns is not guaranteed to exist on all maps. When undefined the action failed silently.

Fix: Changed to level.waypoints — the zombie AI pathfinding graph, populated by the engine on every ZM map. Always contains hundreds of valid interior walkable positions.

Skip Round — incomplete transition

bot_skip_round() was killing zombies but not zeroing level.zombie_total, leaving the wave in a partial state.

Fix: Added level.zombie_total = 0 before the kill loop.


✅ Improvements — Dashboard

Live Viewer Counter

  • Listens for RoomUserSeqEvent from the TikTok API and displays the current viewer count in real time
  • Shown in the stats row as 👁 1,234 viewers
  • Resets to 👁 — viewers on each new connection

Spin History — Username

  • Every entry in the Last 5 Spins panel now shows who triggered it: username — Effect Name
  • Applies to all spin sources: gift spins, chat !spin, bonus like spins, and manual admin spins

Chat Feed — Message Cap

  • TikTok Live Chat panel now caps at 50 messages, trimming oldest entries automatically

Reconnect TTS Alert

  • Bot now announces "Connection dropped. Reconnecting." via TTS when the API drops and a reconnect is triggered — streamer hears it immediately without watching the log

Comments Checkbox Removed

  • The Comments toggle on the dashboard was redundant — comment processing is always required for !spin to work. Removed to avoid confusing streamers into disabling their own !spin command. The !spin checkbox remains as the sole control.

🐛 Bug Fixes — Session Tracking

Session Summary — Top Spin Stat

The session summary popup read the spin history listbox to calculate the most common spin result. The listbox is capped at 5 entries, so after the 6th spin the stat became meaningless.

Fix: All spins now increment a session_spin_counts dict directly in _append_spin. The summary reads from this dict, which tracks the full session accurately regardless of listbox size.

Like Reward — Resets on Reconnect

last_like_reward was reset to 0 on every ConnectEvent, including reconnects. If the bot dropped mid-stream and reconnected, the like reward threshold restarted from 0 and fired again immediately.

Fix: last_like_reward is now properly reset to 0 only on a fresh connection — it is cleared alongside total_likes so the reward interval counts correctly from the start of each session without double-firing after a reconnect.


📋 Updating from v2.2.1

  1. Run the installer — all files updated automatically
  2. For T6: go to Setup & Diagnostics → Export bo2_tiktok_bot.gsc and replace your existing file, then map_restart in console
  3. New T6 actions (Red Light Green Light, Teleport Random, Spawn Zombies, Freeze Controls, Drunk Mode, Remove All Points) appear in Action Binds and Spin Pool automatically
  4. No key conflicts — all six new actions use keys not previously assigned in T6