Author Topic: ULX on dedicated  (Read 7135 times)

0 Members and 1 Guest are viewing this topic.

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6213
  • Karma: 394
  • Project Lead
ULX on dedicated
« 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.
Experiencing God's grace one day at a time.

Offline MrPresident

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 2728
  • Karma: 430
    • |G4P| Gman4President
Re: ULX on dedicated
« Reply #1 on: January 16, 2008, 08:35:50 AM »
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...

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6213
  • Karma: 394
  • Project Lead
Re: ULX on dedicated
« Reply #2 on: January 16, 2008, 12:39:35 PM »
I had the talk with garry, and it's confirmed that the fault rests in GMod, not ULX. :)
Experiencing God's grace one day at a time.

Offline Ninjadude101

  • Newbie
  • *
  • Posts: 38
  • Karma: 4
Re: ULX on dedicated
« Reply #3 on: January 16, 2008, 12:59:18 PM »
OMFG!! Garry is a gay.

John

  • Guest
Re: ULX on dedicated
« Reply #4 on: January 16, 2008, 01:37:20 PM »
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...

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6213
  • Karma: 394
  • Project Lead
Re: ULX on dedicated
« Reply #5 on: January 16, 2008, 02:03:43 PM »
Here's the log:

Quote
(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!
Experiencing God's grace one day at a time.

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6213
  • Karma: 394
  • Project Lead
Re: ULX on dedicated
« Reply #6 on: January 16, 2008, 03:45:41 PM »
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.
Experiencing God's grace one day at a time.

Offline Avien

  • Full Member
  • ***
  • Posts: 168
  • Karma: 4
Re: ULX on dedicated
« Reply #7 on: January 16, 2008, 08:00:39 PM »
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.

Offline spbogie

  • Ulysses Team Member
  • Sr. Member
  • *****
  • Posts: 456
  • Karma: 41
Re: ULX on dedicated
« Reply #8 on: January 16, 2008, 08:49:56 PM »
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.
I have not failed. I've just found 10,000 ways that won't work. - Thomas A. Edison
I reject your reality and substitute my own. - Adam Savage

Offline trab

  • Newbie
  • *
  • Posts: 5
  • Karma: 0
    • ICannt.org
Re: ULX on dedicated
« Reply #9 on: January 17, 2008, 08:22:40 AM »
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.
|IC| Sub-Zero - ICannt.org Senior Admin

Offline nofear1999

  • Newbie
  • *
  • Posts: 30
  • Karma: 0
Re: ULX on dedicated
« Reply #10 on: February 07, 2008, 06:15:56 PM »
dude ur the best,Meg i was wondering why it didnt work, here for fixing it ill get my neice

HI
 :-*