Page 2 of 5

Re: LUA Editer in progress - Update

Posted: Fri Apr 30, 2010 7:29 pm
by Fiodis
For the record, the English word is spelt "editor".

Re: LUA Editer in progress - Update

Posted: Fri Apr 30, 2010 9:40 pm
by 501st_commander
Fiodis wrote:For the record, the English word is spelt "editor".
rofl
I don't know why, but i always spelt it with an e.. I guess its because i pronounced it "edit-er" not "edit-or". Thanks for caching it. Fixing it in the program now and topic title...


Also, i have been working on the User Interface. Scren:
Hidden/Spoiler:
Image
Any Options?

Re: LUA Editor in progress - Update

Posted: Sat May 01, 2010 2:46 pm
by myers73
when you are done would you mind releasing the source code?

Re: LUA Editor in progress - Update

Posted: Sat May 01, 2010 11:08 pm
by 501st_commander
myers73 wrote:when you are done would you mind releasing the source code?
If i would do so, may i ask what would you do with?

But for now, it will be closed source.

Re: LUA Editor in progress - Update

Posted: Sun May 02, 2010 3:01 pm
by myers73
I am currently learning to program, and I think that reading through the source code would be helpful.

Re: LUA Editor in progress - Update

Posted: Sun May 02, 2010 3:08 pm
by 501st_commander
myers73 wrote:I am currently learning to program, and I think that reading through the source code would be helpful.
ah, ok.

Re: LUA Editor in progress - Update

Posted: Sun May 02, 2010 3:58 pm
by myers73
what language are you coding it in?

Re: LUA Editor in progress - Update

Posted: Sun May 02, 2010 4:12 pm
by Maveritchell

Re: LUA Editor in progress - Update

Posted: Mon May 03, 2010 6:09 pm
by 501st_commander
Small Update:

I am working on the error checker. I have it working up to when you correct it.

Correct Text:
ReadDataFile("dc:SIDE\\rep.lvl",

Incorrect Text (common):
ReadDataFile("dc:SIDE\\rep.lvl"

What it does:
Hidden/Spoiler:
Image
I still have to fix some things. The text on the bottom need to go back to "No Errors." and the red is does not go way after you fix it. Also, if you save while it has an error, i will have a popup saying "There is an error. Do you what to save (filename)? NOTE: if you save it then munge, your mission will most likely will crash the game."

Any comments?

Re: LUA Editor in progress - Update

Posted: Tue May 04, 2010 8:39 am
by lucasfart
501st_commander wrote:Small Update:

I am working on the error checker. I have it working up to when you correct it.

Correct Text:
ReadDataFile("dc:SIDE\\rep.lvl",

Incorrect Text (common):
ReadDataFile("dc:SIDE\\rep.lvl"
Sorry but, whats the difference between the two?

Sounds like a good idea though, especially for inexperienced scripters, who don't really know how to add punctuation properly....

Re: LUA Editor in progress - Update

Posted: Tue May 04, 2010 8:42 am
by Darth_Spiderpig
lucasfart wrote:Sorry but, whats the difference between the two?

Code: Select all

ReadDataFile("dc:SIDE\\rep.lvl"
ReadDataFile("dc:SIDE\\rep.lvl",
The comma. :wink:


Nice, this will be very useful, commander. :thumbs:

Re: LUA Editor in progress - Update

Posted: Tue May 04, 2010 8:46 am
by lucasfart
Lol, i think i'm gonna need to use this spell checker. Can't wait for the release...

Re: LUA Editor in progress - Update

Posted: Tue May 04, 2010 12:54 pm
by 501st_commander
@Darth_Spiderpig: thanks.
lucasfart wrote:Lol, i think i'm gonna need to use this spell checker. Can't wait for the release...
no, not a spell checker, an error checker :P

Re: LUA Editor in progress - Update

Posted: Tue May 04, 2010 11:15 pm
by myers73
This is sounding better and better by the day. Will save a lot of time coding campaigns, but then again, people that dont know how to code are gonna try and use it and wont ever really learn, so when a problem arises they wont have a clue what they did wrong.

Re: LUA Editor in progress - Update

Posted: Wed May 05, 2010 10:49 am
by 501st_commander
I do plan on adding a "dedug help" popup of some kind. It will somehow tell you whats wrong line by line until there is no errors. The 0.5 beta release will be minimal. Mainly a test to see what operating systems it works on, and if it has any bugs. 1.0 release will be full. Hardly any bugs. Everything working, help docs, and for people who are just starting - a bit of lua docs (pm me if you want to help with this).

Edit:
Ok, the 0.5 relese my be longer. I am having troble with the syntax highlighter code. It crashes Visual Studio when i add it to the program.

Edit:
Stuped error EVER! fixed. Syntax highlighter now works. Expect screen soon.


Edit:

Update!
The syntax hilighter is working now!
Hidden/Spoiler:
Image
It updates as you type, and when you open a file.
Suggestions? (colors, additional keyword, etc.)

Re: LUA Editor in progress - Syntax Update pg2

Posted: Fri May 14, 2010 11:05 pm
by 501st_commander
This will possibly be the last update before the 0.5 release.

I have been working on it trying to get it done within this month. I have lots of new features now than i did from the last post. I still have to get a few things working. Quickclick bar, and one new feature.

Feature List:
  • Now, you can make a project. You don't have to go to the scripts folder every time you edit a lua. (has some bugs)
    Notify Icon on taskbar - So you don't have to open it all the time.
    Options - You can enable and disable some of the features you dont want. They are:
    • Make this program default for opening Luas
      Create a project and manage them
      see a list of syntax highlighter sensitive words
      Enable or disable keyword, comment, string or integer highlighting
      manage the modtools directory location, and the type.
      Import scripts for reading. So if you need a ***c_eli.lua script, you can open it through the program
      Enable and disable the notify icon.
      Automatically open the last opened file.
      Show or hide the Quick Click Bar.
      Enable or disable the syntax highlighter all together.
I hope to have the error checker done my 1.5. You can go through hell to get it to work properly. Well, i'll post screens soon. 'Till then, please post comments.

Re: LUA Editor in progress - Syntax Update pg2

Posted: Sat May 15, 2010 3:12 am
by lucasfart
oooh. Can't wait!

Just a quick question, Do you select a template lua(eli, con, hunt, ctf, etc.) inside the program and save it into the map you want, or do you load a pre-existing lua?

Re: LUA Editor in progress - Syntax Update pg2

Posted: Sat May 15, 2010 7:39 pm
by 501st_commander
you select a pre-existing lua from the TEMPLATE or space_tempalte folder, then the program will auto remove the @#$ in the file to what your projects name is (aka: OOO).

Re: LUA Editor in progress - Syntax Update pg2

Posted: Wed Jun 02, 2010 3:58 pm
by 501st_commander
Version 0.5 has been released. Please post any bugs in this topic.


I will psot the 1.0 list of things soon.




Edit:
1.0 Feature List
This list will contain what will be in the next version
  • MDI (Multi Document Interface) - Open more than one lua at a time
  • Better auto hide project panel
  • More BF2 Lua functions in the program
  • Support for the 3.5 framework (4.0 is recommended though)
  • Code comparator - popup of codes with the letters you typed in them
  • First Version of the error checker
  • Faster syntax highlighter
  • More customizable Interface
  • Better Options
  • Projects will be out of the options dialog.
  • One click open project
  • auto open last project
  • Format the rich text box for your needs
  • Make your own syntax higlighter colors and RTB backcolor
Please comment :)

Re: LUA Editor in progress - 1.0 feature list

Posted: Sun Jul 25, 2010 12:30 am
by 501st_commander
beta closed, read next post

Alright, private beta on 1.0 RC1 is coming. I need some people with one or more of the following operating systems:
  • Windows 7
    • Windows 7 Home Premium (64/32 bit) - CLOSED unless a staff member wants to test
      Windows 7 Professional (64/32 bit) - 4CLOSED unless a staff member wants to test
      Windows 7 Ultimate (64/32 bit) - 5 spots
    Windows Vista
    • Windows Vista Basic (64/32 bit) - 5 spots
      Windows Vista Home Premium (64/32 bit) - CLOSED unless a staff member wants to test
      Windows Vista Business (64/32 bit) - 5 spots
      Windows Vista Ultimate (64/32 bit) - 5 spots
    Windows XP
    • Windows XP Home Edition (64/32 bit) - CLOSED unless a staff member wants to test
      Windows XP Media Center (64/32 bit) - 3 spots
      Windows XP Professional (64/32 bit) - 3 spots
Windows 7 Starter will not be supported, but can be tested.

I need at least 2-5 people on each operating system.

Please PM me with computer specs, and I will get you a beta copy when ready and have further instructions. All entries will need to be in before August 14, 2010 - unless the operating system has no entries.

Update will be coming after beta test.


Edit:

Beta Testers so far:
Sky_216
AgentSmith_#27
Fiodis
fasty
stardestroyer001
darthtyren

------------------------------------------------------------------------------------------
Edit:
When you PM me, please make sure you have the specs in the following format:
Windows XP Media Center Edition Version 2002 Service Pack 3
AMD Athlon(tm) 64 Processor 3800+ : 1.8GHz
NVIDIA GeForce 6180 LE
3.00 GB RAM
500GB hard Drive
Framework 1.1, 2.0, 3.0, 3.5, 4.0 Client Profile
I need that information to make a compatibility chart.
To get the information, right click My Computer or Computer -> Properties

For the Frameworks:
Hidden/Spoiler:
How to determine which versions of the .NET Framework are installed
To determine which versions of the .NET Framework are installed, locate the %systemroot%\Microsoft.NET\Framework folder. To open this folder, you can paste this address into a Windows Explorer address bar. The following folders contain the released versions of the .NET Framework:
v3.5
v3.0
v2.0.50727
v1.1.4322
v1.0.3705
Note If you see other folders that have a vN.N.NXXXX format, they may contain beta versions or pre-released versions of the .NET Framework. Those versions are outside the scope of this article.

To determine which versions of the .NET Framework are installed on a computer, follow these steps:
1.Open any one of the folders in the previous list.
2.Right-click the Mscorlib.dll file, and then click Properties.
3.Click the Version tab, and then note the file version.
4.Use the previous list to determine which version of the .NET Framework is installed on the computer, and then click OK.
Repeat these steps for each version of the .NET Framework on the computer.
Thank you.
------------------------------------------------------------------------------------------