Author Topic: Certain groups aren't kicked for lua errors?  (Read 3697 times)

0 Members and 1 Guest are viewing this topic.

Offline Eccid

  • Full Member
  • ***
  • Posts: 115
  • Karma: 11
  • Hey, come on... We just met...
    • Terror Abound! Steam Group
Certain groups aren't kicked for lua errors?
« on: December 29, 2013, 02:39:26 PM »
Is there a way to set this up? We're using tommynators damagelog for TTT, and it's still in beta and has some issues. From time to time it will spam lua errors crashing admins who access it, and I don't like having sv_kickerrornum set to 0 for everyone.

Offline Neku

  • Hero Member
  • *****
  • Posts: 549
  • Karma: 27
Re: Certain groups aren't kicked for lua errors?
« Reply #1 on: December 29, 2013, 02:49:26 PM »
Not sure, perhaps you can edit the Lua kicking to make an acception for that group.
Out of the Garry's Mod business.

Offline Cobalt

  • Full Member
  • ***
  • Posts: 216
  • Karma: 44
  • http://steamcommunity.com/id/__yvl/
Re: Certain groups aren't kicked for lua errors?
« Reply #2 on: December 29, 2013, 03:14:25 PM »
Why in the world would you not set sv_kickerrornum to 0!?

Offline Neku

  • Hero Member
  • *****
  • Posts: 549
  • Karma: 27
Re: Certain groups aren't kicked for lua errors?
« Reply #3 on: December 29, 2013, 04:58:38 PM »
Why in the world would you not set sv_kickerrornum to 0!?

Actually, why don't you want it set to 0?
It'd pretty much solve the lua kicks.
Out of the Garry's Mod business.

Offline Eccid

  • Full Member
  • ***
  • Posts: 115
  • Karma: 11
  • Hey, come on... We just met...
    • Terror Abound! Steam Group
Re: Certain groups aren't kicked for lua errors?
« Reply #4 on: December 29, 2013, 05:35:49 PM »
Why in the world would you not set sv_kickerrornum to 0!?

Incentive for me to fix errors :P

It's also a good way to get people to actually report errors to me. They'll ignore the pop-up, but complain when they get kicked.

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: Certain groups aren't kicked for lua errors?
« Reply #5 on: December 29, 2013, 08:11:05 PM »
It makes sense.
Bugs in lua cause all sorts of issues, including lag, and at worst case, people not wanting to remain on your server because something breaks all the time.
The setting defaults to 1 for a reason, and honestly, though I often disagree with Gmod devs apparent change on a whim decisions, I agree with that setting.
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline Cobalt

  • Full Member
  • ***
  • Posts: 216
  • Karma: 44
  • http://steamcommunity.com/id/__yvl/
Re: Certain groups aren't kicked for lua errors?
« Reply #6 on: December 29, 2013, 08:39:20 PM »
It makes sense.
Bugs in lua cause all sorts of issues, including lag, and at worst case, people not wanting to remain on your server because something breaks all the time.
The setting defaults to 1 for a reason, and honestly, though I often disagree with Gmod devs apparent change on a whim decisions, I agree with that setting.
I feel like setting it to 1 is like walking on thin ice, lots of things could error at any time unexpectedly, even ULX. Sometimes getting kicked out of a game is really annoying and especially in gamemodes like TTT and DarkRP if you get kicked out and you're doing something important, that's not good.

Offline Neku

  • Hero Member
  • *****
  • Posts: 549
  • Karma: 27
Re: Certain groups aren't kicked for lua errors?
« Reply #7 on: December 29, 2013, 08:54:12 PM »
I feel like setting it to 1 is like walking on thin ice, lots of things could error at any time unexpectedly, even ULX. Sometimes getting kicked out of a game is really annoying and especially in gamemodes like TTT and DarkRP if you get kicked out and you're doing something important, that's not good.

Yeah, in a player's prospective, getting kicked out for something out of your control
is very annoying.

Especially if the gamemode is TTT, people will come back, complaining to the admins to
give them their T round back.
Out of the Garry's Mod business.

Offline Eccid

  • Full Member
  • ***
  • Posts: 115
  • Karma: 11
  • Hey, come on... We just met...
    • Terror Abound! Steam Group
Re: Certain groups aren't kicked for lua errors?
« Reply #8 on: December 29, 2013, 09:57:46 PM »
This thread got a bit off track. Does anyone know if there's a way to allow certain groups to not get kicked for lua errors?

Offline Neku

  • Hero Member
  • *****
  • Posts: 549
  • Karma: 27
Re: Certain groups aren't kicked for lua errors?
« Reply #9 on: December 30, 2013, 12:55:49 AM »
This thread got a bit off track. Does anyone know if there's a way to allow certain groups to not get kicked for lua errors?

Sorry about that.

Simply put, I don't believe there is a way unless you can find out how lua kicks
are processed and create an exception for certain groups.
Out of the Garry's Mod business.

Offline Cobalt

  • Full Member
  • ***
  • Posts: 216
  • Karma: 44
  • http://steamcommunity.com/id/__yvl/
Re: Certain groups aren't kicked for lua errors?
« Reply #10 on: December 30, 2013, 10:41:29 AM »
This thread got a bit off track. Does anyone know if there's a way to allow certain groups to not get kicked for lua errors?
Impossible. That's built into the game (C++)