TeamUlysses / ulx

ULX: A powerful administration addon for Garry's Mod
https://ulyssesmod.net
Other
163 stars 73 forks source link

Seamless portals errors #215

Closed luca1808 closed 1 year ago

luca1808 commented 1 year ago

Steps to reproduce

  1. Load ANY map in Multiplayer
  2. Have Seamless portals installed

Expected behavior

No errors

Actual behavior

Errors get spammed into the console

Error(s) in console, if any

[Seamless Portals] lua/autorun/client/cl_render_core.lua:62: attempt to compare nil with number

  1. fn - lua/autorun/client/cl_render_core.lua:62
    1. unknown - lua/ulib/shared/hook.lua:109

[Seamless Portals] lua/autorun/sh_portal_movement.lua:152: attempt to compare nil with number

  1. fn - lua/autorun/sh_portal_movement.lua:152
    1. unknown - lua/ulib/shared/hook.lua:109

Version

ULib v2.70w ULX v3.80w

ApertureDevelopment commented 1 year ago

This issue is unrelated to ULX and ULib. The reason it says ULib there is because ULib replaces the hook function with it's own logic. You should rather contact the maintainers of Seamless portals

SticklyMan commented 1 year ago

Closing due to lack of response. If our hook library is causing conflicts, please have the author of Seamless Portals reach out to us so we can start a discussion about it.