This repository was archived by the owner on Feb 19, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 6
FAQ
Steven Webster edited this page Nov 10, 2020
·
4 revisions
- Q: I'm getting an error that looks like this:
An error has occurred while loading subclasses! System.ArgumentException: Requested value 'X' was not found.fix your plugin!- A: This means that one of your values is incorrect, this can happen to abilities, items, rooms, roles and any other value that has predefined possibilities.
- Q: Why are people with subclasses switching teams mid game?
- A: When you set
ends_round_withas something other thanRIP, if there are no other players on that team alive, the player with that subclass will switch to their real team.
- A: When you set
- Q: I'm getting an error that looks like this:
RefrenceException: Object reference not set to an instance of an object at Subclass.Managers.SubclassManager.LoadClasses ()- A: Although there's a small chance this is on my side, it's more likely that a config option was not found. To debug this, enable debug mode and see where it errors as it tells you what is loading at any given time.
- Q: I'm getting an error that looks like this:
An error has occurred while loading subclasses! YamlDotNet.Core.SemanticErrorException- A: Most likely one of your configs has a syntax error, usually found when a dictionary is formatted as a list and vice versa. Lists look like this (
[]for empty):
- A: Most likely one of your configs has a syntax error, usually found when a dictionary is formatted as a list and vice versa. Lists look like this (
some_list:
- Item
- Item2while dictionaries look like this ({} for empty):
some_dictionary:
Item: value
Item2: value2- Q: Subclasses aren't spawning where I want them to!
- A: This is most likely because the place you're attempting to spawn the players at is out of the map. Some rooms have their positions set outside of the map. It's very frustrating, but because the map always changes, I haven't found a good way to get correct offsets for all rooms based on the map.