Garrys Mod ULX/Ulib Error Fix

This is used for general discussion that is not necessarily server-related.
Post Reply
N0xious
New to forums
New to forums
Posts: 1
https://www.youtube.com/channel/UC40BgXanDqOYoVCYFDSTfHA
Joined: Mon Jan 14, 2013 9:12 pm

Garrys Mod ULX/Ulib Error Fix

Post by N0xious »

If any of you are finding that your server receives a "Too many lua errors, sorry." message, this may be the cause, to be sure, please check the console after you disconnect for the logs. It should point towards one of the lines in your ulx's fun.lua file. To be sure that you can all get to it, here is the directory:

addons/ulx/lua/ulx/modules/sh/fun.lua

Anyways, while running our TTT server, we ended up having this issue and luckily one of our coders pointed out the problem and I was able to go in and change it. Here is what you are looking for in console:

Code: Select all

[ERROR] addons/ulx/lua/ulx/modules/sh/fun.lua:1: unexpected symbol near '<'
1. unknown - addons/ulx/lua/ulx/modules/sh/fun.lua:0

[ERROR] addons/ulx/lua/ulx/modules/sh/fun.lua:956: unexpected symbol near '=='
1. unknown - addons/ulx/lua/ulx/modules/sh/fun.lua:0

[ERROR] addons/ulx/lua/ulx/modules/sh/fun.lua:1924: unexpected symbol near '>'
1. unknown - addons/ulx/lua/ulx/modules/sh/fun.lua:0
If you have problems with any one of those, just go in and delete that particular line of code in the .lua using notepad. After that, your problem should be solved, if you have any other problems with ULX, or something similar to it, a solution like this one should work out fine.

To solve these ones, the lines to delete are as follows:

Code: Select all

(Line 1) <<<<<< .mine 

(Line 956) ======

(Line 1924) >>>>>>> .r100
Make sure to save a backup before making any changes to this file!
Post Reply