- Joined
- May 3, 2016
- Messages
- 2,898
- Solutions
- 7
- Reaction score
- 2,303
- Points
- 145
- Favorite Pinball Machine
- Attack From Mars
I thought I would post my findings when I encountered when I got an error for the line containing "FlipperStroke()" in the FizX code listed below. I find this often occurs when the script has FizX coding. When it happens, the error codes are meaningless. When I encountered it on a table I was working on, I got an error on "BallsRemaining" and the line number referenced was the one for "FlipperStroke()". I tried remarking out all the lines in the script that contained "BallsRemaining". Of course the game wouldn't play correctly but it did start posting real messages that I could use. It still listed line number for the line containing "FlipperStroke()" but the message was correct. When I got no more error messages, I unremarked the "BallsRemaining" code. I did get a different error at that point that I was able to interpret and correct. Then the table played without errors!
If this happens in the future, I may remark out FlipperStroke() in the line of code below which I think might help. I just thought of it now. If you do this, FizX won't play correctly but it may help with error messages, as long as, you unremark it when done.
Let me know if this helps anyone else. The only alternative is to go through all the code looking for errors which takes a long time.
Sub NewtonPhysicsTick()
FlipperStroke()
End Sub
If this happens in the future, I may remark out FlipperStroke() in the line of code below which I think might help. I just thought of it now. If you do this, FizX won't play correctly but it may help with error messages, as long as, you unremark it when done.
Let me know if this helps anyone else. The only alternative is to go through all the code looking for errors which takes a long time.
Sub NewtonPhysicsTick()
FlipperStroke()
End Sub
Last edited: