tomozj Posted January 12, 2008 Posted January 12, 2008 There is a feature which allows you to debug your resources, and have the output show in an alternate 'chat' box, i.e. the debug output. However, would it be possible to rip this from MTA and make it into a standalone appplication, so we can test our scripts for small errors without having to load MTA?
iam2noob4u Posted January 12, 2008 Posted January 12, 2008 In the main menu, press F8 and type "window" (w/o the quotes), MTA will be windowed [the resolution should be set to a lower resolution then the one of your screen], you can edit the file while testing it, so you don't have to restart MTA. Also, syntax errors should show the error when starting the recource, and other errors usually require a player to trigger the code containing them, thus needing you to run MTA.
tomozj Posted January 13, 2008 Author Posted January 13, 2008 I know what you're saying, still it'd be easier to just open the script quickly in a small app. In the past the server output hasn't given me errors on a script.
mabako Posted January 17, 2008 Posted January 17, 2008 change ... in the config to 3 and it'll show you server-side errors, it's not possible showing client-side errors in the server though
Jumba' Posted January 19, 2008 Posted January 19, 2008 You dont have to edit any files i think, just connect to the server, login as admin and type debugscript 3 in the console.
darkdreamingdan Posted January 21, 2008 Posted January 21, 2008 You could just use debug logs to do it.
Recommended Posts