Ulysses

Ulysses Stuff => General Chat & Help and Support => Topic started by: eagle9er9er on June 15, 2015, 09:53:39 PM

Title: Votekick not echoing in chat.
Post by: eagle9er9er 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.
Title: Re: Votekick not echoing in chat.
Post by: MrPresident on June 16, 2015, 12:39:36 AM
check what your logecho setting is set to.
Do other commands echo properly?
Title: Re: Votekick not echoing in chat.
Post by: eagle9er9er 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.
Title: Re: Votekick not echoing in chat.
Post by: JamminR 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
Title: Re: Votekick not echoing in chat.
Post by: eagle9er9er 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.
Title: Re: Votekick not echoing in chat.
Post by: Stickly Man! on July 22, 2015, 07:38:49 AM
Are you invoking votekick via a chat command? Try adding a print statement before line 295 (https://github.com/Nayruden/Ulysses/blob/master/ulx/lua/ulx/modules/sh/vote.lua#L295), 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.