Search found 60 matches

by Kingdud
Fri May 22, 2020 12:05 am
Forum: Texture Packs
Topic: [Request] New Chemical Plant for Assembler UPS grade mod
Replies: 1
Views: 246

Re: [Request] Icons for Assembler UPS grade mod

Update: I went ahead and made my own art. Not that I would turn down better stuff, but meh; something is better than grayboxing. The mod itself is here: https://mods.factorio.com/mod/AssemblerUPSGrade One snag I hit though: The Chemical Plant just looks plain stupid when scaled up. Why? Well, the pr...
by Kingdud
Wed May 20, 2020 4:19 am
Forum: Modding help
Topic: Ontick scripting that offloads non-critical work to non-ontick worker?
Replies: 3
Views: 99

Re: Ontick scripting that offloads non-critical work to non-ontick worker?

Yeah...see, I'm used to the C-style of thinking which says "You can absolutely blow your own head off. Don't aim at your face!" I'd only ever update entity contents inside ontick() itself, because that's the only place synchronization is guaranteed, but you wouldn't be able to enforce that at a lang...
by Kingdud
Wed May 20, 2020 1:23 am
Forum: Modding help
Topic: Ontick scripting that offloads non-critical work to non-ontick worker?
Replies: 3
Views: 99

Ontick scripting that offloads non-critical work to non-ontick worker?

I'm a trained/experienced programmer, but I prefer C and other compiled languages. I haven't dabbled with lua scripting outside of things done during game load (so, nothing using ontick()). I have a mod I want to modify. Fundamentally it places down chest entities and then every second it scans thos...
by Kingdud
Wed May 13, 2020 2:37 am
Forum: Texture Packs
Topic: [Request] New Chemical Plant for Assembler UPS grade mod
Replies: 1
Views: 246

[Request] New Chemical Plant for Assembler UPS grade mod

Mod concept: ASICs (Application Specific Integrated Circuit) exist in the real world as a purpose built piece of hardware that can only ever do exactly one thing, but it can do that one thing *very* efficiently. Bitcoin miners are the primary thing that made people remember ASICs were a thing. Switc...
by Kingdud
Mon May 11, 2020 5:41 pm
Forum: Modding help
Topic: [Solved] I'm blind and can't see my lua bug
Replies: 3
Views: 124

Re: I'm blind and can't see my lua bug

I found the problem. energy_required is not required to be defined at all. Green circuits don't define this property, instead using the default of 0.5. That was the problem.
by Kingdud
Mon May 11, 2020 2:45 pm
Forum: Modding help
Topic: [Solved] I'm blind and can't see my lua bug
Replies: 3
Views: 124

[Solved] I'm blind and can't see my lua bug

I get an error on the line ["normal"] = 1 / (time_to_produce_stock[1] / assembler_total_speed_bonus), The error is "Attempt to perform arithmetic on field '?' (a nil value) function getResultItemsPerSecond(stock_name, new_name, compression_ratio, vanilla_recipe) local recipe_name = new_name .. "-rec...
by Kingdud
Sun Mar 29, 2020 2:19 pm
Forum: Modding help
Topic: Make biters spawn faster
Replies: 0
Views: 69

Make biters spawn faster

tl;dr: I've tried various settings to try and make biters spawn faster. I need some explanation of what some LUA properties do, as well as ideas for where I might look / what I might change to spawn biters faster. My ultimate end goal is to make biter attacks more UPS efficient with out resorting to...
by Kingdud
Sat Mar 28, 2020 3:36 pm
Forum: Modding help
Topic: Can somebody teach me to make mods?
Replies: 5
Views: 305

Re: Can somebody teach me to make mods?

This would require someone sitting in a mumble server with you for several hours. But, I can give you some high level points: * There are 4 'types' you really need to care about: Technologies (these are what science packs are for), recipes (how stuff gets made), items (things you see in your invento...
by Kingdud
Sat Mar 28, 2020 3:20 pm
Forum: Modding help
Topic: [0.17->0.18] Prototype change migration not possible?
Replies: 6
Views: 170

Re: [0.17->0.18] Prototype change migration not possible?

Ok. Then how do I go about fixing the real problem I have: my reactors are fueled with u238 (I made it a fuel category back in .17) and when I migrate to .18, the reactors all have their fuel removed. How do I get the fuel to move over into the new reactors?
by Kingdud
Sat Mar 28, 2020 3:07 pm
Forum: Modding help
Topic: [0.17->0.18] Prototype change migration not possible?
Replies: 6
Views: 170

[0.17->0.18] Prototype change migration not possible?

I'm reading conflicting reports. https://lua-api.factorio.com/latest/Migrations.html indicates the entire purpose of the migrations API is to fix things when you do have to change the prototype of an item (in my case, a generator to a burner-generator). But every example I can find is only for proto...
by Kingdud
Fri Jan 17, 2020 11:34 pm
Forum: News
Topic: Friday Facts #330 - Main menu and File Share Shenanigans
Replies: 94
Views: 10499

Re: Friday Facts #330 - Main menu and File Share Shenanigans

Eh, yea. RAID 5 does have parity data, but if my notebook example had 'word word <jibberish>' it'd just confuse the guy I was trying to help. And, functionally, data is encoded on RAID 5 the same way that it is in RAID 0 (assuming the stripe sizes/disk counts are the same). It's just you do one ext...
by Kingdud
Fri Jan 17, 2020 11:29 pm
Forum: News
Topic: Friday Facts #330 - Main menu and File Share Shenanigans
Replies: 94
Views: 10499

Re: Friday Facts #330 - Main menu and File Share Shenanigans

My example covers both RAID 0 and RAID 5. I specifically mentioned, 3 times, that RAID 1 was different and actually *could* (potentially) be used without its other member RAID disk. Re-read what I wrote again. oh, sorry, missed that bit. :? Removing only the "not RAID1" bis from the last sentence m...
by Kingdud
Fri Jan 17, 2020 11:12 pm
Forum: News
Topic: Friday Facts #330 - Main menu and File Share Shenanigans
Replies: 94
Views: 10499

Re: Friday Facts #330 - Main menu and File Share Shenanigans

RAID writes the data to the hard drive in such a way that, unless you are using software mirroring (RAID 1), the data will be useless outside of the RAID set. Hardware RAID 1 would also be unreadable. The reason software RAID 1 can be read is something of a mystery to me, but I've done it enough ti...
by Kingdud
Fri Jan 17, 2020 11:11 pm
Forum: News
Topic: Friday Facts #330 - Main menu and File Share Shenanigans
Replies: 94
Views: 10499

Re: Friday Facts #330 - Main menu and File Share Shenanigans

How many years have you been out of IT? You realize RAID 5 has been obsolete for years now? And you advise software raid, but not mdadm or zfs? What exactly are you trying to say? The amount of IT 'experts' on this post make me reconsider the average factorio player... One that confuses RAID 0 with...
by Kingdud
Fri Jan 17, 2020 11:04 pm
Forum: News
Topic: Friday Facts #330 - Main menu and File Share Shenanigans
Replies: 94
Views: 10499

Re: Friday Facts #330 - Main menu and File Share Shenanigans

Wait, isn't "RAID" short for Redundant Array of Independent Drives ? That seems neither redundant, nor independent to me ! Independent has multiple meanings. Meaning 2 of 4 on google is "not depending on another for livelihood or subsistence", which is what you're thinking it means (modified slight...
by Kingdud
Fri Jan 17, 2020 10:41 pm
Forum: News
Topic: Friday Facts #330 - Main menu and File Share Shenanigans
Replies: 94
Views: 10499

Re: Friday Facts #330 - Main menu and File Share Shenanigans

Hmm, aren't there, by this point, "plug-and-play" home / small business NASes, that work with either NTFS or ext4, and which are RAID-ed, so you just have to swap a disk when one fails ? And are just network drives using standard protocols, so there are no issues with proprietary software, even wit...
by Kingdud
Fri Jan 17, 2020 10:32 pm
Forum: News
Topic: Friday Facts #330 - Main menu and File Share Shenanigans
Replies: 94
Views: 10499

Re: Friday Facts #330 - Main menu and File Share Shenanigans

I used ZFS back when I was using Sparc-based Sun Boxes on Solaris 10. It worked well. But every time I have used ZFS outside of sparc Solaris, it has been a shitshow. My own father works for Oracle and used ZFS for years as a field support technician (IE: he fixes ZFS for customers, among other thin...
by Kingdud
Thu Jan 02, 2020 6:34 am
Forum: Modding help
Topic: [solved] (graphics) What am I doing wrong?
Replies: 7
Views: 214

Re: [solved] (graphics) What am I doing wrong?

I sat and thought about it. The fence itself is 2 meters high. On the south edge I use the bottom of the fence as the 'starting' location. At the north edge I use the top of the fence. The extra 2 meters is the height of the fence itself, and that's the extra 10%.
by Kingdud
Thu Jan 02, 2020 4:58 am
Forum: Modding help
Topic: [solved] (graphics) What am I doing wrong?
Replies: 7
Views: 214

Re: (graphics) What am I doing wrong?

So I used the grid method and it said 20 meters was actually 28 (so 40%) but when I scaled the art by 40%, I got something 10% too large. So apparently it's 30% and I suck at counting or...something. Regardless, 30% is the offset. I can live with that. This problem also got me to figure out how to m...

Go to advanced search