Author Topic: Votekick not echoing in chat.  (Read 2134 times)

0 Members and 2 Guests are viewing this topic.

Offline eagle9er9er

  • Jr. Member
  • **
  • Posts: 50
  • Karma: 0
Votekick not echoing in chat.
« on: June 15, 2015, 09:53:39 PM »
Basically whenever someone makes a votekick, it does not echo who created the votekick. The box just pops up saying vote yes or no with no evidence of anyone creating it. There are no errors, and this just happened out of nowhere and I have not edited or tampered with the vote.lua file, I have even tried deleting the vote file and replacing with a new one from github.

I am on ULX 3.70 SVN 331 | ULiB 2.6.

Offline MrPresident

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 2728
  • Karma: 430
    • |G4P| Gman4President
Re: Votekick not echoing in chat.
« Reply #1 on: June 16, 2015, 12:39:36 AM »
check what your logecho setting is set to.
Do other commands echo properly?

Offline eagle9er9er

  • Jr. Member
  • **
  • Posts: 50
  • Karma: 0
Re: Votekick not echoing in chat.
« Reply #2 on: July 11, 2015, 12:16:58 PM »
I've completely forgot I made this, but I still need help. Echo is set to "Echo commands and identify admin". All commands echo properly, only votekick does not echo.

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: Votekick not echoing in chat.
« Reply #3 on: July 11, 2015, 07:39:37 PM »
Unsure why you're not seeing it.
Log function is in our code, and, I don't see any reason it wouldn't NOT show up.
https://github.com/Nayruden/Ulysses/blob/26eaedb4e9ba830a92842b545b16e283e2cb6bb5/ulx/lua/ulx/modules/sh/vote.lua#L307
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline eagle9er9er

  • Jr. Member
  • **
  • Posts: 50
  • Karma: 0
Re: Votekick not echoing in chat.
« Reply #4 on: July 21, 2015, 10:25:17 PM »
I have my ulx kick function copied exactly like that one, but it still does not echo in chat. Voteban echos fine, every command echos fine, just not votekick.

Offline Stickly Man!

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 1270
  • Karma: 164
  • What even IS software anymore?
    • XGUI
Re: Votekick not echoing in chat.
« Reply #5 on: July 22, 2015, 07:38:49 AM »
Are you invoking votekick via a chat command? Try adding a print statement before line 295, and see if that print statement shows up in your client/server console when you run votekick. This will rule out the possibility that you have outdated files, or that there's a gamemode/addon which is overriding !votekick or ulx votekick itself.
Join our Team Ulysses community discord! https://discord.gg/gR4Uye6