• Print

Author Topic: Murder - Throwing knife kill is causing a ULX Error and crashing server  (Read 3634 times)

0 Members and 1 Guest are viewing this topic.

Offline Wolfgrimm

  • Newbie
  • *
  • Posts: 2
  • Karma: 0
This is the error:
Code: [Select]
[ERROR] addons/ulx/lua/ulx/log.lua:219: Tried to use a NULL entity!
1. GetClass - [C]:-1
2. fn - addons/ulx/lua/ulx/log.lua:219
3. unknown - addons/ulib/lua/ulib/shared/hook.lua:183

It's refering to this line in the log.lua file:
Code: Lua
  1. ulx.logString( string.format( "%s killed %s using %s", killer:Nick(), victim:Nick(), weapon:GetClass() ) )

Does anyone know how we can prevent this from happening? It's causing a lot of crashes and frustration.

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: Murder - Throwing knife kill is causing a ULX Error and crashing server
« Reply #1 on: January 12, 2015, 07:24:17 pm »
I think that was fixed in the last release, but it's definitely fixed in the beta version at least. We're planning on making a release soon using the current "beta" code, so I'd recommend that for the mean time.
Experiencing God's grace one day at a time.

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: Murder - Throwing knife kill is causing a ULX Error and crashing server
« Reply #2 on: January 12, 2015, 07:41:55 pm »
Get latest here - https://github.com/Nayruden/Ulysses
You only need ULib and ULX from the zip.
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline Wolfgrimm

  • Newbie
  • *
  • Posts: 2
  • Karma: 0
Re: Murder - Throwing knife kill is causing a ULX Error and crashing server
« Reply #3 on: January 12, 2015, 08:59:28 pm »
Get latest here - https://github.com/Nayruden/Ulysses
You only need ULib and ULX from the zip.

Thanks guys, I've updated it from your github.

  • Print