So there's several things i noticed:
Code: Select all
placeable_by = {item = "", count = 0}
An empty item string causes a crash at startup.
LOG 0.756 Error CrashHandler.cpp:419: Received SIGSEGV
Factorio crashed. Generating symbolized stacktrace, please wait ...
c:\cygwin64\tmp\factorio-yl1sbk\libraries\stackwalker\stackwalker.cpp (923): StackWalker::ShowCallstack
c:\cygwin64\tmp\factorio-yl1sbk\src\util\logger.cpp (372): Logger::writeStacktrace
c:\cygwin64\tmp\factorio-yl1sbk\src\util\logger.cpp (471): Logger::logStacktrace
c:\cygwin64\tmp\factorio-yl1sbk\src\util\crashhandler.cpp (127): CrashHandler::writeStackTrace
c:\cygwin64\tmp\factorio-yl1sbk\src\util\crashhandler.cpp (423): CrashHandler::SignalHandler
d:\th\minkernel\crts\ucrt\src\appcrt\misc\exception_filter.cpp (219): _seh_filter_exe
d:\th\minkernel\crts\ucrt\src\appcrt\startup\thread.cpp (117): `thread_start<unsigned int (__cdecl*)(void * __ptr64)>'::`1'::filt$0
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 000007F6D2BBF9AC)
000007F6D2BBF9AC (factorio): (filename not available): __C_specific_handler
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 000007FD9DAA9B2D)
000007FD9DAA9B2D (ntdll): (filename not available): RtlLookupFunctionEntry
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 000007FD9DAAAE04)
000007FD9DAAAE04 (ntdll): (filename not available): DbgPrint
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 000007FD9DA74B7A)
000007FD9DA74B7A (ntdll): (filename not available): KiUserExceptionDispatcher
c:\cygwin64\tmp\factorio-yl1sbk\src\entity\entityprototype.cpp (150): EntityPrototype::operator<
c:\program files (x86)\microsoft visual studio\2017\community\vc\tools\msvc\14.12.25827\include\algorithm (3103): std::_Partition_by_median_guess_unchecked<std::unique_ptr<EntityPrototype,std::default_delete<EntityPrototype> > * __ptr64,<lambda_0141455b21a00b2aa1061966262aff81> >
c:\program files (x86)\microsoft visual studio\2017\community\vc\tools\msvc\14.12.25827\include\algorithm (3182): std::_Sort_unchecked<std::unique_ptr<EntityPrototype,std::default_delete<EntityPrototype> > * __ptr64,__int64,<lambda_0141455b21a00b2aa1061966262aff81> >
c:\program files (x86)\microsoft visual studio\2017\community\vc\tools\msvc\14.12.25827\include\algorithm (3185): std::_Sort_unchecked<std::unique_ptr<EntityPrototype,std::default_delete<EntityPrototype> > * __ptr64,__int64,<lambda_0141455b21a00b2aa1061966262aff81> >
c:\cygwin64\tmp\factorio-yl1sbk\src\util\mplvector.hpp (13): MplVector<PrototypeList<CustomInputPrototype>,PrototypeList<EquipmentGridPrototype>,PrototypeList<ItemPrototype>,PrototypeList<TilePrototype>,PrototypeList<DecorativePrototype>,PrototypeList<TechnologyPrototype>,PrototypeList<EntityPrototype>,PrototypeList<RecipeCategory>,PrototypeList<ItemSubGroup>,PrototypeList<ItemGroup>,PrototypeList<FluidPrototype>,PrototypeList<VirtualSignalPrototype>,PrototypeList<AmmoCategory>,PrototypeList<RailCategory>,PrototypeList<FuelCategory>,PrototypeList<ResourceCategory>,PrototypeList<EquipmentPrototype>,PrototypeList<NoiseLayer>,PrototypeList<NamedNoiseExpression>,PrototypeList<AutoplaceControl>,PrototypeList<DamageType>,PrototypeList<RecipePrototype>,PrototypeList<AchievementPrototype>,PrototypeList<ModuleCategory>,PrototypeList<EquipmentCategory>,PrototypeList<ModSettingPrototype>,PrototypeList<TrivialSmokePrototype> >::forEachImpl<<lambda_1dbb59869e58ab0d032b53a20931ae0a>,PrototypeList<TechnologyPrototype>,PrototypeList<EntityPrototype>,PrototypeList<RecipeCategory>,PrototypeList<ItemSubGroup>,PrototypeList<ItemGroup>,PrototypeList<FluidPrototype>,PrototypeList<VirtualSignalPrototype>,PrototypeList<AmmoCategory>,PrototypeList<RailCategory>,PrototypeList<FuelCategory>,PrototypeList<ResourceCategory>,PrototypeList<EquipmentPrototype>,PrototypeList<NoiseLayer>,PrototypeList<NamedNoiseExpression>,PrototypeList<AutoplaceControl>,PrototypeList<DamageType>,PrototypeList<RecipePrototype>,PrototypeList<AchievementPrototype>,PrototypeList<ModuleCategory>,PrototypeList<EquipmentCategory>,PrototypeList<ModSettingPrototype>,PrototypeList<TrivialSmokePrototype> >
c:\cygwin64\tmp\factorio-yl1sbk\src\globalcontext.cpp (1397): GlobalContext::reorderPrototypeLists
c:\cygwin64\tmp\factorio-yl1sbk\src\data\modmanager.cpp (587): ModManager::loadModPrototypes
c:\cygwin64\tmp\factorio-yl1sbk\src\data\modmanager.cpp (843): ModManager::processMods
c:\cygwin64\tmp\factorio-yl1sbk\src\data\modmanager.cpp (362): ModManager::loadData
c:\cygwin64\tmp\factorio-yl1sbk\src\globalcontext.cpp (487): GlobalContext::init
c:\cygwin64\tmp\factorio-yl1sbk\src\mainloop.cpp (252): MainLoop::run
c:\cygwin64\tmp\factorio-yl1sbk\src\main.cpp (1035): wmain
f:\dd\vctools\crt\vcstartup\src\startup\exe_common.inl (283): __scrt_common_main_seh
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 000007FD9D6E1842)
000007FD9D6E1842 (KERNEL32): (filename not available): BaseThreadInitThunk
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 000007FD9DAADF11)
000007FD9DAADF11 (ntdll): (filename not available): RtlUserThreadStart
2.068 D:\GAME/Factorio\base-data\latest\bin\x64\factorio.exe
Code: Select all
placeable_by = {item = "copper-cable", count = 0}
Zero count causes two things:
1) If i'm building from personal roboport then the robot takes up to one stack (but it's happy with just 1 item if i don't carry any more) flies to the ghost, revives it and comes back to me, bringing me back all the items it took.
2) The funny one. If i build one or several ghosts (let's assume i build 10 ghosts) in range of a roboport and the logistic net has some of the item then 10 robots start flying towards the storage/provider chests, the first one grabs up to a stack of the item, now the storage is empty and all the other bots go home. The bot that grabbed all the items revives the ghost aaand...
(if the player is not in range) brings the items back to storage or
(if the player is in logistics range) brings the items to the player. I.e. a construction bot just brought me a stack of cable from a storage chest... :D
Expected behavior:
Someone tells me how to correctly specify a building that is constructible for free. (yea. like that's going to happen :P)