Author Topic: umsgRcv Not Working (I kinda assume)  (Read 2191 times)

0 Members and 1 Guest are viewing this topic.

Offline OpticPotatOS

  • Jr. Member
  • **
  • Posts: 53
  • Karma: 0
  • GLaDOS
    • Gaming for Everyone
umsgRcv Not Working (I kinda assume)
« 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:
Code: [Select]
[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
My website isn't my website, rather, it's the gaming network my sever is connected to.

ttt.gfe.nu

Unforeseen Consequences

Offline iViscosity

  • Respected Community Member
  • Hero Member
  • *****
  • Posts: 803
  • Karma: 58
Re: umsgRcv Not Working (I kinda assume)
« Reply #1 on: June 20, 2016, 09:57:26 AM »
Why are you using umsg? You could just use clientRPC. I'm confused lol
I'm iViscosity. I like gaming and programming. Need some help? Shoot me PM.

Offline OpticPotatOS

  • Jr. Member
  • **
  • Posts: 53
  • Karma: 0
  • GLaDOS
    • Gaming for Everyone
Re: umsgRcv Not Working (I kinda assume)
« Reply #2 on: June 20, 2016, 10:12:12 AM »
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.
My website isn't my website, rather, it's the gaming network my sever is connected to.

ttt.gfe.nu

Unforeseen Consequences

Offline iViscosity

  • Respected Community Member
  • Hero Member
  • *****
  • Posts: 803
  • Karma: 58
Re: umsgRcv Not Working (I kinda assume)
« Reply #3 on: June 20, 2016, 10:12:58 AM »
But aren't you trying to make derma?
I'm iViscosity. I like gaming and programming. Need some help? Shoot me PM.

Offline OpticPotatOS

  • Jr. Member
  • **
  • Posts: 53
  • Karma: 0
  • GLaDOS
    • Gaming for Everyone
Re: umsgRcv Not Working (I kinda assume)
« Reply #4 on: June 20, 2016, 12:05:00 PM »
Yeah, I send the reason to the client file, and then send the function back.
My website isn't my website, rather, it's the gaming network my sever is connected to.

ttt.gfe.nu

Unforeseen Consequences

Offline iViscosity

  • Respected Community Member
  • Hero Member
  • *****
  • Posts: 803
  • Karma: 58
Re: umsgRcv Not Working (I kinda assume)
« Reply #5 on: June 20, 2016, 12:07:04 PM »
Can I see the code? I'm so confused lol.
I'm iViscosity. I like gaming and programming. Need some help? Shoot me PM.

Offline OpticPotatOS

  • Jr. Member
  • **
  • Posts: 53
  • Karma: 0
  • GLaDOS
    • Gaming for Everyone
Re: umsgRcv Not Working (I kinda assume)
« Reply #6 on: June 20, 2016, 12:30:20 PM »
Never mind, I just realised that I can use clientRPC, sorry for looking like a complete idiot :P
My website isn't my website, rather, it's the gaming network my sever is connected to.

ttt.gfe.nu

Unforeseen Consequences