Support - Uranium Power

Power generation with atoms.

Moderator: Fatmice

Fatmice
Filter Inserter
Filter Inserter
Posts: 808
Joined: Thu Dec 04, 2014 11:03 pm
Contact:

Re: Support - Uranium Power

Post by Fatmice »

Yeah, known bug. I left it in to troll people who dump junks into that chest.
Maintainer and developer of Atomic Power. See here for more information.
Current release: 0.6.6 - Requires 0.14.x
Example build - Requires 0.14.x
Nexela
Smart Inserter
Smart Inserter
Posts: 1828
Joined: Wed May 25, 2016 11:09 am
Contact:

Re: Support - Uranium Power

Post by Nexela »

Fatmice wrote:Yeah, known bug. I left it in to troll people who dump junks into that chest.

1. I use 30 minute autosave intervals. 2. The only reason the stuff got dumped in was due to miss - ctrl-clicking the fuel rods to transfer them... 3. If the mod is about trolling then I guess I need to remove it from my game which is terrible because I liked it after I figured out how to set it up.
Fatmice
Filter Inserter
Filter Inserter
Posts: 808
Joined: Thu Dec 04, 2014 11:03 pm
Contact:

Re: Support - Uranium Power

Post by Fatmice »

It will be fixed in 0.7, of course. I just didn't want to add more code to 0.6.x to prevent these edge cases. 0.7.x code base is designed differently so that I don't have to deal with these edge cases. In the mean time, don't put non-fuel things in there and you won't crash.
Maintainer and developer of Atomic Power. See here for more information.
Current release: 0.6.6 - Requires 0.14.x
Example build - Requires 0.14.x
Nexela
Smart Inserter
Smart Inserter
Posts: 1828
Joined: Wed May 25, 2016 11:09 am
Contact:

Re: Support - Uranium Power

Post by Nexela »

Looking forward to .7 then :) As much as I like the mod hopefully it gets a little less wonky on placing stuff with .7
Peter34
Smart Inserter
Smart Inserter
Posts: 1100
Joined: Mon Nov 10, 2014 12:44 pm
Contact:

Re: Support - Uranium Power

Post by Peter34 »

There's also co-op MP to consider. Newbie players might not be able to distinguish between different chests, and the absolute smallest autosave interval I can imagine, in a co-op MP game, is 10 minutes. So potentially 9 minutes 55 seconds of play progress lost, and no guarantee that the newbie who did the wrong thing will be able to understand why the thing was wrong or even what the thing was and therefore won't do it again.

Mods shouldn't troll.
Requia
Long Handed Inserter
Long Handed Inserter
Posts: 70
Joined: Thu Mar 24, 2016 12:24 am
Contact:

Re: Support - Uranium Power

Post by Requia »

Co-op defaults to every 2 minutes, same as the base game, not every 10.
sore68
Fast Inserter
Fast Inserter
Posts: 123
Joined: Mon May 02, 2016 8:39 am
Contact:

Re: Uranium Power

Post by sore68 »

Hi there~

I have a bit of a problem in factorio 13.

uraninite and fluorite are not created on the map.
used mod
I modified the [resources.lua].
And it is operating normally.
I hope you review it.

Thank your mod and sorry my bad english
Attachments
resources.lua
(1.75 KiB) Downloaded 113 times
Fatmice
Filter Inserter
Filter Inserter
Posts: 808
Joined: Thu Dec 04, 2014 11:03 pm
Contact:

Re: Support - Uranium Power

Post by Fatmice »

Hello,

I had tweaked the resources.lua to use only with vanilla resource generation. You are using rso's so the behavior can be different. Regardless, resource generation in 0.13.x is broken, so nothing I can do about it. This is something Factorio devs will have to revisit.
Maintainer and developer of Atomic Power. See here for more information.
Current release: 0.6.6 - Requires 0.14.x
Example build - Requires 0.14.x
orzelek
Smart Inserter
Smart Inserter
Posts: 3923
Joined: Fri Apr 03, 2015 10:20 am
Contact:

Re: Support - Uranium Power

Post by orzelek »

Since RSO is there then resources.lua from mod has no function. Not sure what could have happened that changing it made resources appear for you.
qbasicer
Manual Inserter
Manual Inserter
Posts: 1
Joined: Mon Aug 08, 2016 7:33 pm
Contact:

Re: Uranium Power

Post by qbasicer »

New to the mod, encountering a crash when I insert 0.2% uranium pellets into the reactor.

Code: Select all

Error while running event on_tick (ID 0)
__UraniumPower__/control.lua:354: attempt to index field '?' (a nil value)
Which is this line:

Code: Select all

                                        for assemblyType, count in pairs(chest.get_contents()) do
                                                reactorChestPotential = reactorChestPotential + (fuelAssemblyPotential[assemblyType][1] * count)
                                        end
What's the right fix here? Looks like delegating the lookup into fuelAssemblyPotential could be delegated to another function that checks accesses into the array, or return 0 otherwise
ShinyAfro
Inserter
Inserter
Posts: 27
Joined: Mon Jan 04, 2016 1:27 pm
Contact:

Re: Uranium Power

Post by ShinyAfro »

qbasicer wrote:New to the mod, encountering a crash when I insert 0.2% uranium pellets into the reactor.

Code: Select all

Error while running event on_tick (ID 0)
__UraniumPower__/control.lua:354: attempt to index field '?' (a nil value)
Which is this line:

Code: Select all

                                        for assemblyType, count in pairs(chest.get_contents()) do
                                                reactorChestPotential = reactorChestPotential + (fuelAssemblyPotential[assemblyType][1] * count)
                                        end
What's the right fix here? Looks like delegating the lookup into fuelAssemblyPotential could be delegated to another function that checks accesses into the array, or return 0 otherwise
That happens when you put the low grade stuff in the reactor, iirc you put in the highest tier stuff to power the reactor, a 4.7% or something fuel assembly, correct me if i'm wrong.
You can achieve that crash by putting ANYTHING in there, like wooden chests, gun, dogs, whatever.
Fatmice
Filter Inserter
Filter Inserter
Posts: 808
Joined: Thu Dec 04, 2014 11:03 pm
Contact:

Re: Support - Uranium Power

Post by Fatmice »

The reactor chest is not meant for non-fuel-assembly things. Please don't put pellets or other junk in there. And yes, it will crash your game. I've fixed that issue for the 0.7.x
Maintainer and developer of Atomic Power. See here for more information.
Current release: 0.6.6 - Requires 0.14.x
Example build - Requires 0.14.x
Rivettz
Manual Inserter
Manual Inserter
Posts: 2
Joined: Tue Aug 09, 2016 9:36 pm
Contact:

Re: Support - Uranium Power - Items not Showing at all

Post by Rivettz »

Hey,

Im new to this whole modding thing and I was looking at Uranium power as an alternative to solar. I installed the 0.13.x Version and dropped in my mods folder. Upon opening the game I realized that I cant assemble anything. The Assemblers and Chem Plants do not display the conversions. Im feeling really stupid lol Please help.

-Factorio Version 0.13.5 (Experimental)
-All Tech Researched

Thanks
Fatmice
Filter Inserter
Filter Inserter
Posts: 808
Joined: Thu Dec 04, 2014 11:03 pm
Contact:

Re: Support - Uranium Power

Post by Fatmice »

Hello, if you installed properly and have researched the tech, then you should see an atomic icon tab with all of the recipes. Even if you installed this mod midway in a game, you should still be able to assemble the reactor and its components through the assembler. Have you taken a look at the video tutorial that I've provided? Other than that, some screenshot of your problem might help me follow better your issue, which is strange.
Maintainer and developer of Atomic Power. See here for more information.
Current release: 0.6.6 - Requires 0.14.x
Example build - Requires 0.14.x
Rivettz
Manual Inserter
Manual Inserter
Posts: 2
Joined: Tue Aug 09, 2016 9:36 pm
Contact:

Re: Support - Uranium Power

Post by Rivettz »

Fatmice wrote:Hello, if you installed properly and have researched the tech, then you should see an atomic icon tab with all of the recipes. Even if you installed this mod midway in a game, you should still be able to assemble the reactor and its components through the assembler. Have you taken a look at the video tutorial that I've provided? Other than that, some screenshot of your problem might help me follow better your issue, which is strange.
Images:
http://steamcommunity.com/sharedfiles/f ... =740922960
http://steamcommunity.com/sharedfiles/f ... =740922968

Yeah I haven't looked at the video. Can you please provide a link for me?

When It came to installing the mod, I downloaded and dropped the File from Winrar to the Mods folder in %appdata% (Roaming) Factorio.
Fatmice
Filter Inserter
Filter Inserter
Posts: 808
Joined: Thu Dec 04, 2014 11:03 pm
Contact:

Re: Support - Uranium Power

Post by Fatmice »

Rivettz wrote:
Images:
http://steamcommunity.com/sharedfiles/f ... =740922960
http://steamcommunity.com/sharedfiles/f ... =740922968

Yeah I haven't looked at the video. Can you please provide a link for me?

When It came to installing the mod, I downloaded and dropped the File from Winrar to the Mods folder in %appdata% (Roaming) Factorio.
Hello, your screenshot only told me a limited number of things. However, I now know you are using the steam version. I recommend against manual installation of mods when using the steam version. You should instead install mod through the game's internal mod portal. Have you research the Uranium Processing tech? The assembler did not show the recipe for making uraninite slurry so that can only mean either your tech was insufficient or technology did not update.

Try issuing the following codes, one line at a time, at the console

Code: Select all

/c player.force.reset_recipes()
/c player.force.reset_technologies()
As for the tutorial video, there is a link on the first post of the main Uranium Power thread.
Maintainer and developer of Atomic Power. See here for more information.
Current release: 0.6.6 - Requires 0.14.x
Example build - Requires 0.14.x
daladas
Manual Inserter
Manual Inserter
Posts: 3
Joined: Thu Aug 11, 2016 6:56 pm
Contact:

Re: Uranium Power

Post by daladas »

when I try to fill the tanks with water in game it crashes my game 0.13+
if someone can tell me how to set it up so it don't crash my game every time I try to add water to the tanks
below I added the error I get when it crashes the game

Error while running event on_tick (ID 0)
Fluid amount has to a be greater or equal to zero
stack traceback:
__UraniumPower__/control.lua:500: in function 'calculate_generator_power_output'
__UraniumPower__/control.lua:121: in function <__UraniumPower__/control.lua:99>
Fatmice
Filter Inserter
Filter Inserter
Posts: 808
Joined: Thu Dec 04, 2014 11:03 pm
Contact:

Re: Support - Uranium Power

Post by Fatmice »

Hello, which tank are you filling? Screenshot might be helpful. I've never encountered this error.
Maintainer and developer of Atomic Power. See here for more information.
Current release: 0.6.6 - Requires 0.14.x
Example build - Requires 0.14.x
daladas
Manual Inserter
Manual Inserter
Posts: 3
Joined: Thu Aug 11, 2016 6:56 pm
Contact:

Re: Support - Uranium Power

Post by daladas »

Fatmice wrote:Hello, which tank are you filling? Screenshot might be helpful. I've never encountered this error.
it is the one my guy is by..i fixed it seems to be a mod I have that makes this mod error I shut off all mods but this 1 and it works fine I think I know what one it does not work with
Attachments
20160811185951_1.jpg
20160811185951_1.jpg (376.11 KiB) Viewed 6858 times
Fatmice
Filter Inserter
Filter Inserter
Posts: 808
Joined: Thu Dec 04, 2014 11:03 pm
Contact:

Re: Support - Uranium Power

Post by Fatmice »

Hello, do you happen to know which mod that is? Is it by Supercheese?
Maintainer and developer of Atomic Power. See here for more information.
Current release: 0.6.6 - Requires 0.14.x
Example build - Requires 0.14.x
Post Reply

Return to “Atomic Power”