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

[BUG] Tutorial gets converted to Serpent's Hand under certain conditions, even if disabled in config #45

Open
FinnFurwolf opened this issue Jul 30, 2023 · 3 comments
Assignees
Labels
wontfix This will not be worked on

Comments

@FinnFurwolf
Copy link

I have auto_convert_totorial on false in the config.
Setting yourself to Tutorial as Spectator works correctly. Plugin ignores you.
Setting yourself to Tutorial as any other class converts you to Serpent's Hand. Sometimes gives you the full loadout, sometimes only ammo, but you are always able to block a round from ending.

@Marco15453
Copy link
Collaborator

This is not a bug with serpents hand it seems to be customrole.

@Marco15453 Marco15453 added invalid This doesn't seem right wontfix This will not be worked on requires-testing and removed requires-testing invalid This doesn't seem right labels Jul 31, 2023
@FinnFurwolf
Copy link
Author

I got another problem, but I guess this is also connected to CustomRoles?

[2023-08-01 00:55:15.669 +02:00] [ERROR] [Exiled.Events] Method "OnHurting" of the class "SerpentsHand.SerpentsHand" caused an exception when handling the event "Exiled.Events.Events+CustomEventHandler1[[Exiled.Events.EventArgs.Player.HurtingEventArgs, Exiled.Events, Version=7.2.0.0, Culture=neutral, PublicKeyToken=null]]" [2023-08-01 00:55:15.681 +02:00] [ERROR] [Exiled.Events] System.NullReferenceException: Object reference not set to an instance of an object at SerpentsHand.SerpentsHand.OnHurting (Exiled.Events.EventArgs.Player.HurtingEventArgs ev) [0x00014] in <7c51da7cb3be47b882a80e3f9b19d7a8>:0 at Exiled.Events.Extensions.Event.InvokeSafely[T] (Exiled.Events.Events+CustomEventHandler1[TInterface] ev, T arg) [0x00021] in :0

I also have SCP-035 plugin on my server. If you become SCP-035, you first spawn as Tutorial, what triggers the above mentioned bug and gives you Serpent's Hand loadout. In some cases, it completely bugs out and just ends the round, no matter what teams are alive.

@FinnFurwolf
Copy link
Author

FinnFurwolf commented Aug 1, 2023

I did some testing. I changed the custom role of SCP-035 to ClassD and Serpent's Hand to ChaosConscript in the config. SCP-035 stopped having problems and it worked as intended. I only had the above mentioned bugs with ChaosConscript now (escaped ClassD spawning as SH, blocking the round even alone, ending a round prematurely). So it seems Serpent's Hand is messing things up after all?
Edit: Would also explain why UIURescueSquad works fine, too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

2 participants