PtokaX forum

Stuff => Offtopic => Topic started by: Yahoo on 15 February, 2007, 13:51:32

Title: Converter for .lua to .script
Post by: Yahoo on 15 February, 2007, 13:51:32
Is there any converter which can convert .lua to .script format or vice versa ????
Title: Re: Converter for .lua to .script
Post by: bastya_elvtars on 16 February, 2007, 01:33:23
and 1) why is this in the client section, b) why do we want to support a totally different hubsoft?
Title: Re: Converter for .lua to .script
Post by: CrazyGuy on 16 February, 2007, 13:02:16
A converter like this does not exist, nor will it ever.
.script files are written in VB 6 and do have a significant different syntax than LUA scripts.
Besides that, the APIs are totally different for both hubsofts.
A conversion would require a complete rewrite.
Title: Re: Converter for .lua to .script
Post by: speedX on 16 February, 2007, 15:56:20
Quote from: CrazyGuy on 16 February, 2007, 13:02:16
Besides that, the APIs are totally different for both hubsofts.

Wat are APIs??
Title: Re: Converter for .lua to .script
Post by: Psycho_Chihuahua on 16 February, 2007, 16:21:25
Quote from: speedX on 16 February, 2007, 15:56:20
Wat are APIs??

Read this --> http://en.wikipedia.org/wiki/API

Never be afraid to ask Google ;)
Title: Re: Converter for .lua to .script
Post by: CrazyGuy on 16 February, 2007, 16:23:37
API stands for Application Program Interface

These usually include of functions and variables that can be called by 3rd party software ( in this case lua scripts ).
PtokaX' API is called Scripting-Interface.txt

added link --> http://www.webopedia.com/TERM/A/API.html