joker-119 / CustomRoles

4 stars 4 forks source link

Ballistic Zombie does not spawn a grenade or any explosive on death #13

Open cynthrune opened 3 years ago

cynthrune commented 3 years ago

Describe the bug A clear and concise description of what the bug is.

To Reproduce Steps to reproduce the behavior:

  1. Become a ballistic zombie, either through roletest or by being revived.
  2. Die.
  3. Nothing happens

Expected behavior Explosion that deals damage or kills anyone nearby

Server logs https://pastebin.com/jP7fyk9W

EXILED Version ("latest" is not a version): 3.0.5

Results of show plugins command in console: https://pastebin.com/D02sm4bS

Additional context Just as a side note, the server that was used for this is the same one as the one for the plague zombie projectile report by JamgallACE. The log file does not have anything past what was posted. Anything prior should not be relevant.

joker-119 commented 3 years ago

I need the full log file, to ensure there are no errors when this event should occur, rather than just the log from the role being added to them, since they don't explode instantly when it's added, this is useless to me.

cynthrune commented 3 years ago

LocalAdmin_Log_2021-10-18_17.59.15.txt I took a quick look myself and I have a slight feeling this might be connected to lines 46-51

KrisPrs commented 2 years ago

I met the same problem, and i found that SubscribeEvents() isn't being called anywhere. More exactly, it is called in TryRegister(), but u aren't trying to register any passive or active ability in code

checkm4te8 commented 2 years ago

Hello, I have the same issue.

ballistic_zombies:
- id: 1
  role: Scp0492
  max_health: 300
  name: Balistický Zombie
  description: Normální zombie co vybouchne když zemře.
  custom_info: Balistický zombie
  custom_abilities:
  - name: Martyrdom
    description: Hráč vybouchne když zemře.
    # Changing this will likely break your config.
    ability_type: Martyrdom
  inventory: []
  spawn_properties:
    limit: 2
    dynamic_spawn_points: []
    static_spawn_points: []
    role_spawn_points:
    - role: Scp0492
      chance: 100
  keep_inventory_on_spawn: false
  removal_kills_player: true
  keep_role_on_death: false
  scale:
    x: 1
    y: 1
    z: 1