Fix client side timestamp problem

Added Support for standalone webchat by reading a json file
Fix for jsonfile-interval in code
Added working php script with spam prevention, for webchat
This commit is contained in:
Jason Booth 2011-03-10 00:11:43 -06:00
parent 912dd0694b
commit 15e7417807
5 changed files with 102 additions and 13 deletions

View file

@ -1,4 +1,4 @@
function sendChat(message) {
function sendChat(me, message) {
var ip;
$.ajax({
type: "GET",
@ -13,6 +13,8 @@ function sendChat(message) {
dataType: 'json',
success: function(response) {
//handle response
if(response)
me.onPlayerChat('', response);
}
});
}