10.09.2013, 15:54
(
Последний раз редактировалось Sinner; 22.06.2014 в 07:37.
)
Mirror & preview has been updated.
This website-filterscript will allow you to chat with people/see what people say in your server, and people in your server will be able to chat with you. SQLChat consists of a filterscript that sends and receives chat messages from the website & server, and a few PHP files (website) that do the same. SQLChat uses Asynchronous Javascript (AJAX) to reload the page so there is no lag. The server uses threaded queries so there should be no in-game lag either.
It is a very simple prove-of-concept and should not be used in a production environment due to it's insecurity. If you want to use this for your server, look at the code and implement the necessarily checks and validations.
Installation
- Type in the name you would like to use to chat with
- Type in a message you want to send to the server, and click "Send"
- People on the server will be able to see your message
- Type something on the server, people on the website will be able to see what you said
Download & Preview
You may download the website + server from this mirror:
dl.sdec.eu/?file=sqlchat.rar
You may preview the chatbox here:
dev.sdec.eu/sqlchat
Credits
Sinner - Website + filterscript
You are free to modify anything but please do not remove the credits from the files.
SQLChat
Live server feed & chatbox
IntroductionLive server feed & chatbox
This website-filterscript will allow you to chat with people/see what people say in your server, and people in your server will be able to chat with you. SQLChat consists of a filterscript that sends and receives chat messages from the website & server, and a few PHP files (website) that do the same. SQLChat uses Asynchronous Javascript (AJAX) to reload the page so there is no lag. The server uses threaded queries so there should be no in-game lag either.
It is a very simple prove-of-concept and should not be used in a production environment due to it's insecurity. If you want to use this for your server, look at the code and implement the necessarily checks and validations.
Installation
- Download SQLChat_Server.rar
- Unzip SQLChat_Server.rar to your server directory
- Download SQLChat_Website.rar
- Unzip SQLChat_Website.rar to your website directory
- In your server directory, go to sqlchat.pwn and change the MySQL details (SQL_HOST, SQL_USER, etc...)
- In your website directory, go to database.php and change your MySQL details (SQL_HOST, SQL_USER, etc...)
- In your server directory, add "sqlchat" to the "filterscripts" line
- Start the server, the database will create automatically
- Type in the name you would like to use to chat with
- Type in a message you want to send to the server, and click "Send"
- People on the server will be able to see your message
- Type something on the server, people on the website will be able to see what you said
Download & Preview
You may download the website + server from this mirror:
dl.sdec.eu/?file=sqlchat.rar
You may preview the chatbox here:
dev.sdec.eu/sqlchat
Credits
Sinner - Website + filterscript
You are free to modify anything but please do not remove the credits from the files.