Author Topic: Menu Commands Broken: [ULIB] Error, received invalid lua  (Read 15149 times)

0 Members and 1 Guest are viewing this topic.

Offline faze

  • Newbie
  • *
  • Posts: 3
  • Karma: 0
Re: ULX Problem
« Reply #15 on: January 29, 2009, 05:24:26 PM »
Are you running SVN, or are you running the one downloaded through our front page downloads?
One of the ones from the download page. Where's the svn download?

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: Menu Commands Broken: [ULIB] Error, received invalid lua
« Reply #16 on: January 29, 2009, 05:31:04 PM »
ALL
Are you running SVN 'beta' code of BOTH ULib and ULX?
OR, are you running the downloaded 'Release' version from www.ulyssesmod.net? (They aren't the same thing)
I just tested using a separate dedicated server set up for development.
It has very few addons.
SVN rev21 of ULX and ULib installed doesn't give me the errors everyone is reporting.

If you ARE running SVN revision 21 of BOTH ULib AND ULx on your server, and are still having this problem, I'm suspecting another addon somehow causing conflict. Even perhaps (sadly) one of our own teams releases.
Try the "it sucks but usually works" troubleshooting method.
Remove all addons but Gmod default and latest SVN of ULX and ULib, and then add all back one at a time.

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

Offline IGPebble

  • Newbie
  • *
  • Posts: 3
  • Karma: 0
Re: Menu Commands Broken: [ULIB] Error, received invalid lua
« Reply #17 on: January 29, 2009, 06:13:12 PM »
Just made a new ded Gmod server, put ULX + Ulib on it, no joy.

Tried SVN, updated both to the latest, still no joy, the same menu problems with the LUA

Offline faze

  • Newbie
  • *
  • Posts: 3
  • Karma: 0
Re: Menu Commands Broken: [ULIB] Error, received invalid lua
« Reply #18 on: January 29, 2009, 06:31:00 PM »
Well I have JUST ulx and ulib installed, no addons, no extra anything on a test server, and no luck at all.

Where am I supposed to find the svn at? There's no link anywhere.

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: Menu Commands Broken: [ULIB] Error, received invalid lua
« Reply #19 on: January 29, 2009, 08:34:13 PM »
IGPebble, I'm at a total loss for you and others that aren't working.
I hope Megiddo, spbogie or Jay can figure out whats going on.
I've tried repeatedly to replicate the error and can't.
Gmod single player with SVN 21 ULib and ULX - works.
Same with a listen server
Same with a dedicated server.
Trying ulx menu and ulx adminmenu from console. Works
Trying !menu and !adminmenu from chat. Works.
Changing settings..applying, works.

faze, you didn't look very hard. :)
There's an 'SVN Stuff' section from the forum home page.
http://forums.ulyssesmod.net/index.php/board,26.0.html
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline IGPebble

  • Newbie
  • *
  • Posts: 3
  • Karma: 0
Re: Menu Commands Broken: [ULIB] Error, received invalid lua
« Reply #20 on: January 30, 2009, 06:49:06 AM »
I am insanely jealous ._.


Just tried again, updated gmod servside to the latest version (54), reinstalled ULX/Ulib 21 and still nothing :(
« Last Edit: January 30, 2009, 07:49:35 AM by IGPebble »

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: Menu Commands Broken: [ULIB] Error, received invalid lua
« Reply #21 on: January 30, 2009, 03:46:24 PM »
Just use svn and it should be fixed, remember to remove your old ulx before downloading new one.
Hmm. Pizzaboy _could_ have something there.
Try this. No guarantees.
IF YOU AREN'T BRAVE ENOUGH FOR SVN/BETA code, please wait until we have more info and possible fix (if it's even something we can fix)
Shutdown server.
FOR TESTING ONLY... rename the following
gmod\data\ULib to ULib.bak
gmod\data\ulx to ulx.bak
Yes, this will remove any users/groups you've NOT set in gmod\settings\users.txt
If you don't have yourself as superadmin there in gmod\settings\users.txt, add yourself.
Delete addons\ulx and addons\ULib
Get our latest SVN. (See our forum "SVN Stuff")
Restart server.
Test menu after connecting.

Those of you having troubles, are they on dedicated? Listen? Anything common from all the things you've seen in this thread?
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline IGPebble

  • Newbie
  • *
  • Posts: 3
  • Karma: 0
Re: Menu Commands Broken: [ULIB] Error, received invalid lua
« Reply #22 on: January 30, 2009, 03:55:42 PM »
Mines a dedicated from counter-strike.com.

I'm assuming to put the SVN version on, you download the latest to your desktop, SVN it up to the latest release then upload to the server via FTP or whatever

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: Menu Commands Broken: [ULIB] Error, received invalid lua
« Reply #23 on: January 30, 2009, 05:33:14 PM »
IGPebble, for most hosts, yes.
Check with your host help site or similiar though.
Many hosts now have a 'svn' capability.

Also all, for those of you already using SVN, make sure your keeping your local client lua cache uploaded to the servers (after installing latest lua addons)
This is true of any lua release, not just Ulysses)
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline Ninjadude101

  • Newbie
  • *
  • Posts: 38
  • Karma: 4
Re: Menu Commands Broken: [ULIB] Error, received invalid lua
« Reply #24 on: January 31, 2009, 05:21:09 AM »
Latest SVN of both ULib and ULX.
No new addons installed in over a month

!menu / ulx menu
[ULIB] Error, received invalid lua

Sorry, but the SVN does not fix this.
I usually wait till a proper release anyway, that way its more bug-free.

If you'd like a list of addons installed, ask me.

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: Menu Commands Broken: [ULIB] Error, received invalid lua
« Reply #25 on: January 31, 2009, 05:13:06 PM »
I was on Jay's server last night, and he too has no issue.
I really have no other idea on how to troubleshoot this right now except in suggesting you remove all non-default GMod addons except for ULib and ULX, clean out any extra gmod\data\lua\*\*.lua files that may be running on the server, then start adding things back in one or two at a time, testing the server after each time.
Yes, this is a pain, but the problem you're having only seems to affect a small percentage of people using ULib and ULX, especially in SVN.

From the "ulx debuginfo" command text.. the below are what addons I'm running on my development ded server.
Many addons are only maintained in SVN now, Wire (and it's models), PHX3, Adv Duplicator to name but a few.
If you're running those three, make sure you have thier latest SVN.
For now, test using ULib/ULX SVN.

Code: [Select]
Active addons on this server:
Adv Duplicator           by TAD2020, version 1.8359 (July 5th 2007)
buildingblocks           by om3ga, version 1 ()
counter-strike           by Valve, version 1 (5th August 2006)
day-of-defeat            by Valve, version 1 (22nd August 2006)
default_sent_pack        by TEAM GARRY, version 1 (3rd December 2006)
derma                    by , version 0.1 (17th July 2007)
ForceField_Models        by (null), version (null) ((null))
gm_mobenix_v2_hotfix     by Sportkeks & MaZz3, version 2 (April 2008)
gm_skatepark_v2          by Towelie, version 2 (02/??/08)
hl2_ep2                  by Valve, version 1 (29th October 2007)
masslessthrusters        by JetBoom, version 1.1 (April 3st, 2008)
Material Ex              by Jeffrey Carpenter, version 1.0.0 (16th April 2007)
phx3                     by PhoeniX-Storms, 1/4 Life, hunter, joebloom, scragnog, x-quake, Xeon133, PelPix, version SVN (20th May 2008)
portal                   by Valve, version 1 (29th October 2007)
sui_scoreboard           by Suicidal.Banana, version ? ()
tf2                      by Valve, version 1 (29th October 2007)
TiledBlocks              by hunter, version 0.5 (10th March 2008)
TRex                     by Xystus234 for programming & J-Dude for the animations. Some other guy made the models themselves, I forget who though., version 1 ((null))
ULib                     by Team Ulysses, version 2.2999 (00/00/00)
ulx                      by Team Ulysses, version 3.4 (00/00/00)
ULX_Explode              by Mr.President, version 1 (4.2.08)
Umotd_Revived            by JamminR - Team Ulysses, version SVN 2.A2 (04/00/08)
UPS                      by Megiddo (Team Ulysses), version 0.1 (00/00/00)
UTeam                    by spbogie, version 1.1 (03/25/07)
wire                     by Wire Team, version 0.9.6 (25st March 2007)
wire model pack 1        by Team Wire, version 0.3 (25st March 2007)

I personally don't need a list of your addons at this moment. I don't have the energy to go and test them all.
They may help someone else with the same problem compare the ones they have and go 'oh, we share these out of all..lets try removing those three first'
« Last Edit: January 31, 2009, 05:15:18 PM by JamminR »
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline benbrooks

  • Newbie
  • *
  • Posts: 28
  • Karma: 2
Re: Menu Commands Broken: [ULIB] Error, received invalid lua
« Reply #26 on: February 01, 2009, 09:12:29 AM »
I forgot to say when I tried the SVN.

It fixed this issue for me.

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: Menu Commands Broken: [ULIB] Error, received invalid lua
« Reply #27 on: February 01, 2009, 11:44:02 AM »
Glad to hear Ben.
Megiddo found the issue. We all suspected but never found an error from our sides. Megiddo finally saw the error.
Concommands are being blocked if they're run before the player is actually 'ready' on the server.
We're not 100% sure why it affects some, but not others.
We suspect it's timing. If ULib initializes on the client BEFORE the client is ready... you get errors.
If ULib initializes after, no problem (which is why Jay and I were having trouble tracking it)
Various things would affect this timing. Speed of server, speed of client, number of addons to name but a few.
Garry blocked the ability to run concommands before a player is actually spawned.
That ability was used by several exploits... unfortunately, it was also used by ULib to initialize several functions.
We're working on updating the SVN now to work around this.
See Megiddo's post here - http://forums.ulyssesmod.net/index.php/topic,3860.0.html
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming