| www.ClassicTW.com https://mail.black-squirrel.com/ |
|
| M()MBot Qset https://mail.black-squirrel.com/viewtopic.php?f=15&t=32854 |
Page 1 of 1 |
| Author: | T0yman [ Wed Feb 08, 2012 8:04 pm ] |
| Post subject: | M()MBot Qset |
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 |
|
| Author: | TheButcher [ Thu Feb 09, 2012 12:27 am ] |
| Post subject: | Re: M()MBot Qset |
T0yman wrote: 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 Bounty fixed it for the updated version he has been working on. |
|
| Author: | T0yman [ Thu Feb 09, 2012 5:16 am ] |
| Post subject: | Re: M()MBot Qset |
Great News, I am just putting this out for those that use the option and can't wait on a release. |
|
| Author: | Kaus [ Thu Feb 09, 2012 5:54 pm ] |
| Post subject: | Re: M()MBot Qset |
T0yman wrote: Great News, I am just putting this out for those that use the option and can't wait on a release. Or choose not to use a .cts version, thanks Toy. |
|
| Page 1 of 1 | All times are UTC - 5 hours |
| Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |
|