how to check the multiplayer server?

Post your help queries and engine programming questions here

how to check the multiplayer server?

Postby stokaboka » Thu May 29, 2014 8:10 am

Hi!

how to check the multiplayer server?
if the server is down or not responding - the game should work in single-user mode

single user mode - in my case it is a demo and training interface with a simple set of data, but on the base of the same code

when trying to connect with a dead server ( ige.network.start(url, resultHandler) error occurs and the engine stops:

Code: Select all
IGE *error* [NetIo.Client] : Error encountered, stopping engine to prevent console spamming... (10:43:53:717)
  at http://localhost/ige/engine/core/IgeClass.js:91
IGE *log* [IgeEngine:ige] : Stopping engine... (10:43:53:720)
  at http://localhost/ige/engine/core/IgeClass.js:101
Uncaught IGE *error* [NetIo.Client] : An error occurred with the net.io socket! (10:43:53:726 | error, javascript)
    at log (http://localhost/ige/engine/core/IgeClass.js:96:108)
    at NetIo.Client.NetIo.EventingClass.extend._onError (http://localhost/ige/engine/components/network/net.io/net.io-client/index.js:167:8)
    at _socket.onerror (http://localhost/ige/engine/components/network/net.io/net.io-client/index.js:93:54)
Stack: (10:43:54:205)
  at http://localhost/ige/engine/core/IgeClass.js:83
IGE *error* [IgeNetIoComponent] : Error encountered, stopping engine to prevent console spamming... (10:43:54:206)
  at http://localhost/ige/engine/core/IgeClass.js:91
Uncaught IGE *error* [IgeNetIoComponent] : Error with connection: Cannot establish connection, is server running? (10:43:54:207 | error, javascript)
    at log (http://localhost/ige/engine/core/IgeClass.js:96:108)
    at IgeNetIoClient._onError (http://localhost/ige/engine/components/network/net.io/IgeNetIoClient.js:316:8)
    at (anonymous function) (http://localhost/ige/engine/components/network/net.io/IgeNetIoClient.js:97:20)
    at IgeClass.extend.emit (http://localhost/ige/engine/core/IgeEventingClass.js:234:29)
    at NetIo.Client.NetIo.EventingClass.extend._onClose (http://localhost/ige/engine/components/network/net.io/net.io-client/index.js:159:9)
    at _socket.onclose (http://localhost/ige/engine/components/network/net.io/net.io-client/index.js:92:54)


How to avoid stopping the engine?
stokaboka
 
Posts: 14
Joined: Fri Nov 08, 2013 6:13 am

Return to Help & Questions

Who is online

Users browsing this forum: Google [Bot] and 1 guest
cron