Being able to post when viewing a room's live chat

Suggest new ideas for SMO
User avatar
foxfire667
Moderator
Posts: 557
Joined: Sat Sep 29, 2012 5:09 pm
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Being able to post when viewing a room's live chat

Postby foxfire667 » Fri Oct 19, 2012 12:00 pm

SMO currently has a great feature where you can essentially see everything that is going on in a current room. It is really nice to see who is in a given room, what songs they have picked, and even how far they are in a given song if they are playing. There is only one thing I wish I could do when viewing a room, and that would be the ability to talk to users in the room through the live chat feed.

I feel that being able to do this would be beneficial to pretty much anyone who uses the room viewing portion of the site. As a player, it would be nice to send a few messages to a friend who is playing to let them know they are coming to play. It would also be a good way for players to ask about packs they should have before joining, because then they could download them quickly and not even have to restart StepMania. Also, if a more experienced SMO player notices someone in a room having issues figuring something out, they would be able to quickly give them a solution to their issues. Yes this can already be done through SM, but catching such an instance that way is a bit more difficult, and if you see it through the website, by the time you get SM started and SMO ready to go, you will most likely be far too late to help them out. Finally, having such a chat option would allow for quick moderation of certain situations when necessary. So if you see through the site that a user is doing something other users dislike, you could quickly tell them the rules or about courtesy of other players, or remove them from the room if they are intentionally trying to aggravate other players. Like the previous reason, this is possible through SM, but seeing this behavior through the website would mean you might not get there in time to do anything about it (especially if they are new, and might not know any better about certain things you want to inform them about).

Anyway, that is why I feel you should be able to post in the live chat feed. I'm not sure if this would be very difficult to pull off, but since SMO has no problem retrieving the posts themselves, I figured I'd ask about being able to send posts to the room through the SMO website.

User avatar
Angelo
Posts: 72
Joined: Sat Oct 06, 2012 4:31 am
Location: The Netherlands
Contact:

Re: Being able to post when viewing a room's live chat

Postby Angelo » Fri Oct 19, 2012 1:11 pm

This is actually relatively simple to integrate. I'll work on this, together with an enable/disable setting.
- Angelo
developer

User avatar
Izzy
Moderator
Posts: 531
Joined: Thu Sep 27, 2012 3:03 pm
Location: Leawood, Kansas
Contact:

Re: Being able to post when viewing a room's live chat

Postby Izzy » Fri Oct 19, 2012 1:14 pm

This might be relevant, but I'd the lobby to appear as a room in the list.

User avatar
foxfire667
Moderator
Posts: 557
Joined: Sat Sep 29, 2012 5:09 pm
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: Being able to post when viewing a room's live chat

Postby foxfire667 » Fri Oct 19, 2012 1:57 pm


User avatar
Angelo
Posts: 72
Joined: Sat Oct 06, 2012 4:31 am
Location: The Netherlands
Contact:

Re: Being able to post when viewing a room's live chat

Postby Angelo » Fri Oct 19, 2012 2:41 pm

If anyone's here, test it out if you want:

http://.... aaand it's gone.

At least FoxFire and Izzy tested it out. :)
- Angelo
developer

User avatar
foxfire667
Moderator
Posts: 557
Joined: Sat Sep 29, 2012 5:09 pm
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: Being able to post when viewing a room's live chat

Postby foxfire667 » Fri Oct 19, 2012 3:38 pm


User avatar
Angelo
Posts: 72
Joined: Sat Oct 06, 2012 4:31 am
Location: The Netherlands
Contact:

Re: Being able to post when viewing a room's live chat

Postby Angelo » Fri Oct 19, 2012 3:43 pm

Eh, live chat not updating on the site may be because of my internet speeds and what I was currently doing at that moment, because I was hosting that on my home computer. :P
- Angelo
developer

houkouonchi
Site Admin
Posts: 156
Joined: Sun Sep 16, 2012 1:12 pm
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: Being able to post when viewing a room's live chat

Postby houkouonchi » Fri Oct 19, 2012 6:39 pm

I tried implementing this feature but unfortunately had a couple of problems. I am not running the newest git version due to crash problems I was hving with the newest one and I guess some of the changes depended on the newer changes as my compiled bin with just the web commit did not list rooms at all on the site (I did the web-side code changes as well).

This could be related to lacking some of the code needed for this patch but after a while the mono process started using 600% cpu usage as well.

User avatar
Angelo
Posts: 72
Joined: Sat Oct 06, 2012 4:31 am
Location: The Netherlands
Contact:

Re: Being able to post when viewing a room's live chat

Postby Angelo » Fri Oct 19, 2012 8:16 pm

600% CPU usage!?

That doesn't sound right...
- Angelo
developer

houkouonchi
Site Admin
Posts: 156
Joined: Sun Sep 16, 2012 1:12 pm
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: Being able to post when viewing a room's live chat

Postby houkouonchi » Sat Oct 20, 2012 1:56 am

Yeah.. not sure if it was a mono bug or what but the CPU usage was almost maxed on all cores/threads on the server including other processes running on it.

The server currently averages 0.4% cpu usage so yeah not normal =P

User avatar
Izzy
Moderator
Posts: 531
Joined: Thu Sep 27, 2012 3:03 pm
Location: Leawood, Kansas
Contact:

Re: Being able to post when viewing a room's live chat

Postby Izzy » Sat Oct 20, 2012 6:35 am

Was this implemented on the main page? It seems like there is a chat box, but I can't do anything with it.

Also the in game user colors got converted back to grey.

User avatar
Angelo
Posts: 72
Joined: Sat Oct 06, 2012 4:31 am
Location: The Netherlands
Contact:

Re: Being able to post when viewing a room's live chat

Postby Angelo » Sat Oct 20, 2012 9:54 am

- Angelo
developer

houkouonchi
Site Admin
Posts: 156
Joined: Sun Sep 16, 2012 1:12 pm
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: Being able to post when viewing a room's live chat

Postby houkouonchi » Sat Oct 20, 2012 12:53 pm


User avatar
Angelo
Posts: 72
Joined: Sat Oct 06, 2012 4:31 am
Location: The Netherlands
Contact:

Re: Being able to post when viewing a room's live chat

Postby Angelo » Sun Oct 21, 2012 4:35 am

Eh, rooms not showing up is probably you forgetting to update the Config.ini with RTS_Trusted.

RTS_Trusted = 127.0.0.1
- Angelo
developer

User avatar
foxfire667
Moderator
Posts: 557
Joined: Sat Sep 29, 2012 5:09 pm
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: Being able to post when viewing a room's live chat

Postby foxfire667 » Mon Oct 22, 2012 6:45 pm

Just posting to see how the issue with getting this to work is going. When I am logged in I am able to type a message, but if I attempt to send it I get an error message (well, it pretty much only says error in the message box).

User avatar
Angelo
Posts: 72
Joined: Sat Oct 06, 2012 4:31 am
Location: The Netherlands
Contact:

Re: Being able to post when viewing a room's live chat

Postby Angelo » Tue Oct 23, 2012 4:46 am

This is because the server is not running on the latest version of OpenSMO, and thus not handling the chat message, while the website does have the new webchat code.

Go poke Hou. :)
- Angelo
developer

User avatar
Cube
Site Admin
Posts: 354
Joined: Mon Sep 24, 2012 10:18 am
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: Being able to post when viewing a room's live chat

Postby Cube » Tue Oct 23, 2012 8:25 am

Reason we are not running the latest versions is because it was very crashy.

User avatar
foxfire667
Moderator
Posts: 557
Joined: Sat Sep 29, 2012 5:09 pm
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: Being able to post when viewing a room's live chat

Postby foxfire667 » Tue Nov 13, 2012 3:02 pm

Looks like the chat box has been removed from the rooms. Hopefully this project isn't completely scrapped, and can be implemented in the future when the server is more stable.

User avatar
Cube
Site Admin
Posts: 354
Joined: Mon Sep 24, 2012 10:18 am
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: Being able to post when viewing a room's live chat

Postby Cube » Tue Nov 13, 2012 4:49 pm


houkouonchi
Site Admin
Posts: 156
Joined: Sun Sep 16, 2012 1:12 pm
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: Being able to post when viewing a room's live chat

Postby houkouonchi » Wed Nov 14, 2012 6:57 pm

Yeah currently we are most concerned with stability which after removing some of the room chat code and being MySQL appears to have increased significantly. Definitely haven't given up on getting this feature added!


[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Return to “SMO Suggestions”

Who is online

Users browsing this forum: No registered users and 4 guests