Author Topic: Keeps crashing the server (whenever some one is banned or kicked)  (Read 4189 times)

0 Members and 1 Guest are viewing this topic.

Offline cherrydrpepper

  • Newbie
  • *
  • Posts: 10
  • Karma: 0
[ERROR] addons/ulx/lua/ulx/modules/sh/chat.lua:255: Tried to use a NULL entity!
  1. __newindex - [C]:-1
   2. fn - addons/ulx/lua/ulx/modules/sh/chat.lua:255
    3. unknown - addons/ulib/lua/ulib/shared/hook.lua:183

Does any one know how to fix this?
I will give you $5 on paypal if you can help me fix this issue asap
« Last Edit: July 11, 2014, 12:33:55 AM by cherrydrpepper »

Offline Stickly Man!

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 1270
  • Karma: 164
  • What even IS software anymore?
    • XGUI
Re: Keeps crashing the server
« Reply #1 on: July 09, 2014, 11:44:50 PM »
This doesn't look to be an issue with our code, but a third party module "customcommands" you're using. I would get support from the author of the module.
Join our Team Ulysses community discord! https://discord.gg/gR4Uye6

Offline cherrydrpepper

  • Newbie
  • *
  • Posts: 10
  • Karma: 0
Re: Keeps crashing the server
« Reply #2 on: July 10, 2014, 12:21:33 AM »
This doesn't look to be an issue with our code, but a third party module "customcommands" you're using. I would get support from the author of the module.
Okay I just removed that one.
[ERROR] addons/ulx/lua/ulx/modules/sh/chat.lua:250: Tried to use a NULL entity!
  1. __newindex - [C]:-1
   2. fn - addons/ulx/lua/ulx/modules/sh/chat.lua:250
    3. unknown - addons/ulib/lua/ulib/shared/hook.lua:183

But I also get this one

Offline Stickly Man!

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 1270
  • Karma: 164
  • What even IS software anymore?
    • XGUI
Re: Keeps crashing the server
« Reply #3 on: July 10, 2014, 10:30:02 AM »
ulx/modules/sh/chat.lua at line 250 is a blank line- This means you do not have our latest codebase, or you or someone else has modified your copy of ULX.

Please make sure you're running the latest versions of ULX and ULib by using SVN with the links on our downloads page, or by downloading the latest copy of our GitHub repository below:
https://github.com/Nayruden/Ulysses/archive/master.zip
Join our Team Ulysses community discord! https://discord.gg/gR4Uye6

Offline cherrydrpepper

  • Newbie
  • *
  • Posts: 10
  • Karma: 0
Re: Keeps crashing the server
« Reply #4 on: July 10, 2014, 12:56:16 PM »
Put the newest version on from git hub and still getting the error.
[ERROR] addons/ulx/lua/ulx/modules/sh/chat.lua:255: Tried to use a NULL entity!
  1. __newindex - [C]:-1
   2. fn - addons/ulx/lua/ulx/modules/sh/chat.lua:255
    3. unknown - addons/ulib/lua/ulib/shared/hook.lua:183

Offline Stickly Man!

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 1270
  • Karma: 164
  • What even IS software anymore?
    • XGUI
Re: Keeps crashing the server
« Reply #5 on: July 10, 2014, 02:01:21 PM »
Firstly, to prevent the server from kicking clients when any future error occurs, look into setting sv_kickerrornum to 0 (read more about it here).

Secondly, that is an interesting problem. When and how often does this issue occur? Does it happen when someone is kicked/banned? Any time you say a message?
Join our Team Ulysses community discord! https://discord.gg/gR4Uye6

Offline cherrydrpepper

  • Newbie
  • *
  • Posts: 10
  • Karma: 0
Re: Keeps crashing the server
« Reply #6 on: July 10, 2014, 11:11:39 PM »
I just banned my self and it caused it to crash

Offline cherrydrpepper

  • Newbie
  • *
  • Posts: 10
  • Karma: 0
Re: Keeps crashing the server (whenever some one is banned or kicked)
« Reply #7 on: July 11, 2014, 01:08:40 PM »
At this point I will pay to have this fixed. I tried removing ulx and ulib completely and adding them back in thith the github version and i'm still having the issue.

Offline cherrydrpepper

  • Newbie
  • *
  • Posts: 10
  • Karma: 0
Re: Keeps crashing the server (whenever some one is banned or kicked)
« Reply #8 on: July 11, 2014, 02:24:10 PM »
Also what I just noticed if you ban or kick through the xgui menu it will not crash the server. But if you type !ban name 20 rdm   or !kick name it will crash the server.

Offline Stickly Man!

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 1270
  • Karma: 164
  • What even IS software anymore?
    • XGUI
Re: Keeps crashing the server (whenever some one is banned or kicked)
« Reply #9 on: July 11, 2014, 02:40:31 PM »
Sorry for the delay- been busy. It really sounds like you have some kind of third party addon that's causing this issue. XGUI directly calls console commands, so, does it work if you run "ulx ban name 20 rdm", or "ulx kick name" from the console? If it's ONLY happening when you use the chat commands "!kick" or "!ban", then I'm pretty sure this issue has nothing to do with ULX. Try temporarily removing all of your other addons AND modules (dll files) so only ULX/ULib remain, then add your addons back in one at a time until the issue starts happening again.
Join our Team Ulysses community discord! https://discord.gg/gR4Uye6

Offline cherrydrpepper

  • Newbie
  • *
  • Posts: 10
  • Karma: 0
Re: Keeps crashing the server (whenever some one is banned or kicked)
« Reply #10 on: July 13, 2014, 05:25:32 PM »
Hey so what I did was I completely deleted my server. installed a new one using steam cmd. put in the maps and the start.bat, server.cfg and ulx. And I still get the error????

Offline cherrydrpepper

  • Newbie
  • *
  • Posts: 10
  • Karma: 0
Re: Keeps crashing the server (whenever some one is banned or kicked)
« Reply #11 on: July 13, 2014, 05:47:15 PM »
Update- The server wont crash if you !kick/ !ban some  one but if a staff member kicks or bans themselves it will crash the server.
« Last Edit: July 13, 2014, 05:49:58 PM by cherrydrpepper »

Offline Stickly Man!

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 1270
  • Karma: 164
  • What even IS software anymore?
    • XGUI
Re: Keeps crashing the server (whenever some one is banned or kicked)
« Reply #12 on: July 13, 2014, 07:04:36 PM »
Very interesting. Could I potentially hop on your server tonight and take a look myself? Add me on steam: http://steamcommunity.com/id/Stickly_Man/
Join our Team Ulysses community discord! https://discord.gg/gR4Uye6

Offline cherrydrpepper

  • Newbie
  • *
  • Posts: 10
  • Karma: 0
Re: Keeps crashing the server (whenever some one is banned or kicked)
« Reply #13 on: July 13, 2014, 10:05:40 PM »
say okay I sent you a friend request

Offline Stickly Man!

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 1270
  • Karma: 164
  • What even IS software anymore?
    • XGUI
Re: Keeps crashing the server (whenever some one is banned or kicked)
« Reply #14 on: July 14, 2014, 10:58:46 PM »
For others browsing the forum, this was the same issue as http://forums.ulyssesmod.net/index.php/topic,7431.0.html and it has been fixed.
Join our Team Ulysses community discord! https://discord.gg/gR4Uye6