I have heard about this for a while now and finally decided to fix it. if you typed the qset command in the correct order it would crash mom.
qset [damage] {a|s}
- [damage] Amount of damage, or stength of Cannon
- {a|s} Indicates Atmosphere or Sector Cannon
<bot> qset 50000 a/s <-- Normal way
<bot> qset a/s 50000 <-- would crash mom
Here is the fix, around line 1800 or search for ":doQsetProtections" and change the line I highlighted, it was
$parm1, change to
$damage.
Code:
:doQsetProtections
setVar $cannonType $type
isNumber $test $damage
if ($test)
setVar $cannonDamage $damage <--- THIS is where the problem was. FIXED!
else
send "'{" $bot_name "} - Invalid damage amount entered. *"
goto :wait_for_command
end