Author Topic: Uban Line 52  (Read 1772 times)

0 Members and 2 Guests are viewing this topic.

Offline Nuclear_Ice

  • Newbie
  • *
  • Posts: 26
  • Karma: 0
Uban Line 52
« on: April 18, 2009, 10:24:32 PM »
23:22:36 L 04/19/2009 - 00:22:55: Lua Error: ULib/modules/uban_ulx.lua:52: attempt to index global 'UBan' (a nil value)ULib/modules/uban_ulx.lua:52: attempt to index global 'UBan' (a nil value)

Any ideas what's wrong?

This is what's on line 52 of the code:

          local b, e = pcall( UBan.ManualBan, ply, steamid, nil, time * 60, comment )



Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: Uban Line 52
« Reply #1 on: April 18, 2009, 11:39:23 PM »
Uban didn't load fully. Or somehow disappeared after loading. Check your server log/console lua start up. ULib will list it as a module loading, just like ULX gets loaded. Though, ULX states its own modules too. I'm not sure UBan does.
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming