If you appreciate the work done within the wiki, please consider supporting The Cutting Room Floor on Patreon. Thanks for all your support!

Math Blaster (Online)/Console Commands

From The Cutting Room Floor
Jump to navigation Jump to search

This is a sub-page of Math Blaster (Online).

Math Blaster has a multitude of Console Commands available, from debugging features to developer cheats, all of which are documented here.


Commands can be shortened from their original (sometimes long) names, and are not case-sensitive.
For example, Show Mission Status can be simplified to:

  • show mission status,
  • sh m s,
  • or even just sh!

Available Commands

These commands can be used anywhere at any time.

BG

Cheats for Nebula Knockout
Class: ASBattleGameConsole.BattleGame
Help: BG < SetXP | ShowUpgradeUI |>
Format:

  • BG
    • SetXP - Will set the pet's XP level for Nebula Knockout, including setting the associated belt.
    • ShowUpgradeUI - Will show the Game Won UI. This UI shows the player earning 100 healthBonus, 100 timeBonus, 100 beltBonus, and 100 credits. As a side effect of opening the UI, the pet will also be rewarded with points based on its belt type.

Teleport Avatar NPC

Attempts to teleport the player to specified NPC's Object
Class: AvConsoleCommands.TeleportAvatarToNPC
Help: Teleport Avatar NPC <npc object name>
Format:

  • Teleport Avatar NPC <string: object name> - Teleports the player near to the NPC. Will also make the player face the NPC (and make seemingly no effort to keep them upright, resulting in some strange behavior).


Teleport Avatar Object

Attempts to teleport the player to specified Object
Class: AvConsoleCommands.TeleportAvatarToObject
Help: Teleport Avatar Object <object name> [<distance>]
Format:

  • Teleport Avatar Object <string: object name> [optional: <float: distance>, default: 5] - Teleports the player near to the object. Will also make the player face the object (again making seemingly no effort to keep them upright). Distance determines the exact distance from the object it will attempt to place the player.


Teleport Avatar Position

Teleports the player to specified Position
Class: AvConsoleCommands.TeleportAvatarToPosition
Help: Teleport Avatar Position <float>,<float>,<float>
Format:

  • Teleport Avatar Position <float: x>,<float: y>,<float: z> - Teleports the player to the coordinates specified.


Get Avatar Position

Gets the player's Position
Class: AvConsoleCommands.GetAvatarPosition
Help: Get Avatar Position
Format:

  • Get Avatar Position - Returns the exact position of the player.


Clear Avatar Parts

Clear's all of the player's Avatar Data
Clas: AvConsoleCommands.ClearAvatarParts)
Help: Clear Avatar Parts)
Format:

  • Clear Avatar Position - Resets player avatar to use default cosmetics. This isn't immediately saved to the server.


Save Avatar Data

Saves the player's current Avatar Data
Class: AvConsoleCommands.SaveAvatarData
Help: Save Avatar Data)
Format:

  • Save Avatar Data - Saves the current avatar data to the server.


FrameRate

Toggle a HUD element for viewing Framerate and controlling Graphic Settings
Class: CameraConsole.FrameRate
Help: FrameRate <on/off>
Format:

  • FrameRate <string: on|off> - Will enable Framerate HUD element if set to on and will disable it if set to off. Any other value does nothing.


ScreenShot

Switch between the Gameplay Camera and a Screenshot Camera (Freecam)
Class: CameraConsole.ScreenShot
Help: ScreenShot <on/off>
Format:

  • ScreenShot <string: on|off> - Will switch to screenshot camera if set to on and will switch to gameplay camera if set to off. Any other value does nothing.


Challenge

Challenge specific BFFs to a defined Challenge
Class: ChallengeConsole.Challenge
Help: Challenge <game id> <levelID> <difficulty> <points> - Creates a challenge
Format:

  • Challenge <int: gameID> <int: levelID> <int: difficulty> <int: score> - Will open a prompt to select the BFFs you want to challenge to levelID of game id at difficulty with a score points.


Load

Load a Scene from the Files
Class: CoConsoleLevel.LevelLoad
Help: Load <levelname>
Format:

  • Load <string: scene name> - Will load the scene specified name from the files, and will still attempt to load it even it the file is not a scene or doesn't exist at all.


LoadApp

Used to start the specified App Executable
Unlike in World of JumpStart, Math Blaster's version of the command was never ported to the game's standalone version. Class: CoConsoleLevel.AppLoad
Help: LoadApp <appname>
Format:

  • LoadApp <string: exe name (without extension)> - Intended to load the requested app executable and pass the current Token as an argument the other executable could read. Doesn't work in standalone version.


dbg

Many useful functions that can be used to Debug or otherwise Mess With the Game
Class: DebugConsole.Debug
Help: dbg
Format:

  • dbg
    • unload [optional: <string: asset>] - Attempt to unload specified asset (if specified) and all unused assets.
    • clearcache - Will clear all cached asset files for Math Blaster.
    • fix - Will reload the player's avatar.
    • fixUI - Will recreate the scene's UI.
    • tf <int: target> - Set the target framerate to the specified value.
    • freeze <int: 1|0> - Freezes the game update cycle if set to 1, otherwise game runs at normal speed.
    • pet [optional: <object: idk>] - Prints some data about the gameobject associated with your pet. Refers to a second argument upon failure, but no-where else.
    • Show - Supposed to open a GUI showing debugging info. However, the associated object is immediately destroyed upon loading.
    • dpp - Delete all data in PlayerPrefs.
    • MemDump <string: identified> - Creates a Memory Dump file in Application.persistentDataPath named "MemDump_currentScene_identifier.txt".
    • memwarn - Triggers a debug low memory warning.
    • lmt <int: min> <int: max> - Set the low memory threshold minimum and maximum values.
    • mmt <int: min> <int: max> - Set the medium memory threshold minimum and maximum values.
    • hmt <int: min> <int: max> - Set the high memory threshold minimum and maximum values.
    • lodbias <float: level> - Set the Level of Detail Bias to the requested value.
    • log - Commands here will only run if a PfLogConsole object exists, which it doesn't seem to.
      • clear/cls - Clear the log file.
      • new - Create a new log file.
      • all - Log all info, warnings, errors, and stacktraces at logging level 1000.
      • <string: args> - Enable logging for all specified types. Using l for info, w for warnings, e for errors, and s for stacktraces (all in no particular order, as long as the letters are present in the string).
    • GQC - Returns current QualityConfig (not the same as QualitySettings).
    • SQC <string: value> - Set the current QualityConfig.
    • fcp - Unknown, there is a check making sure this isn't used. Likely removed.
    • so - Toggles a menu that can be used to toggle objects in the scene.
    • ncp - Unknown, another likely removed function.
    • prt <int: 1|0> - If set to 0, disables all particle emitters. If set to anything else will enable them all on loop.
    • devicemodel - Returns the user's CPU model.
    • Level [optional: <int: level>] - If value is present and greater than 0, sets the DebugLevel playerpref. Otherwise, clears the DebugLevel playerpref.
    • Mask [optional: <int: level>] - If value is present and greater than 0, sets the DebugMask playerpref. Otherwise, clears the DebugMask playerpref.
    • clickable - Returns data about the mouse pointer.
    • script
      • add <string: type> - Creates a GameObject with a script of the specified type.
    • opt <string: args> <string: target> <int: enable (1|0)> - Enable or Disable objects with a certain type/name. Using args s to target MonoBehaviours, r to target object visibility (renderers), and g to target the gameobjects themselves(all in no particular order, as long as the letters are present in the string). Will do enable if set to anything but 0.


Inventory

Modifies the player's Inventory
Class: InventoryConsole.Inventory
Help: Inventory <clear | save | objectid | remove objectid>
Format:

  • Inventory
    • clear - Removes all items from your inventory.
    • save - Saves the current state of your inventory.
    • remove <int: itemId> - Removes one of a specific item from your inventory.
    • <int: itemId> [optional: quantity<int:quantity>] - Grant an itemId in the specified quantity (or 1 if not specified). Quantity must be prefixed with quantity without a space in between.
    • <int: firstItemId> <int: lastItemId> - Grant one of each itemId between the itemIds specified (inclusive).


ItemID

Get IDs of items in the Store or Inventory
Class: InventoryConsole.ItemID
Help: ItemID < 0 | 1 > Show/Hide Item Ids on the menu.
Format:

  • ItemID <int: 1|0> - If set to anything but 0, will enable green labels above items in shop and inventory denoting the item's ID.


Set Console Size

Sets the size of the Console
Doesn't seem to work.
Class: KAConsole.SetConsoleSize
Help: Set Console Size <width> < height>
Format:

  • Set Console Size <int: width> <int: height> - Set the console's width and height.


Help

Alias: ?
Shows all command Helps
Class: KAConsole.CommandShowHelp
Help: Help
Format:

  • Help - Shows the help menu.


Debug

Sets console Debug Level
Class: KAConsole.SetDebug
Help: Debug <level>
Format:

  • Debug <int: level> - Sets the level of debug messages allowed in the console.


DebugMask

Sets console Debug Mask
Class: KAConsole.DebugMask
Help: DebugMask <mask> <1|0>
Format:

  • DebugMask <int: mask> <int: 1|0> - If set to anything but 0, will add the specified value to the mask (using bitwise OR). Otherwise, will filter the mask by the bitwise NOT of the specified value using bitwise AND (E.G. a mask of 0 would clear it entirely).


ToolbarVisible

Sets Toolbar Visibility
Class: KAConsole.SetToolbarVisibility
Help: Toolbar <1|0>
Format:

  • ToolbarVisible <int: 1|0> - Disables the toolbar if 0. Anything else enables it.


MBRank

Set the player's Rank (clientside)
Class: MBRankConsole.MBRank
Help: MBRank <rank id> <point type> - sets rank. Does not affect server value
Format:

  • MBRank <int: level> [optional: <int: type>] - Set rank to level for desired type (default/only type is 1).


Set Mission

Set a specific Mission
Class: MissionConsole.SetMission
Help: Set Mission <mission index> [<step num>] - or - Set Mission Step <quest step num>
Format:

  • Set Mission
    • <int: missionId> [optional: <int: step>] - Set a specific mission with a specific step (or step 1 if not specified).
    • Step <int: step> - Set a specific step of the current mission.


Complete Task

Complete a specific Task of a Mission
Class: MissionConsole.CompleteTask
Help: Complete Task [<task ID>]
Format:

  • Complete Task [optional: <uint: step>] - Complete a specific Task of all Missions (or current task if not specified).


Show Mission Status

Opens a GUI showing the Status of all ongoing Missions
Class: MissionConsole.ShowStatus
Help Show Mission Status
Format:

  • Show Mission Status - Open Mission Status GUI


mmo(sic)

Modify or collect Data about current MMO
Class: MMOConsole.MMOConsoleCommands
Help: MMO Join <1|0> - Turn buddy join on/off
Format:

  • mmo
    • Join <int: 0|1|2> - Set MMO joining. If set to 0, joining is disabled. If set to 1, room is Members-only. If set to 2, room is allowed for all.
    • Users - Opens a GUI showing all users in the room.
    • defaultstate - Returns the default MMO state for your device.
    • State - Returns the MMO state and room (if applicable).
    • version - Returns the version of KnowledgeAdventure.Multiplayer.dll.
    • Server - Returns the IP address of the current MMO server.
    • off - Disconnect from MMO.
    • on - Reconnect to MMO.
    • debug <int: 1|0> - If set to anything but 0 will enable MMO debug, otherwise disable it.
    • limit <int: limit> - Set the maximum amount of players the client can see in the room.
    • full <int: limit> - Set the maximum amount of players before the client considers the room full.
    • connect <string: address> <int: port> - Set the IP address of the MMO server to connect to.
    • showtime - Not Implemented
    • forceversion [optional: <int: 1|0>] - If set to 1 will enable forced MMO version. Anything else disables it. If not specified will return whether forced MMO version is enabled.


add money(sic)

Add Credits to the player's Account
Class: MoneyConsole.AddMoney
Help: Add Money <amount> - adds amount to the current total
Format:

  • add money <int: amount> - Add the specified amount of credits to your profile.


RedAlert

Starts a Red Alert (clienside)
Class: RedAlertConsole.RedAlert
Help: RedAlert <start time> <game duration>
Format:

  • RedAlert <int: join time> <int: game duration> - Start a red alert with how long it will let you join and how long the game lasts.


DiscoAlert

Starts a Disco Alert (clienside)
Class: RedAlertConsole.DiscoAlert
Help: DiscoAlert <game duration>
Format:

  • DiscoAlert <int: duration> - Start a disco alert with a duration.


Larva

Setting unmorphed Larvas
Class: SanctuaryConsole.Larva
Help: Larva < hatch | reset | pick >
Format:

  • Larva
    • hatch <int: time> - Set the time before your pet finishes morphing. Sets pet to morph if it isn't already.
    • reset - Restores your pet to a larva if it's morphing.
    • pick <int: type> - Adds a pet of the specified type to your account. Only works in scenes with an AlienSanctLarvaManager (the Larva Den). Only types are 5, 6, 7, 11, and 10 (for Eyeclops, Ickasaur, Grubble, Griffin, and Tweeter, respectively); any other value will create a pet that cannot load, rendering the game unplayable.


Pet

Involves Pet Data
Class: SanctuaryConsole.Pet
Help: Pet < state | age | happy | energy | hunger | clean | release | reset | full | empty | sleep | skill | spskill | hunt >
Format:

  • Pet
    • state - Returns your pet's data.
    • age <int: age> - Sets your pet's age to the specified value. Ranges 0-3 (for Baby to Adult).
    • happy <float: value> - Set your pet's happiness meter.
    • energy <float: value> - Set your pet's energy meter.
    • hunger <float: value> - Set your pet's fullness meter.
    • clean <float: value> - Set your pet's cleanliness.
    • release - Release your pet (to Planet Blizzard).
    • reset - Sets your pet's age to 0.
    • full - Set your pet's happiness, energy, and fullness meters to 100%.
    • empty - Set your pet's happiness, energy, and fullness meters to 1%.
    • meter - Get values of your pet's happiness, energy, and fullness meters.
    • sleep - Opens the prompt to sleep/wake your mutt.
    • skill <string: skill> <float: level> - Set the level of a specified skill. Shorthand values are: "flip for "FLIPTRICK", "pd" for "PLAYDEADTRICK", "hs" for "HANDSTANDTRICK", "sp" for "SUPERPOWER", and "ss" for "SPECIALSKILL".
    • spskill <float: level> - Sets the level of pet's special skill.
    • hunt <float: count> - Set the amount of Scavenger Hunt objects found. This is a float for some reason.


simulate(sic)

Simulate Avatars
Class: SimulationConsole.SimulatAvatar(sic)
Help: Simulate Avatar <count> ( adds simulated avatars to the current level ) | clear( clears all simulated avtars(sic) )
Format:

  • simulate
    • avatar <int: count> - Simulate the specified amount of avatars in the scene.
    • clear - Delete all simulated avatars.


Member

Modify Membership Data
Class: SubscriptionConsole.Subscription
Help: Member <1 | 0> - sets membership status. Does not affect server value
Format:

  • Member
    • extend <int: 1|0> - If greater than 0, extend membership by 14 days.
    • expire
      • <int: 1|0> - If greater than 0, expire the membership.
      • <int: month> <int: day> <int: year> [optional: <int: hour> <int: minute> <int: second>] - Set expiration date/time of the membership.
    • expire <int: 1|0> - Start showing the membership expired warning if equal to 1, otherwise stop showing it.
    • recurring <int: 1|0> - Set to recurring in equal to 1, otherwise set not recurring.
    • <int: 1|0> - If set to 1 or greater, set membership to true, otherwise set to false.


BDate

Set Birthdate Data
Class: SubscriptionConsole.BDate
Help: bdate <mon> <day> - sets user birthday. bdate 1/0 sers(sic) bdate cheat on/off
Format:

  • BDate - Returns your inputted birthday.
    • <string: 1|0> - Enables birthday cheat if set to anything but "0" or "f" (case-sensitive), otherwise disables it.
    • <int: month> <int: day> - Sets your birthday to month, day, 2009.


OpenChat

Sets Open Chat Permission
Class: SubscriptionConsole.OpenChat
Help: OpenChat <1 | 0> - sets open chat on/off. Does not affect server value
Format:

  • OpenChat <int: 1|0> - If set to 1 will enable Open Chat. Anything else disables it.


Approved

Sets Account Email Approved
Class: SubscriptionConsole.Approved
Help: Approved <1 | 0> - sets IsApproved on/off. Does not affect server value
Format:

  • Approved <int: 1|0> - If set to 1 will set account's email to approved. Anything else sets it to unapproved.


FB

Modifies Facebook Subscription
Math Blaster no longer works on Facebook (likely due to the game shutting down). Therefore this command no longer does anything.
Class: SubscriptionConsole.FacebookSubscription
Help: FB <FBAppToken> <subscriptionID> <action (eg:'BillTime')> <value> - sets the action value.
Format:

  • FB <string: token> <string: subscriptionID>
    • BillTime <int: minutes> - Add time to your subscription.


Tutorial Reset

Resets a tutorial.
Class: TutorialConsole.ResetTutorials
Help: Tutorial Reset {tutName*}
Format:

  • Tutorial Reset [optional: <string: tutorial name>] - Remove data for the specified tutorial, or gameplay tutorial if not specified.


AchCheat

Clears an Achievement
Class: UserAchievementTaskConsole.AchCheat
Help: AchCheat
Format:

  • AchCheat
    • Set <int: taskID> - Clears the specified Task.


ClanAchCheat

Clears a Clan Achievement
Command: UserAchievementTaskConsole.ClanAchCheat
Help: ClanAchCheat
Format:

  • ClanAchCheat
    • Set <int: taskID> - Clears the specified Task.


Restricted Commands

These commands only appear under certain conditions.

cycle(sic)

Cheats for HyperBlast
Only appears in HyperBlast game mode.
Class: CycleConsole.SpaceCycle
Help: cycle <end | bigboss | ammo | reset | health | score>
Format:

  • cycle
    • end - Immediately ends the level.
    • bigboss - Starts the level's final boss.
    • ammo <int: type> - Set the player's weapon to the specified type.
    • reset - Will (re-)lock all unlockable worlds, Hypercycles, and weapons.
    • health <int: amount> - Increase the player's health by the specified amount.
    • score <int: amount> - Add 1000 to the player's score. Amount isn't read, but is still required for the command to run. A developer was likely testing something an forgot to change it back.


MMO Capture

Create a log file capturing data from MMO
This command is only available in the Unity Editor
Class: MMOConsole.MMOCapture
Help: MMO Capture <on|off> - Turn capture on/off
Format:

  • MMO Capture - Toggle MMO capture. When toggled on will create a new capture file.


Unused Commands

These commands aren't used in the game.

PDA Member

Set whether the PDA says you are a Member
Implied to be attached to the PDA UI, however seems to go unused.
Class: PDAConsoleCmd.SetMemberShip
Help: PDA Member 1/0
Format:

  • PDA Member <string: 1|0> - Will set PDA membership check to true if equal to "1" or "T" (case-insensitive), otherwise false.


Get Photo Info

Lists all Objects that were in a Photo
Unused due to the absence of the Camera in Math Blaster.
Class: PhotoConsoleCommands.GetPhotoInfo
Help: Get Photo Info #
Format:

  • Get Photo Info <int: slot> - Get info about a photo in the specified gallery slot.


Rank

Set the player's Rank (clientside)
Purpose is already fulfilled by MBRank.
Class: RankConsole.Rank
Help: Rank <rank id> <point type> - sets rank. Does not affect server value
Format:

  • Rank <int: level> [optional: <int: type>] - Set rank to level for desired type (default type is 1).


SW

Utilities for Galaxy Grand Prix
Implied to be attached to Galaxy Grand Prix, however seems to go unused.
Class: SWTrackConsole.SW
Help: SW save <prebuild track num>
Format:

  • SW
    • save <int: prebuilt track num> - Clone a prebuilt track's pieces to the current track.


Show Tech Info

Opens a GUI with unknown purpose. It appears to be almost identical to the Missions Status GUI.
Class: TechSupportConsole.ShowInfo
Help: Show Tech Info
Format:

  • Show Tech Info - Opens Tech Support Status GUI.