Infused Aliens

by saors

Aliens on the planet have evolved, if they build a new spawner on top of a resource patch, they will incorporate the resource into the spawner. The new spawner will have some effects and the aliens spawned from it will as well.

Content
4 years ago
0.17
6
Enemies

b [Solved] Error as soon as I found an ore patch with mobs

4 years ago

got this error:

Mod Infused Aliens hat einen unbehebbaren Fehler verursacht.
Bitte informiere den Mod-Autor über diesen Fehler.

Error while running event infused_aliens::on_chunk_generated (ID 12)
Unknown entity name: _spitter_spawner
stack traceback:
infused_aliens/control.lua:20: in function 'replace_vanilla_spawner'
infused_aliens/control.lua:56: in function 'set_biter_spawner_type'
infused_aliens/control.lua:167: in function <infused_aliens/control.lua:161>
stack traceback:
[C]: in function 'create_entity'
infused_aliens/control.lua:20: in function 'replace_vanilla_spawner'
infused_aliens/control.lua:56: in function 'set_biter_spawner_type'
infused_aliens/control.lua:167: in function <infused_aliens/control.lua:161>

4 years ago

Thank you for reporting this, I will see if I can reproduce it. Do you mind confirming what version of the mod you're using?

Thanks!

4 years ago
(updated 4 years ago)

I just pushed a fix out that should prevent this error from happening again. It's more of a band-aid so the game doesn't error out, but whatever spawner it was trying to spawn will instead be left as vanilla. If you have time and could provide the following information, that would be great!

  • What version of the mod were you using
  • If you have any other enemy-type mods installed
  • If you have any mods that effect ores

Thanks again!

4 years ago

If you have time and could provide the following information, that would be great!

I can.
1) Infused Aliens 1.0.1
2) Bob's Enemys, Schall Alien Mutation
3) Industrial revolution and Krastorio.

Will try hotfix, thx.

4 years ago
  • What version of the mod were you using
  • If you have any other enemy-type mods installed
  • If you have any mods that effect ores
  • I used Infused Aliens 1.0.1
  • Rampant, Bob's Enemys, Big-Monsters, Cold biters, Explosive biters, Natural Evolution Enemies.
  • Krastorio, Space Exploration (not sure about SE), RealisticOres(this should ONLY change the colors, but wanted to mention it anyway)

I hope I didn't miss anything.


I tried it again with Infused Aliens 1.0.2 and got this Error

Mod Infused Aliens hat einen unbehebbaren Fehler verursacht.
Bitte informiere den Mod-Autor über diesen Fehler.

Error while running event infused_aliens::on_chunk_generated (ID 12)
Unknown entity name: _spitter_spawner
stack traceback:
infused_aliens/control.lua:31: in function 'replace_vanilla_spawner'
infused_aliens/control.lua:68: in function 'set_biter_spawner_type'
infused_aliens/control.lua:179: in function <infused_aliens/control.lua:173>
stack traceback:
[C]: in function 'create_entity'
infused_aliens/control.lua:31: in function 'replace_vanilla_spawner'
infused_aliens/control.lua:68: in function 'set_biter_spawner_type'
infused_aliens/control.lua:179: in function <infused_aliens/control.lua:173>

This time it took a bit longer, I could check some enemies which were spawned on ore(copper to be exact) but they were from Rampant, I think as soon as something spawned from your mod the game crashed.

Good thing is your mod seems to be compatible with other enemy type mods.

4 years ago

I am glad the compatibility is there, but I am not able to reproduce the error...

without dangeoreus: http://prntscr.com/pp8zeh
with dangeoreus: http://prntscr.com/pp8q8c

I watched both nests for a while on 10x speed as they spawned things and no errors :/

Is it possible to send me the save file?

If it's easier to send on discord, my handle is saors#7901
Thanks!

4 years ago

thats weird, I ran this command to reveal the map:

/c local radius=2048
game.player.force.chart(game.player.surface, {{game.player.position.x-radius, game.player.position.y-radius}, {game.player.position.x+radius, game.player.position.y+radius}})

I tried it on factorio 0.17.69 and 0.17.74.

I made a new save for you to download where it crashed after revealing a certain area, I used the same reveal command since it just takes too long to walk around.

spot where it crashed: https://imgur.com/a/2ph9u5F

save file: https://drive.google.com/file/d/1aiLNSvr5IWxoewwdBkWMmNXR1y_dES-m/view?usp=sharing
mod settings: https://drive.google.com/open?id=1aiLNSvr5IWxoewwdBkWMmNXR1y_dES-m

I loaded that save and tested it several times and it always crashed after revealing the exact same spot.


After uploading that stuff I tried your mod with Krastorio on a new world and it turned out Krastorio in combination with your mod causes the error

So just create a new world with these mods and it should give you the error

modlist:
- infused aliens 1.0.2
- Krastorio 1.4.37
- Krastorio Graphics 0.1.6
- aswil 0.5.16

4 years ago

Thanks for the save, it was very helpful!

I think Krastorio overhauls the natural stone ore in a way that I didn't account for.
The issue should now be resolved.

Also, I am a bit embarrassed that I ran around the map instead of using the easy console command XD

Lastly, if Krastorio completely renamed all of the "stone" ore patches to something different, then you won't see any "Hardened" type units from my mod. Same goes for any other ore and mod too though.

I am currently planning on tackling this however.

4 years ago
(updated 4 years ago)

other thing, as you might have noticed from that save, it took a while since something spawned, especially the further away from center you got.

when running your mod with rampant, I think >90% of all enemies spawned(on top of ore or not) were from rampant, only if by chance a vanilla biter nest spawns, which itself has to spawn on top of ore, will it spawn infused nests.

so maybe make their already given effects stronger or give them more effects, since they are extremely rare(with other mob spawners)... or include "aliens" from rampant, bobs enemies, etc..

uranium: an aura which damages enemies when near them, give their attacks a damage over time effect.

coal/oil: include the spawners in polluting the area(which will increase the evolution, since it's pollution), make the biters or spawners explode/burn when attacked by incenary weapons or explosives.

iron/copper: armor piercing attacks

stone: more resistances

and I would make them more distinct, maybe bigger than the usual biters at the current evolution factor.
with natural evolution enemies there is no way in telling which one is which: https://imgur.com/a/YrXmSWJ

Edit: maybe I should have made a new thread instead of posting this here

4 years ago
(updated 4 years ago)

Your latest update seems to be working now, I took it to the extreme with the map settings just to test it.

It didn't give me an error after revealing an area of >2000, and it spawns infused aliens as you can see here https://imgur.com/a/NMvOAMn

they are pretty hard to distinct tho in those masses

map looks fun: https://imgur.com/a/t8zGmhs

4 years ago

Yeah, the problem is how you have to declare the entities...
I have to declare all of the different spawners ahead of time, I can't buff existing ones and change what they spawn/how they look/their resistances/etc during gameplay. It's a limitation that the devs put in on purpose (I believe for either security or for stability reasons).

I am actually currently testing if I can expose my functions to other mods to allow them to tie-in with my mod and have hybrid enemies... Will let you know how that goes!

4 years ago

I've just updated the mod so the spawners are colored (among other pretty big changes)

This thread has been locked.