Closed Lolles1911 closed 2 years ago
This is not a Source.Python issue per se, but a change that was made into https://github.com/Source-Python-Dev-Team/Source.Python/commit/35ef1c66fc2e76e020f868a894c2c812e1cd0edc that have not been applied to that plugin. A fix has been proposed into @vinci6k's repository: https://github.com/vinci6k/floating-damage-numbers/pull/1
Hello. Anyone have any suggestions for this?
[Source.Python] [SP] Caught an Exception: Traceback (most recent call last): File "../addons/source-python/plugins/fdn/fdn.py", line 120, in on_take_damage_alive_pre player_a = player_instances[index_a] File "../addons/source-python/packages/source-python/entities/dictionary.py", line 83, in missing raise KeyError(e).with_traceback(e.traceback) from None File "../addons/source-python/packages/source-python/entities/dictionary.py", line 81, in missing instance = factory(index, *self._args, **self._kwargs) File "../addons/source-python/packages/source-python/entities/_base.py", line 133, in call obj = super().call(index) File "../addons/source-python/plugins/fdn/core/players.py", line 27, in init super().init(index, caching) File "../addons/source-python/packages/source-python/players/_base.py", line 100, in init PlayerMixin.init(self, index)
KeyError: ValueError("Index '86' is not a valid player.",)