Author Topic: Multiserver Chat System - [Using MySQL]  (Read 2809 times)

0 Members and 1 Guest are viewing this topic.

Offline Bite That Apple

  • Hero Member
  • *****
  • Posts: 858
  • Karma: 416
  • Apple Innovations 2010®
    • Fun 4 Everyone Gaming
Multiserver Chat System - [Using MySQL]
« on: December 03, 2013, 06:28:43 PM »
As some of you know, I've been creating for the past few years a addon that will allow people to chat from SERVER [A] to SERVER using a mysql database. Now after I did make the script in which allows people to do that, I thought I could take it farther, and make it even better. So no longer is this JUST a server to server addon, now it's a Web based to server to server to web base. Now I'm not the best coder in php, as I never really cared for the language till just recently, so I did code 98% of all of this with trail and error, (the other two percent was for mysql string errors).

I'm creating this thread for the last remaining days of this year. As it was and still is my goal to fully release this by the end of this year. So I'll go through with what this addon currently has in it as of December 3rd, 2012

Addon Information:
  • Ability to chat between two or more garry's mod servers.
  • Ability to chat between all connected garry's mod servers and website
  • Ability to ban people from the chat (in game or on webchat using :IsSuperAdmin function)
  • Ability to unban people from the chat (in game or on webchat using :IsSuperAdmin function)
  • Ability to god people from server/web to server (still using IsSuperAdmin function)
  • Ability to ungod people from server/web to server (still using IsSuperAdmin function)
  • Ability to kick people from server/web to server (still using IsSuperAdmin function)
  • Ability to slap people from server/web to server (still using IsSuperAdmin function)
  • Extreme logging using mysql

Functions waiting to be added
  • Ability to shut off for just a server (using IsSuperAdmin function)
  • Ability for a client to shutoff chat for him/her self


Current Possible Issues:
There is a possibility that the gmod addon version of it may cause "lag", depending where the MySQL database is hosted, and what the latency is from the server to mysql database. The upload speed of said server and mysql database, ect, ect. So if it does, you will be able to edit how many seconds you want the chat to be checked, as the current time is at 3 seconds, but putting it at 1 seconds (attempting to make it realtime) is not a suggested idea, and WILL MOST LIKELY lag your garry's mod server (unless the gmod server is hosted the same place of where the MySQL database will be)


Official Release Date:
December 31st, 2013


Current Known Issues:
As far as I know, there are no issues with this script, other than maybe lag that possibly could occur.


Demo version is available here:
I would strongly suggest reading the F.A.Q. that is in the navbar page of the webchat. You most likely will get an error if you do not follow the F.A.Q. directions.
http://thetriworlds.com/dev/chat



This and my other addon I've been working on will most likely be the last addon I ever make in lua. So I really hope you guys enjoyed my stuff I've made so far. I've spent a long time learning lua, php, mysql, and some html to bring you all the best of the best addons from mysql. It's been a lot of fun coding in this very interesting language. Thanks for all your support and karam you've given me over the years now :)

If you have any questions about this addon, then please ask. Sometime in them middle of this month I will give some of my beta testers (and maybe some of you guys if you ask) an early version of this script, so I can get a good idea of what I should do next.

« Last Edit: December 03, 2013, 06:30:44 PM by chaos13125 »
Quote from: John F. Kennedy 1963
A man may die, nations may rise and fall, but an idea lives on.

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: Multiserver Chat System - [Using MySQL]
« Reply #1 on: December 03, 2013, 07:22:36 PM »
Looking forward to see how the community will use this one. :)
Experiencing God's grace one day at a time.

Offline Bite That Apple

  • Hero Member
  • *****
  • Posts: 858
  • Karma: 416
  • Apple Innovations 2010®
    • Fun 4 Everyone Gaming
Re: Multiserver Chat System - [Using MySQL]
« Reply #2 on: December 17, 2013, 11:38:02 PM »
The demo is broken because of my host. So I will be unable to do anything with the web part of the addon till further notice.
Quote from: John F. Kennedy 1963
A man may die, nations may rise and fall, but an idea lives on.

Offline Bite That Apple

  • Hero Member
  • *****
  • Posts: 858
  • Karma: 416
  • Apple Innovations 2010®
    • Fun 4 Everyone Gaming
Re: Multiserver Chat System - [Using MySQL]
« Reply #3 on: December 20, 2013, 04:29:55 PM »
This is now halted, and is not being worked on till further notice.
Quote from: John F. Kennedy 1963
A man may die, nations may rise and fall, but an idea lives on.

Offline Bite That Apple

  • Hero Member
  • *****
  • Posts: 858
  • Karma: 416
  • Apple Innovations 2010®
    • Fun 4 Everyone Gaming
Re: Multiserver Chat System - [Using MySQL]
« Reply #4 on: December 21, 2013, 03:10:58 PM »
Okay, we're back into development with this, though this may get delayed a bit. I can't seem to get php SESSION to work, or if that does work then redirect won't work..

So if that never gets fixed, this will never be released.
Quote from: John F. Kennedy 1963
A man may die, nations may rise and fall, but an idea lives on.