sniko Posted May 4, 2015 Posted May 4, 2015 (edited) WIN! - 150$ Pusher credit: http://makewebgames.io/showthre...l=1#post311226 The FREE real-time chat module for your game is finally here! See the original thread. Read the docs: http://harrydenley.com/integrate-pusher-with-mccodes/ Official wiki: http://magictallguy.tk/wiki/pmwiki.p...n.MWGSnikoChat Code Drop In See post attachments Donate to the project Special thanks to the sponsors and @Phantomist for the graphics. See him for custom emote packs! Code released under the DBAD license. Add-ons Staff panel by Magictallguy: http://makewebgames.io/showthre...l=1#post311092 Alternative chat solutions BlueImp integration by Magictallguy & Zettieee - http://makewebgames.io/showthre...l=1#post311180 chat.zip Edited January 7, 2016 by sniko 2 Quote
Zettieee Posted May 4, 2015 Posted May 4, 2015 It's about time we got a real time chat system! :D Quote
Damond Posted May 4, 2015 Posted May 4, 2015 *waits on pins and needles* Hurry up pins and needles hurt! LOL [MENTION=65371]sniko[/MENTION] great work as always! Quote
TheMasterGeneral Posted May 4, 2015 Posted May 4, 2015 19:30:30 You're late! :O ... I hate you [MENTION=68711]KyleMassacre[/MENTION] hahah Quote
Magictallguy Posted May 4, 2015 Posted May 4, 2015 (edited) I love you and want your code babies *as the White Chicks* That. Is. So. Sexy.. Edited May 4, 2015 by Magictallguy Quote
sniko Posted May 4, 2015 Author Posted May 4, 2015 I've attached the code. I believe that's everything :) Enjoy. Donation goals $11 / $150 Quote
Magictallguy Posted May 4, 2015 Posted May 4, 2015 To anyone having issues with the archive extraction (Linux users mostly) It's a zip within a zip. But the zipception doesn't have an extension. Rename the extracted archive to "chat.zip" and extract as normal Quote
TheMasterGeneral Posted May 4, 2015 Posted May 4, 2015 That makes a lot of sense. I was opening in NP+ thinking Sniko made up some new black magic PHP API. Quote
RJDGaming Posted May 4, 2015 Posted May 4, 2015 To anyone having issues with the archive extraction (Linux users mostly) It's a zip within a zip. But the zipception doesn't have an extension. Rename the extracted archive to "chat.zip" and extract as normal Thanks, was wondering what to do with it. :P Quote
sniko Posted May 4, 2015 Author Posted May 4, 2015 To anyone having issues with the archive extraction (Linux users mostly) It's a zip within a zip. But the zipception doesn't have an extension. Rename the extracted archive to "chat.zip" and extract as normal Thanks. I'm re-uploading the ZIP now to make it a "normal" zip. Quote
Tangled Posted May 4, 2015 Posted May 4, 2015 still can't open it:( - - - Updated - - - thank you Sniko:D Quote
TheMasterGeneral Posted May 4, 2015 Posted May 4, 2015 Thanks. I'm re-uploading the ZIP now to make it a "normal" zip. chat.sniko Quote
Zettieee Posted May 5, 2015 Posted May 5, 2015 Anyone managed to get the chat working? Or just me been dumb? :/ Quote
Magictallguy Posted May 5, 2015 Posted May 5, 2015 Anyone managed to get the chat working? Or just me been dumb? :/ Working on it ;) Quote
TheMasterGeneral Posted May 5, 2015 Posted May 5, 2015 (edited) I got it working (Thanks [MENTION=65371]sniko[/MENTION]) Firstly, open header.php: Find the function endpage() Replace: You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Upload the contents of the lib folder to your current lib folder. Add the CSS to your CSS file. Then, manually execute the SQL. Also, perfect time for game whoring a demo of sniko's lovely chat, feel free to try it out on Chivalry. Chivalry is Dead If you don't feel like making an account, use [email protected] with password demo. [/off to dinner] Edited May 5, 2015 by TheMasterGeneral Game Whoring/Chat demo Quote
Magictallguy Posted May 5, 2015 Posted May 5, 2015 (edited) Anyone managed to get the chat working? Or just me been dumb? :/ Aye, I've managed to debug! Make sure you're using the MySQLi class that MC Craps v2 comes with Edit config.php, find the 'driver' part and change 'mysql' to 'mysqli' MC Craps <= v2.0.2 doesn't come with a MySQLi version of the escape() function, simply add the code below to above the final closing curly brace } You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Edited May 5, 2015 by Magictallguy Quote
sniko Posted May 5, 2015 Author Posted May 5, 2015 You will also need the .htaccess file (git hates dot files, sorry!) You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. I'll be updating the zip tomorrow evening Quote
TheMasterGeneral Posted May 5, 2015 Posted May 5, 2015 Someone mind sharing all the chat commands? I found /timeout Thanks! Quote
Magictallguy Posted May 5, 2015 Posted May 5, 2015 A basic wiki for this can now be found here I'll update as I figure out more information about it :) Quote
sniko Posted May 5, 2015 Author Posted May 5, 2015 Someone mind sharing all the chat commands? I found /timeout Thanks! They are listed here: http://harrydenley.com/integrate-pusher-with-mccodes/ though I'll probably be using that wiki MTG has set up Quote
KyleMassacre Posted May 5, 2015 Posted May 5, 2015 How easy is this to extend? Is there some kind of global file to add to? Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.