ULX

Author Topic: TF2 MOTD and menu problem  (Read 3635 times)

0 Members and 1 Guest are viewing this topic.

DrDaxxy

  • Guest
TF2 MOTD and menu problem
« on: March 01, 2008, 07:08:10 AM »
Hello,
my friend Noxn is having problems with Menus (he can't see them because his game crashes always) and someone on the server told me he was getting a TF2 MOTD ("Welcome to Team Fortress 2 Our Map Rotation"...). Noxn didn't say anything about that; I guess he didn't notice.

Here's the debuginfo:
Quote
ULX version: 3.31 (BETA) SVN revision 155
ULib version: 2.20
Gamemode: Sandbox
Map: gm_construct
Dedicated server: true

Currently connected players:
Nick                            steamid            id lsh created
[ /̵͇̿/'Ì¿-Ì…-Ì…-Ì…' ] Noxn  STEAM_0:0:14357159 2  n   6221
foboslc                         STEAM_0:1:18303284 3  n   3318
cedsson.eklund                  STEAM_0:1:17455824 4  n   5602
conka92                         STEAM_0:0:18327299 5  n   2690
c00kie                          STEAM_0:0:18329138 6  n   6122


ULib.ucl.users (#=0):


ULib.ucl.groups (#=5):
   superadmin:
      deny:
      allow:
         1   =   ulx hiddenecho
         2   =   ulx rcon
         3   =   ulx luarun
         4   =   ulx cexec
         5   =   ulx ent
         6   =   ulx adduser
         7   =   ulx removeuser
         8   =   ulx userallow
         9   =   ulx userdeny
         10   =   ulx addgroup
         11   =   ulx removegroup
         12   =   ulx groupallow
         13   =   ulx groupdeny
         14   =   overcomeimmunity
      inherit_from:
         1   =   admin
   admin:
      deny:
      allow:
         1   =   ulib_passtime
         2   =   ulib_passtimeout
         3   =   ulx spawnecho
         4   =   ulx tsay
         5   =   ulx csay
         6   =   ulx gimp
         7   =   ulx mute
         8   =   ulx ungimp
         9   =   ulx unmute
         10   =   ulx gag
         11   =   ulx ungag
         12   =   ulx chattime
         13   =   ulx welcomemessage
         14   =   ulx slap
         15   =   ulx whip
         16   =   ulx slay
         17   =   ulx sslay
         18   =   ulx ignite
         19   =   ulx unignite
         20   =   ulx playsound
         21   =   ulx freeze
         22   =   ulx unfreeze
         23   =   ulx god
         24   =   ulx ungod
         25   =   ulx noclip
         26   =   ulx hp
         27   =   ulx armor
         28   =   ulx cloak
         29   =   ulx uncloak
         30   =   ulx blind
         31   =   ulx unblind
         32   =   ulx jail
         33   =   ulx unjail
         34   =   ulx ghost
         35   =   ulx unghost
         36   =   ulx ragdoll
         37   =   ulx unragdoll
         38   =   ulx maul
         39   =   ulx strip
         40   =   ulx adminmenu
         41   =   ulx clientmenu
         42   =   ulx mapsmenu
         43   =   ulx showmotd
         44   =   ulx banmenu
         45   =   ulx exec
         46   =   ulx rslotsmode
         47   =   ulx rslots
         48   =   ulx rslotsvisible
         49   =   ulx reservedslots
         50   =   ulx bring
         51   =   ulx goto
         52   =   ulx send
         53   =   ulx teleport
         54   =   ulx tooldeny
         55   =   ulx toolallow
         56   =   ulx tooldenyuser
         57   =   ulx toolallowuser
         58   =   ulx tooldenyoverride
         59   =   ulx map
         60   =   ulx kick
         61   =   ulx ban
         62   =   ulx banid
         63   =   ulx unban
         64   =   ulx spectate
         65   =   ulx mingekick
         66   =   ulx physgunplayer
         67   =   ulx vote
         68   =   ulx votemap2
         69   =   ulx votekick
         70   =   ulx voteban
         71   =   ulx veto
      inherit_from:
         1   =   operator
   user:
      deny:
      allow:
         1   =   ulx
         2   =   ulx help
         3   =   ulx psay
         4   =   ulx asay
         5   =   ulx thetime
         6   =   ulx menu
         7   =   ulx_valueupdate
         8   =   ulx_cvar
         9   =   ulx_getgamemodes
         10   =   ulx motd
         11   =   ulx_getbans
         12   =   ulx usermanagementhelp
         13   =   ulx who
         14   =   ulx votemap
      inherit_from:
   none:
      deny:
      allow:
         1   =   ulx logecho
         2   =   ulx logfile
         3   =   ulx logevents
         4   =   ulx logchat
         5   =   ulx logspawns
         6   =   ulx logspawnsecho
         7   =   ulx logdir
         8   =   ulx addgimpsay
         9   =   ulx addadvert
         10   =   ulx addcsayadvert
         11   =   ulx addforceddownload
         12   =   ulx debuginfo
         13   =   ulx voteecho
         14   =   ulx votemap2successratio
         15   =   ulx votemap2minvotes
         16   =   ulx votekicksuccessratio
         17   =   ulx votekickminvotes
         18   =   ulx votebansuccessratio
         19   =   ulx votebanminvotes
         20   =   ulx votemapenabled
         21   =   ulx votemapmintime
         22   =   ulx votemapwaittime
         23   =   ulx votemapsuccessratio
         24   =   ulx votemapminvotes
         25   =   ulx votemapvetotime
         26   =   ulx votemapmapmode
         27   =   ulx votemapaddmap
      inherit_from:
   operator:
      deny:
      allow:
         1   =   ulx seeasay
      inherit_from:


ULib.ucl.authed (#=23):
   Player [6][c00kie]:
      type   =   guest
      groups:
         1   =   user
         2   =   user
      id   =   
      account   =   c00kie
      acl:
         allow:
         deny:
      uniqueid   =   1220426626
   Player [5][conka92]:
      type   =   guest
      groups:
         1   =   user
         2   =   user
      id   =   
      account   =   conka92
      acl:
         allow:
         deny:
      uniqueid   =   1813597621
   Player [NULL]:
      type   =   guest
      groups:
         1   =   user
         2   =   user
      id   =   
      account   =   jooyuso7475
      acl:
         allow:
         deny:
      uniqueid   =   2291138416
   Player [NULL]:
      type   =   guest
      groups:
         1   =   user
         2   =   user
      id   =   
      account   =   ratchetbruno
      acl:
         allow:
         deny:
      uniqueid   =   4291214151
   Player [NULL]:
      type   =   guest
      groups:
         1   =   user
         2   =   user
      id   =   
      account   =   Sam
      acl:
         allow:
         deny:
      uniqueid   =   1220426626
   Player [4][cedsson.eklund]:
      type   =   guest
      groups:
         1   =   user
         2   =   user
      id   =   
      account   =   cedsson.eklund
      acl:
         allow:
         deny:
      uniqueid   =   2644406510
   Player [NULL]:
      type   =   guest
      groups:
         1   =   user
         2   =   user
      id   =   
      account   =   foboslc
      acl:
         allow:
         deny:
      uniqueid   =   3371124275
   Player [NULL]:
      type   =   guest
      groups:
         1   =   user
         2   =   user
      id   =   
      account   =   jackson65
      acl:
         allow:
         deny:
      uniqueid   =   1549136629
   Player [NULL]:
      type   =   guest
      groups:
         1   =   user
         2   =   user
      id   =   
      account   =   pat_and_korne
      acl:
         allow:
         deny:
      uniqueid   =   2708218461
   Player [NULL]:
      type   =   guest
      groups:
         1   =   user
         2   =   user
      id   =   
      account   =   What The
      acl:
         allow:
         deny:
      uniqueid   =   3237945014
   Player [NULL]:
      type   =   guest
      groups:
         1   =   user
         2   =   user
      id   =   
      account   =   arenadebilu
      acl:
         allow:
         deny:
      uniqueid   =   4081628266
   Player [NULL]:
      type   =   guest
      groups:
         1   =   user
         2   =   user
      id   =   
      account   =   [BushOwns]mike gravels new thon
      acl:
         allow:
         deny:
      uniqueid   =   1186909561
   Player [NULL]:
      type   =   guest
      groups:
         1   =   user
         2   =   superadmin
      id   =   
      account   =   [ /̵͇̿/'Ì¿-Ì…-Ì…-Ì…' ] Noxn
      acl:
         allow:
         deny:
      uniqueid   =   1065630605
   Player [2][[ /̵͇̿/'Ì¿-Ì…-Ì…-Ì…' ] Noxn]:
      type   =   guest
      groups:
         1   =   user
         2   =   superadmin
      id   =   
      account   =   [ /̵͇̿/'Ì¿-Ì…-Ì…-Ì…' ] Noxn
      acl:
         allow:
         deny:
      uniqueid   =   1065630605
   Player [NULL]:
      type   =   guest
      groups:
         1   =   user
         2   =   user
      id   =   
      account   =   foboslc
      acl:
         allow:
         deny:
      uniqueid   =   3371124275
   Player [NULL]:
      type   =   guest
      groups:
         1   =   user
         2   =   user
      id   =   
      account   =   Xtrevor
      acl:
         allow:
         deny:
      uniqueid   =   2072035201
   Player [NULL]:
      type   =   guest
      groups:
         1   =   user
         2   =   user
      id   =   
      account   =   pamela44
      acl:
         allow:
         deny:
      uniqueid   =   633398506
   Player [3][foboslc]:
      type   =   guest
      groups:
         1   =   user
         2   =   user
      id   =   
      account   =   foboslc
      acl:
         allow:
         deny:
      uniqueid   =   3371124275
   Player [NULL]:
      type   =   guest
      groups:
         1   =   user
         2   =   user
      id   =   
      account   =   ratchetbruno
      acl:
         allow:
         deny:
      uniqueid   =   4291214151
   Player [NULL]:
      type   =   guest
      groups:
         1   =   user
         2   =   superadmin
      id   =   
      account   =   [ /̵͇̿/'Ì¿-Ì…-Ì…-Ì…' ] Noxn
      acl:
         allow:
         deny:
      uniqueid   =   1065630605
   Player [NULL]:
      type   =   guest
      groups:
         1   =   user
         2   =   superadmin
      id   =   
      account   =   [ /̵͇̿/'Ì¿-Ì…-Ì…-Ì…' ] Noxn
      acl:
         allow:
         deny:
      uniqueid   =   1065630605
   Player [NULL]:
      type   =   guest
      groups:
         1   =   user
         2   =   user
      id   =   
      account   =   c00kie
      acl:
         allow:
         deny:
      uniqueid   =   1220426626
   Player [NULL]:
      type   =   guest
      groups:
         1   =   user
         2   =   user
      id   =   
      account   =   foboslc
      acl:
         allow:
         deny:
      uniqueid   =   3371124275


Garrysmod default file (#=2):
   admin:
      garry   =   STEAM_0:1:7099
      [ /???/'?-¯-¯-¯' ] noxn   =   STEAM_0:0:14357159
      [ /???/'?-¯-¯-¯' ] drdaxxy   =   STEAM_0:1:14480217
      [ /???/'?-¯-¯-¯' ] ice   =   STEAM_0:1:18030233
   superadmin:
      garry   =   STEAM_0:1:7099
      [ /???/'?-¯-¯-¯' ] noxn   =   STEAM_0:0:14357159
      [ /???/'?-¯-¯-¯' ] drdaxxy   =   STEAM_0:1:14480217


Active addons on this server:
Adv Duplicator           by TAD2020, version 1.8359 (July 5th 2007)
counter-strike           by Valve, version 1 (5th August 2006)
day-of-defeat            by Valve, version 1 (22nd August 2006)
default_sent_pack        by TEAM GARRY, version 1 (3rd December 2006)
derma                    by , version 0.1 (17th July 2007)
DoorSTool                by High6, version v1.6b (December 19th 2006)
Fast Admin Menu          by PC Camp, version 1 (22nd Febuary 2008)
Gjoin                    by PC Camper, version 1.2999 (14th Febuary 2008)
hl2_ep2                  by Valve, version 1 (29th October 2007)
hoverboard               by % Software, version 2 (27th February 2008)
keypad                   by Robbis_1 (aka Killer HAHA), version 1.2999 (7th February 2007)
NoVehicles               by SuicidalPig, version 1 ()
phx                      by PhoeniX-Storms & 1/4 Life, version 5 (3rd Febuary 2007)
portal                   by Valve, version 1 (29th October 2007)
Simple Prop Protection   by Spaceetech, version  ()
Stacker STool            by -, version 2.2 (19th January 2007)
tf2                      by Valve, version 1 (29th October 2007)
ulib                     by Team Ulysses, version 2.2 (01/26/08)
ulx                      by Team Ulysses, version 3.3099 (00/00/00)
ulx_gun                  by Asstron, version v1.0 (02/04/08)
wire                     by Wire Team, version 0.9.6 (25st March 2007)
wire model pack 1        by Team Wire, version 0.3 (25st March 2007)
WiredDoorSTool           by Doridian, version v1.4 (January 11th 2008)

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: TF2 MOTD and menu problem
« Reply #1 on: March 01, 2008, 09:05:18 AM »
Put the motd.txt in the garrysmod root.
Experiencing God's grace one day at a time.

Offline DrDaxxy

  • Newbie
  • *
  • Posts: 2
  • Karma: 0
Re: TF2 MOTD and menu problem
« Reply #2 on: March 01, 2008, 09:10:48 AM »
I already renamed motd.txt to messageofthedaygmod.html, put it in the garrysmod root and changed the motdfile var.
I didn't restart the server after though.

Noxn told me what error he's getting when he tries to open a menu:
Code: [Select]
ulx/cl_lib.lua:256: attempt to get length of field '?' (a nil value)

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: TF2 MOTD and menu problem
« Reply #3 on: March 01, 2008, 10:13:24 AM »
I already renamed motd.txt to messageofthedaygmod.html, put it in the garrysmod root and changed the motdfile var.
I didn't restart the server after though.

Noxn told me what error he's getting when he tries to open a menu:
Code: [Select]
ulx/cl_lib.lua:256: attempt to get length of field '?' (a nil value)

We use file.Read to read motd files. file.Read is limited to .txt extention, as is Source's actual MOTD code too.
Rename your file to .txt, see if that helps.

As for your gmod/settings/users.txt ... remove duplicate entries. You don't need players as both admin and superadmin.
They get inherited in both ULib and Gmod.
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline DrDaxxy

  • Newbie
  • *
  • Posts: 2
  • Karma: 0
Re: TF2 MOTD and menu problem
« Reply #4 on: March 01, 2008, 11:53:50 AM »
Thanks, it works now I think.
But the menu error still persists.