Lua Editor: Small Update on an Update... Syntax solution

Talk and share anything related to Star Wars Battlefront 2. No maps or mod announcements here. Use Work in Progress forum.

Moderator: Moderators

What framework do you think would be best for the program? Read about them

Microsoft .NET framework 3.5 Client Profile
6
75%
Microsoft .NET framework 4.0 Client Profile
2
25%
 
Total votes: 8
501st_commander
Master Bounty Hunter
Master Bounty Hunter
Posts: 1570
Joined: Wed Dec 10, 2008 7:48 pm

Re: Lua Editor: Small Update on an Update... Syntax solutio

Post by 501st_commander »

Lua Editor Intellisense works!
Image
User avatar
DarthD.U.C.K.
Master of the Force
Master of the Force
Posts: 6027
Joined: Wed Sep 27, 2006 11:05 am
Location: Duckburg, Germany

Re: Lua Editor: Small Update on an Update... Syntax solutio

Post by DarthD.U.C.K. »

congratulations! it looks great :D
501st_commander
Master Bounty Hunter
Master Bounty Hunter
Posts: 1570
Joined: Wed Dec 10, 2008 7:48 pm

Re: Lua Editor: Small Update on an Update... Syntax solutio

Post by 501st_commander »

Alrighty
I am going to stop working on it for today its been about 7 hours now, but here are some screens of the interface.
Hidden/Spoiler:
Image
loadscreen
Image
when its open
Image
when a file is open
User avatar
commander501stappo
Jedi
Jedi
Posts: 1016
Joined: Tue Sep 28, 2010 8:13 am
Games I'm Playing :: Skyrim BF4 KSP CIV V
xbox live or psn: DarthAppo
Location: In a galaxy very, very close by...

Re: Lua Editor: Small Update on an Update... Syntax solutio

Post by commander501stappo »

looks very good :)
THEWULFMAN
Space Ranger
Posts: 5557
Joined: Tue Aug 17, 2010 3:30 pm
Projects :: Evolved 2
Location: Columbus, Ohio
Contact:

Re: Lua Editor: Small Update on an Update... Syntax solutio

Post by THEWULFMAN »

Looking great, this prob help me, because I suck at lua :oops: :P 8)
User avatar
thedarkforce
Private Third Class
Posts: 57
Joined: Wed Nov 17, 2010 8:05 am
Projects :: Le celeste
Games I'm Playing :: swbf2 and swbf1
Location: Paris. France/French

Re: Lua Editor: Small Update on an Update... Syntax solutio

Post by thedarkforce »

Hello, you one or download this version of lua
THANK YOU
User avatar
DarthD.U.C.K.
Master of the Force
Master of the Force
Posts: 6027
Joined: Wed Sep 27, 2006 11:05 am
Location: Duckburg, Germany

Re: Lua Editor: Small Update on an Update... Syntax solutio

Post by DarthD.U.C.K. »

which translator are you using? because with this one its hard/not possible to understand what you wnat to say. if you really cant speak english but french or spanish you should probably write your post in that language, then somebody else could probably translate it.
User avatar
thedarkforce
Private Third Class
Posts: 57
Joined: Wed Nov 17, 2010 8:05 am
Projects :: Le celeste
Games I'm Playing :: swbf2 and swbf1
Location: Paris. France/French

Re: Lua Editor: Small Update on an Update... Syntax solutio

Post by thedarkforce »

Sorry, google translation is not great
I repeat

Hello, what is the link to download this version of lua (this software) Thanks
Bonjour, quel est le lien pour telecharger cette version de lua (ce logiciel ) Merci
Hola, ¿cuál es el vínculo para descargar esta versión de Lua (este software) Gracias
你好,什麼是鏈接下載該版本的Lua(該軟件)謝謝
Salve, quid pagina versione Download Lua (quod software) Gratias
مرحبا ، ما هو رابط لتحميل هذا الإصدار من لوا (هذا البرنامج) شكرا
:greeny:
User avatar
DarthD.U.C.K.
Master of the Force
Master of the Force
Posts: 6027
Joined: Wed Sep 27, 2006 11:05 am
Location: Duckburg, Germany

Re: Lua Editor: Small Update on an Update... Syntax solutio

Post by DarthD.U.C.K. »

501st_commander
Master Bounty Hunter
Master Bounty Hunter
Posts: 1570
Joined: Wed Dec 10, 2008 7:48 pm

Re: Lua Editor: Small Update on an Update... Syntax solutio

Post by 501st_commander »

thedarkforce wrote:Sorry, google translation is not great
I repeat

Hello, what is the link to download this version of lua (this software) Thanks
This current version that you are seeing is not released yet. v0.5 is the only.. not-so-good Lua Editor that is public.

EDIT
Somewhat of an update...

I have been asked to join a dev team to develop the Minecraft server software called MCForge. So, most of my time has been there trying to add and fix things. Right now, two of the main devs (owner, and the main compiler) are going to take a break from the software (one on vacation, other with job stuff) so i will have a bit more time to catch up on this. I will be converting this to C#, because MCForge is built in it, and it more of a better language for what im doing. I will try to get some real updates soon, depending on what all will be happening.

Instead of double posting, try shadow bumping next time. -Staff
THEWULFMAN
Space Ranger
Posts: 5557
Joined: Tue Aug 17, 2010 3:30 pm
Projects :: Evolved 2
Location: Columbus, Ohio
Contact:

Re: Lua Editor: Small Update on an Update... Syntax solutio

Post by THEWULFMAN »

Awesome :D
Since I am an idiot when it comes to lua, this will help me for sure. Does this check your lua for mistakes?
User avatar
redgroupclan
High General
High General
Posts: 867
Joined: Thu Jan 24, 2008 11:47 pm
Location: For less cheap gameplay - BF2 v1.1 server "NoEngineersAntiGlitch"

Re: Lua Editor: Small Update on an Update... Syntax solutio

Post by redgroupclan »

Wow, this is impressive.

Here's to you on being able to make this.
501st_commander
Master Bounty Hunter
Master Bounty Hunter
Posts: 1570
Joined: Wed Dec 10, 2008 7:48 pm

Re: Lua Editor: Small Update on an Update... Syntax solutio

Post by 501st_commander »

THEWULFMAN wrote:Awesome :D
Since I am an idiot when it comes to lua, this will help me for sure. Does this check your lua for mistakes?
I am getting ideas for checking errors now, it may take a bit to sort out.


Here is a screenshot of the new interface i'm making since convertion:
Hidden/Spoiler:
Image
as you might see, i still have a few bugs to work out just on that page. after i get this working, i'll start building and converting the project handling functions.
User avatar
acryptozoo
Master Bounty Hunter
Master Bounty Hunter
Posts: 1642
Joined: Wed Jun 03, 2009 3:14 pm
Projects :: Yavin Mappack
Games I'm Playing :: Homeworld 2
xbox live or psn: acryptozoo
Location: in the jungles of Yavin IV
Contact:

Re: Lua Editor: Small Update on an Update... Syntax solutio

Post by acryptozoo »

pretty awesome :D
User avatar
redgroupclan
High General
High General
Posts: 867
Joined: Thu Jan 24, 2008 11:47 pm
Location: For less cheap gameplay - BF2 v1.1 server "NoEngineersAntiGlitch"

Re: Lua Editor: Small Update on an Update... Syntax solutio

Post by redgroupclan »

I'm starting to learn how to program. So far I've never done anything past a 20 line program that runs on that little black window with the white borky text.

Maybe I'll learn this later on in my C++ beginners guide (since I'm only on Chapter 3 out of 13), but how did you make the interface that we see? Is it done with programming or do you make it in some drawing program?
501st_commander
Master Bounty Hunter
Master Bounty Hunter
Posts: 1570
Joined: Wed Dec 10, 2008 7:48 pm

Re: Lua Editor: Small Update on an Update... Syntax solutio

Post by 501st_commander »

What you are doing is building a Console application (black with the white). This is a Windows Form application, or aka GUI applicaiton.

If you are using Visual Studio, all you do is select "Windows From Application" in the New Project Dialog.
User avatar
redgroupclan
High General
High General
Posts: 867
Joined: Thu Jan 24, 2008 11:47 pm
Location: For less cheap gameplay - BF2 v1.1 server "NoEngineersAntiGlitch"

Re: Lua Editor: Small Update on an Update... Syntax solutio

Post by redgroupclan »

Oh. I didn't figure it was that easy. :P
501st_commander
Master Bounty Hunter
Master Bounty Hunter
Posts: 1570
Joined: Wed Dec 10, 2008 7:48 pm

Re: Lua Editor: Small Update on an Update... Syntax solutio

Post by 501st_commander »

Magic of Visual Studio :D


Now, for a bit of an update

I got some more things working, here is a syntax test i made
Hidden/Spoiler:
Image
I am trying to get it index lua functions in other files in the projects directory. For example, you make a function called "killAllBots" it will add it to the intelligence.

Edit:
Best Update Yet!!!!!!!
You know, a lot of times you forget a cama, or something? Then you go to build you project, then you get an error because of it, and sometimes, it takes FOREVER to munge? Solution!
Hidden/Spoiler:
Image
Thanks to luanetat Lua Forge
User avatar
Fiodis
Master of the Force
Master of the Force
Posts: 4145
Joined: Wed Nov 12, 2008 9:27 pm
Projects :: Rannoch + Tientia + Tools Programming

Re: Lua Editor: Small Update on an Update... Syntax solutio

Post by Fiodis »

Excellent, auto-error detection! I've been using Notepad++ for my luas and that's one thing I wish it did for me.
User avatar
commander501stappo
Jedi
Jedi
Posts: 1016
Joined: Tue Sep 28, 2010 8:13 am
Games I'm Playing :: Skyrim BF4 KSP CIV V
xbox live or psn: DarthAppo
Location: In a galaxy very, very close by...

Re: Lua Editor: Small Update on an Update... Syntax solutio

Post by commander501stappo »

Yeah, excelent!
Hidden/Spoiler:
Just wondering, why is this in the SWBF II General? Shouldn't it be in the modding forum?
Post Reply