ULX

Author Topic: Player authing breaks randomly...  (Read 2375 times)

0 Members and 1 Guest are viewing this topic.

Offline pandaman09

  • Newbie
  • *
  • Posts: 5
  • Karma: 0
Player authing breaks randomly...
« on: April 10, 2013, 02:10:38 PM »
L 04/11/2013 - 13:59:46: "SOMEPLAYER AND THEIR STEAMID" disconnected (reason "SAMEPERSON timed out")
L 04/11/2013 - 13:59:46: Lua Error:
[ERROR] Unauthed player
  1. query - [C]:-1
   2. echoToAdmins - addons/ulx/lua/ulx/log.lua:164
    3. fn - addons/ulx/lua/ulx/log.lua:196
     4. unknown - addons/ulib/lua/ulib/shared/hook.lua:183
Another error
[ERROR] Unauthed player
  1. query - [C]:-1
   2. makePlayerList - addons/ulx/lua/ulx/log.lua:344
    3. unknown - addons/ulx/lua/ulx/log.lua:461
     4. gsub - [C]:-1
      5. fancyLogAdmin - addons/ulx/lua/ulx/log.lua:440
       6. call - addons/ulx/lua/ulx/modules/sh/util.lua:23
        7. __fn - addons/ulib/lua/ulib/shared/commands.lua:943
         8. unknown - addons/ulib/lua/ulib/shared/commands.lua:1296
          9. Run - lua/includes/modules/concommand.lua:69
           10. unknown - addons/ulib/lua/ulib/shared/commands.lua:1310
            11. unknown - lua/includes/modules/concommand.lua:69

Not sure if it was because of the player timing out or what, but it has been happening a lot lately.
EDIT: Also forgot to add that:
This is TTT
Players joining mid-round causes them to spawn during the game
Players joining are set in a "spectator" group that can talk during the game to everyone
Players who join during the error lose their rank
The only way to fix it is to reload the plugins (new map or server restart)
« Last Edit: April 10, 2013, 02:13:16 PM by pandaman09 »

Offline ambro

  • Newbie
  • *
  • Posts: 21
  • Karma: 2
Re: Player authing breaks randomly...
« Reply #1 on: April 11, 2013, 03:01:55 PM »
I too have seen this recently,

[ERROR] addons/ulx/lua/ulx/cl_lib.lua:60: attempt to call method 'IsMuted' (a nil value)
  1. gagUser - addons/ulx/lua/ulx/cl_lib.lua:60
   2. Function - addons/ulx/lua/ulx/cl_lib.lua:74
    3. unknown - lua/includes/modules/usermessage.lua:87


[ERROR] Unauthed player
  1. query - [C]:-1
   2. refresh - addons/ulx/lua/ulx/xgui/commands.lua:299
    3. unknown - addons/ulx/lua/ulx/xgui/commands.lua:388


[ERROR] Unauthed player
  1. query - [C]:-1
   2. refresh - addons/ulx/lua/ulx/xgui/commands.lua:299
    3. unknown - addons/ulx/lua/ulx/xgui/commands.lua:388
     4. include - [C]:-1
      5. fn - addons/ulx/lua/ulx/modules/cl/xgui_client.lua:114
       6. Call - addons/ulib/lua/ulib/shared/hook.lua:183
        7. fn - addons/ulib/lua/ulib/cl_init.lua:45
         8. unknown - addons/ulib/lua/ulib/shared/hook.lua:183
          9. LocalPlayer - [C]:-1
           10. fn - addons/ulib/lua/ulib/cl_init.lua:39
            11. unknown - addons/ulib/lua/ulib/shared/hook.lua:183


[ERROR] Unauthed player
  1. query - [C]:-1
   2. processModules - addons/ulx/lua/ulx/modules/cl/xgui_client.lua:205
    3. fn - addons/ulx/lua/ulx/modules/cl/xgui_client.lua:162
     4. Call - addons/ulib/lua/ulib/shared/hook.lua:183
      5. fn - addons/ulib/lua/ulib/cl_init.lua:54
       6. func - addons/ulib/lua/ulib/client/cl_util.lua:22
        7. unknown - lua/includes/modules/net.lua:31
« Last Edit: April 11, 2013, 03:05:13 PM by ambro »

Offline pandaman09

  • Newbie
  • *
  • Posts: 5
  • Karma: 0
Re: Player authing breaks randomly...
« Reply #2 on: April 11, 2013, 03:50:55 PM »
I posted on facepunch because I was getting no response and they said to delete the data folders IN ULX and ULIB... i'm going to try it... worse case I put them back on...

Offline pandaman09

  • Newbie
  • *
  • Posts: 5
  • Karma: 0
Re: Player authing breaks randomly...
« Reply #3 on: April 16, 2013, 03:11:48 PM »
What was posted on facepunch didn't work... any other suggestions?

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: Player authing breaks randomly...
« Reply #4 on: April 16, 2013, 04:15:03 PM »
Seems I recall last time this happened, though we had a theory, we never found exactly what was causing it.
Our theory was that, mid-game, some common variable was being set as global, instead of remaining local.
That is, we're pretty sure it was someone elses broken code.

Imagine a for loop in lua.
function()
   for i, k in pairs (blah)
   end
end

In that loop, i should always be local to that function.
Imagine someone in another addon setting i = <global var>.
It would break stuff.

Perhaps Megiddo/Stick/MrP can provide some ideas to help you help us find the problem.
Unfortunately, I don't remember our path for troubleshooting from few years ago (other than some eventually fixing it by removing a ton of plugins, but never sure which one)

EDIT:
Also, make sure you have our latest SVN code.
Garry broke some file I/O lately, we've hacked around it and made our own.
Perhaps the reading of a file goes awry mid-game when someone joins.
« Last Edit: April 16, 2013, 04:18:05 PM by JamminR »
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline pandaman09

  • Newbie
  • *
  • Posts: 5
  • Karma: 0
Re: Player authing breaks randomly...
« Reply #5 on: May 01, 2013, 03:04:38 PM »
perhaps it was caused by the global ban system.
http://facepunch.com/showthread.php?t=1231554

Also what about the IsMuted error that happens every once and a while.