Page 1 of 1

Table of mods for data/control scripts. (read only table?)

Posted: Thu Sep 24, 2015 3:31 pm
by vzybilly
Simple Idea, Add in a auto generated table of mods. data.mods["<MOD NAME>"] = {x,y,z}

This would allow people's mods to see what other mods are around and what versions they are.

I'm currently doing this for my mods (in my next update wave):

Code: Select all

vzyResourceClearing_1.2.3/data.lua:
_G.vzyMods["vzyResourceClearing"] = {x=1,y=2,z=3}

Re: Table of mods for data/control scripts. (read only table?)

Posted: Thu Sep 24, 2015 3:50 pm
by ssilk
Ah, you begin to understand, what I mean? :) ;)

To your example with the package managers. Yes and no. For Linux package managers it is important. The field where the debian or any other package manager works is so gigantic, that such things make sense.
Think for example also to some big risks: They are responsible to keep any Linux system in a stable state. Security issues can happen in such cases. You get an instable system. The damage can be really big.

What's indeed needed for Factorio is some kind of interface-extension to find out such dependencies, like you described above. To enable the modder (which is in my opinion responsible for that (even if he hasn't cause it)) to fix such issues in clever ways.

And maybe, at some time into the future, we need an packet-manager.
Maybe.
But I doubt it, because it's a game and programming games with Lua is also a lot of fun. If you make it more complex, if you say "you need to think to the factorio-packet-manager" it will make things ugly. The cases you describe are so seldom and have such a low risk in operation (ugliest thing that can happen: you need uninstall mods), I don't see the need now - even if it is for the person, which is hit by such an issue is a big deal.

But at this point I think: Therefore is the community. I'm sure, if you post your issues with some mods in this forum in a way, that pays attention, there will be some people, which are willing to help to fix it and make it playable again.

Re: Table of mods for data/control scripts. (read only table?)

Posted: Thu Sep 24, 2015 3:59 pm
by vzybilly
I think you got the threads mixed up from where we were talking about this :P

I'm wondering if maybe we should run off to a real-time chat so we don't clog up the forums... maybe...

Also, I'm quoting your post to the other thread

Re: Table of mods for data/control scripts. (read only table?)

Posted: Thu Sep 24, 2015 9:06 pm
by ssilk
Indeed. :/ Sorry. To long worked today.

Re: Table of mods for data/control scripts. (read only table?)

Posted: Fri Sep 25, 2015 4:54 am
by vzybilly
ssilk wrote:Indeed. :/ Sorry. To long worked today.
heheh, it's ok, Anyway, What are peoples thoughts about this?