Ulysses
General => Developers Corner => Topic started by: OpticPotatOS on June 20, 2016, 09:48:30 AM
-
So, I'm using ULib.umsgSend and Rcv to send a string to some derma code, and then clientRPC to send the derma function back, but if anyone connects to the server, I get this error that contains my file and file directory, anyone know what's up with this?
Error:
[ERROR] addons/ulib/lua/ulib/client/cl_util.lua:40: attempt to index local 'um' (a nil value)
1. umsgRcv - addons/ulib/lua/ulib/client/cl_util.lua:40
2. unknown - addons/ulx/lua/ulx/modules/cl/cl_warn.lua:1
3. include - [C]:-1
4. unknown - addons/ulx/lua/ulx/cl_init.lua:12
5. include - [C]:-1
6. unknown - addons/ulx/lua/ulib/modules/ulx_init.lua:4
7. include - [C]:-1
8. unknown - addons/ulib/lua/ulib/cl_init.lua:23
9. include - [C]:-1
10. unknown - addons/ulib/lua/autorun/ulib_init.lua:5
-
Why are you using umsg? You could just use clientRPC. I'm confused lol
-
Why are you using umsg? You could just use clientRPC. I'm confused lol
I thought clientRPC was only for functions, I'm trying to send a string from the server to the client.
-
But aren't you trying to make derma?
-
Yeah, I send the reason to the client file, and then send the function back.
-
Can I see the code? I'm so confused lol.
-
Never mind, I just realised that I can use clientRPC, sorry for looking like a complete idiot :P