nathanielgraham / mojo-poker Goto Github PK
View Code? Open in Web Editor NEWPoker Client and Server built with the Mojolicious Framework
License: Other
Poker Client and Server built with the Mojolicious Framework
License: Other
Hello Sir,
After login web socket is closing.
script modification is done with valid username and password and bookmark provided for same.
$tx->send('["login", { "username": "test" , "password": "test" }]');
# $tx->send('["login_book", {"bookmark":"dc17c0317495691235faf2ba1063278f08e2a524"}]');
Script output
perl wsshell.pl
server: ["login_res",{"block":{},"level":2,"remote_address":"127.0.0.1","handle":"test","last_visit":1558971007,"username":"test","birthday":null,"bookmark":"8bc55bb6f39c7fc446dccac859e5e2749821ba80","login_id":24,"invested":{"1":2000},"success":1,"chips":{"1":2000},"user_id":2,"email":null,"ring_play":{}}]
WebSocket closed with code 1005.
WebSocket closed with code 1005.
Getting no clue about the issue can you help.
Installed fine, but on sudo systemctl start mojopoker.service
I get :
Job for mojopoker.service failed because the control process exited with error code.
See "systemctl status mojopoker.service" and "journalctl -xeu mojopoker.service" for details.
There's nothing interesting in details.
This works only with 16.04 ?
EDIT:
Actually there are some details, there seems to be a problem with route
, if I comment out those lines with it, then it starts, but when accesing a page on port 3000, I get a webpage saying "raptor not found"
Oct 24 01:50:30 instance-20221024-0111-poker systemd[1]: Starting Mojo Poker...
Oct 24 01:50:31 instance-20221024-0111-poker mojopoker.pl[1454]: Can't locate object method "route" via package "Mojolicious::Routes::Route" at /opt/mojopoker/lib/Ships.pm line 49.
Oct 24 01:50:31 instance-20221024-0111-poker systemd[1]: mojopoker.service: Control process exited, code=exited, status=255/EXCEPTION
Oct 24 01:50:31 instance-20221024-0111-poker systemd[1]: mojopoker.service: Failed with result 'exit-code'.
Oct 24 01:50:31 instance-20221024-0111-poker systemd[1]: Failed to start Mojo Poker.
Oct 24 01:50:31 instance-20221024-0111-poker systemd[1]: mojopoker.service: Consumed 1.256s CPU time.
EDIT 2:
Never mind, I found the solution to that.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.