Author Topic: New GMOD Update; Ban Format Broken?  (Read 6249 times)

0 Members and 1 Guest are viewing this topic.

Offline Hollistupid

  • Newbie
  • *
  • Posts: 15
  • Karma: 0
New GMOD Update; Ban Format Broken?
« on: July 08, 2014, 11:36:02 AM »
While using ULX ban- didn't happen before the update now this happens


Offline Storm

  • Full Member
  • ***
  • Posts: 220
  • Karma: 4
Re: New GMOD Update; Ban Format Broken?
« Reply #1 on: July 08, 2014, 12:53:43 PM »
Yes i got the same thing.

Offline Stickly Man!

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 1270
  • Karma: 164
  • What even IS software anymore?
    • XGUI
Re: New GMOD Update; Ban Format Broken?
« Reply #2 on: July 08, 2014, 02:00:16 PM »
Wait- what's the issue here? What command did you enter that gave this result?
Join our Team Ulysses community discord! https://discord.gg/gR4Uye6

Offline Storm

  • Full Member
  • ***
  • Posts: 220
  • Karma: 4
Re: New GMOD Update; Ban Format Broken?
« Reply #3 on: July 08, 2014, 02:38:26 PM »
If you go on the ulx menu, to utility and ban a player on the server for any amount of time, the echo that shows on the server and in the logs is that (console) was banned, rather than using the player's name. Also, oddly, 2 banned players have returned immediately but I need to investigate this more before posting it as a problem.

Here is an example of what happens with a ban from the ulx menu:
[17:06:07] Adminxyz  banned (Console) permanently (troll)

The player had a name, not console.
« Last Edit: July 08, 2014, 02:49:34 PM by Storm »

Offline Yoz

  • Newbie
  • *
  • Posts: 2
  • Karma: 0
Re: New GMOD Update; Ban Format Broken?
« Reply #4 on: July 08, 2014, 03:51:34 PM »
I am having this as well, only started happening after the GMOD update today.

Offline Zombine

  • Newbie
  • *
  • Posts: 19
  • Karma: 0
Re: New GMOD Update; Ban Format Broken?
« Reply #5 on: July 08, 2014, 04:36:39 PM »
I can also confirm this is happening. Banning a player replaces the banned player portion of the ban echo with (Console)
"You banned (Console) permanently."

Offline Decicus

  • Hero Member
  • *****
  • Posts: 552
  • Karma: 81
    • Alex Thomassen
Re: New GMOD Update; Ban Format Broken?
« Reply #6 on: July 08, 2014, 04:43:57 PM »
Would this be related to it?
Quote from: Garrysmod.com
Player:Kick and Player:Ban kick/ban reasons are now optional and may contain newlines
http://www.garrysmod.com/2014/07/08/14-07-08/
Contact information:
E-mail: alex@thomassen.xyz.
You can also send a PM.

Offline Stickly Man!

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 1270
  • Karma: 164
  • What even IS software anymore?
    • XGUI
Re: New GMOD Update; Ban Format Broken?
« Reply #7 on: July 08, 2014, 05:18:45 PM »
On it.
https://github.com/Nayruden/Ulysses/issues/310

I'll hopefully get a chance to investigate later tonight.
Join our Team Ulysses community discord! https://discord.gg/gR4Uye6

Offline Neku

  • Hero Member
  • *****
  • Posts: 549
  • Karma: 27
Re: New GMOD Update; Ban Format Broken?
« Reply #8 on: July 08, 2014, 06:52:57 PM »
On it.
https://github.com/Nayruden/Ulysses/issues/310

I'll hopefully get a chance to investigate later tonight.

What do you think could be causing this?
I want to take a look at it myself, in case you don't have time.

http://i.imgur.com/LZvbFOe.jpg
« Last Edit: July 08, 2014, 07:27:57 PM by Neku »
Out of the Garry's Mod business.

Offline Stickly Man!

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 1270
  • Karma: 164
  • What even IS software anymore?
    • XGUI
Re: New GMOD Update; Ban Format Broken?
« Reply #9 on: July 08, 2014, 11:03:01 PM »
Go ahead and look! I wanted to get to this issue tonight, but it looks like a lot more users are having issues with users being randomly removed from groups, so I'm investigating that one at the moment :P
Join our Team Ulysses community discord! https://discord.gg/gR4Uye6

Offline Stickly Man!

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 1270
  • Karma: 164
  • What even IS software anymore?
    • XGUI
Re: New GMOD Update; Ban Format Broken?
« Reply #10 on: July 09, 2014, 12:28:20 AM »
I had a second to look at it and it was pretty simple, and should now be fixed! Please update and test for me. :)

The ULX ban code first banned the player (and kicked them), then called the code to log and display the action. The fancyLog code had a bit of code to loop through the available players to eventually get the name of and display the user that was the targeted player, but by the time it ran, the user had already been kicked, thus it defaulted to say "(Console)". I changed it to log the action before performing the ban, which is not recommended, but.. it works now :P
Join our Team Ulysses community discord! https://discord.gg/gR4Uye6

Offline Hollistupid

  • Newbie
  • *
  • Posts: 15
  • Karma: 0
Re: New GMOD Update; Ban Format Broken?
« Reply #11 on: July 09, 2014, 02:07:30 AM »
Works man, thanks

Offline Storm

  • Full Member
  • ***
  • Posts: 220
  • Karma: 4
Re: New GMOD Update; Ban Format Broken?
« Reply #12 on: July 09, 2014, 03:26:25 AM »
Makes sense because before the update, in the logs, the ban for the player showed first, then the disconnect message. I noticed after the update, it was reversed. When will this be rolled out to update in svn?
« Last Edit: July 09, 2014, 06:14:32 AM by Storm »

Offline Stickly Man!

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 1270
  • Karma: 164
  • What even IS software anymore?
    • XGUI
Re: New GMOD Update; Ban Format Broken?
« Reply #13 on: July 09, 2014, 10:19:22 AM »
Our SVN links pull directly from our git repository (Thanks to GitHub!), so an SVN update should grab all of our recent changes.
Join our Team Ulysses community discord! https://discord.gg/gR4Uye6

Offline Avoid

  • Full Member
  • ***
  • Posts: 142
  • Karma: 42
Re: New GMOD Update; Ban Format Broken?
« Reply #14 on: July 09, 2014, 01:27:37 PM »
Well, thanks for the quick update, was kind of confused once a moderator banned the console! :')
But I must say I am really suprised the update didn't break anything major! :P