Reverse Engineering Lab

by AivanF

Now you can uncraft & recycle items into science packs! Provides a lab that performs reverse-engineering research converting items into science packs considering their worth. Sometimes it can unlock related technology research! Useful with mods where you can find, loot advanced items, or just in case you wanna get rid of old stuff. Recipes and science packs from any other mods are supported.

Content
a month ago
1.1 - 2.0
5.84K
Manufacturing

b non-recoverable error

11 months ago

The mod Reverse Engineering Lab (1.0.2) caused a non-recoverable error.
Please report this error to the mod author.

Error while running event Reverse-Engineering::on_tick (ID 0)
Reverse-Engineering/script/revlab.lua:134: bad argument #3 of 3 to 'index' (string expected, got nil)
stack traceback:
[C]: in function '__index'
__Reverse-Engineering
/script/revlab.lua:134: in function 'handle_input'
Reverse-Engineering/script/revlab.lua:202: in function 'process_a_lab'
Reverse-Engineering/script/revlab.lua:238: in function 'handler'
core/lualib/event_handler.lua:47: in function <core/lualib/event_handler.lua:45>

11 months ago

Hi! What other mods do you have? Or maybe you remember what you have put in the Reverse Lab?

11 months ago

10 gun turrets tested with no other mods same result

3 months ago

The mod Reverse Engineering Lab (1.0.4) caused a non-recoverable error.
Please report this error to the mod author.

Error while running event Reverse-Engineering::on_tick (ID 0)
Reverse-Engineering/script/revlab.lua:217: attempt to perform arithmetic on field 'price' (a nil value)
stack traceback:
Reverse-Engineering/script/revlab.lua:217: in function 'process_a_lab'
Reverse-Engineering/script/revlab.lua:241: in function 'handler'
core/lualib/event_handler.lua:47: in function <core/lualib/event_handler.lua:45>

Reverse Lab 3
Tried to use fish, was meant to give me space science
I will add a modlist once I figure out how to export it

3 months ago

Techno665, yeah, fish to space packs is a kinda easter egg, forgot to test it after last algorithm change. Now published v1.0.5 that fixes it.

Dragon551122, sorry for late reply, gun turrets seem to work in last versions, I reviewed them additionally.

a month ago
(updated a month ago)

I was trying to reverse engineer Solid Fuel, to try and get blue science early and easy(At least, to allow me to immediately start researching techs that need it while I set up proper production).

Nothing seemed to be happening, until I eventually got an error, but there's also another one I get whenever I tried removing the lab(while the solid fuel was in the input, if that makes a difference).


I get this error when I tried deconstructing the lab.

--

The mod Reverse Engineering Lab (2.0.0) caused a non-recoverable error.
Please report this error to the mod author.

Error while running event Reverse-Engineering::on_player_mined_entity (ID 68)
Invalid ItemID: expected LuaItemPrototype, LuaItemStack, LuaItem or string.
stack traceback:
[C]: in function 'insert'
Reverse-Engineering/script/revlab.lua:68: in function 'safe_destroy_chest'
Reverse-Engineering/script/revlab.lua:83: in function 'handler'
core/lualib/event_handler.lua:47: in function <core/lualib/event_handler.lua:45>


And this error happens after some time.

--

The mod Reverse Engineering Lab (2.0.0) caused a non-recoverable error.
Please report this error to the mod author.

Error while running event Reverse-Engineering::on_tick (ID 0)
LuaGameScript doesn't contain key pollution_statistics.
stack traceback:
[C]: in function 'index'
__Reverse-Engineering
/script/revlab.lua:221: in function 'process_a_lab'
Reverse-Engineering/script/revlab.lua:243: in function 'handler'
core/lualib/event_handler.lua:47: in function <core/lualib/event_handler.lua:45>


I have quite a few mods, but the only relevant ones(that show up in the UI), are Mining Drones, and Combat Overhaul.


I'll try stopping the input of solid fuel, and see if it makes it to autosave 3(it managed to autosave twice before the error popped up).

a month ago

Okay, I stopped the solid fuel from entering the input, and I was able to deconstruct the lab.
I can continue playing, while I wait for a fix.

By the way, INSANE how you made the lab. I place a single 3x3 building, and it turns into 3 chests around a core. SO COOL!
I hope you can fix it soon.

a month ago

Hi, Turbotowns! Thanks for the bug report, I'll fix it soon.

And thank you for the kind words, I really appreciate! 😊 Actually, many mods create additional entities for their special objects, but mostly invisible ones. You can also have a look at my other mod, WH40k Titans, which required much more technical skills; however, it's not yet available for Factorio 2.0 – developers changed a lot on inner details, and I still update and fix errors in smaller mods like this one...

Btw, next time, feel free to create a new Discussion page, it's clearer to have separate pages for so different errors.

a month ago

I've reproduced the errors you shown, then fixed them, and published v2.0.1, have a try!

a month ago
(updated a month ago)

Thanks! I'll try it out!


Awesome! It eats 20 Solid Fuel without giving an error report, AND I can even deconstruct the lab with the input full of something(it leaves a chest in it's place). Haven't gotten any science packs out of a few attempts, but it DID say the rate was 0.5(I guess it's a coin flip that I'll get any packs, let alone a blue one specifically).

New response