Skip to content

Players not dying fully when dead #114

Description

@Smitthyy

Summary

When players login sometimes there is an error in console. The error is displayed at the time a player loads into the server. That player then cannot die fully when in server, they go onto the floor but never trigger the last stand process.

Reproduction

  1. Press join server
  2. Select character
  3. Select spawn point
  4. Check for this error in console SCRIPT ERROR: @qbx_medical/server/main.lua:35: attempt to index a nil value (local 'player')

Expected behavior

Player will drop to the floor and enter the last stand state

Actual behavior

Player drops to the floor, last stand never triggers. Player cannot be revived unless via txadmin menu only.
If player relogs then they are shown last stand on the spawn selection screen and cannot proceed.

Additional context

This Qbox server was only created on 8th March.

I believe this is different to the other issues listed here which are similar, they do not make any mention of the medical script error in advance of the issue taking place.

Current Version

1.0.0 Github current

Custom Resources

All medical and ambulance related scripts are default and have already been replaced with current Github versions.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingneed reproThis bug report needs confirmation

    Type

    No type

    Projects

    • Status
      Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions