Same Problem. How to activate the mod in a save game, where Oxygen wasn't used before?thomas2003 wrote:Any help would be appreciated.My problem is that if you put this mod in then load an older save you will have no oxygen meter or anything, I can still research the oxygen things, but there is no oxygen meter.
Thanks in advance.
(If you start a new game you do see the oxygen meter.)
[MOD 1.1] Oxygen
Re: [MOD 0.12.+] Oxygen
Re: [MOD 0.12.+] Oxygen
Implemented now. Be careful about using existing multiplayer savegames.Sacredd wrote:Same Problem. How to activate the mod in a save game, where Oxygen wasn't used before?thomas2003 wrote:Any help would be appreciated.My problem is that if you put this mod in then load an older save you will have no oxygen meter or anything, I can still research the oxygen things, but there is no oxygen meter.
Thanks in advance.
(If you start a new game you do see the oxygen meter.)
Re: [MOD 0.12.+] Oxygen
Thanks for the update.
I am getting error if try to start with 1.3.10:
I am getting error if try to start with 1.3.10:
Re: [MOD 0.12.+] Oxygen
It should be fixedSacredd wrote:Thanks for the update.
I am getting error if try to start with 1.3.10:
- Lightning_Bird
- Inserter
- Posts: 29
- Joined: Fri May 06, 2016 5:59 pm
- Contact:
Re: [MOD 0.12.+] Oxygen
I was getting the recipe with name error, "oxygen-from-atmosphere" whenever I wanted to start a game with with bob's mods.
So I deleted this part from prototypes>oxygen.lua code.
It works now.
So I deleted this part from prototypes>oxygen.lua code.
Code: Select all
if data.raw.recipe["water-electrolysis"] == nil then
.
.
.
end
Here's my github.
You can find there polish locale etc.
Your game is too dark? Use this terrain files to make your game look nice and cozy.
Looking for a cool mod pack? Check out this!
You can find there polish locale etc.
Your game is too dark? Use this terrain files to make your game look nice and cozy.
Looking for a cool mod pack? Check out this!
Re: [MOD 0.12.+] Oxygen
Thank you, but stil getting the same error. Its seems not work with other mods, maybe bob's?Natha wrote:It should be fixedSacredd wrote:Thanks for the update.
I am getting error if try to start with 1.3.10:
Re: [MOD 0.12.+] Oxygen
A suggestion - have an indicator with the oxygen counter indicating how many full bottles we have left, so I don't have to check my inventory everytime the notification that a bottle has been used appears. Alternatively, include the info in the notification.
'A large oxygen bottle has been used. You have 2 large bottles and 3 small bottles remaining, for approximately 15 minutes (or w/e) of air.'
Even a custom bright red notification (if that's possible?) when you're on your last bottle.
"You're gonna suffocate! Get more oxygen NOW"
Also - would it be possible to increase the AoE of the disperser, maybe in exchange for higher oxygen consumption? 10 squares is way too small. There's no way to cover a megabase or even a medium sized one.
For a challenge, you could implement a pollution mechanic - the more oxygen you're pumping into the atmosphere, the further it spreads
'A large oxygen bottle has been used. You have 2 large bottles and 3 small bottles remaining, for approximately 15 minutes (or w/e) of air.'
Even a custom bright red notification (if that's possible?) when you're on your last bottle.
"You're gonna suffocate! Get more oxygen NOW"
Also - would it be possible to increase the AoE of the disperser, maybe in exchange for higher oxygen consumption? 10 squares is way too small. There's no way to cover a megabase or even a medium sized one.
For a challenge, you could implement a pollution mechanic - the more oxygen you're pumping into the atmosphere, the further it spreads
-
- Long Handed Inserter
- Posts: 55
- Joined: Thu May 12, 2016 12:57 pm
- Contact:
Re: [MOD 0.12.+] Oxygen
I like your suggestions, wahming. I second that I'd like them see included, if they're not too much of a hassle. Not sure if copying over how pollution currently works except then for oxygen is in any way hard/performance-decimating.
Re: [MOD 0.12.+] Oxygen
Hi
Need help with the mod
i get alwas this error message
control.lua:129:user isn´t connected;can´t read character and than the server crashed - i try it with various savegames - i have a server by nitrado.net
Checksum for script __Oxygen__/control.lua: 3245535382
can anyone help me to fit it ?
Need help with the mod
i get alwas this error message
control.lua:129:user isn´t connected;can´t read character and than the server crashed - i try it with various savegames - i have a server by nitrado.net
Checksum for script __Oxygen__/control.lua: 3245535382
can anyone help me to fit it ?
Re: [MOD 0.12.+] Oxygen
Hi, which version of Factorio do you use? This mod is currently only for 0.12, I will update soon.AT1DAG wrote:Hi
Need help with the mod
i get alwas this error message
control.lua:129:user isn´t connected;can´t read character and than the server crashed - i try it with various savegames - i have a server by nitrado.net
Checksum for script __Oxygen__/control.lua: 3245535382
can anyone help me to fit it ?
Is there a line given in which the error occurs (maybe __Oxygen__/control.lua:32; because 3245535382 is too big)
Re: [MOD 0.12.+] Oxygen
i used the steam version - version 0.12.35
in the serverlog i get this line
52461.742 Error MultiplayerManager.cpp:110: MultiplayerManager failed: "Error while running the event handler: __Oxygen__/control.lua:219: User isn't connected; can't read character"
52461.742 Info MultiplayerManager.cpp:913: networkTick(3147686) mapTick(528390) changing state from(InGame) to(Failed)
in the game i become this as errormsg
in the serverlog i get this line
52461.742 Error MultiplayerManager.cpp:110: MultiplayerManager failed: "Error while running the event handler: __Oxygen__/control.lua:219: User isn't connected; can't read character"
52461.742 Info MultiplayerManager.cpp:913: networkTick(3147686) mapTick(528390) changing state from(InGame) to(Failed)
in the game i become this as errormsg
- Attachments
-
- oxygen.PNG (62.04 KiB) Viewed 7604 times
Re: [MOD 0.12.+] Oxygen
ok it should be fixedAT1DAG wrote:i used the steam version - version 0.12.35
in the serverlog i get this line
52461.742 Error MultiplayerManager.cpp:110: MultiplayerManager failed: "Error while running the event handler: __Oxygen__/control.lua:219: User isn't connected; can't read character"
52461.742 Info MultiplayerManager.cpp:913: networkTick(3147686) mapTick(528390) changing state from(InGame) to(Failed)
in the game i become this as errormsg
Re: [MOD 0.13.+] Oxygen
I made an 0.13 experimental update. Enjoy!
Please report bugs, I'm not sure how it works now in multiplayer.
You can download it directly in the factorio client.
Please report bugs, I'm not sure how it works now in multiplayer.
You can download it directly in the factorio client.
Re: [MOD 0.13.+] Oxygen
There is a small bug in the info.json. You have "N.Tech-Chemistry" there while the mod is called "N-Tech chemistry".
There is also an error when the mod is added to an existing save:
It seems like the GUI/scoreboard isn't created when one adds the mod into an existing save. If I start a new game, it works fine.
Have you thought about making oxygen consumed only if player is in a chunk that has too much pollution? It would mean that there is no need to start the game with oxygen bottles and it only becomes needed if the player is polluting too much.
There is also an error when the mod is added to an existing save:
Code: Select all
Error while running the event handler: __Oxygen__/control.lua:103: attempt to index field 'oxygen-scoreboard' (a nil value)
Have you thought about making oxygen consumed only if player is in a chunk that has too much pollution? It would mean that there is no need to start the game with oxygen bottles and it only becomes needed if the player is polluting too much.
Re: [MOD 0.13.+] Oxygen
Thanks for your post, the bugfixes will come next version, and I'll look for your suggestion (maybe enableable in the config).hoho wrote:There is a small bug in the info.json. You have "N.Tech-Chemistry" there while the mod is called "N-Tech chemistry".
There is also an error when the mod is added to an existing save:It seems like the GUI/scoreboard isn't created when one adds the mod into an existing save. If I start a new game, it works fine.Code: Select all
Error while running the event handler: __Oxygen__/control.lua:103: attempt to index field 'oxygen-scoreboard' (a nil value)
Have you thought about making oxygen consumed only if player is in a chunk that has too much pollution? It would mean that there is no need to start the game with oxygen bottles and it only becomes needed if the player is polluting too much.
Re: [MOD 0.13.+] Oxygen
The update takes longer than I expected due to problems with oxygen bottle durability and bottle refilling. For those who want to play and get this error:
go to the given file and the given line and replace
with
Sorry for that!
Code: Select all
Error while running the event handler: __Oxygen__/control.lua:103: attempt to index field 'oxygen-scoreboard' (a nil value)
Code: Select all
for i,p in ipairs(game.players) do
Code: Select all
for i=1,#game.players do
Re: [MOD 0.13.+] Oxygen
Yes, configurable would be nice. It'd be especialyl nice if we could configure the amount of pollution that triggers oxygen use as well.Natha wrote:I'll look for your suggestion (maybe enableable in the config).
Re: [MOD 0.13.+] Oxygen
hoho wrote:There is a small bug in the info.json. You have "N.Tech-Chemistry" there while the mod is called "N-Tech chemistry".
There is also an error when the mod is added to an existing save:It seems like the GUI/scoreboard isn't created when one adds the mod into an existing save. If I start a new game, it works fine.Code: Select all
Error while running the event handler: __Oxygen__/control.lua:103: attempt to index field 'oxygen-scoreboard' (a nil value)
Have you thought about making oxygen consumed only if player is in a chunk that has too much pollution? It would mean that there is no need to start the game with oxygen bottles and it only becomes needed if the player is polluting too much.
That sort of implies that the atmosphere is currently breathable though.
Also if you place too many oxygen distributers too close together it completely whites out an area and you can't see anything there o.o
---
I am a Streamer,
Fallen Sun Gaming by Name,
Factorio is Sometimes my Game.
For Some Goodness
Join me
on http://www.twitch.tv/fallensungaming
FSG may or may not be subliminally implanted in this signature
I am a Streamer,
Fallen Sun Gaming by Name,
Factorio is Sometimes my Game.
For Some Goodness
Join me
on http://www.twitch.tv/fallensungaming
FSG may or may not be subliminally implanted in this signature
-
- Burner Inserter
- Posts: 9
- Joined: Fri May 29, 2015 7:35 pm
- Contact:
Re: [MOD 0.13.+] Oxygen
i'm not sure whats causing it, but sometimes i do not get an empty oxygen bottle back when it runs out of oxygen, is it a bug or do you have a built in break chance or something? if so, could you make the break chance configurable?
Edit: Actually I discovered the problem, the game does not like when you have multiple stacks of the same bottle type: i.e 2 stacks of big bottles, when you have 1 stack it works fine, but when you get a 2nd stack in your inventory, you do not recieve the empty bottles (1 stack big and 1 stack small bottles will work fine)
If mod list matters: bobs mods (all), RSO, Angel's infinite ore
Edit: Actually I discovered the problem, the game does not like when you have multiple stacks of the same bottle type: i.e 2 stacks of big bottles, when you have 1 stack it works fine, but when you get a 2nd stack in your inventory, you do not recieve the empty bottles (1 stack big and 1 stack small bottles will work fine)
If mod list matters: bobs mods (all), RSO, Angel's infinite ore
Last edited by JohnnyBandit on Sun Jul 24, 2016 7:06 pm, edited 2 times in total.
Re: [MOD 0.13.+] Oxygen
Hey, I'm getting a weird problem. I'm not sure if it's just me not getting how to make it work or not but my oxygen dispenser is not giving me an atmosphere. I'm playing with a bunch of other mods, including N.Tech, but since you made that I doubt it's interfering. The dispenser still takes the oxygen from the chemical plant, it's display shows it correctly using the gas, and it even shows my butt like it's supposed to. I just don't get oxygen around it, my bottles still empty, and I even tried both putting the bottles into a chest and also waited untill I ran out, it acted as if there was no oxygen there. I don't know if starting off with the dispenser in my inventory is any cause, but I didn't touch the config file, it's exactly as downloaded.
I hope this isn't just me being an idiot, like I need to actually research the dispenser before I can even use them, or something.
I hope this isn't just me being an idiot, like I need to actually research the dispenser before I can even use them, or something.