Author Topic: Chat commands not working after a few hours  (Read 4535 times)

0 Members and 1 Guest are viewing this topic.

Offline Milk_

  • Newbie
  • *
  • Posts: 20
  • Karma: 0
Chat commands not working after a few hours
« on: November 29, 2012, 08:03:24 AM »
So after a few hours of my server being up, or when files are updated while it is still running.. the chat commands seem to stop working. My darkrp / commands, and ulx commands via console.. but ! commands just don't work again until server restart?

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: Chat commands not working after a few hours
« Reply #1 on: November 29, 2012, 08:46:23 AM »
Sounds like another mod is grabbing exclusive control of the chat hooks. If you can narrow it down to the mod causing issues, we'd be happy to look into the cause and contact the mod's author.
Experiencing God's grace one day at a time.

Offline LuaTenshi

  • Hero Member
  • *****
  • Posts: 545
  • Karma: 47
  • Just your ordinary moon angel!
    • Mirai.Red
Re: Chat commands not working after a few hours
« Reply #2 on: November 29, 2012, 09:09:17 AM »
So after a few hours of my server being up, or when files are updated while it is still running.. the chat commands seem to stop working. My darkrp / commands, and ulx commands via console.. but ! commands just don't work again until server restart?

Try typing in "ulx debuginfo" into your server console (RCON) and paste the file generated here.
Also try remmembering any addons that also use Chat hooks that you have recently downloaded, and list them here.
« Last Edit: November 29, 2012, 11:57:49 PM by HeLLFox_15 »
I cry every time I see that I am not a respected member of this community.

Offline Milk_

  • Newbie
  • *
  • Posts: 20
  • Karma: 0
Re: Chat commands not working after a few hours
« Reply #3 on: November 29, 2012, 12:41:01 PM »

[ERROR] addons/ulx/lua/ulx/modules/sh/util.lua:235: bad argument #2 to 'format' (number expected, got nil)
  1. format - [C]:-1
   2. call - addons/ulx/lua/ulx/modules/sh/util.lua:235
    3. __fn - addons/ulib/lua/ulib/shared/commands.lua:943
     4. unknown - addons/ulib/lua/ulib/shared/commands.lua:1296
      5. unknown - lua/includes/modules/concommand.lua:69

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: Chat commands not working after a few hours
« Reply #4 on: November 29, 2012, 01:48:49 PM »
In regards to that specific command not working (ulx debuginfo): Either your server is really screwed up, or Garry's made another undocumented, pointless change. The worrying bit is that this new bug would affect reserved slots if garry did indeed remove it. Will look into this problem (which is unrelated to the main topic) as soon as I can.
Experiencing God's grace one day at a time.

Offline bungletrpg

  • Newbie
  • *
  • Posts: 14
  • Karma: 1
Re: Chat commands not working after a few hours
« Reply #5 on: November 29, 2012, 05:18:27 PM »
I have this same problem on my server and get that exact same output from debuginfo. I don't have any issues with reserved slots though.

Offline bungletrpg

  • Newbie
  • *
  • Posts: 14
  • Karma: 1
Re: Chat commands not working after a few hours
« Reply #6 on: December 01, 2012, 09:01:34 PM »
It seems that the chat commands break for me whenever I make changes to any code. Can someone else confirm this?

Offline kropp

  • Newbie
  • *
  • Posts: 16
  • Karma: 0
Re: Chat commands not working after a few hours
« Reply #7 on: December 01, 2012, 09:45:19 PM »
Same thing is happening for me to.

Getting pretty annoying.

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: Chat commands not working after a few hours
« Reply #8 on: December 03, 2012, 07:35:31 AM »
We don't currently support Garry's dynamic reloading process.
Experiencing God's grace one day at a time.

Offline MrPresident

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 2728
  • Karma: 430
    • |G4P| Gman4President
Re: Chat commands not working after a few hours
« Reply #9 on: December 10, 2012, 07:07:52 AM »
It's annoying, but unless the writer of the addon (And Megiddo just stated ULX isn't supported yet) you will need to restart the map/restart the server any time you make any changes to the code while the server is running.

It's a nice feature that Garry added, but it's not the easiest to use on the side of a developer.