OMG STOP OVERUSING LUA
Moderator: Moderators
Re: OMG STOP OVERUSING LUA
Hey moderators. You all are really cool, but I would appreciate if you all would stop deleting my carefully constructed insults. I want people to know how I feel about trademark and his whining.
Re: OMG STOP OVERUSING LUA
XML is the current standard for text based data storage. Spring is migrating towards using one file format for all text data, it's either XML or Lua and there's already a Lua interpreter in Spring.TradeMark wrote:XML OMGGGGG
you are from hell.
- Forboding Angel
- Evolution RTS Developer
- Posts: 14673
- Joined: 17 Nov 2005, 02:43
Re: OMG STOP OVERUSING LUA
And lua allows for callins, callouts, lots of other cool stuff and, oh, Functions.
GGxml
GGxml
Re: OMG STOP OVERUSING LUA
NO. NO. NO.Forboding Angel wrote:And lua allows for callins, callouts, lots of other cool stuff and, oh, Functions.
maps are images and variables, not a fucking programs that you run with scripting.
the program part is meant to be made inside Spring engine.
why the fuck we call this Spring engine if we go make our own map formats because spring is incapable of doing certain things in your maps?
who the fuck gives a shit what is standard and not, TDF is enough for storing variables.KDR_11k wrote:XML is the current standard for text based data storage. Spring is migrating towards using one file format for all text data, it's either XML or Lua and there's already a Lua interpreter in Spring.TradeMark wrote:XML OMGGGGG
you are from hell.
Re: OMG STOP OVERUSING LUA
TDF is enough but so is Lua and since we have a Lua interpreter in the engine it's easy to standardize all data files to Lua. You can even write a TDF parser in Lua to provide backwards compatibility without bloating the engine!
Re: OMG STOP OVERUSING LUA
stfu.KDR_11k wrote:TDF is enough but so is Lua and since we have a Lua interpreter in the engine it's easy to standardize all data files to Lua. You can even write a TDF parser in Lua to provide backwards compatibility without bloating the engine!
lua is too much.
"data files to Lua" haha troll.
Re: OMG STOP OVERUSING LUA
Is there any specific reson why a map should be a program, and not just images with variable data?Tribulex wrote:Trademark, seriously go lick a cock or a lollipop or something and stop your yammering. Lua is better than tdf because its an actual programming language. This allows you to for example import data for all planes from a central file, or do math in the actual file. Its no longer data, its a program. Ur srsly such a twat for making this thread..... just confirms the fact that you are a srs nutcase/douchebag
Re: OMG STOP OVERUSING LUA
Wow, someone agrees with me.
Seems like there is hope...
Seems like there is hope...
Re: OMG STOP OVERUSING LUA
well the moar there is to programm the less mappers- every step reduces the contributorsbase by 15% so i think, after the smd, the features and the other troubles we will have about four or five people left who really can make maps. Great Suxxxes
Re: OMG STOP OVERUSING LUA
fuck yeah!
I've seen others doing great map lua scripts, like the new fog. But for some f**king reasons engine devs are not willing to add that as an engine feature and option to enable it in your map... just like there is the other fog system too, that you can also modify to fit your map appearance.
Now if i want to add this fog, i have two choices... 1) make it myself, 2) find the code and figure out how to use it and copypaste some files and bla bla bla. instead of just 3) fogtype=2;
I've seen others doing great map lua scripts, like the new fog. But for some f**king reasons engine devs are not willing to add that as an engine feature and option to enable it in your map... just like there is the other fog system too, that you can also modify to fit your map appearance.
Now if i want to add this fog, i have two choices... 1) make it myself, 2) find the code and figure out how to use it and copypaste some files and bla bla bla. instead of just 3) fogtype=2;
Re: OMG STOP OVERUSING LUA
And every new Spring version, your map breaks so you have to spend a day fixing it, and also your map crash 20% for the player base and the fog doesn't show for another 20% and you only find out that after 6 month, and when you ask why, you're told to STFU NOOB because "it's fixed in CA" but when you attemtp to copy the lua from CA you end up having to pull half of all the .lua files of CA but then you regular lua code stop working because you had to pull some incompatible Lua handlers and then jK post he'll ignore you becaused you dared speak about it.TradeMark wrote:Now if i want to add this fog, i have two choices... 1) make it myself, 2) find the code and figure out how to use it and copypaste some files and bla bla bla.
Re: OMG STOP OVERUSING LUA
exactly.
First there were only one possibility that could crash: Spring Engine.
Then came widgets. This gave 2 more possibilities to crash: Widgets or Mod gadgets/widgets.
Now we can crash even the map because of lua shit.
IS this what we want?
And think of all the desyncs this can cause...
First there were only one possibility that could crash: Spring Engine.
Then came widgets. This gave 2 more possibilities to crash: Widgets or Mod gadgets/widgets.
Now we can crash even the map because of lua shit.
IS this what we want?
And think of all the desyncs this can cause...
Re: OMG STOP OVERUSING LUA
So are we talking about Lua as the data file format or Lua widgets/Gaia?
-
- Posts: 916
- Joined: 27 Jun 2009, 01:32
Re: OMG STOP OVERUSING LUA
Well I'm fine with exchanging the tdf syntax with the Lua syntax for setting the relevant variables. I also don't like some of the rising "complexity" on the map sector though. It starts with maps acting as mods and goes up to including rendering relevant features like fog or weather on a map file basis. I don't think that this is the way things should evolve while I can understand that people write their Lua feature placers as that has many advantages. For things like that there should exist some sort of unified maybe engine side solutions though...
Re: OMG STOP OVERUSING LUA
there should be a default lua file that loads the old tdf file if not overrided by the map ...
Re: OMG STOP OVERUSING LUA
YEAH.Master-Athmos wrote:Well I'm fine with exchanging the tdf syntax with the Lua syntax for setting the relevant variables. I also don't like some of the rising "complexity" on the map sector though. It starts with maps acting as mods and goes up to including rendering relevant features like fog or weather on a map file basis. I don't think that this is the way things should evolve while I can understand that people write their Lua feature placers as that has many advantages. For things like that there should exist some sort of unified maybe engine side solutions though...
It seems like the engine is being developed less and less in the future, and only few basic things will be added, and most of the new stuff is completely mod/map-dependant by lua scripting. This means that the "engine" loses its meaning and people actually build their own engines with lua.
If someone invents a great lua script, it should be considered to be added straight into the engine so everyone can use it without scripting / copypasting / screaming with multiple lua files.
Re: OMG STOP OVERUSING LUA
then we can't modify it anywhere near as easily, and bugs can break the entire engine, instead of a single script's operationTradeMark wrote:added straight into the engine
Re: OMG STOP OVERUSING LUA
well... then make it in the engine, as a lua script? then if it crash, it wont break whole engine? effect would be same as now, but much more better usability for the features.
But simple things like fog shouldnt be scripted in lua... no way they can crash lol.
But simple things like fog shouldnt be scripted in lua... no way they can crash lol.
Last edited by TradeMark on 05 Apr 2010, 18:45, edited 1 time in total.
- CarRepairer
- Cursed Zero-K Developer
- Posts: 3359
- Joined: 07 Nov 2007, 21:48
Re: OMG STOP OVERUSING LUA
We'll stop overusing lua when Finland wins the Eurovision song contest.
Re: OMG STOP OVERUSING LUA
we already didCarRepairer wrote:We'll stop overusing lua when Finland wins the Eurovision song contest.
