Hey, I've been working with mehtaatur on the chess project and he's finally got me to sign up.
First of, a big shout out to you guys. Any time I've been stuck and mention it to him, a reply to his posts come practically instantly.
Just to clear out a few doubts I've got. What you've been speaking about using the MRL WebUI to interact with the board using web sockets is using the xmpp service you've got?
Also, I've downloaded your source code and have made some changes to personalise MRL for our project. But since I'm really new to this I have absolutely no idea how to convert that source code back into an executable jar like the one you provide to download on your site. Any pointers?
[Edit 07/09/2014]
Hey, saw the new WebGUI service page and am completely lost.
I have been trying to fgure it out from the javadocs page but no progress yet.
I have the following questions in mind:
-How can I get the MRLwebsockets (running on Raspberrypi) to connect to exchange data with our website (chess.riidl.org) which is currently on another host
-Once that connection is established, what exactly needs to be done using the Web GUI (not the REST Api since that doesnt work on websockets) to send and receive data.
-since the offline commuincation is already estabished using MRL and the online gameplay using chessboard.js and a database to communicate , we are simply stuck on trying to implement the communication using websockets.
Please help us out as soon as can
Thanks
Hello and welcome
Hello and welcome khosrav,
the WebGUI service handles websockets & regular http requests like a web server.
XMPP is a different service and a different protocol - it requires setting up an account (for example a gmail account has its own xmpp account). XMPP is often referred to as "chat, instant messaging, or hangouts" - One of the bonuses of XMPP is that it is "federated" and can do a "reverse proxy" - which is to say - it can receive information from behind a NAT without port forwarding. Something you guys might be interested in.
My recommendation is not to change source to get a "stripped down" version of MRL - I would recommend that you simply "not install" the services you are not interested in.
To make a jar - change the build target of the build.xml to "dist" (for distribution) and build with ant.
Great. So I'll read up on how
Great.
So I'll read up on how to work with web sockets and work on implementing it through your webGUI. So far however not been able to figure out the service actually
Yep dont intend to strip down mrl anymore. I'm just trying to modify it to run our chessboard python code on startup. But once I edited the code to do that I had no idea how to implement it.
I can get you started quickly
I can get you started quickly - I've made a ChessGameManager service - and have begun putting in the new ChessEngine - cookoo112 ..
There is some protocol of chess moves - what is called ? ICU ?
The new chess engine has a processString function which might accept this protocol.
I'm not sure I was still trying to figure out the new chess engine.
Hey Greg... Thanks for
Hey Greg...
Thanks for putting in so much efforts with the game manager service and chess engine.
Guess what, I received the RaspberryPi B+ yesterday, but it is damaged, the memory card dosent stay in place, will be sending it back today for replacement.
So the testing of the game manager will take maybe 1-2 days. OR Would it be possible to test the webgui / game manager on the desktop MRL? so that atleast I could start writing scripts in python.
I currently did the following
I currently did the following :
(mrl install) / resource
I will attach all the files .. and then maybe you can see CAUSE ----> EFFECT
Thats awesome. Thanks a
Thats awesome. Thanks a tonne. Will get started on it right away