Report post Posted June 12, 2017 FChat (Free Chat) Yeah, let's flood into the topic. First, hook up the prerequisite. REQUIRMENTS / PREREQUISITE: Set up the Chat Server, recommended OpenFire - Follow this tutorial to setup OF : Secured Private Chat System (Server) [General] Flash Player A CPPS setup, working with a working server/emulator. Let's go. Even though it can be easily done with AS2 too, am not expert in AS2 so am not gonna touch that concept, any contributor could contribute one to AS2 if you wish :). This part is for AS3. Client stuff first: Add the files in this archive to Play/v2/Client FChat.rar Edit Play/v2/Client/Dependencies.json accordingly as given below. Open Dependencies.json Find these lines { "id": "engine", "title": "Engine" }, Below that add these lines (ie, after that '},') { "id": "FChat", "title": "Free Chat - PC" }, . Now go to your Play folder, ie play.localhost (if you are using XAMPP - htdocs/play) Place all the files in the below archive in it. Converse.rar jquery.min.rar Now open the play html codes, that must be on the same Play folder (usually index.html in play page) Add these codes between <head> and </head> <script src="jquery.min.js"></script> <script type="text/javascript"> function FChatInit($s) { $args = $s.split("<!delimiter!>"); require(['converse'], function (converse) { converse.initialize({ bosh_service_url: 'http://localhost:7070/http-bind/', // Please use this connection manager only for testing purposes i18n: locales.en, // Refer to ./locale/locales.js to see which locales are supported show_controlbox_by_default: true, roster_groups: true }); }); var _$ = setInterval( function() { var $$ = $(".conversejs"); if ($$ !== false) { $(".conversejs").fadeOut(); $("#converse-login > label").fadeOut(); $("input[name=jid]").fadeOut(); $("input[name=password]").fadeOut(); $("#converse-login > input[type=submit]").fadeOut(); $("input[name=jid]").val($args[1]); $("input[name=password]").val($args[0]); $("#converse-login > input[type=submit]").click(); $("#conversejs").fadeIn(); clearInterval(_$); } } , 100); } </script> <link rel="stylesheet" type="text/css" media="screen" href="css/converse.css"> <script src="dist/converse.js"></script> Make sure you have this param in your ClubPenguin.swf object element <param name="allowscriptaccess" value="always"> Here comes the server part: KITSUNE : Place the content in the following archive in Kitsune/ClubPenguin/Plugins FChat.rar For other server emulators, just request me on comments I'll make one. Here are some pictures of this chat Above is not the actual login UI, penguin is auto logged into the chat server. FEATURES Secured Login, the password used for each penguin on every login is one time usable and gets changed per every use Auto logs you into PC Very secured private Chat system Supports encryption (encrypted message transfer) 100% compatible with both AS2 and AS3 Supports emojis Chats can be moderated, and also have mods with special privillages Have it's own admin control panel Highly stable, extensible, have various of useful plugins like Chat Filter we used in Flippr, but that didn't work out as it converted "hello" to "****o" lol. If you have any doubt, issues, or concerns about this just comment. While using this chat system or protocol you must give credits to me (dote) or flippr, to use this. 3 Share this post Link to post Share on other sites
Report post Posted June 12, 2017 Nice topic, but what about do a private moderator/admin chat system? Share this post Link to post Share on other sites
Report post Posted June 12, 2017 This is fairly easy to setup, I set this up first time attempted and looked like a great system to use, will use it via other projects of mine. Share this post Link to post Share on other sites
Report post Posted June 13, 2017 9 hours ago, Master said: Nice topic, but what about do a private moderator/admin chat system? Pretty simple. Play with openfire admin console, it have many such features. You can create a member grop and special chat room for it. 3 hours ago, Jamie said: This is fairly easy to setup, I set this up first time attempted and looked like a great system to use, will use it via other projects of mine. Thanks :) Share this post Link to post Share on other sites