joker-119 / CustomRoles

3 stars 4 forks source link

None of the customroles for the zombies are given or recognized in the configuration. #21

Open SrLicht opened 2 years ago

SrLicht commented 2 years ago

Describe the bug None of the zombie roles are recognized in the config and I tried with the IDs and names, but it still says the same thing every time

[2022-03-24 15:13:01.471 -03:00] [DEBUG] [CustomRoles] OnChangingRole: Trying to spawn new zombie.
[2022-03-24 15:13:03.408 -03:00] [DEBUG] [CustomRoles] SelectRandomZombieType: 7 -- plague_zombies -- Ex: BallisticZombie - PlagueZombie
[2022-03-24 15:13:03.424 -03:00] [WARN] [CustomRoles] SelectRandomZombieType: plague_zombies is not a valid custom role.

For some strange reason I can give me the roles by the CustomRoles command even though the console says that it is not a valid role.

image

To Reproduce Steps to reproduce the behavior:

  1. Dying
  2. Let SCP-049 bring you back to life.
  3. You appear as a normal zombie and the console says that none of the registered roles are valid.

Server logs For some strange reason my server is not creating logs ????

EXILED Version ("latest" is not a version): Exiled 5.0-Beta5

Results of show plugins command in console:

[2022-03-24 15:28:34.751 -03:00] >>> show plugins
[2022-03-24 15:28:34.782 -03:00] Total number of plugins: 17
                                 Enabled plugins: 17
                                 Disabled plugins: 0

                                 Exiled.Events:
                                        - Author: Exiled Team
                                        - Version: 5.0.0.0
                                        - Required Exiled Version: 5.0.0.0
                                        - Prefix: exiled_events
                                        - Priority: Highest
                                 CedMod:
                                        - Author: ced777ric#8321
                                        - Version: 3.1.0
                                        - Required Exiled Version: 3.0.0
                                        - Prefix: cm
                                        - Priority: Highest
                                 Cerberus.Swap:
                                        - Author: SrLicht
                                        - Version: 3.0.0
                                        - Required Exiled Version: 5.0.0
                                        - Prefix: cerberus_swap
                                        - Priority: Medium
                                 SCP-575:
                                        - Author: Joker119
                                        - Version: 4.0.0
                                        - Required Exiled Version: 5.0.0
                                        - Prefix: 575
                                        - Priority: Medium
                                 Exiled.CustomRoles:
                                        - Author: Exiled Team
                                        - Version: 5.0.0.0
                                        - Required Exiled Version: 5.0.0.0
                                        - Prefix: exiled_custom_roles
                                        - Priority: Medium
                                 CustomItems:
                                        - Author: Exiled Team
                                        - Version: 6.0.1.0
                                        - Required Exiled Version: 5.0.0
                                        - Prefix: custom_items
                                        - Priority: Medium
                                 AutoFFToggle:
                                        - Author: Kognity
                                        - Version: 1.7.0
                                        - Required Exiled Version: 3.0.0
                                        - Prefix: auto_f_f_toggle
                                        - Priority: Medium
                                 Exiled.CreditTags:
                                        - Author: Babyboucher20 & iRebbok & Exiled Team
                                        - Version: 5.0.0.0
                                        - Required Exiled Version: 5.0.0.0
                                        - Prefix: exiled_credits
                                        - Priority: Medium
                                 CustomRoles:
                                        - Author: Galaxy119
                                        - Version: 4.0.0.0
                                        - Required Exiled Version: 5.0.0
                                        - Prefix: CustomRoles
                                        - Priority: Medium
                                 Exiled.Updater:
                                        - Author: Exiled.Updater
                                        - Version: 3.1.1.0
                                        - Required Exiled Version: 5.0.0.0
                                        - Prefix: exiled_updater
                                        - Priority: Medium
                                 Exiled.CustomItems:
                                        - Author: Exiled Team
                                        - Version: 5.0.0.0
                                        - Required Exiled Version: 5.0.0.0
                                        - Prefix: exiled_custom_items
                                        - Priority: Medium
                                 Cerberus.Tweaks:
                                        - Author: SrLicht
                                        - Version: 3.0.0
                                        - Required Exiled Version: 5.0.0
                                        - Prefix: cerberus_tweaks
                                        - Priority: Medium
                                 Exiled.Permissions:
                                        - Author: Exiled Team
                                        - Version: 5.0.0.0
                                        - Required Exiled Version: 5.0.0.0
                                        - Prefix: exiled_permissions
                                        - Priority: Medium
                                 Admin Tools:
                                        - Author: Originally by Galaxy119. Modifications by KoukoCocoa & Thomasjosif
                                        - Version: 5.0.0.0
                                        - Required Exiled Version: 5.0.0
                                        - Prefix: AT
                                        - Priority: Medium
                                 Stalky106:
                                        - Author: RogerFK && Raul125
                                        - Version: 3.3.1
                                        - Required Exiled Version: 5.0.0
                                        - Prefix: ST106
                                        - Priority: Medium
                                 BetterSinkholes2:
                                        - Author:
                                        - Version: 1.0.0.0
                                        - Required Exiled Version: 5.0.0.0
                                        - Prefix: better_sinkholes2
                                        - Priority: Medium
                                 WaitAndChillReborn:
                                        - Author: Michal78900
                                        - Version: 5.0.0
                                        - Required Exiled Version: 5.0.0
                                        - Prefix: wait_and_chill_reborn
                                        - Priority: Medium

Additional context

Please fix 575 Playable :)

SrLicht commented 2 years ago

Sorry for not being able to give logs, I do not know if it is my problem with Exiled 5.0 but my server does not generate the Logs folder and its files. image

joker-119 commented 2 years ago

Show me your plugin config file aswell.

Also playable 575 works fine.

SrLicht commented 2 years ago

Show me your plugin config file aswell.


# Whether or not debug messages shoudl be shown.
debug: true
# The folder path where role configs will be stored.
roles_folder: /home/tcagame_svc2604/francoq/2604/.config/EXILED/Configs/CustomRoles
# The file name to load role configs from.
roles_file: global.yml
# A list of zombie class names that are enabled on this server.
enabled_zombies:
- Ballistic Zombie
- Berserker Zombie
- Charger Zombie
- Dwarf Zombie
- Medic Zombie
- PD Zombie
- Plague Zombie
# Whether or not this plugin is enabled.
is_enabled: true

> Also playable 575 works fine.

Blackout ability does not work
The command when executed when you are level 3 gives an error.
SrLicht commented 2 years ago

In the same way try with the CustomRoles IDs

joker-119 commented 2 years ago

Remove the spaces in the names IE:

Ballistic Zombie should be BallisticZombie I will clarify that in the config comments and add a section to the readme that will help.

As for the blackout ability, when I was testing it prior to release it worked fine and there haven't been any changes to Custom Roles that would affect it afaik, could you give me the error that it produces, please?

SrLicht commented 2 years ago

Remove the spaces in the names IE:

Ballistic Zombie should be BallisticZombie I will clarify that in the config comments and add a section to the readme that will help.

Despite using - BallisticZombie the role is not given to the player and the console says it is not valid. image My configuration

# Whether or not debug messages shoudl be shown.
debug: true
# The folder path where role configs will be stored.
roles_folder: C:\Users\franc\AppData\Roaming\EXILED\Configs\CustomRoles
# The file name to load role configs from.
roles_file: global.yml
# A list of zombie class names that are enabled on this server.
enabled_zombies:
- BallisticZombie
# Whether or not this plugin is enabled.
is_enabled: true

As for the blackout ability, when I was testing it prior to release it worked fine and there haven't been any changes to Custom Roles that would affect it afaik, could you give me the error that it produces, please?

This is the error that comes up when you run the command when you have the necessary charges of consuption image