Author Topic: Frustrating error  (Read 7425 times)

0 Members and 1 Guest are viewing this topic.

Offline angrykid

  • Newbie
  • *
  • Posts: 18
  • Karma: 0
Frustrating error
« on: December 08, 2007, 11:25:50 PM »
Okay, this is weird. I see the load blocks for both Ulib and Ulx. I even get the access set message. !noclip and !god work, but !menu gives me this error:
Code: [Select]
ULib/_cl_2.10/sh_ucl.lua:23: attempt to index field '?' (a nil value)
Help appritiated muchly!
(Also, the thread on FP seems to be missing?)

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: Frustrating error
« Reply #1 on: December 09, 2007, 10:14:58 AM »
Seems you might have a corrupt users file. Try removing garrysmod/data/ULib/users.txt and re-adding all your users.
Experiencing God's grace one day at a time.

Offline angrykid

  • Newbie
  • *
  • Posts: 18
  • Karma: 0
Re: Frustrating error
« Reply #2 on: December 09, 2007, 10:38:36 AM »
Well, before I reinstalled, I deleted everything related to Ulib and ULX that I could find. I installed it, and it wrote the users.txt file. I'le have a look at the file just in case though.

Also, I forgot to tell that none of the ULX commands in console work.

Offline angrykid

  • Newbie
  • *
  • Posts: 18
  • Karma: 0
Re: Frustrating error
« Reply #3 on: December 09, 2007, 10:42:00 AM »
I think I found the problem. There is no format.txt, groups.txt, or users.txt in the data/ulib/ file.

Offline angrykid

  • Newbie
  • *
  • Posts: 18
  • Karma: 0
Re: Frustrating error
« Reply #4 on: December 09, 2007, 10:56:38 AM »
No, that didn't fix it. :(

Offline angrykid

  • Newbie
  • *
  • Posts: 18
  • Karma: 0
Re: Frustrating error
« Reply #5 on: December 09, 2007, 12:46:20 PM »
Okay, I deleted everything for Ulib and ULX. I reinstalled. This is what the console outputs during server boot:

Code: [Select]
Starting Level gm_flatgrass (Gamemode Override '')
maxplayers set to 11
Unknown command "sbox_allownpcs"
Unknown command "sbox_maxprops"
Unknown command "sbox_maxragdolls"
Unknown command "sbox_maxnpcs"
Unknown command "sbox_maxballoons"
Unknown command "sbox_maxeffects"
Unknown command "sbox_maxdynamite"
Unknown command "sbox_maxlamps"
Unknown command "sbox_maxthrusters"
Unknown command "sbox_maxwheels"
Unknown command "sbox_godmode"
Unknown command "sbox_plpldamage"
Unknown command "sbox_playergod"
Unknown command "sbox_noclip"
Unknown command "sbox_maxhoverballs"
Unknown command "sbox_maxvehicles"
Unknown command "sbox_maxbuttons"
Unknown command "sbox_maxsents"
Unknown command "sbox_maxemitters"
Unknown command "sbox_maxspawners"
Unknown command "sbox_maxturrets"
execing game.cfg
Network: IP 192.168.1.102, mode MP, dedicated No, ports 27015 SV / 27005 CL
Spawn Server gm_flatgrass
Begin loading faces (loads materials)
End loading faces (loads materials)
Lua initialized (Lua 5.1)
======== RD BeamLib v0.5 Installed ========
======== Installing Table (De)Serialiser Module | ver: 1.3 ========
=======================================================
======== Beam NetVars Lib v0.82 Installed ========
======== BeamLib v0.72 Installed ========
=======================================================
///////////////////////////////
//      Ulysses Library      //
///////////////////////////////
// Loading...                //
//  shared/defines.lua       //
//  server/hook.lua          //
//  shared/misc.lua          //
//  shared/util.lua          //
//  shared/table.lua         //
//  shared/player.lua        //
//  server/player.lua        //
//  shared/messages.lua      //
//  shared/concommand.lua    //
//  server/concommand.lua    //
//  server/util.lua          //
//  shared/sh_ucl.lua        //
//  server/ucl.lua           //
//  server/phys.lua          //
//  server/player_ext.lua    //
//  server/entity_ext.lua    //
// Load Complete!            //
///////////////////////////////
[ULIB] Loading module: ulx_init.lua
///////////////////////////////
//       ULX Admin Mod       //
///////////////////////////////
// Loading...                //
//  sh_defines.lua           //
//  lib.lua                  //
//  base.lua                 //
//  log.lua                  //
//  MODULE: chat.lua         //
//  MODULE: fun.lua          //
//  MODULE: menus.lua        //
//  MODULE: rcon.lua         //
//  MODULE: slots.lua        //
//  MODULE: teleport.lua     //
//  MODULE: toolmode.lua     //
//  MODULE: user.lua         //
//  MODULE: util.lua         //
//  MODULE: vote.lua         //
//  MODULE: votemap.lua      //
//  MODULE: userhelp.lua     //
//  end.lua                  //
// Load Complete!            //
///////////////////////////////
======== A Newer Version of BeamNetVars Detected ========
======== This ver: 0.71 || Detected ver: 0.82 || Skipping
=== Loading Wire Menus ===
==== Advanced Duplicator v.1.72 shared module installed! ====
==== Advanced Duplicator v.1.836 server module installed! ====
INIParser:parse - File stargate/config.ini successfully parsed
INIParser:new - File stargate/user_config.ini does not exist!
1 active EHandles!
Registering gamemode 'sandbox' derived from 'base'
ScriptEnforce: gamemodes/sandbox/clientscripts.txt wasn't found. This gamemode is unprotected.
sbox_maxenergysystems -> 30
sbox_maxlife_support -> 24
sbox_maxreceptacles -> 30
INIParser:parse - File stargate/config.ini successfully parsed
INIParser:parse - File stargate/config.ini successfully parsed
Loaded plugin "../garrysmod/addons/ulib/lua/modules/gm_ulib"
execing skill_manifest.cfg
execing skill.cfg
Executing listen server config file
Executing listen server config file
Section [Scenes]: 1096 resources total 17.54 KB, 0.84 % of limit (2.10 MB)
The nav mesh needs a full nav_analyze
11 player server started
couldn't exec listenserver.cfg
couldn't exec listenserver.cfg
ERROR: Hook 'CheckTimers' Failed: includes/modules/timer.lua:154: attempt to perform arithmetic on field 'Delay' (a string value)
Removing Hook 'CheckTimers'
Client "Mr.angry" connected (127.0.0.1:27005).
Connected to 127.0.0.1:27015
Adding master server 68.142.72.250:27011
Adding master server 72.165.61.189:27011
Connection to Steam servers successful.
   VAC secure mode disabled.

[L] Sandbox
Map: gm_flatgrass
Players:  1 / 11
Build 3264
Server Number 1
No pure server whitelist. sv_pure = 0
CAsyncWavDataCache:  2 .wavs total 0 bytes, 0.00 % of capacity
Initializing renderer...
Server is running Garry's Mod Version 32 - gamemode 'sandbox'
Waiting for String Tables..
Lua initialized (Lua 5.1)
======== Beam NetVars Lib v0.71 Installed ========
======== RD BeamLib v0.5 Installed ========
=======================================================
======== Beam NetVars Lib v0.82 Installed ========
======== BeamLib v0.72 Installed ========
=======================================================
=== Loading Wire Menus ===
======== Installing Table (De)Serialiser Module | ver: 1.3 ========
==== Advanced Duplicator v.1.72 shared module installed! ====
==== Advanced Duplicator v.1.741 client module installed! ====
=== Loading Wire Model Packs ===
= Loaded Pack : filename =
= Loaded Pack : filename =
= Loaded Pack : filename =
Adding Cheeze's Buttons Pack to list
Adding PHX Pack to list
Registering gamemode 'sandbox' derived from 'base'
sbox_maxenergysystems -> 30
sbox_maxlife_support -> 24
sbox_maxreceptacles -> 30
Creating RT Texture 'GModToolgunScreen'..DONE!
--- Missing Vgui material vgui/entities/weapon_annabelle
--- Missing Vgui material vgui/entities/weapon_alyxgun
--- Missing Vgui material vgui/entities/weapon_citizenpackage
--- Missing Vgui material vgui/entities/weapon_citizensuitcase
==starting timer for sending RDBeam data to Player [1][Mr.angry]
Refresh Lua Ents..
Joining Game..
[UCL] Access set.
This server is running ULib version 2.10.
Requesting texture value from var "$basetexture" which is not a texture value (material: models/wireframe)
Requesting texture value from var "$basetexture" which is not a texture value (material: models/props_c17/frostedglass_01a)
Requesting texture value from var "$basetexture" which is not a texture value (material: models/shadertest/shader3)
Requesting texture value from var "$basetexture" which is not a texture value (material: debug/env_cubemap_model)
Requesting texture value from var "$basetexture" which is not a texture value (material: models/shadertest/shader5)
Requesting texture value from var "$basetexture" which is not a texture value (material: models/shadertest/shader4)
Requesting texture value from var "$basetexture" which is not a texture value (material: models/props_combine/com_shield001a)
Requesting texture value from var "$basetexture" which is not a texture value (material: models/props_lab/tank_glass001)
Requesting texture value from var "$basetexture" which is not a texture value (material: models/props_combine/tprings_globe)
Requesting texture value from var "$basetexture" which is not a texture value (material: models/props_combine/stasisshield_sheet)
ULX version 3.20 loaded.
ERROR: Hook 'sendMapAutoComplete' Failed: modules/util.lua:69: bad argument #1 to 'ipairs' (table expected, got nil)
Removing Hook 'sendMapAutoComplete'

Offline MrPresident

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 2728
  • Karma: 430
    • |G4P| Gman4President
Re: Frustrating error
« Reply #6 on: December 09, 2007, 01:59:09 PM »
Just to be safe... try this..

Delete Data/ULib folder.. completely delete the folder.
Rename your addons folder to addons(backup).. this will make your game think you dont have an addons folder, but you didnt have to delete anything.
Run GMod.. your game will rebuild your addons folder.
Install ONLY ULX and ULib.. no other addons.


Run GMod and see if ULX works.


If it does.. start adding addons from your addons(backup) folder 2 or 3 at a time. Until you either a. Find the addon that is breaking ULX or b. have all your addons installed and have a working server.

If it does not.. you obviously have a messed up version of ULX.. try redownloading or get the SVN.. latest revision works (I have it on my 2 servers) and if that doesnt work, you might need to reinstall GMod entirely.

Sorry for all teh options.. but this pretty much walks you through every possible way to fix your problem.. assuming it's not a human error *caugh* which I doubt, considering your console spam says it loaded ULX and ULib.

Get back to us with your results.

Offline angrykid

  • Newbie
  • *
  • Posts: 18
  • Karma: 0
Re: Frustrating error
« Reply #7 on: December 09, 2007, 06:59:46 PM »
Uhhh, I'le try the SVN version...

 :P

Offline angrykid

  • Newbie
  • *
  • Posts: 18
  • Karma: 0
Re: Frustrating error
« Reply #8 on: December 09, 2007, 10:10:09 PM »
Okay, I got the SVN version working after some addons folder cleanup.
Not shure what caused it since I deleted a few unused things before I began testing.
Here's a list of what works:

WireSVN
Stargate
Door stool
Forest Melon
GUI Panel(Stargate)
Keypad
Laser stool
OverloadUT's stools
SB2, LS2, RD2
Smartsnap
Snow post process