Chittering Clawbug Pyrulen Posted March 18, 2006 Share Posted March 18, 2006 As any scenario designer does, I make mistakes during scripting, although since I'm an amateur, possibly more than most. During testing, I would rely on the line references that appear in the text area along with the error message. The only trouble with this is that most of the time they are wrong, giving values way higher than the total script length. I use Crimson Editor (on recommendation from Spidweb.com) but not Alint - it doesn't seem to work on Windows. Link to comment Share on other sites More sharing options...
Well-Actually War Trall Khoth Posted March 18, 2006 Share Posted March 18, 2006 Line counts - BoA is probably counting both line feeds and carriage returns as it's counting lines. Try setting the line endings to Mac or Unix. Alint - did you download the right thing? It should be http://home.sanbrunocable.com/~tommywatts03/page/alint.exe.zip If you double-clicked the file, and something flickered briefly before vanishing, that's because you don't run alint like that. You have to run it from cmd.exe. The easiest way is probably to put alint into your scenario folder, run cmd.exe, type cd "\Path\To\Your\Scenario" then alint *.txt Link to comment Share on other sites More sharing options...
Magnificent Ornk Kelandon Posted March 19, 2006 Share Posted March 19, 2006 And believe me, even if running things from the command line seems like a pain, it's worth it in order to use Alint. Debugging via BoA's internal compiler is excessively difficult. If you want us to point you to the lines where the errors occur, you can post your entire script and mention the exact text of the error message. Link to comment Share on other sites More sharing options...
Chittering Clawbug Pyrulen Posted March 19, 2006 Author Share Posted March 19, 2006 I wouldn't subject you to such a task, this script is 628 lines and counting. Thanks for the advice on Alint - I always felt that there must have been an easier way of debugging than leaving and entering the town after even the smallest changes to the script. EDIT: How do you change directory to the desktop? As far as I have experimented, it doesn't want to exit files. Link to comment Share on other sites More sharing options...
Well-Actually War Trall Khoth Posted March 19, 2006 Share Posted March 19, 2006 I'm not sure, but I think the path to the desktop is "\Documents and Settings\All Users\You\Desktop". Link to comment Share on other sites More sharing options...
Chittering Clawbug Pyrulen Posted March 19, 2006 Author Share Posted March 19, 2006 It seems to work now. As a test I put in an error on one line and it gives me two warnings, neither of which refer to the correct line, but are closer than the in-game error messages. Link to comment Share on other sites More sharing options...
Recommended Posts