Author Topic: ULX Actions not displaying in chat  (Read 4028 times)

0 Members and 1 Guest are viewing this topic.

Offline Icee2199³

  • Newbie
  • *
  • Posts: 10
  • Karma: 0
ULX Actions not displaying in chat
« on: December 20, 2014, 12:00:06 PM »
Hello!

So recently I noticed that ULX actions are not displayed in chat, but are executed.

An example is normally it would be:

"!slay Icee2199"
and it would display "You slayed Icee2199" or "Icee2199 slayed Themself", etc.

It doesn't display the message about any of the actions done by the user, but it does execute.

If I did "!slay Icee2199" I would die but nothing is displayed in chat.

I have no other administration mods and have deleted all custom ULX addons. I also tried completely clearing my /addons folder to see if that was the issue.

If I do "!slay sdklfjsldfj" (player not on the server) then it will tell me the target was not found.

In console it does recognize ulx commands being executed, it displays "[ULX] Icee2199 slayed Themself", etc.
I also have tried typing "ulx resettodefaults FORCE" in console and have deleted and resintalled ULX several times including the /data files.

No errors are given what so ever.

Any help is greatly appriciated,

Icee2199

Offline Avoid

  • Full Member
  • ***
  • Posts: 142
  • Karma: 42
Re: ULX Actions not displaying in chat
« Reply #1 on: December 20, 2014, 12:02:12 PM »
Hello there,
check your config.txt inside your data/ulx folder:

Code: [Select]
ulx logEcho 2 ; Echo mode
; Echo modes:
; 0 - OFF No output to any players when an admin command is used
; 1 - ANONYMOUS Output to players without access to see who used the command (admins by default) similar to "(Someone) slapped Bob with 0 damage"
; 2 - FULL Output to players similar to "Foo slapped Bob with 0 damage"

Avoid

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: ULX Actions not displaying in chat
« Reply #2 on: December 20, 2014, 12:05:22 PM »
There are also XGUI functions for setting those same echo functions
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline Icee2199³

  • Newbie
  • *
  • Posts: 10
  • Karma: 0
Re: ULX Actions not displaying in chat
« Reply #3 on: December 20, 2014, 12:06:59 PM »
I will go ahead and try the items suggested.
logEcho was set to 0, which is odd due to the fact that I have not modified the config and just freshly installed ULX and all the data files.
I will reply with the result.

Thanks,

Icee2199

Offline Icee2199³

  • Newbie
  • *
  • Posts: 10
  • Karma: 0
Re: ULX Actions not displaying in chat
« Reply #4 on: December 20, 2014, 12:22:53 PM »
I have tested the items suggested.

In the ULX config (data/ULX/) I changed logEcho from 0 to 2.

After restarting the server the config was back to logEcho being 0.
I believe this is the issue, but I'm unsure why it's being set back to 0.

Offline Icee2199³

  • Newbie
  • *
  • Posts: 10
  • Karma: 0
Re: ULX Actions not displaying in chat
« Reply #5 on: December 20, 2014, 12:33:14 PM »
Any ideas why this might be?

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: ULX Actions not displaying in chat
« Reply #6 on: December 20, 2014, 01:39:40 PM »
Tried setting it in XGUI?
Any other addons use/grab chat?

We've also seen some odd exploits released in workshop do obfuscation of stuff to try to prevent being seen by real admins.
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline Caustic Soda-Senpai

  • Sr. Member
  • ****
  • Posts: 469
  • Karma: 54
  • <Insert something clever here>
    • Steam Page
Re: ULX Actions not displaying in chat
« Reply #7 on: December 20, 2014, 02:36:26 PM »
Easiest solution to find if an addon is causing it is by removing all addons, restarting with Echo 2 and slowly adding them back and seeing which addon restarts it with Echo 0
Once you get to know me, you'll find you'll have never met me at all.

Offline Icee2199³

  • Newbie
  • *
  • Posts: 10
  • Karma: 0
Re: ULX Actions not displaying in chat
« Reply #8 on: December 20, 2014, 02:53:16 PM »
I'll go ahead and disable workshop download since I already tested the other addons.

Offline Icee2199³

  • Newbie
  • *
  • Posts: 10
  • Karma: 0
Re: ULX Actions not displaying in chat
« Reply #9 on: December 20, 2014, 03:05:08 PM »
After disabling workshop download ULX does in fact work.
I'm going to go through the addons in the collection one-by-one and see which one it is.
I will post the name of the workshop addon that is doing this so that anyone with this issue may fix it in the future.

Offline Icee2199³

  • Newbie
  • *
  • Posts: 10
  • Karma: 0
Re: ULX Actions not displaying in chat
« Reply #10 on: December 20, 2014, 03:16:48 PM »
I found that after doing a command that it displays the action on (EX: "!slay Icee2199") it displays the first time and in console if you type "ulx logEcho" it'll tell you it's 2.

If you do another ULX command that displays an action, it does not appear and when you type "ulx logEcho" in console it displays that it's value is "0".

Offline Icee2199³

  • Newbie
  • *
  • Posts: 10
  • Karma: 0
Re: ULX Actions not displaying in chat
« Reply #11 on: December 20, 2014, 03:24:34 PM »
I found the addon that was causing this.

http://steamcommunity.com/sharedfiles/filedetails/?id=302735964 it is the DeathStroke PlayerModel & NPC.

If you have this addon it is recommended you remove it since it has malicious lua code.
I'm going to go ahead and extract it and have a look through it.

Offline Icee2199³

  • Newbie
  • *
  • Posts: 10
  • Karma: 0
Re: ULX Actions not displaying in chat
« Reply #12 on: December 20, 2014, 03:29:26 PM »
Really odd, the addon doesn't seem to contain any malicious lua code but it still screws up the ULX config.

These are all of the lua files it has:

1. slade.lua

Code: [Select]
player_manager.AddValidModel( "Deathstroke",                     "models/player/bobert/slade.mdl" )  list.Set( "PlayerOptionsModel",  "Deathstroke",                     "models/player/bobert/slade.mdl" )
2. autorun/slade_npc.lua

Code: [Select]
local Category = "Deathstroke Injustice"
local NPC = {    Name = "Deathstroke",
                Class = "npc_citizen",
                Model = "models/player/bobert/slade_npc.mdl",                 
Health = "150",                 KeyValues = { citizentype = 4 },                 
Category = Category }  list.Set( "NPC", "npc_slade", NPC )

3. autorun/slade_player.lua

Code: [Select]
player_manager.AddValidModel( "Deathstroke",                     "models/player/bobert/slade.mdl" )  list.Set( "PlayerOptionsModel",  "Deathstroke",                     "models/player/bobert/slade.mdl" )
The rest of the files are just materials and models (.vmt .vtf .vtx .mdl .phy .vvd are the extensions of them)

See anything in there that could be doing this?

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: ULX Actions not displaying in chat
« Reply #13 on: December 21, 2014, 06:34:56 PM »
No, I don't see anything that could be the cause in there. Are you positive this is the addon causing it?
Experiencing God's grace one day at a time.

Offline Icee2199³

  • Newbie
  • *
  • Posts: 10
  • Karma: 0
Re: ULX Actions not displaying in chat
« Reply #14 on: December 22, 2014, 09:11:07 AM »
Yes, once it was removed from the workshop the server worked fine and ULX's Config Value "logEcho "2"" wasn't constantly being set back to 0.