Chat Program for Browser MMO

Place for questions and answers for all newcomers and new coders. This is a free for all forum, no question is too stupid and to noob.
Post Reply
casino
Posts: 22
Joined: Thu Feb 23, 2012 9:44 pm

Chat Program for Browser MMO

Post by casino »

Hey guys,


My first real post (besides Introduction!) :)


The game that I'm creating will be heavily reliant on a chat program. Basically the chat program would allow the players to talk to other players in the game via different channels (local, region, world, guild) but another big thing I wanted it to be used for is many of the commands in game ie. mining a mineral node would be done like this:

"Oh look a mineral node is 2 grid spaces away"

##move 2 east <-- movement command not sure if that could even work

Once you're one the space you'll have basic information displayed about the grid space you're on such as abundance of minerals, danger level whatever (not fully developed yet)

##mine <-- this will trigger a script to determine if you fail or succeed and what you get from the node.


My main question is this. Is there anything already out there I can use and modify or do I have to create a new chat program?
User avatar
Jackolantern
Posts: 10891
Joined: Wed Jul 01, 2009 11:00 pm

Re: Chat Program for Browser MMO

Post by Jackolantern »

There are many chat solutions out there, but you would probably have to make the adjustments yourself to make it take the commands and affect the game world.
The indelible lord of tl;dr
casino
Posts: 22
Joined: Thu Feb 23, 2012 9:44 pm

Re: Chat Program for Browser MMO

Post by casino »

I figured I'd have to modify it to make it fit my needs, which I have no problem doing. I just don't want to work from scratch if I don't have to. What is a good program I can use?
User avatar
Jackolantern
Posts: 10891
Joined: Wed Jul 01, 2009 11:00 pm

Re: Chat Program for Browser MMO

Post by Jackolantern »

There are tons of options for open-source AJAX-based web chat. Here is one, and if it doesn't work for you, just Google "open-source real-time web chat" for hundreds more options!
The indelible lord of tl;dr
casino
Posts: 22
Joined: Thu Feb 23, 2012 9:44 pm

Re: Chat Program for Browser MMO

Post by casino »

Thanks! :) I'll see what I can fits!
alexrules01
Posts: 175
Joined: Sun Oct 11, 2009 9:33 am

Re: Chat Program for Browser MMO

Post by alexrules01 »

Jackolantern wrote:There are tons of options for open-source AJAX-based web chat. Here is one, and if it doesn't work for you, just Google "open-source real-time web chat" for hundreds more options!
Have you ever used this Jack, or did someone download this Ajax chat? I like the look of it, and downloaded it. I read the readme file and everything worked fine, until I login, where it says "The page cannot be displayed." Just wondering if anyone knew the problem and/or downloaded it and got it working?
User avatar
Jackolantern
Posts: 10891
Joined: Wed Jul 01, 2009 11:00 pm

Re: Chat Program for Browser MMO

Post by Jackolantern »

I believe it was the chat program used on MMORPGMaker.com. Unfortunately though, if there is something wrong with it, I am not sure what the problem would be since I have not implemented it myself before.
The indelible lord of tl;dr
alexrules01
Posts: 175
Joined: Sun Oct 11, 2009 9:33 am

Re: Chat Program for Browser MMO

Post by alexrules01 »

Yea thats fine, just thought I'd ask :)
I posted a message on their forums, and someone said something about permissions? I'm not sure what they are though lol
User avatar
Jackolantern
Posts: 10891
Joined: Wed Jul 01, 2009 11:00 pm

Re: Chat Program for Browser MMO

Post by Jackolantern »

There are several different things that "permissions" can mean: it can be on the actual system you are working on (but probably not if you are working on Windows), "permissions" could be stretched to mean the access rules to MySQL, in Apache, etc., but more than likely they mean a permissions system in the software itself. Unfortunately, again since I have never used that system before, I have no idea :( Keep at it, though, if you have gotten anything done with it. If you really haven't gotten anywhere with it, it may be time to try out a different system. There are so many out there :)
The indelible lord of tl;dr
alexrules01
Posts: 175
Joined: Sun Oct 11, 2009 9:33 am

Re: Chat Program for Browser MMO

Post by alexrules01 »

I think I found the problem. I had a HTACESS file saved in the directory (only using localhost) from when I tried uploading the site to a server. I moved it out of the folder and it worked! I didn't think the file would interfere with the chat, as the chat files and folders where in a sub-directory after the HTACESS file.
But its working now which is all that matters, now time to try and edit it to suit my needs :P
Post Reply

Return to “Beginner Help and Support”