HeroTurrets


Turrets are built using salvaged self-learning AI tech from your ship allowing them to get deadlier with practice. Extends turrets via ranking system based on kills. Turrets generated so not limited to vanilla, identifiable by overlaid rank insignia. Rank buffs individual turrets.

Content
8 months ago
1.0 - 1.1
47.7K
Combat

b version 0.1.39 logspam

3 years ago

It appears the modification for custom ranks left some log() output active which.. is spamming the log (on each kill? not sure) with this:

Script @heroturrets/prototypes/scripts/turrets.lua:159: {
50,
250,
500,
5000
}

3 years ago

...possibly because the cache in the function isn't implemented correctly? the first line:

if local_get_kill_table ~= nil then return local_get_kill_table end

should probably use "kill_table" instead, since that's the variable name used below?

3 years ago

good catch, the log out put was left in intentionally but not the repeat calls, will fix

3 years ago

funny will always be nil as a local is calling itself. ups fix too good work

3 years ago

Thanks for the quick fix, I can confirm it is only logging once now :)

This thread has been locked.