Ulysses
Ulysses Stuff => General Chat & Help and Support => Topic started by: Megiddo on January 16, 2008, 08:15:42 AM
-
I appears garry cut out the ability for lua scripts to open files if it's not a listen host... this completely shatters ULX beyond any hope of a fix in a few days. I'll contact garry about this and see if he can fix this gmod bug.
-
Thanks Meg, If I were in your place.. I don't know if I could deal with this.. lol. I'm having a hard enough time just updating my server...
-
I had the talk with garry, and it's confirmed that the fault rests in GMod, not ULX. :)
-
OMFG!! Garry is a gay.
-
Does that mean he'll fix it or that he'll ignore it? Or did he just say it was his fault but didn't give any clue as to what he was going to do...
-
Here's the log:
(2:22:42 PM) Megiddo: Garry, know you're probably busy running around fixing stuff right now, but I have a small problem I need your help with. I cannot get client side lua to open a lua script. See output below:
] lua_run_cl print( file.Exists( '../lua/ULib/modules/ulx_init.lua' ) )
true
] lua_openscript_cl ULib/modules/ulx_init.lua
Running script ULib/modules/ulx_init.lua...
Couldn't include file 'ULib/modules/ulx_init.lua' (File not found)
(2:22:51 PM) Megiddo: Any idea as to why the file exists but cannot be opened?
(2:23:32 PM) garry: is it empty
(2:23:47 PM) Megiddo:
] lua_run_cl print( file.Read( '../lua/ULib/modules/ulx_init.lua' ) )
if SERVER then
include( "ulx/init.lua" )
else
include( "ulx/cl_init.lua" )
end
(2:26:24 PM) garry: hmm
(2:27:11 PM) Megiddo: Were there any changes to how it handles include paths?
(2:27:37 PM) Megiddo: I remember it used to give you the path it was using if it failed to open a script, but it doesn't do that anymore
(2:30:07 PM) garry: are you loading it in multiplayer
(2:30:23 PM) Megiddo: Yes. Does loading scripts not work in multiplayer right now?
(2:30:56 PM) Megiddo: It seems to load other scripts from autorun fine
(2:31:02 PM) garry: I think it's probably translating the filename
(2:31:19 PM) garry: like to use the downloaded copies
(2:31:32 PM) garry: like this is gonna be pretty quirky for a while
(2:31:46 PM) Megiddo: Is this something I need to fix or will you take care of it in the next update?
(2:32:01 PM) garry: just reload the map
(2:32:02 PM) garry: it should work
(2:32:39 PM) Megiddo: If you mean just changelevel, I've done that dozens of time and it's always the same. It does work fine in singleplayer though...
(2:33:00 PM) garry: I mean map gm_construct
(2:34:18 PM) Megiddo: Same problem. I should mention this is a srcds with the orangebox binaries copied over
(2:34:40 PM) garry: type path
(2:34:41 PM) garry: in console
(2:34:57 PM) garry: is the lua path that you're using under lua_client
(2:36:04 PM) Megiddo: The file is being sent by AddCSLuaFile, not sure how your paths work from there
(2:36:17 PM) Megiddo: lua_client does show addons/ulib/lua and garrysmod/garrysmod/lua though
(2:37:01 PM) garry: aight
(2:37:13 PM) garry: there's no reason why it shouldn't work.. I guess I'll add some debug stuff
(2:37:33 PM) Megiddo: Okay, thanks!
-
The positive to this is that it only affects client files, you'll still get ulx in most of it's glory. Quick examples of missing bits include autocomplete, menus, and ulx blind.
-
Hope everything gets up and running soon. Did Garry continue on to say when it might be fixed? On a side note: I am having problems with our service provider and installing a new version of garrysmod correctly. Might be a few days or i might just starting yelling at them instead of my buddy.
-
We're having some conflicting results in testing. After the latest patch garry released tonight, I had no problem with it, but it's still not loading anything clientside for Megiddo. Try it out, make sure server and client are up to date, and you have the current SVN of ULib/ULX.
-
This doesn't just apply to ULX/ULib either.
If you do a clean install it will try to download 200 odd files when connecting to a dedicated server.
It doesn't work, only running a listen server will force the files to download from the .gcf (or extract them with GCFscape)
Connecting to a (base content only) server then will only show 20 or so files to download (ULX/ULib clientside if it is installed on the server).
Of couse admins that need/want full access to the menus console commands etc. have to download the latest svn files and install them in their own addons folder.
I hope this lua download issue gets resolved sooner rather than later.
-
dude ur the best,Meg i was wondering why it didnt work, here for fixing it ill get my neice
HI
:-*