Author Topic: ULib won't load  (Read 5911 times)

0 Members and 1 Guest are viewing this topic.

Lunchbox

  • Guest
ULib won't load
« on: November 19, 2006, 08:20:52 AM »
Just set up a Linux dedicated server with ULib and ULX.
I followed the instructions very carefully, but upon launching the server I'm greeted with errors (excerpt):

Lua Script: init/ulib_init.lua
Lua Error: Line 12: attempt to call field 'print' (a nil value)
LUA: Errors when running script 'init/ulib_init.lua'

ULX won't load at all.
I tried commenting out line 12 and it gave me another error on line 10 about comparing something to nil.

Since line 10 is the openscript line for ulib it seems like it isn't loading ULib (can't find it perhaps?).

My directory structure is as follows.
/apps/games/srcds/gmod9/lua/ULib
/apps/games/srcds/gmod9/lua/ULX
/apps/games/srcds/gmod9/lua/init/ulib_init.lua

I'm using the newest versions from your homepage (v2.21 ULX and v1.2 ULib I believe).

Any ideas?

Thanks in advance.

An Error Has Occurred!

array_keys(): Argument #1 ($array) must be of type array, null given