Suprcheese / Orbital-Ion-Cannon

A mod for Factorio: https://forums.factorio.com/viewtopic.php?f=93&t=17910
MIT License
12 stars 12 forks source link

Error in 1.0 + massive lag #42

Open sharkck opened 3 years ago

sharkck commented 3 years ago

Posted > a month ago on the mod discussion page @ https://mods.factorio.com/mod/Orbital%20Ion%20Cannon/discussion/5f4c9240baee241b82382060 : I've added the Ion cannon mod to my server and noticed that once I researched the tech finally, there was a noticeable lag. Looking at the server console, I see nothing but this spammed constantly: 1159.771 Script @stdlib/stdlib/area/chunk.lua:38: WARNING: Area for Position not found in package.loaded Removing the Ion Cannon mod eliminates this error from spamming the console. Also, while this is spammed, I cannot connect to my server. Removing the mod (which removes the ion cannons and the tech from the save) makes it where I can connect again. Adding the mod back adds about a 7 second lag while I'm connected versus not having the mod. Researching the tech again makes the error show in massive amounts and increases lag substantially. Before re-researching the tech, I did cheat in 10 or so ion cannons pre-tech and the error did not show in the console and there did not seem to be a lag difference having the cannons pre-tech-researched. (Of course, I did not have a targeting device nor was auto-targeting researched at this point...)

PrPleGoo commented 3 years ago

Can you upload save and exact mods?