Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#5394 clientFramework.close(); generates error with HTML5 client

open
nobody
Client (141)
5
2012-01-19
2012-01-19
Zlatan Momic
No

After sucessful loggin, calling marauroa.clientFramework.close(); inside HTML5 client generates error at client side.

this._events[name][i] is undefined
socket.io.js (line 1113)
this._events[name][i].apply(this, args === undefined ? [] : args);

I checked out marauroa, branch perception_json and followed these tutorials to make chat client/server:
http://stendhalgame.org/wiki/Marauroa_Chat_Tutorial/HTML5_Client
http://stendhalgame.org/wiki/Developing_TicToe_HTML5/Client-Server_communication

Sucesfull login, chat and join actions
https://picasaweb.google.com/lh/photo/l6D39A0Jss8Am4cRaHzcf5VNZ--IdIA5eVl4qVj3cOc?feat=directlink

Error on closing connection
https://picasaweb.google.com/lh/photo/2i5oH8PYAbdYtILXMNDg8pVNZ--IdIA5eVl4qVj3cOc?feat=directlink

Discussion


Anonymous


Cancel   Add attachments