Web Access
Moderator: ickputzdirwech
Web Access
I don't know if this exists by default in LUA, or if you already have support for it in Factorio, but is there (or will there be) some way to access files on the web?
"F**k thy hater"
-George Watsky
Feel free to contact me!
Skype: Zer0t3ch
Razer Comms: Zer0t3ch
Email: zer0t3ch@live.com
-George Watsky
Feel free to contact me!
Skype: Zer0t3ch
Razer Comms: Zer0t3ch
Email: zer0t3ch@live.com
Re: Web Access
It's not in Factorio and I don't believe it is in lua without additional libraries (which you cannot use in Factorio).
I have no idea what I'm talking about.
Re: Web Access
Is there any chance of it being added?cube wrote:It's not in Factorio and I don't believe it is in lua without additional libraries (which you cannot use in Factorio).
"F**k thy hater"
-George Watsky
Feel free to contact me!
Skype: Zer0t3ch
Razer Comms: Zer0t3ch
Email: zer0t3ch@live.com
-George Watsky
Feel free to contact me!
Skype: Zer0t3ch
Razer Comms: Zer0t3ch
Email: zer0t3ch@live.com
-
- Filter Inserter
- Posts: 559
- Joined: Mon Mar 04, 2013 9:23 am
- Contact:
Re: Web Access
I don't belive LUA has HTTP or FTP support by default.
I also don't belive the developers would ever include it into the game as it could pose as securty risk, same as direct FileAccess control that is natively supported by LUA.
Remember ComputerCraft from Minecraft? The main reason why it was banned from most multiplayer servers is becouse it posed a security risk since it used full LUA support. With the right coude you could easily make yourself a MOD and thus alow yourself to Grief the server.
I also don't belive the developers would ever include it into the game as it could pose as securty risk, same as direct FileAccess control that is natively supported by LUA.
Remember ComputerCraft from Minecraft? The main reason why it was banned from most multiplayer servers is becouse it posed a security risk since it used full LUA support. With the right coude you could easily make yourself a MOD and thus alow yourself to Grief the server.
Re: Web Access
>_> So much for my autoupdating mod. (Or one that can at least tell you when there's a new update) I guess my mod manager will have to becpome a reality... :3
"F**k thy hater"
-George Watsky
Feel free to contact me!
Skype: Zer0t3ch
Razer Comms: Zer0t3ch
Email: zer0t3ch@live.com
-George Watsky
Feel free to contact me!
Skype: Zer0t3ch
Razer Comms: Zer0t3ch
Email: zer0t3ch@live.com
Re: Web Access
For a BTN-mod-manager - a proof of concept, better than nothing - I think this is now the right time, yes.
But managing mods is in my opinion a part of the main-game, because at every other point there are ugly security issues! The good-will of a mod-creator is no question, but reality shows, that if you can do everything, everything is done. Either to purpose or to dullness.
And further: Perhaps mods can have different "security-levels" and the user must allow it, after installed. I think for example to the iPhone: An app must ask the user, if he allows to send messages, to access the pictures, to get the location etc. Like so for mods: The user is asked if the mod is allowed to access internet (to an address), to have a global storage (and how much), to modify tiles or items which are not base-game-logic, to access all files on harddisc (I wouldn't allow that! ) etc.
It's just, that in the moment, when the mod executes a function a requester pops up and asks the user. Or when downloading it with a "mod-manager" you can check the allowed actions, if the mod provides informations about the needed rights.
But managing mods is in my opinion a part of the main-game, because at every other point there are ugly security issues! The good-will of a mod-creator is no question, but reality shows, that if you can do everything, everything is done. Either to purpose or to dullness.
And further: Perhaps mods can have different "security-levels" and the user must allow it, after installed. I think for example to the iPhone: An app must ask the user, if he allows to send messages, to access the pictures, to get the location etc. Like so for mods: The user is asked if the mod is allowed to access internet (to an address), to have a global storage (and how much), to modify tiles or items which are not base-game-logic, to access all files on harddisc (I wouldn't allow that! ) etc.
It's just, that in the moment, when the mod executes a function a requester pops up and asks the user. Or when downloading it with a "mod-manager" you can check the allowed actions, if the mod provides informations about the needed rights.
Cool suggestion: Eatable MOUSE-pointers.
Have you used the Advanced Search today?
Need help, question? FAQ - Wiki - Forum help
I still like small signatures...
Have you used the Advanced Search today?
Need help, question? FAQ - Wiki - Forum help
I still like small signatures...
Re: Web Access
:-O, someone wants a updating mod! We were toying with the idea of updating mods when doing the autoupdater. There are some security problems with it, though, and some other issues to keep us from being responsible for mod breakages, but it might be doable. I'll think about it.zer0t3ch wrote:>_> So much for my autoupdating mod. (Or one that can at least tell you when there's a new update) I guess my mod manager will have to becpome a reality... :3
I have no idea what I'm talking about.
Re: Web Access
Yes, when having such thing it must be clear, that the modder is responsible. For your thoughts: There might be mods, which you are responsible and others, which you are not. This has consequences for the update. The one type can be updated automatically, the other the user should be asked or check a button to also autoupdate.cube wrote:There are some security problems with it, though, and some other issues to keep us from being responsible for mod breakages, but it might be doable. I'll think about it.
Cool suggestion: Eatable MOUSE-pointers.
Have you used the Advanced Search today?
Need help, question? FAQ - Wiki - Forum help
I still like small signatures...
Have you used the Advanced Search today?
Need help, question? FAQ - Wiki - Forum help
I still like small signatures...
-
- Filter Inserter
- Posts: 559
- Joined: Mon Mar 04, 2013 9:23 am
- Contact:
Re: Web Access
Another idea for autoupdated mods would be to alow users to upload their mods to special server and then theese mods needs to be verified first by some mods beta testers before they are available to everyone.
It can also be posible that after some time a modder can get special status which grants him the ability to publish updates to his long existing mods without the need for this updates to go through verification system. Such status can be granted to certain modder by the game developers itself for publishing buggfree mods for longer time.
But this would require a team of volunters for testing the mods. We can't expect developers to do this on their own othervise they will have no time for game development itself.
It can also be posible that after some time a modder can get special status which grants him the ability to publish updates to his long existing mods without the need for this updates to go through verification system. Such status can be granted to certain modder by the game developers itself for publishing buggfree mods for longer time.
But this would require a team of volunters for testing the mods. We can't expect developers to do this on their own othervise they will have no time for game development itself.
Re: Web Access
Yes, that's just a third button: "trust verified third party mods" or whatever this is then.SilverWarior wrote:Another idea for autoupdated mods would be to alow users to upload their mods to special server and then theese mods needs to be verified first by some mods beta testers before they are available to everyone.
All what is needed are different levels of trust and responsibility.
Hm. That's easy. If the mod is in one of the lists, which is trustable, then it gets the status of that list.It can also be posible that after some time a modder can get special status which grants him the ability to publish updates to his long existing mods without the need for this updates to go through verification system. Such status can be granted to certain modder by the game developers itself for publishing buggfree mods for longer time.
I would say let them do that as ever, with the minimum amount of time the best solution, which does what's needed and nothing more. The rest will find.But this would require a team of volunters for testing the mods. We can't expect developers to do this on their own othervise they will have no time for game development itself.
Good ideas or solutions show their worth by finding no dead end in the time they are worth to think about their possibilities.
Cool suggestion: Eatable MOUSE-pointers.
Have you used the Advanced Search today?
Need help, question? FAQ - Wiki - Forum help
I still like small signatures...
Have you used the Advanced Search today?
Need help, question? FAQ - Wiki - Forum help
I still like small signatures...
Re: Web Access
Rather than creating a new topic, I'm going to ask it again on the same topic, although it's a three year unearth, I feel it's better.
Can we now do HTTPs requests? Or some sort of internet communication? I was toying around with an idea of a trading system, but it would drastically change if it would be same server only.
Can we now do HTTPs requests? Or some sort of internet communication? I was toying around with an idea of a trading system, but it would drastically change if it would be same server only.
Re: Web Access
No.SHiRKiT wrote:Can we now do HTTPs requests? Or some sort of internet communication?
Re: Web Access
Since the basic gist of the OT was to auto-update mods, that might/should get possible with the 0.13 Mod-Manager.SHiRKiT wrote:Rather than creating a new topic, I'm going to ask it again on the same topic, although it's a three year unearth, I feel it's better.
Can we now do HTTPs requests? Or some sort of internet communication? I was toying around with an idea of a trading system, but it would drastically change if it would be same server only.
Personally, i´d find it kinda cheaty to "trade" items between servers/worlds; That would just take away the automation or exploring/expanding aspect of the game.
Re: Web Access
Maybe it does, maybe it doesn't, it's a matter of perspective. I was just toying with the idea, but I'll just forget about it.searker wrote:Since the basic gist of the OT was to auto-update mods, that might/should get possible with the 0.13 Mod-Manager.SHiRKiT wrote:Rather than creating a new topic, I'm going to ask it again on the same topic, although it's a three year unearth, I feel it's better.
Can we now do HTTPs requests? Or some sort of internet communication? I was toying around with an idea of a trading system, but it would drastically change if it would be same server only.
Personally, i´d find it kinda cheaty to "trade" items between servers/worlds; That would just take away the automation or exploring/expanding aspect of the game.