Main Menu
Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - LAPIN

#16
AI Development / Re: Galaxy syntax validator Tool
March 09, 2010, 07:05:40 PM
I'm looking for someone to host a web asp .net front-end for this tool.


Update: http://www.galaxyvalidator.com/

Any help is welcomed.
#17
AI Development / Re: Galaxy syntax validator Tool
March 09, 2010, 12:52:58 PM
New version with basic struct/pointers support. Also detects a few more things.


Note: validate.bat will look in the current working directory now! And not in TriggerLibs.
#18
AI Development / Re: Idea for multiple AIs
March 08, 2010, 04:04:05 PM
That would be neat. Go for it! :-)
#19
Trash Can / Re: Re: Starcraft II - Beta Launcher
March 07, 2010, 09:59:12 PM
This happens when you select the Ai subfolder. i.e. AI/Star..V6/

************** Exception Text **************
System.ArgumentOutOfRangeException: InvalidArgument=Value of '0' is not valid for 'SelectedIndex'.
Parameter name: SelectedIndex
   at System.Windows.Forms.ListBox.set_SelectedIndex(Int32 value)
   at WindowsApplication1.FileIO.LoadSettings()
   at WindowsApplication1.Main.Form1_Load()
   at WindowsApplication1.Main._Lambda$__1(Object a0, EventArgs a1)
   at System.EventHandler.Invoke(Object sender, EventArgs e)
   at System.Windows.Forms.Form.OnLoad(EventArgs e)
   at System.Windows.Forms.Form.OnCreateControl()
   at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
   at System.Windows.Forms.Control.CreateControl()
   at System.Windows.Forms.Control.WmShowWindow(Message& m)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
   at System.Windows.Forms.ContainerControl.WndProc(Message& m)
   at System.Windows.Forms.Form.WmShowWindow(Message& m)
   at System.Windows.Forms.Form.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

#20
AI Development / Re: Galaxy syntax validator Tool
March 07, 2010, 09:43:45 PM

Version 0.5 is out

i added a simple function check with this version. I also provided a list of "built-in" functions.
#21
AI Development / Re: Galaxy syntax validator Tool
March 07, 2010, 04:57:13 PM
If it's a type error it wont be able to catch it. Let me know what the error is when you know so maybe I can add detection for that sort of errors.
#22
AI Development / Re: Galaxy syntax validator Tool
March 07, 2010, 04:28:46 PM
Version 0.4 is out.


Added the += syntax.


It will also validate the files you include in your script. So my recommendation is to make a IncludeAll.galaxy file so you can run the program on just one file which will validate all your files.
#24
AI Development / Re: Galaxy syntax validator Tool
March 06, 2010, 03:48:30 PM
0.3 out w\ gui
#25
AI Development / Re: Galaxy syntax validator
March 06, 2010, 07:12:36 AM
There are some constructs that might not be supported. If so, please provide me with your source file. Or even better, with a simplified example of the syntax.
#26
Sick of Galaxy syntax errors? This tool should be able to show you the culprit line.

Instructions:

       
  • Extract scripts from Core.SC2Mod
  • Copy natives.galaxy inside Core.SC2Mod/TriggerLibs/
  • run lapin with "-B Core.SC2Mod/ TriggerLibs/myfile.galaxy"
Syntax and static type analysis. Download attachment!


Web version available at http://www.galaxyvalidator.com/


Type checking e.g. http://galaxyvalidator.com/results/46a5c72eb6794ecebd1fcbce4d218e28/


Enjoy,
Lapin