Rampant, fixed


Based on Rampant 1.1.1 (new AI and enemies). - New types of enemies - Works on SA planets, can control biters, demolishers, Gleba units - Can mutate existing nests - Can attack from afar - Improved search for a passage in the defense - Some new mechanics

Content
2 days ago
1.1 - 2.0
44.5K
Enemies

g SE NavSat Incompatability

1 year, 4 months ago

When using the navigation satellite from SE, attempting to use a Deconstruction blueprint causes an unrecoverable error from the "Powerup" item trying to grab ammo count.

I didn't really care for the feature so I just added a "if true then return end" to the functions in libs/Powerup.lua but I recommend you perform a check to make sure it doesn't cause a crash.

1 year, 4 months ago

It would be much easier with error text
This gives not only the location, but also the order of function calls
But I'll look for the error

1 year, 4 months ago

Here ya go:

83.186 Error MainLoop.cpp:1404: Exception at tick 3774038: The mod Rampant, fixed (1.9.5) caused a non-recoverable error.
Please report this error to the mod author.

Error while running event RampantFixed::on_player_cursor_stack_changed (ID 31)
RampantFixed/libs/Powerup.lua:12: attempt to get length of local 'character_ammo' (a nil value)
stack traceback:
RampantFixed/libs/Powerup.lua:12: in function 'savePlayerAmmo'
RampantFixed/libs/Powerup.lua:61: in function 'on_player_cursor_stack_changed'
RampantFixed/control.lua:1196: in function <RampantFixed/control.lua:1193>

1 year, 4 months ago

This helped a lot. Apparently, the error may be in one more procedure besides this one.
Thank you

New response