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

The RDM system is not working #336

Closed
superblack4 opened this issue May 23, 2018 · 11 comments
Closed

The RDM system is not working #336

superblack4 opened this issue May 23, 2018 · 11 comments

Comments

@superblack4
Copy link

superblack4 commented May 23, 2018

Even there is a menu pop up when a player got RDM, he/she cannot punish the killer when they choose "Punish" option. There is a message was print out when he/she choose punish option but there is nothing happen to the killer.

This happen for both Inocent vs Inocent, Traitor vs Traitor, Detective vs Detective, Detective vs Inocent.

Any solution to fix this problem? @Bara @good-live

TTT version: 2.1622

@superblack4 superblack4 changed the title Innocent can't slay other Innocent for RDM The RDM system is not working May 24, 2018
@Bara
Copy link
Member

Bara commented May 25, 2018

@good-live changed something here or ( #315 )?

@superblack4
Copy link
Author

This is really weird because the TTT version: 2.1599 is working for RDM system but since i update the newest one then it become useless

@good-live
Copy link
Contributor

Yeah i changed some stuff, but @superblack4 confirmed that those changes are working. Im going to take a look at it today in the evening.

@superblack4
Copy link
Author

I hope u can fix this issue as quick as possible :)
Thx you so much for ur effort @good-live @Bara

@good-live
Copy link
Contributor

Are there any errors related to ttt?
I coudn't find an error in the logic by taking a quick look.

Also check your ttt_round_slays_player_rdm_menu cvar pls.

@superblack4
Copy link
Author

ttt_round_slays_player_rdm_menu "0" (This will instanly slay the killer after the victim choose punish option)

errolog.txt

And there isn't any error relate to TTT plugin except the database error but I think i did not affect to RDM system

@good-live
Copy link
Contributor

ttt_round_slays_player_rdm_menu must be at least 1

@good-live good-live removed the bug label May 28, 2018
@superblack4
Copy link
Author

But then how can i force my people to instanly kill instead after 1 round @good-live ?

@good-live
Copy link
Contributor

good-live commented May 29, 2018

The RDM menu already forces an instant slay: https://github.com/Bara/TroubleinTerroristTown/blob/master/addons/sourcemod/scripting/ttt/ttt.sp#L3677 but that requires the rounds slays to be greater than 0 https://github.com/Bara/TroubleinTerroristTown/blob/master/addons/sourcemod/scripting/ttt/core/natives.sp#L334 You can also set it to for example to 2, then the player would be instant slayed + slayed at the next round.

@superblack4
Copy link
Author

@good-live Because when i read the description on ttt.cfg, It say that put 0 for instant slay so I thought 0 would be the correct answer :v Anyway thx you so much for helping me and maybe you or @Bara can change the description for ttt_round_slays_player_rdm_menu ?

@lock
Copy link

lock bot commented May 31, 2019

This thread has been automatically locked.

@lock lock bot added the locked label May 31, 2019
@lock lock bot locked and limited conversation to collaborators May 31, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Development

No branches or pull requests

3 participants