Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revival fails sometimes #34

Open
mexikoedi opened this issue Sep 22, 2024 · 4 comments
Open

Revival fails sometimes #34

mexikoedi opened this issue Sep 22, 2024 · 4 comments
Labels
bug Something isn't working

Comments

@mexikoedi
Copy link
Contributor

In one round I tried to revive an unidentified corpse of a Traitor.
He respawned as a Traitor instead of a Zombie.
There was also this error in the server console:

[[TTT2] Necromancer [ROLE]] lua/terrortown/events/necro_revive.lua:24: attempt to call method 'SteamID64' (a nil value)
  1. Trigger - lua/terrortown/events/necro_revive.lua:24
   2. Trigger - lua/ttt2/libraries/events.lua:139
    3. AddZombie - lua/terrortown/entities/roles/zombie/shared.lua:119
     4. OnRevive - gamemodes/terrortown/entities/weapons/weapon_ttth_necrodefi.lua:51
      5. FinishRevival - gamemodes/terrortown/entities/weapons/weapon_ttt_defibrillator.lua:252
       6. unknown - gamemodes/terrortown/entities/weapons/weapon_ttt_defibrillator.lua:307

This issue was encountered on TTT2 v0.14.0 from Steam.

@TimGoll TimGoll added the bug Something isn't working label Sep 22, 2024
@TimGoll
Copy link
Member

TimGoll commented Sep 22, 2024

was this a player corpse? or a fake body or so? Or was the player disconnected?

@mexikoedi
Copy link
Contributor Author

was this a player corpse? or a fake body or so? Or was the player disconnected?

This was a normal player corpse and he was still connected. He was also a bit surprised why he didn't spawn as a Zombie.

@TimGoll
Copy link
Member

TimGoll commented Sep 22, 2024

well that is strange, but thanks for the report.

That only happened once, it worked at other times?

@mexikoedi
Copy link
Contributor Author

well that is strange, but thanks for the report.

That only happened once, it worked at other times?

Yep, worked all the time except one round.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants