[0.14] What is it used for?

Topics and discussion about specific mods
Coppermine
Long Handed Inserter
Long Handed Inserter
Posts: 79
Joined: Sat May 06, 2017 11:25 am
Contact:

Re: [0.14] What is it used for?

Post by Coppermine »

TwentyEighty wrote: Sun Feb 16, 2020 3:26 am Got this in 1.5.6
<snip>
I can see how Helmod might have led to that, and I think I've fixed it in 1.5.7.
Coppermine
Long Handed Inserter
Long Handed Inserter
Posts: 79
Joined: Sat May 06, 2017 11:25 am
Contact:

Re: [0.14] What is it used for?

Post by Coppermine »

What is it really used for? 1.5.7
  • Avoid crash on unexpected translation response.
  • Avoid horizontal scrollbar in recipe pane.
Coppermine
Long Handed Inserter
Long Handed Inserter
Posts: 79
Joined: Sat May 06, 2017 11:25 am
Contact:

Re: [0.14] What is it used for?

Post by Coppermine »

I'm still looking for feedback on whether 1.5.6 fixed the problem of being kicked in multiplayer that some people were experiencing. Do let me know if that's still an issue.
TwentyEighty
Fast Inserter
Fast Inserter
Posts: 170
Joined: Thu Jan 10, 2019 3:11 pm
Contact:

Re: [0.14] What is it used for?

Post by TwentyEighty »

Thanks for the fix! I can't reproduce any of these bugs in 1.5.7 multiplayer
User avatar
ptx0
Smart Inserter
Smart Inserter
Posts: 1507
Joined: Wed Jan 01, 2020 7:16 pm
Contact:

Re: [0.14] What is it used for?

Post by ptx0 »

Coppermine wrote: Sun Feb 16, 2020 2:24 pm I'm still looking for feedback on whether 1.5.6 fixed the problem of being kicked in multiplayer that some people were experiencing. Do let me know if that's still an issue.
haven't had it since the update, thanks!
Helfima
Fast Inserter
Fast Inserter
Posts: 200
Joined: Tue Jun 28, 2016 11:40 am
Contact:

Re: [0.14] What is it used for?

Post by Helfima »

hello coppermine
I mean you must add more control on the response of tranlation request
some time the key is nil (it was the last bug of TwentyEighty)

Code: Select all

local key = event.localised_string[1] or event.localised_string
  translations[key] = event.result
https://github.com/Helfima/helmod/blob/ ... r.lua#L667
Squelch
Filter Inserter
Filter Inserter
Posts: 346
Joined: Sat Apr 23, 2016 5:31 pm
Contact:

Re: [0.14] What is it used for?

Post by Squelch »

My apologies for the interjection on the localization handling, but I would like to make a small feature request if I may?

Would you please consider adding resource mine recipes?

There's only one resource mine in vanilla that has a recipe to speak of - Uranium needs sulfuric acid and is easy to remember. Mods that add many more of the same type of resources (I'm currently playing Py) are not so easy. Right now, I'm having to travel to the resource patch, and placing a mine (if the tech is available) just to see what extra materials I need to supply.

Mine with recipe
WIIRUF-Mine-Requirements.PNG
WIIRUF-Mine-Requirements.PNG (545.3 KiB) Viewed 6593 times

If the tech hasn't yet been researched, the situation is worse because the required materials are not shown for ghost entities.
WIIRUF-Mine-Requirements-Ghost.PNG
WIIRUF-Mine-Requirements-Ghost.PNG (498.01 KiB) Viewed 6593 times

As seen in both images. WIIRUF has no recipe for the mine that would allow me to pre-empt any additional requirements.

It could also be said that the vanilla game's info panel should also display consumed resources together with the already shown electricity requirement for ghost entities, but I digress.
Coppermine
Long Handed Inserter
Long Handed Inserter
Posts: 79
Joined: Sat May 06, 2017 11:25 am
Contact:

Re: [0.14] What is it used for?

Post by Coppermine »

Helfima wrote: Mon Feb 17, 2020 11:54 am hello coppermine
I mean you must add more control on the response of tranlation request
some time the key is nil (it was the last bug of TwentyEighty)

Code: Select all

local key = event.localised_string[1] or event.localised_string
  translations[key] = event.result
https://github.com/Helfima/helmod/blob/ ... r.lua#L667
I don't think that's what TwentyEighty's last bug was. That bug was when translations was nil, not when key was nil. I agree that if the key is nil that would be a problem, so if you have seen that happen I'll add some defense against it.
mrvn
Smart Inserter
Smart Inserter
Posts: 5969
Joined: Mon Sep 05, 2016 9:10 am
Contact:

Re: [0.14] What is it used for?

Post by mrvn »

Coppermine wrote: Wed Feb 19, 2020 10:29 am
Helfima wrote: Mon Feb 17, 2020 11:54 am hello coppermine
I mean you must add more control on the response of tranlation request
some time the key is nil (it was the last bug of TwentyEighty)

Code: Select all

local key = event.localised_string[1] or event.localised_string
  translations[key] = event.result
https://github.com/Helfima/helmod/blob/ ... r.lua#L667
I don't think that's what TwentyEighty's last bug was. That bug was when translations was nil, not when key was nil. I agree that if the key is nil that would be a problem, so if you have seen that happen I'll add some defense against it.
I'm confused. The key is the translation in that code. So a localized_string of nil would be a key of nil. Nothing wrong with having nil as key in a table though. If event.result is nil that's a bigger problem.

Also the key line seems to make no sense. Shouldn't it be the other way around `local key = event.localised_string or event.localised_string[1]`? Because if the localized_string can be indexed then the second part would always be true. But if the localised_string is nil then I think indexing will fail.
Coppermine
Long Handed Inserter
Long Handed Inserter
Posts: 79
Joined: Sat May 06, 2017 11:25 am
Contact:

Re: [0.14] What is it used for?

Post by Coppermine »

What is it really used for? 1.5.8
  • Show fluid used to mine ore in Mined from pane.
  • Have more consistent vertical alignment of text.
Sander_Bouwhuis
Filter Inserter
Filter Inserter
Posts: 292
Joined: Mon Dec 07, 2015 10:45 pm
Contact:

Re: [0.14] What is it used for?

Post by Sander_Bouwhuis »

Thanks Coppermine!
Coppermine
Long Handed Inserter
Long Handed Inserter
Posts: 79
Joined: Sat May 06, 2017 11:25 am
Contact:

Re: [0.14] What is it used for?

Post by Coppermine »

What is it really used for? 1.5.9
  • Avoid crash on duplicate mining fluid name.
What is it really used for? 1.5.10
  • Offer interface for other mods to open WIIRUF window.
Squelch
Filter Inserter
Filter Inserter
Posts: 346
Joined: Sat Apr 23, 2016 5:31 pm
Contact:

Re: [0.14] What is it used for?

Post by Squelch »

Coppermine wrote: Mon Feb 24, 2020 1:01 am
What is it really used for? 1.5.8
  • Show fluid used to mine ore in Mined from pane.
  • Have more consistent vertical alignment of text.
Fantastic!

Thanks
orbadon
Burner Inserter
Burner Inserter
Posts: 15
Joined: Sat Mar 25, 2017 9:22 pm
Contact:

Re: [0.14] What is it used for?

Post by orbadon »

Since many mods add fluids with a fuel value, it would be awesome to have that fuel value shown in WIIRUF as a tooltip or listed.
Coppermine
Long Handed Inserter
Long Handed Inserter
Posts: 79
Joined: Sat May 06, 2017 11:25 am
Contact:

Re: [0.14] What is it used for?

Post by Coppermine »

What is it really used for? 1.5.11
  • Fix crash related to small_slot_button style.
Sander_Bouwhuis
Filter Inserter
Filter Inserter
Posts: 292
Joined: Mon Dec 07, 2015 10:45 pm
Contact:

Re: [0.14] What is it used for?

Post by Sander_Bouwhuis »

Thank you so much for keeping this mod up to date!
Coppermine
Long Handed Inserter
Long Handed Inserter
Posts: 79
Joined: Sat May 06, 2017 11:25 am
Contact:

Re: [0.14] What is it used for?

Post by Coppermine »

What is it really used for? 1.5.12
  • Fix crash when search term involves parentheses.
curiosity
Filter Inserter
Filter Inserter
Posts: 515
Joined: Wed Sep 11, 2019 4:13 pm
Contact:

Re: [0.14] What is it used for?

Post by curiosity »

There is a bug. WIIRUF sometimes incorrectly reports the machines that the recipe can be crafted in. In Sea Block:
1.png
1.png (30.78 KiB) Viewed 6136 times
2.png
2.png (118.71 KiB) Viewed 6136 times
Post Reply

Return to “Mods”