Ulysses

Ulysses Stuff => General Chat & Help and Support => Topic started by: cherrydrpepper on July 09, 2014, 10:57:48 PM

Title: Keeps crashing the server (whenever some one is banned or kicked)
Post by: cherrydrpepper on July 09, 2014, 10:57:48 PM
[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
Title: Re: Keeps crashing the server
Post by: Stickly Man! 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.
Title: Re: Keeps crashing the server
Post by: cherrydrpepper 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
Title: Re: Keeps crashing the server
Post by: Stickly Man! on July 10, 2014, 10:30:02 AM
ulx/modules/sh/chat.lua at line 250 (https://github.com/Nayruden/Ulysses/blob/master/ulx/lua/ulx/modules/sh/chat.lua#L250) 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 (http://ulyssesmod.net/downloads.php), or by downloading the latest copy of our GitHub repository (https://github.com/Nayruden/Ulysses) below:
https://github.com/Nayruden/Ulysses/archive/master.zip (https://github.com/Nayruden/Ulysses/archive/master.zip)
Title: Re: Keeps crashing the server
Post by: cherrydrpepper 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
Title: Re: Keeps crashing the server
Post by: Stickly Man! 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 (http://facepunch.com/showthread.php?t=1207603)).

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?
Title: Re: Keeps crashing the server
Post by: cherrydrpepper on July 10, 2014, 11:11:39 PM
I just banned my self and it caused it to crash
Title: Re: Keeps crashing the server (whenever some one is banned or kicked)
Post by: cherrydrpepper 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.
Title: Re: Keeps crashing the server (whenever some one is banned or kicked)
Post by: cherrydrpepper 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.
Title: Re: Keeps crashing the server (whenever some one is banned or kicked)
Post by: Stickly Man! 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.
Title: Re: Keeps crashing the server (whenever some one is banned or kicked)
Post by: cherrydrpepper 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????
Title: Re: Keeps crashing the server (whenever some one is banned or kicked)
Post by: cherrydrpepper 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.
Title: Re: Keeps crashing the server (whenever some one is banned or kicked)
Post by: Stickly Man! 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/ (http://steamcommunity.com/id/Stickly_Man/)
Title: Re: Keeps crashing the server (whenever some one is banned or kicked)
Post by: cherrydrpepper on July 13, 2014, 10:05:40 PM
say okay I sent you a friend request
Title: Re: Keeps crashing the server (whenever some one is banned or kicked)
Post by: Stickly Man! 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 (http://forums.ulyssesmod.net/index.php/topic,7431.0.html) and it has been fixed.