Actual Craft Time


Display actual craft times for assemblers, furnaces and rocket silo

Utilities
4 years ago
0.16 - 1.1
17.3K

b PY Issue

5 years ago

crash after reopen Pumpjack (maybe others especial miners too)

https://cdn.discordapp.com/attachments/418117139829096459/596442232270094362/unknown.png

5 years ago

oh, before I forget,this crash just happen with miners that need some fluid to run

5 years ago

I don't have issues with pY mining drills with fluids but have come up with a fix for the pumpjack crash with PyPH. Replace line 347 in control.lua of Actual Craft Time with the following:

if (entity.name:find("pumpjack") and entity.type:find("mining%-drill")) then

As it turns out, the py pumpjacks have an entity name that includes "pumpjack" and their entity type is an assembling machine, so this line was applying to the py pumpjacks due to only checking the entity name. Vanilla pumpjacks are called "pumpjack" and have a type of mining drill. By setting the if statement that's looking for pumpjacks and check if the type is mining drill, it will now be able to skip over the Pyanodons pumpjack assembling machines.

5 years ago

Yeah, this fix the problem, and also, you already send me this on YT
small world we live lol anyway is nice to send this here because more people can fix this by yourself
thx again Otakushowboat

New response