Raised This Month: $ Target: $400
 0% 

[DEV] WebSocket Server - Direct connection between webbrowser and gameserver


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Thrawn2
Veteran Member
Join Date: Apr 2009
Old 10-03-2012 , 09:11   Re: [DEV] WebSocket Server - Direct connection between webbrowser and gameserver
Reply With Quote #11

Thanks for the 1.1 update, makes things prettier in the Wamp framework.

A rather critical bug:
Sometimes i receive truncated/erroneous messages.

When sending the same message repeatedly
[x,"sm:chat",["WAMP","hello"]]
(with x increasing by one every call)
this is what happens on the gameserver:

Code:
WAMP: hello
WAMP: hello
L 10/03/2012 - 14:54:25: [SMJSON] Error in line 1, col 2: invalid token near 'h'
L 10/03/2012 - 14:54:25: [tWAMP.smx] Received data is no JSON.
L 10/03/2012 - 14:54:25: [tWAMP.smx] Response was:
[h?¦[h?¦[h?¦[h?¦[h?¦[h?¦[h?¦[h
WAMP: hello
WAMP: hello
WAMP: hello
L 10/03/2012 - 14:54:57: [SMJSON] Error in line 1, col 6: unable to decode byte 0xb7 near '"sg
L 10/03/2012 - 14:54:57: [tWAMP.smx] Received data is no JSON.
L 10/03/2012 - 14:54:57: [tWAMP.smx] Response was:
[7,"sgÀýsgÀýsgÀýsgÀýsgÀýsgÀýsg
WAMP: hello
WAMP: hello
WAMP: hello
[..]
WAMP: hello
WAMP: hello
WAMP: hello
L 10/03/2012 - 14:55:13: [SMJSON] Error in line 1, col 22: unable to decode byte 0xf0 near '"'
L 10/03/2012 - 14:55:13: [tWAMP.smx] Received data is no JSON.
L 10/03/2012 - 14:55:13: [tWAMP.smx] Response was:
[7,"sm:chat",["WAMP","*äÞ"*äÞ"
WAMP: hello
__________________
einmal mit profis arbeiten. einmal.
Thrawn2 is offline
 


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 13:44.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode