Jump to content




Running a program sent from another computer?


  • You cannot reply to this topic
23 replies to this topic

#21 whatsfast

  • New Members
  • 35 posts

Posted 26 November 2012 - 03:02 PM

It turns out when I do print(message) it says nil. The client is ok because the ID goes through fine. Heres the server code for sending:
Spoiler


#22 whatsfast

  • New Members
  • 35 posts

Posted 26 November 2012 - 05:10 PM

Can anyone help or is this a unfixable problem?

#23 Lyqyd

    Lua Liquidator

  • Moderators
  • 8,465 posts

Posted 26 November 2012 - 05:13 PM

No, you still have the same problem I told you about several posts ago. You have to declare your variables before you use them. How the hell is it supposed to know what the value of loginclient is before you've told it what the value is? Of course it sends nil.

#24 whatsfast

  • New Members
  • 35 posts

Posted 27 November 2012 - 10:03 AM

View PostLyqyd, on 26 November 2012 - 05:13 PM, said:

No, you still have the same problem I told you about several posts ago. You have to declare your variables before you use them. How the hell is it supposed to know what the value of loginclient is before you've told it what the value is? Of course it sends nil.
Wow. I can't believe I didn't notice that! Thank you so much. And I apologize for being so stupid. The biggest error can come from the smallest mistakes. So far it works.





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users