Commits

PolCPP committed a9a603e

Messing with the 205 packet.

  • Participants
  • Parent commits e4e9532

Comments (0)

Files changed (2)

File mock/tethealla.coffee

 
   socket.on 'data', (data) ->
     data = data.toString()
-    console.log "Recieved: " + data
+    if data == "205"
+	    console.log "Recieved: " + data
+	    socket.write "225StufffzzzzzHelloWorld"
     if data.length > 35
       command = data.substring 0, 3
       uid = data.substring 3, 35

File server.coffee

       message = data.substring 35, data.length
       if gServer.clients[uid] != "undefined"
         gServer.clients[uid].write message
-    else
-      console.log data.toString()
 
   _sendToTethealla: (socket,action) ->    
     if gServer.client