Jump to content




rednet:53: Expected number


  • You cannot reply to this topic
1 reply to this topic

#1 Nic

  • Members
  • 10 posts

Posted 30 May 2014 - 04:26 AM

So im righting a login program where i have a server computer but im geting the error "ednet:53: Expected number" i know its not the prettiest but it a work in progress

her is my code:

server: http://pastebin.com/HngPER89

client: http://pastebin.com/biKS9PSK

#2 Bomb Bloke

    Hobbyist Coder

  • Moderators
  • 7,099 posts
  • LocationTasmania (AU)

Posted 30 May 2014 - 04:41 AM

At line four of the client we have:

local server_id = "14" -- the server id --

That saves the text "14" as a string ("a collection of characters") in the variable "server_id".

You want:

local server_id = 14 -- the server id --






1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users