TeamUlysses / ulib

ULib: A Lua library for more rapid development on Garry's Mod servers
http://ulyssesmod.net
Other
105 stars 55 forks source link

I got 5 to 7 errors when loading gm_construct with only ULib and ULX enabled #100

Open Wormsweat opened 2 days ago

Wormsweat commented 2 days ago

Steps to reproduce

  1. Have Garry's Mod on the x86-64 branch with the GmodCEFCodecFix installed. I didn't test if the problem still happens otherwise.
  2. Move the data folder and cl.db and sv.db files to the Recycle Bin. I got 6 errors before this with each map load with only ULX and Ulib enabled but I didn't track if those were the exact same as listed below.
  3. Start Garry's Mod.
  4. Enable ULX and ULib. Everything else is disabled.
  5. Load gm_construct as a single-player.

I also tried this afterwards:

  1. Close Garry's Mod, move the items back and replace if needed.
  2. Open Garry's Mod.
  3. Load gm_construct with only ULX and ULib enabled.
  4. I got the same errors except for bottom client error, "net.ReadType: Couldn't read type 60".
  5. Load gm_construct again, then I got that error too.

Expected behavior

Those errors shouldn't happen.

Actual behavior

I get 5 to 7 errors with some having to do with a network message overflow once it's done loading with some probably coming right before it's down loading; if I have enough other addons enabled (once it was less than 70), then I got kicked for Client 0 overflowed reliable channel.. when almost down loading, which is mostly caused by this.

Error(s) in server console, if any

[ULib] Trying to send an overflowed net message!
    1. clientRPC - lua/ulib/server/util.lua:33
        2. fn - lua/ulx/base.lua:79
            3. Call - lua/ulib/shared/hook.lua:109
                4. probe - lua/ulib/server/ucl.lua:1050
                    7. fn - lua/ulib/server/ucl.lua:1116
                        8. unknown - lua/ulib/shared/hook.lua:109
                            9. UniqueID - [C]:-1
                                10. echoToAdmins - lua/ulx/log.lua:164
                                    11. fn - lua/ulx/log.lua:202
                                        12. unknown - lua/ulib/shared/hook.lua:109
[ULib] Trying to send an overflowed net message!
    1. clientRPC - lua/ulib/server/util.lua:33
        2. fn - lua/ulx/base.lua:79
            3. unknown - lua/ulib/shared/hook.lua:109
[ULib] Trying to send an overflowed net message!
    1. unknown - lua/ulib/server/util.lua:33
        2. pcall - [C]:-1
            3. fn - lua/ulib/shared/util.lua:466
                4. unknown - lua/ulib/shared/hook.lua:109

Error(s) in player's console, if any

[ULib] lua/includes/extensions/net.lua:238: net.ReadType: Couldn't read type 186
    1. error - [C]:-1
        2. ReadType - lua/includes/extensions/net.lua:238
            3. ReadType - lua/includes/extensions/net.lua:177
                4. ReadTable - lua/includes/extensions/net.lua:177
                    5. func - lua/ulib/client/cl_util.lua:9
                        6. unknown - lua/includes/extensions/net.lua:38

I got the error above 2 times but one was right before Client "mrswormsweat" spawned in server <STEAM_0:0:78875970> (took 2 seconds). and the other same error was right after.

[ULib] lua/includes/extensions/net.lua:238: net.ReadType: Couldn't read type 60
    1. error - [C]:-1
        2. ReadType - lua/includes/extensions/net.lua:238
            3. ReadType - lua/includes/extensions/net.lua:174
                4. ReadTable - lua/includes/extensions/net.lua:177
                    5. func - lua/ulib/client/cl_util.lua:9
                        6. unknown - lua/includes/extensions/net.lua:38

Version

ULib v2.71w ULX v3.81w I assume w means Workshop, which I got those from the Workshop. The version command prints this to the console when I start the game:

Protocol version 24
Exe version 2024.10.29 (garrysmod)
Exe build: 14:42:35 Nov 26 2024 (9511) (4000)
GMod version 2024.11.28, branch: x86-64, multicore: 1
Windows 64bit"

Disabling gmod_mcore_test, which makes version print multicore: 0 instead doesn't fix the errors.

JamminR commented 2 days ago

How many admins do you have? This error is potentially indicative of a large user file.