p2p.wrox.com Forums

p2p.wrox.com Forums (http://p2p.wrox.com/index.php)
-   BOOK: Professional XMPP Programming with JavaScript and jQuery (http://p2p.wrox.com/forumdisplay.php?f=542)
-   -   toetem not work when start game in Ch11 (http://p2p.wrox.com/showthread.php?t=88132)

yinzhihong August 1st, 2012 05:00 AM

toetem not work when start game in Ch11
 
It is great book for XMPP.And I need your help with some issue.
The toetem client shows correctly when login and click wait button to add waiting list. When click start game, the user is moved from the waiting list.
Till now it is ok,But the game page does not show.
In the referee,it gives the info "Created game room 535320."

And I am sure the code is latest in github.Any sugguestion?

futjesin August 1st, 2012 08:43 AM

xmpp
 
hello guys
am still a beginner in xmpp programming using javascript and jquery
but i have some problems setting up bosh connection manager on my pc .please can some one out there help me out.

yinzhihong August 3rd, 2012 04:35 AM

you can download the source code from the github.
(https://github.com/metajack/profxmpp)

refer the appendix B to config your BOSH Server or just refer appendix B 4.2 to config your web proxy server.(make sure the source code is in the directory of your web server.)

metajack August 3rd, 2012 11:25 AM

Quote:

Originally Posted by yinzhihong (Post 285869)
The toetem client shows correctly when login and click wait button to add waiting list. When click start game, the user is moved from the waiting list.
Till now it is ok,But the game page does not show.
In the referee,it gives the info "Created game room 535320."

And I am sure the code is latest in github.Any sugguestion?

It sounds like almost every thing is working fine, but something subtle is going wrong. You will need to provide some log information in order for me to help track this down. You can use the techniques from Chapter 4 (rawInput, rawOutput) to get the XMPP traffic to show up in your JavaScript console, and that might give you some idea of what's going on behind the scenes.


All times are GMT -4. The time now is 12:14 AM.

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.