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

0 Members and 1 Guest are viewing this topic.

Offline DeathByNukes

  • Newbie
  • *
  • Posts: 4
  • Karma: 0
Menu Commands Broken: [ULIB] Error, received invalid lua
« on: January 27, 2009, 11:13:00 PM »
(I decided not to bump this thread.)

All ULX commands that generate menus seem to be broken for me:

Code: [Select]
] ulx adminmenu
[ULIB] Error, received invalid lua
] ulx banmenu
Warning: Unhandled usermessage 'SendBanMenu'
] ulx clientmenu
[ULIB] Error, received invalid lua
] ulx mapsmenu
Warning: Unhandled usermessage 'SendMapsMenu'
] ulx menu
[ULIB] Error, received invalid lua
] ulx motd
Warning: Unhandled usermessage 'SendMotdMenu'
] ulx rcon say test
(SILENT)(ADMIN) DeathByNukes ran rcon command: say test
Console: test
] ulx hp deathbynukes 100
(ADMIN) DeathByNukes set DeathByNukes's hp to 100
] ulx who
ID Name                            Immune Groups
1  DeathByNukes                    No     Superadmin
] ulx cexec deathbynukes ulx rcon say test
(SILENT)(ADMIN) DeathByNukes ran "ulx rcon say test" on DeathByNukes
(SILENT)(ADMIN) DeathByNukes ran rcon command: say test
Console: test

"sv_downloadurl" = ""
"sv_allowdownload" = "1"

At first I had the public version, then I tried the SVN when this started. SVN didn't help.


When I connect I see these messages:
Code: [Select]
[UCL] Access set.

BLOCKED COMMAND: [ulib_cl_loaded]

BLOCKED COMMAND: [sv_tags]

ERROR! Module 'zlib_b64' not found!
BLOCKED COMMAND: [ZLib_Installed]

This server is running ULib version 2.21.
[ULIB] Loading SHARED module: ulx_init.lua
BLOCKED COMMAND: [ulib_cl_ulib_loaded]

Warning: Unhandled usermessage 'ulx_resetinfo'
Warning: Unhandled usermessage 'ulx_autocomplete' (repeated 30 times)
Warning: Unhandled usermessage 'ulx_map' (repeated 30 times)


Server.ini:
Code: [Select]
//Any of the settings in here can be added to the per-map configs.

ulx showMotd 0 // Set to 0 to disable showing motd on connect. Shows the file the cvar motdfile says to.

ulx addGimpSay "I'm a llama."
ulx addGimpSay "How do you fly?"
ulx addGimpSay "baaaaaaaaaah."
ulx addGimpSay "Llama power!"
ulx addGimpSay "Llamas are the coolest!"
ulx addGimpSay "What's that gun to move stuff?"


ulx chattime 1.5 // Players can only chat every x seconds (anti-spam). 0 to disable


// This is what the players will see when they join, set it to "" to disable.
// You can use %host% and %curmap% in your text and have it automagically parsed for you
ulx welcomemessage "Welcome to %host%! We're playing %curmap%."


// Adverts
// addCsayAdvert <msg> <r> <g> <b> <repeat_time> <length> [<group>]
// addAdvert <msg> <repeat_time> [<group>]
// addCsayAdvert puts adverts in the middle of the screen, addAdvert puts adverts in the text area.
// You can use %host%, %curmap%, and %ulx_version% in your message and have it automagically parsed for you.
// If you specify a group, adverts in that group will run sequentially instead of simultaneously. EX:
// ulx addAdvert "This message is run first" 10 a
// ulx addAdvert "This message is run second" 10 a
//ulx addCsayAdvert "You're playing on %host%, enjoy your stay!" 100 255 200 300 10

// Please, if you have any compassion at all, leave this one in.
ulx addAdvert "This server is probably not running ULX Admin Mod version %ulx_version% by Team Ulysses -- ulyssesmod.net" 540


ulx logFile 1 // Log to file (Can still echo if off). This is a global setting, nothing will be logged to file with this off.
ulx logEvents 1 // Log events (player connect, disconnect, death)
ulx logChat 1 // Log player chat
ulx logSpawns 1 // Log when players spawn objects (props, effects, etc)
ulx logSpawnsEcho 1 // Echo spawns to players in server. 0 = off, 1 = Admins only, 2 = All players. (Echoes to console)
ulx logDir "ulx_logs" // The log dir under garrysmod/data.
ulx logEcho 2 // Echo mode
// Echo modes:
// 0 - OFF No output to players when an admin command is used
// 1 - ANONYMOUS Output to players similar to "(ADMIN) slapped Bob with 0 damage"
// 2 - FULL Output to players similar to "(ADMIN) Foo slapped Bob with 0 damage"



ulx rslotsMode 0
ulx rslots 2
ulx rslotsVisible 1 // When this is 0, sv_visiblemaxplayers will be set to maxplayers - slots_currently_reserved
//Modes:
//0 - Off
//1 - Keep # of slots reserved for admins, admins fill slots.
//2 - Keep # of slots reserved for admins, admins don't fill slots, they'll be freed when a player leaves.
//3 - Always keep 1 slot open for admins, kick the user with the shortest connection time if an admin joins.

//Difference between 1 and 2:
//I realize it's a bit confusing, so here's an example.
//On mode 1--
// You have maxplayers set to 10, rslots set to 2, and there are currently 8 non-admins connected.
// If a non-admin tries to join, they'll be kicked to keep the reserved slots open. Two admins join
// and fill the two reserved slots. When non-admins leave, the two admins will still be filling the
// two reserved slots, so another regular player can join and fill the server up again without being
// kicked by the slots system

//On mode 2--
// Same setup as mode 1, you have the two admins in the server and the server is full. Now, when a
// non-admin leaves the server, reserved slots will pick up the slot again as reserved. If a regular
// player tries to join and fill the server again, even though there are two admins connected, it will
// kick the regular player to keep the slot open

//So, the basic difference between these two is mode 1 will subtract currently connected admins from the slot
//pool, while mode 2 while always be attempting to reclaim slots if it doesn't currently have enough when
//players leave no matter how many admins are connected.

//rslotsVisible:
// If you set this variable to 0, ULX will automatically change sv_visiblemaxplayers for you so that if
// there are no regular player slots available in your server, it will appear that the server is full.
// The major downside to this is that admins can't connect to the server using the "find server" dialog
// when it appears full. Instead, they have to go to console and use the command "connect <ip>".
// NOTE THIS DOES NOT CHANGE YOUR MAXPLAYERS VARIABLE, ONLY HOW MANY MAXPLAYERS IT _LOOKS_ LIKE YOUR
// SERVER HAS. YOU CAN NEVER, EVER HAVE MORE PLAYERS IN YOUR SERVER THAN THE MAXPLAYERS VARIABLE.



ulx votemapEnabled 1 // Enable/Disable the entire votemap command
ulx votemapMintime 10 // Time after map change before votes count.
ulx votemapWaittime 5 // Time before a user must wait before they can change their vote.
ulx votemapSuccessratio 0.4 // Ratio of (votes for map)/(total players) needed to change map. (Rounds up)
ulx votemapMinvotes 3 // Number of minimum votes needed to change map (Prevents llamas). This supercedes the above convar on small servers.
ulx votemapVetotime 30 // Time in seconds an admin has after a successful votemap to veto the vote. Set to 0 to disable.
ulx votemapMapmode 1 // 1 = Use all maps but what's specified below, 2 = Use only the maps specified below.

ulx voteEcho 0 // 1 = Echo what every player votes (this does not apply to votemap). 0 = Don't echo

ulx votemap2Successratio 0.5 // Ratio of (votes for map)/(total players) needed to change map. (Rounds up)
ulx votemap2Minvotes 3 // Number of minimum votes needed to change map (Pevents llamas). This supercedes the above convar on small servers.

ulx votekickSuccessratio 0.6 // Ratio of (votes for kick)/(total players) needed to kick player. (Rounds up)
ulx votekickMinvotes 2 // Number of minimum votes needed to kick player (Pevents llamas). This supercedes the above convar on small servers.

ulx votebanSuccessratio 0.7 // Ratio of (votes for ban)/(total players) needed to ban player. (Rounds up)
ulx votebanMinvotes 3 // Number of minimum votes needed to ban player (Pevents llamas). This supercedes the above convar on small servers.

// If you'd like to add more maps, make separate lines for them all prefixed with "ulx votemapAddmap".
ulx votemapAddmap background01
ulx votemapAddmap background02
ulx votemapAddmap background03
ulx votemapAddmap background04
ulx votemapAddmap background05
ulx votemapAddmap background06
ulx votemapAddmap background07
ulx votemapAddmap credits
ulx votemapAddmap intro
ulx votemapAddmap test_hardware
ulx votemapAddmap test_speakers

// You can also add forced downloads here. Make sure you put quotes around the path/filename, and take out the comment string '//'.
// Add as many as you want. You can also add these to your map- or game-specific files.
// format: ulx addForcedDownload <file/folder> [<recursive>]
//ulx addForcedDownload "sound/cheeseman.mp3"
// You can add a folder to add all files inside that folder. If recursive is 1 it will also add all files from any sub-folders.
//ulx addForcedDownload "sound/my_music" 1

Addons were not changed around the time the problem appeared but I'll list them anyway:
Code: [Select]
Adv Duplicator
Anti-NoClip
Black Hole Cache
catdaemon_stargate
counter-strike
day-of-defeat
default_sent_pack
derma
FreeSpace09
gassystems
GCOMBAT08
gmdm_resources
harmless_companion_cube
hl2_ep2
hoverboard
Life Support 2
LS2 RTS
MelonHound
No collide world
nocollideall
OL_Stacker
petrolmod
phoenix-storms
portal
RD2
sent_suicidebomb
Simple Prop Protection
smartsnap
smart_welding
stargate
stargate_resources
strider_cannon
tf2
Tornado Gun
ulib
ulx
WeightSTool
wire
wire model pack 1
wormhole


Any idea what it could be? Any other info I need to post?

Offline Ninjadude101

  • Newbie
  • *
  • Posts: 38
  • Karma: 4
Re: Menu Commands Broken: [ULIB] Error, received invalid lua
« Reply #1 on: January 28, 2009, 01:29:28 AM »
Bump: This also happened on my build server, RolePlay server, and customer servers.

It seems it broke around the time garry updated gmod (Surprise, surprise.)

Anyway if anyone is able to take a look any time soon that'd be great. If you need any more information just ask, thanks :)

Offline benbrooks

  • Newbie
  • *
  • Posts: 28
  • Karma: 2
Re: Menu Commands Broken: [ULIB] Error, received invalid lua
« Reply #2 on: January 28, 2009, 05:11:24 AM »
Also broke for me (sandbox) since garry released the update.

I get this in my console

Code: [Select]
Ben: !menu
[ULIB] Error, received invalid lua

Offline Pizzaboy

  • Newbie
  • *
  • Posts: 5
  • Karma: 0
Re: Menu Commands Broken: [ULIB] Error, received invalid lua
« Reply #3 on: January 28, 2009, 05:29:51 AM »
Hi, i had this same problem yesterday but i fixed it by downloading newest ulx 4.* with svn!

Just use svn and it should be fixed, remember to remove your old ulx before downloading new one.

Pizzaboy

Offline benbrooks

  • Newbie
  • *
  • Posts: 28
  • Karma: 2
Re: Menu Commands Broken: [ULIB] Error, received invalid lua
« Reply #4 on: January 28, 2009, 07:33:07 AM »
Ok thanks, I'll post back here to let you know if it fixed it.

Offline DeathByNukes

  • Newbie
  • *
  • Posts: 4
  • Karma: 0
Re: Menu Commands Broken: [ULIB] Error, received invalid lua
« Reply #5 on: January 28, 2009, 08:21:54 AM »
I just checked and I have the latest revision. (21)

Offline Pizzaboy

  • Newbie
  • *
  • Posts: 5
  • Karma: 0
Re: Menu Commands Broken: [ULIB] Error, received invalid lua
« Reply #6 on: January 28, 2009, 09:00:13 AM »
Then remove "new" and download it again, you might have 3.31 xD

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 #7 on: January 28, 2009, 08:39:38 PM »
That's not ULX v4, thats Ulx V3.4 SVN (## - I forget the revision)

Quote from: Changelog
v3.40 - *(00/00/00)*
   * [FIX] Umsgs being sent too early in certain circumstances.
   * [FIX] The .ini files not loading properly on listen servers.
>>>>>This one is important>>>> * [FIX] Problems introduced by garry's changes in handling concommands
        * [FIX] Changed ULX_README.TXT file to point to proper instruction link for editing Gmod default users.
   * [CHANGE] ulx ragdoll and unragdoll now preserve angle and velocity.
   * [CHANGE] motdfile cvar now defaults to ulx_motd.txt. Sick of forcefully overriding other mod's motds. Renamed our motd to match.
   * [CHANGE] ulx slap, whip, hp to further prevent being "stuck in ground".

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

Offline DeathByNukes

  • Newbie
  • *
  • Posts: 4
  • Karma: 0
Re: Menu Commands Broken: [ULIB] Error, received invalid lua
« Reply #8 on: January 28, 2009, 10:50:02 PM »
http://forums.ulyssesmod.net/index.php/topic,3092.0.html
http://ulyssesmod.net/?UL=download

It doesn't appear to be stickied or on the main website. Could you point me in the direction of this unannounced critical update?

Offline faze

  • Newbie
  • *
  • Posts: 3
  • Karma: 0
ULX Problem
« Reply #9 on: January 29, 2009, 02:49:48 PM »
Well none of the menus will come up, and it seems like the motd isn't working. I've done a total reload and put just ULX on, no other addons but no luck. This is happening to every gmod server of mine.

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 #10 on: January 29, 2009, 02:58:08 PM »
Nukes, it's not a full release, so wouldn't be in the ULX downloads.
It's from SVN revision 21 of ULX that I got that changelog.
Using SVN revision 21 of ULib, _and_ SVN revision 21 of ULX, I can't replicate your problem.
By no means am I saying your not having one, I just can't replicate it which makes it extremely difficult to troubleshoot from our end.
« Last Edit: January 29, 2009, 03:00:09 PM by JamminR »
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: ULX Problem
« Reply #11 on: January 29, 2009, 03:25:54 PM »
Are you running SVN, or are you running the one downloaded through our front page downloads?
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline DeathByNukes

  • Newbie
  • *
  • Posts: 4
  • Karma: 0
Re: Menu Commands Broken: [ULIB] Error, received invalid lua
« Reply #12 on: January 29, 2009, 03:38:24 PM »
What is "v4"?

Anyways, would it help if you connected to my server or if I provided more information of some sort?

Edit:
I'm using the SVN
« Last Edit: January 29, 2009, 05:40:31 PM by DeathByNukes »

Offline NikolaiResokav

  • Newbie
  • *
  • Posts: 20
  • Karma: 0
Re: ULX Problem
« Reply #13 on: January 29, 2009, 04:19:44 PM »
I am fairly sure that the recent GMod update has broken parts of ULX.
Nikolai Resokav

Offline Nuclear_Ice

  • Newbie
  • *
  • Posts: 26
  • Karma: 0
ULiB
« Reply #14 on: January 29, 2009, 04:51:32 PM »
Hey, when trying to load a menu I get this:


[ULIB] Error, received invalid lua


in my console.

Sorry I've searched and looked and people are having the same problem, but no one has made a clear answer.

Halp please!