ULX

Author Topic: ULX SVN Can't use ulx ragdoll!  (Read 9765 times)

0 Members and 3 Guests are viewing this topic.

Offline DiscoBiscuit

  • Full Member
  • ***
  • Posts: 112
  • Karma: 1
    • DiscoBuild
ULX SVN Can't use ulx ragdoll!
« on: November 18, 2009, 07:46:31 PM »
This started happening out of nowhere. I haven't changed the files recently or anything. Whenever anyone tries to use "ulx ragdoll" or !ragdoll, I get
Code: [Select]
Lua Error: ulx\modules/sh/fun.lua:493: attempt to call field 'getSpawnInfo' (a nil value)in the console and it doesn't work. It doesn't say anything about not having access or anything it just doesn't work. Is there a way I can fix this? thanks

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: ULX SVN Can't use ulx ragdoll!
« Reply #1 on: November 18, 2009, 08:40:55 PM »
Seems work okay for me. If this is happening all the time, I'd say one your files is likely corrupt.
Experiencing God's grace one day at a time.

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: ULX SVN Can't use ulx ragdoll!
« Reply #2 on: November 18, 2009, 08:52:42 PM »
getSpawnInfo is actually a ULib command that's used quite frequently in various punishments.
Can you freeze people? Spectate? Jail?
All 3 of those use a setnodie command to prevent suicide, which in itself uses the getSpawnInfo command.

See if you get a similar error with those functions (freeze, spectate, jail)
If so, make sure you're running latest ULib SVN also.
If not, at least we know to look at ragdoll more.

Odd though that it would just start.
No other addons updated? We've seen various issues with ragdoll due to DarkRP, superman mod, several others that just don't play nicely with other scripts that use ragdoll commands.
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline DiscoBiscuit

  • Full Member
  • ***
  • Posts: 112
  • Karma: 1
    • DiscoBuild
Re: ULX SVN Can't use ulx ragdoll!
« Reply #3 on: November 19, 2009, 04:18:08 AM »
I don't think there's a problem with !freeze but with !jail I get
Code: [Select]
Lua Error: ulx\modules/sh/fun.lua:380: attempt to call method 'InVehicle' (a nil value)

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: ULX SVN Can't use ulx ragdoll!
« Reply #4 on: November 19, 2009, 08:24:44 AM »
I don't think there's a problem with !freeze but with !jail I get
Code: [Select]
Lua Error: ulx\modules/sh/fun.lua:380: attempt to call method 'InVehicle' (a nil value)

Do you have any errors in your console on server startup?
Experiencing God's grace one day at a time.

Offline DiscoBiscuit

  • Full Member
  • ***
  • Posts: 112
  • Karma: 1
    • DiscoBuild
Re: ULX SVN Can't use ulx ragdoll!
« Reply #5 on: November 19, 2009, 01:48:54 PM »
On startup ULX says:
Code: [Select]
ConVarRef ups_cleartime doesn't point to an existing ConVar
SetConVar: No such cvar ( ups_cleartime set to -1), skipping
ConVarRef ups_deletetime doesn't point to an existing ConVar
SetConVar: No such cvar ( ups_deletetime set to 30), skipping
ConVarRef ulx_welcomemessage doesn't point to an existing ConVar
SetConVar: No such cvar ( ulx_welcomemessage set to Welcome to %host%. Be sure not to get banned.), skipping
ConVarRef ulx_chattime doesn't point to an existing ConVar
SetConVar: No such cvar ( ulx_chattime set to 0), skipping
ConVarRef ulx_votemapSuccessratio doesn't point to an existing ConVar
SetConVar: No such cvar ( ulx_votemapSuccessratio set to 0.4), skipping
No pure server whitelist. sv_pure = 0
Lua initialized (Lua 5.1)
======== Installing Table (De)Serialiser Module | ver: 1.4 ========
You are running ULib version 2.40.
[ULIB] Loading SHARED module: ulx_init.lua
[ULX] Loading CLIENT module: adminmenu.lua
[ULX] Loading CLIENT module: banmenu.lua
[ULX] Loading CLIENT module: clientmenu.lua
[ULX] Loading CLIENT module: mainmenu.lua
[ULX] Loading CLIENT module: mapsmenu.lua
[ULX] Loading CLIENT module: motdmenu.lua
[ULX] Loading SHARED module: chat.lua
[ULX] Loading SHARED module: fun.lua
[ULX] Loading SHARED module: menus.lua
[ULX] Loading SHARED module: rcon.lua
[ULX] Loading SHARED module: teleport.lua
[ULX] Loading SHARED module: user.lua
[ULX] Loading SHARED module: userhelp.lua
[ULX] Loading SHARED module: util.lua
[ULX] Loading SHARED module: vote.lua
[ULIB] Loading SHARED module: ups_init.lua

I tried re-downloading the SVN of ULX and ULib and reinstalling it on the server but it didn't help.

I don't know what's going on, none of the files seem corrupt and I didn't change anything when this started.
jail also only gets that command when attempting to jail from RCON.
It also says
Code: [Select]
ULib/shared/sh_ucl.lua:46: [ULIB] Unauthed player
when the command autocomplete for ULX comes up.
« Last Edit: November 19, 2009, 02:23:32 PM by DiscoBiscuit »

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: ULX SVN Can't use ulx ragdoll!
« Reply #6 on: November 19, 2009, 02:25:38 PM »
It's interesting to see the client log, but the server would be more helpful.
Experiencing God's grace one day at a time.

Offline DiscoBiscuit

  • Full Member
  • ***
  • Posts: 112
  • Karma: 1
    • DiscoBuild
Re: ULX SVN Can't use ulx ragdoll!
« Reply #7 on: November 19, 2009, 02:30:20 PM »
Er, well that was client

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: ULX SVN Can't use ulx ragdoll!
« Reply #8 on: November 19, 2009, 03:30:52 PM »
InVehicle is of particular worry... it's a Gmod function. are you absolutely 100% _nothing_ changed with your server from your action?
New addons? Gamemodes? Updates of any type?

And please, yes, get us a copy of server console startup.

"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline DiscoBiscuit

  • Full Member
  • ***
  • Posts: 112
  • Karma: 1
    • DiscoBuild
Re: ULX SVN Can't use ulx ragdoll!
« Reply #9 on: November 22, 2009, 08:27:10 PM »
Sorry about the wait, here's a copy of my console.log on startup

Code: [Select]
Mounting hl2.. OK
Mounting ep2.. OK
Mounting tf.. OK
Mounting cstrike.. OK
Mounting dod.. OK
Mounting episodic.. OK
Mounting hl2mp.. Failed
Mounting portal.. OK
Mounting lostcoast.. Failed
Mounting hl1.. Failed
Mounting hl1mp.. Failed
Mounting zeno_clash.. Failed
Error, bad server command sv_allow_voice_from_file 0
Parent cvar in server.dll not allowed (sk_apc_missile_damage)
Garry's Mod client.dll Build #071 [Sep 10 2009 14:30:01]
maxplayers set to 10
Unknown command "cl_interp"
maxplayers set to 10
Unknown command "sv_AdvDupeEnablePublicFolder"
Network: IP 69.162.71.189, mode MP, dedicated Yes, ports 27015 SV / 27005 CL
Unknown command "sv_rollangle"
Unknown command "sv_unlag_fixstuck"
Lua initialized (Lua 5.1)
======== Installing Table (De)Serialiser Module | ver: 1.4 ========
Couldn't include file 'ContraptionSaver/Config.lua' (File not found)
Couldn't include file 'ContraptionSaver/Hooks.lua' (File not found)
Couldn't include file 'ContraptionSaver/Serialise.lua' (File not found)
///////////////////////////////
//      Ulysses Library      //
///////////////////////////////
// Loading...                //
//  shared/defines.lua       //
//  shared/misc.lua          //
//  shared/util.lua          //
//  server/upgrade.lua       //
//  server/hook.lua          //
//  server/gamemode_hooks.lua//
//  shared/table.lua         //
//  shared/player.lua        //
//  server/player.lua        //
ULib/server/player.lua:324: attempt to index field 'bans' (a nil value)
//  shared/messages.lua      //
//  shared/concommand.lua    //
//  shared/commands.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 SHARED module: ulx_init.lua
///////////////////////////////
//       ULX Admin Mod       //
///////////////////////////////
// Loading...                //
//  sh_defines.lua           //
//  lib.lua                  //
//  base.lua                 //
//  sh_base.lua              //
//  log.lua                  //
//  MODULE: slots.lua        //
//  MODULE: votemap.lua      //
//  MODULE: chat.lua         //
//  MODULE: fun.lua          //
//  MODULE: menus.lua        //
//  MODULE: rcon.lua         //
//  MODULE: teleport.lua     //
//  MODULE: user.lua         //
//  MODULE: userhelp.lua     //
//  MODULE: util.lua         //
//  MODULE: vote.lua         //
//  end.lua                  //
// Load Complete!            //
///////////////////////////////
[ULIB] Loading SHARED module: UnoLimited.lua
[ULIB]*** UnoLimited v2.1 Ready! *******
[ULIB] Loading SHARED module: ups_init.lua
/=================================\
||    Ulysses Prop Share(UPS)    ||
||-------------------------------||
|| Loading...                    ||
||  sh_defines.lua               ||
||  sh_lib.lua                   ||
||  lib.lua                      ||
||  sh_friends.lua               ||
||  base.lua                     ||
||  MODULE: gm_fix.lua           ||
||  MODULE: map_protect.lua      ||
||  MODULE: player_disable.lua   ||
||  MODULE: player_leave.lua     ||
||  MODULE: restrict.lua         ||
||  MODULE: cppi.lua             ||
|| Load Complete!                ||
\=================================/
[ULIB] Loading SHARED module: URestrict.lua
///////////////////////////////
//         URestrict         //
///////////////////////////////
//Loading...                 //
//  MODULE: init.lua         //
//  MODULE: canTool.lua      //
//  MODULE: give.lua         //
//  MODULE: giveSwep.lua     //
//  MODULE: pickup.lua       //
//  MODULE: props.lua        //
//  MODULE: spawn.lua        //
//Done!                      //
///////////////////////////////
[ULIB] Loading CLIENT module: URestrict_cl.lua
[ULIB] Loading CLIENT module: ur_gui.lua
Ignore the following error message about cog_world.vtf:
[resource.AddFile] File materials\expression 2\cog_world.vtf didn't exist!
================================
===  Wire  1621 (exported)   Installed  ===
================================
======== Beam NetVars Lib v0.71 Installed ========
ERROR! Module 'zlib_b64' not found!
==== Advanced Duplicator v.1.72 shared module installed! ====
Added EntCheckHook: AdvDupe_NoItems
Added EntCheckHook: AdvDupe_DisallowedClasses
Added EntCheckHook: AdvDupe_ModelCheck
==== Advanced Duplicator v.1.85 server module installed! ====
GCX Client Systems Loaded
[resource.AddFile] File materials\Nametag\missing didn't exist!
Registering gamemode 'sandbox' derived from 'base'
ScriptEnforce is disabled

Stacker Version 2.5 loaded.

Loading Wire Tools
entities/gmod_perimeterturret/init.lua:140: 'then' expected near 'thenself'
Folder = entities/gmod_perimeterturret
Couldn't register Scripted Entity gmod_perimeterturret - the Type field is empty!
entities/gmod_sensor/init.lua:5: attempt to call global 'Material' (a nil value)
-- Error SENDING CLIENTSIDE file -------------------------
- File Not Found: cl_init.lua
----------------------------------------------------------
Ignore the following bunch of error messages:
[resource.AddFile] File models\Holograms\torus3.ani didn't exist!
[resource.AddFile] File models\Holograms\torus3.jpg didn't exist!
[resource.AddFile] File models\Holograms\hqsphere.ani didn't exist!
[resource.AddFile] File models\Holograms\hqsphere.jpg didn't exist!
[resource.AddFile] File models\Holograms\hqtorus2.ani didn't exist!
[resource.AddFile] File models\Holograms\hqtorus2.jpg didn't exist!
[resource.AddFile] File models\Holograms\torus.ani didn't exist!
[resource.AddFile] File models\Holograms\torus.jpg didn't exist!
[resource.AddFile] File models\Holograms\cylinder.ani didn't exist!
[resource.AddFile] File models\Holograms\cylinder.jpg didn't exist!
[resource.AddFile] File models\Holograms\cube.ani didn't exist!
[resource.AddFile] File models\Holograms\cube.jpg didn't exist!
[resource.AddFile] File models\Holograms\icosphere2.ani didn't exist!
[resource.AddFile] File models\Holograms\icosphere2.jpg didn't exist!
[resource.AddFile] File models\Holograms\hqtorus.ani didn't exist!
[resource.AddFile] File models\Holograms\hqtorus.jpg didn't exist!
[resource.AddFile] File models\Holograms\prism.ani didn't exist!
[resource.AddFile] File models\Holograms\prism.jpg didn't exist!
[resource.AddFile] File models\Holograms\dome.ani didn't exist!
[resource.AddFile] File models\Holograms\dome.jpg didn't exist!
[resource.AddFile] File models\Holograms\tetra.ani didn't exist!
[resource.AddFile] File models\Holograms\tetra.jpg didn't exist!
[resource.AddFile] File models\Holograms\dome2.ani didn't exist!
[resource.AddFile] File models\Holograms\dome2.jpg didn't exist!
[resource.AddFile] File models\Holograms\sphere3.ani didn't exist!
[resource.AddFile] File models\Holograms\sphere3.jpg didn't exist!
[resource.AddFile] File models\Holograms\sphere2.ani didn't exist!
[resource.AddFile] File models\Holograms\sphere2.jpg didn't exist!
[resource.AddFile] File models\Holograms\pyramid.ani didn't exist!
[resource.AddFile] File models\Holograms\pyramid.jpg didn't exist!
[resource.AddFile] File models\Holograms\cone.ani didn't exist!
[resource.AddFile] File models\Holograms\cone.jpg didn't exist!
[resource.AddFile] File models\Holograms\hqicosphere.ani didn't exist!
[resource.AddFile] File models\Holograms\hqicosphere.jpg didn't exist!
[resource.AddFile] File models\Holograms\plane.ani didn't exist!
[resource.AddFile] File models\Holograms\plane.jpg didn't exist!
[resource.AddFile] File models\Holograms\icosphere3.ani didn't exist!
[resource.AddFile] File models\Holograms\icosphere3.jpg didn't exist!
[resource.AddFile] File models\Holograms\hqcylinder.ani didn't exist!
[resource.AddFile] File models\Holograms\hqcylinder.jpg didn't exist!
[resource.AddFile] File models\Holograms\sphere.ani didn't exist!
[resource.AddFile] File models\Holograms\sphere.jpg didn't exist!
[resource.AddFile] File models\Holograms\torus2.ani didn't exist!
[resource.AddFile] File models\Holograms\torus2.jpg didn't exist!
[resource.AddFile] File models\Holograms\icosphere.ani didn't exist!
[resource.AddFile] File models\Holograms\icosphere.jpg didn't exist!
[resource.AddFile] File models\Holograms\hqicosphere2.ani didn't exist!
[resource.AddFile] File models\Holograms\hqicosphere2.jpg didn't exist!
[resource.AddFile] File models\Holograms\hqsphere2.ani didn't exist!
[resource.AddFile] File models\Holograms\hqsphere2.jpg didn't exist!
[resource.AddFile] File models\Holograms\hqcylinder2.ani didn't exist!
[resource.AddFile] File models\Holograms\hqcylinder2.jpg didn't exist!
[resource.AddFile] File models\Holograms\hqcone.ani didn't exist!
[resource.AddFile] File models\Holograms\hqcone.jpg didn't exist!
Ignore the preceding bunch of error messages.
ERROR: Hook 'ContraptionSaver.Initialize' Failed: autorun/ContraptionSaver.lua:2203: attempt to index field 'Hooks' (a nil value)
Removing Hook 'ContraptionSaver.Initialize'
Writing cfg/banned_user.cfg.
Executing dedicated server config file
Adding master server 72.165.61.136:27011
Adding master server 69.28.140.246:27011
Connection to Steam servers successful.
   VAC secure mode is activated.

I noticed that when a player connects in the rcon console it has a lot of errors with ulx.
Code: [Select]
L 11/22/2009 - 22:12:39: "[GMF|GDI]?????????<4><STEAM_ID_PENDING><>" connected, address "76.200.100.142:27005"
Client "[GMF|GDI]?????????" connected (76.200.100.142:27005).
game.ConsoleCommand blocked!
Invalid command entered. If you need help, please type "ulx help" in your console.
Invalid command entered. If you need help, please type "ulx help" in your console.
Invalid command entered. If you need help, please type "ulx help" in your console.
Invalid command entered. If you need help, please type "ulx help" in your console.
Invalid command entered. If you need help, please type "ulx help" in your console.
Invalid command entered. If you need help, please type "ulx help" in your console.
Invalid command entered. If you need help, please type "ulx help" in your console.
Invalid command entered. If you need help, please type "ulx help" in your console.
Invalid command entered. If you need help, please type "ulx help" in your console.
Invalid command entered. If you need help, please type "ulx help" in your console.
Invalid command entered. If you need help, please type "ulx help" in your console.
Invalid command entered. If you need help, please type "ulx help" in your console.
Invalid command entered. If you need help, please type "ulx help" in your console.
Invalid command entered. If you need help, please type "ulx help" in your console.
Invalid command entered. If you need help, please type "ulx help" in your console.
Invalid command entered. If you need help, please type "ulx help" in your console.
Invalid command entered. If you need help, please type "ulx help" in your console.
Invalid command entered. If you need help, please type "ulx help" in your console.
Invalid command entered. If you need help, please type "ulx help" in your console.
L 11/22/2009 - 22:12:40: "[GMF|GDI]?????????<4><STEAM_0:1:12071697><>" STEAM USERID validated

I hope this helps fix this issue.

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: ULX SVN Can't use ulx ragdoll!
« Reply #10 on: November 22, 2009, 09:24:37 PM »
Very helpful, at least in the right direction if not exactly.
server/Player.lua gets an error at startup with refreshing ULib's bans file.
Since Source doesn't store temporary bans across more than one server restart, the admin who banned someone, or a reason, we started storing bans within a bans.txt file in gmod/data/ULib in addition to Source's normal /cfg/banned_users.cfg file.
For some reason, the bans refresh is being seen as null.
That may explain why some others are having issue with banned players (not) getting banned.
It may also be affecting loading of the rest of the file, which happens to have the getSpawnInfo command right after the ban refresh.

Does your server have a gmod/cfg/banned_users.cfg file? Does your server have a gmod/data/ULib/bans.txt file?
Does the user srcds runs under have read/write permissions to both of those folder locations and file?

As for the player joining 'spam' error... it very well may be due to the server Player.lua not loading fully.
If we get that figured out, perhaps the rest will fall into place.
« Last Edit: November 22, 2009, 09:26:30 PM by JamminR »
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline DiscoBiscuit

  • Full Member
  • ***
  • Posts: 112
  • Karma: 1
    • DiscoBuild
Re: ULX SVN Can't use ulx ragdoll!
« Reply #11 on: November 22, 2009, 09:57:15 PM »
There is a /cfg/banned_user.cfg file and a /data/ulib/bans.txt and neither seem to look corrupt. The read and write permissions are available for both the files and the directories. It just seemed weird because it was working last week, but then it just quit.

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: ULX SVN Can't use ulx ragdoll!
« Reply #12 on: November 23, 2009, 04:31:26 PM »
Mind attaching your bans.txt files?
I have a theory about the bans.txt file but wish to visually see yours.
(Oh, what size is the bans.txt? Larger than a few Kb?)
In the Mbytes range? Large = possible corruption.
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline DiscoBiscuit

  • Full Member
  • ***
  • Posts: 112
  • Karma: 1
    • DiscoBuild
Re: ULX SVN Can't use ulx ragdoll!
« Reply #13 on: November 23, 2009, 08:01:46 PM »
Here's my bans.txt.


Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: ULX SVN Can't use ulx ragdoll!
« Reply #14 on: November 23, 2009, 09:15:00 PM »
Well, blows that theory out of the water.
I do notice a different though.
Looking at my bans file, and your bans file, I see your bans.txt has none of the permanent bans imported from banned_user.cfg
If it did, they'd all appear in bans.txt as
Code: [Select]
"SteamID"
 {
 "unban" "0"
 }

Though you have a gmod/cfg/banned_user.cfg ... is it large? If you open it, does it have any noticeable corruption?

It's late now and I'm not able to do any testing, but I plan on trying to place your bans.txt in place of mine. Will tinker if I have time tomorrow about 4 hours before time of this post.
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming