Network errors

From TargetWiki

Some Lua APIs can return a network error as an argument to an event handler. Network errors will be from this list:

  • net.connectfailed. The network was unable to connect.
  • net.serverfull. Couldn't connect because the server is full.
  • net.invalidversion. The server is running a different version of Targetware than you are. You will likely only see this message when connecting to the metaserver when a new version of Targetware has been released.
  • net.invalidsecurity. The server asked for a security mode that Targetware doesn't understand. You will probably never see this message.
  • net.invaliduser. The server has rejected your login. You might have the wrong user name and password set, or the server may be private, or you may have been banned from the server.
  • net.invalidservercert. Something is wrong with the server's identity. You will probably never see this message.
  • net.nolocalcert. Something is wrong with the client's identity. You will probably never see this message.
  • net.norootcert. Something is wrong with the client's identity. You will probably never see this message.
  • net.failedcodecheck. Something is wrong with your version of Targetware. You will probably never see this message.
  • net.networkerror. The connection to the server has terminated unexpectedly.
  • net.negotiationerror. Something has gone wrong while logging in to the server. You will probably never see this message.
  • net.servershutdown. The server has shutdown.
  • net.kicked. You were kicked off the server.
  • net.timeerror. Time synchronization with the server has failed.
  • net.pingtimeout. The server has stopped responding.
  • net.pingdropped. The server thinks you've stopped responding.
Views