Page 1 of 1

Ways to crash Bitfighter

PostPosted: Tue Mar 25, 2014 12:33 am
by tazinator
List ways!

p.s. Crashes must actually cause a crash where bitfighter quits or some similarly ominous stuff. Bitfighter should give error logs in the future. ego, this is stuff to fix!

1. Velocity
  Code:
           bot:setVel(1)

  Code:
           bot:setVel(1, 1)


2. Set angle without supplying a value for the angle


  Code:
                       bot:setAngle()

  Code:

                        --local myAngle = targetShip:getAngle()
                        bot:setAngle(myAngle)

Re: Ways to crash Bitfighter

PostPosted: Tue Mar 25, 2014 12:38 am
by Quartz
I miss the baen of kaen test.

Re: Ways to crash Bitfighter

PostPosted: Tue Mar 25, 2014 8:15 am
by raptor
I'm pretty sure this crash is this bug:

http://code.google.com/p/bitfighter/iss ... ail?id=411

Something went wrong in 019b that made it so you couldn't handle bad arguments to Lua API calls...

Re: Ways to crash Bitfighter

PostPosted: Fri Mar 28, 2014 5:49 pm
by amgine
gj raptor once again swooping down on the bugs before users find them :)