Search Unity

Irc Chat unitypackage

Discussion in 'Made With Unity' started by friuns3, Nov 22, 2010.

  1. etnoc

    etnoc

    Joined:
    Nov 29, 2010
    Posts:
    1
  2. pepinito

    pepinito

    Joined:
    Dec 2, 2010
    Posts:
    1
    Thank you for sharing.

    iam new to unity and learning this great engine. People like you make possible for people like me "no programmer" to learn game development and achieve great results.

    i`ll appreciate if you send me a copy my email sivolvere@hotmail.com.
    i thank you in advance.
     
  3. imaginaryhuman

    imaginaryhuman

    Joined:
    Mar 21, 2010
    Posts:
    5,834
    Please take me off your distribution list. Thanks.
     
  4. Al-Anselmo

    Al-Anselmo

    Joined:
    Apr 6, 2010
    Posts:
    86
    Does it work with Unity 3 without problems?

    if so, I'd appreciate if you send me a copy of this:
    guib4ckup [@] gmail [dot] com

    thanks
     
  5. Thetal

    Thetal

    Joined:
    Nov 5, 2010
    Posts:
    92
  6. friuns3

    friuns3

    Joined:
    Oct 30, 2009
    Posts:
    307
    yes, its works without problems on unity 3.1, didn't tested on other versions.
     
    Last edited: Dec 7, 2010
  7. wallen

    wallen

    Joined:
    Jul 29, 2010
    Posts:
    14
  8. eXpirity

    eXpirity

    Joined:
    Dec 2, 2010
    Posts:
    1
  9. mgear

    mgear

    Joined:
    Aug 3, 2010
    Posts:
    9,403
    pm'ed..

    ps. you will get spambots harvesting your email addresses here..
     
  10. friuns3

    friuns3

    Joined:
    Oct 30, 2009
    Posts:
    307
    You can always send email to pm. =)
     
    Last edited: Dec 14, 2010
  11. demonicmetal cs

    demonicmetal cs

    Joined:
    Feb 11, 2010
    Posts:
    68
  12. Kichang-Kim

    Kichang-Kim

    Joined:
    Oct 19, 2010
    Posts:
    1,011
  13. friuns3

    friuns3

    Joined:
    Oct 30, 2009
    Posts:
    307
    Yes, beta is now available.
     
  14. Kichang-Kim

    Kichang-Kim

    Joined:
    Oct 19, 2010
    Posts:
    1,011
    an error occured in sample scene. my unity version is 3.1.0f4 , windows 7 32bit.

    System.NullReferenceException: Object reference not set to an instance of an object
    at Irc+<>c__DisplayClass2..ctor () [0x00000] in <filename unknown>:0
    at Irc. () [0x00000] in <filename unknown>:0

    NullReferenceException: Object reference not set to an instance of an object
    Irc..ctor ()

    is there any solution ? thanks.
     
  15. friuns3

    friuns3

    Joined:
    Oct 30, 2009
    Posts:
    307
    yes. I send you updated version.
     
  16. KarelA

    KarelA

    Joined:
    Dec 30, 2008
    Posts:
    422
    This is a great package . Thank you for sharing :)

    karel.airapetjan(at)gmail.com
     
  17. Pelajesh

    Pelajesh

    Joined:
    Dec 7, 2009
    Posts:
    363
    nice!
    siimvuss(at)gmail(dot)com
     
  18. Cyberspeed

    Cyberspeed

    Joined:
    Oct 4, 2010
    Posts:
    2
  19. friuns3

    friuns3

    Joined:
    Oct 30, 2009
    Posts:
    307
  20. Thetal

    Thetal

    Joined:
    Nov 5, 2010
    Posts:
    92
    Will you send a new version to old subscribers or we have to request it here?
     
  21. defjr

    defjr

    Joined:
    Apr 27, 2009
    Posts:
    436
    Excellent update! Posted my email in the video comments but I'll post it here too. earl@defjr.com again please! :)
     
  22. Rush-Rage-Games

    Rush-Rage-Games

    Joined:
    Sep 9, 2010
    Posts:
    1,997
    Thanks! mr.christensen10(at)gmail(dot)com
     
  23. mic6033

    mic6033

    Joined:
    Dec 29, 2010
    Posts:
    2
  24. mic6033

    mic6033

    Joined:
    Dec 29, 2010
    Posts:
    2
  25. friuns3

    friuns3

    Joined:
    Oct 30, 2009
    Posts:
    307
    I will try to send update to all, but if you don't receive it, please inform me.

    Sorry for delay. I will send you update as soon as possible =)
     
    Last edited: Dec 29, 2010
  26. friuns3

    friuns3

    Joined:
    Oct 30, 2009
    Posts:
    307
    Updated to 1.11

    • added Socks5 support
    • Now works on web player

     
  27. dilly123

    dilly123

    Joined:
    Nov 1, 2009
    Posts:
    23
  28. friuns3

    friuns3

    Joined:
    Oct 30, 2009
    Posts:
    307
    Sended update to everybody on email.
    irc 1.11 version
     
  29. friuns3

    friuns3

    Joined:
    Oct 30, 2009
    Posts:
    307
    Updated to 1.12, added irc editor plugin



     
  30. Betelgeuze

    Betelgeuze

    Joined:
    Dec 30, 2010
    Posts:
    94
  31. unitymatrix

    unitymatrix

    Joined:
    Dec 29, 2009
    Posts:
    120
  32. friuns3

    friuns3

    Joined:
    Oct 30, 2009
    Posts:
    307


    Tested it on android emulator, sad there is not internet connection.
     
  33. psyclone

    psyclone

    Joined:
    Nov 17, 2009
    Posts:
    245
    Any chance of getting a copy of it... psyclonedba at gmail dot com

    Cheers Thanks
     
  34. steego

    steego

    Joined:
    Jul 15, 2010
    Posts:
    969
    Does it support SSL / TLS?
     
  35. friuns3

    friuns3

    Joined:
    Oct 30, 2009
    Posts:
    307
    no, but i will add this feature in future.

    Or You just can replace in irc.cs NetworkStream with System.Net.Security.SslStream in my source code.
     
  36. friuns3

    friuns3

    Joined:
    Oct 30, 2009
    Posts:
    307
    Updated! added

    readme.txt
    Bot sample that connects to irc channel and sends "Hello World"

    Code (csharp):
    1. using System;
    2. using UnityEngine;
    3.  
    4. public class Test:MonoBehaviour,iIrc
    5. {
    6.     public Irc irc;
    7.     void Start()
    8.     {
    9.         irc = new Irc();
    10.         irc.controller = this;
    11.         irc.enableLog = false;
    12.         irc.ircNick = "MyNickName";
    13.         irc.Start();
    14.     }
    15.     public void Update()
    16.     {
    17.         irc.Update();
    18.     }
    19.     public void OnConnected()
    20.     {
    21.         irc.SendIrcMessage("Hello World");
    22.        
    23.     }
    24.     public void OnApplicationQuit()
    25.     {
    26.         irc.Dispose();
    27.     }
    28.     public void OnPm(string nick, string message)
    29.     {
    30.         Debug.Log("Message Received from user " + nick + ": " + message);
    31.     }  
    32.     public void OnMessage(string message)
    33.     {
    34.         Debug.Log("Message Received from Irc " +message);
    35.     }
    36. }
    37.  
     
    Last edited: Jan 1, 2011
  37. cemC

    cemC

    Joined:
    Dec 23, 2010
    Posts:
    214
  38. friuns3

    friuns3

    Joined:
    Oct 30, 2009
    Posts:
    307
    Policy Server for Irc Web build

    Code (csharp):
    1. using System;
    2. using System.Collections.Generic;
    3. using System.Linq;
    4. using System.Text;
    5. using System.Net.Sockets;
    6. using System.Net;
    7. using System.IO;
    8. using System.Threading;
    9.  
    10. namespace ConsoleApplication1
    11. {
    12.     class Program
    13.     {
    14.         static void Main(string[] args)
    15.         {
    16.  
    17.             TcpListener t = new TcpListener(IPAddress.Any, 843);
    18.             t.Start();
    19.             while (true)
    20.             {
    21.                 var s = t.AcceptSocket();
    22.                 Console.WriteLine("connected");
    23.                 var nw = new NetworkStream(s);
    24.                 StreamReader sr = new StreamReader(nw);
    25.                 StreamWriter sw = new StreamWriter(nw);
    26.                 sw.AutoFlush = true;
    27.                 sw.WriteLine(@"<?xml version=""1.0""?>
    28. <cross-domain-policy>
    29.   <allow-access-from domain=""*"" to-ports=""*""/>
    30. </cross-domain-policy>");
    31.                
    32.                 Thread.Sleep(100);
    33.                 s.Close();
    34.             }
    35.         }
    36.     }
    37. }
     
  39. Betelgeuze

    Betelgeuze

    Joined:
    Dec 30, 2010
    Posts:
    94
    I was able to test it in my project, thanks!

    Unfortunately It only works on a pc/mac build not on a web build.
    When I try it in a webplayer I get this:
     
  40. friuns3

    friuns3

    Joined:
    Oct 30, 2009
    Posts:
    307
  41. fxcarl

    fxcarl

    Joined:
    Apr 8, 2010
    Posts:
    16
  42. ratking

    ratking

    Joined:
    Feb 24, 2010
    Posts:
    350
    Can you send it to me, too?
    ein at mindermensch dot de
     
  43. friuns3

    friuns3

    Joined:
    Oct 30, 2009
    Posts:
    307
    Sorry for delay. Thanks for donation! Sended you source code. =)
     
  44. friuns3

    friuns3

    Joined:
    Oct 30, 2009
    Posts:
    307
    Updated to 1.13
    Now available at unity asset store!
     
  45. biggthree

    biggthree

    Joined:
    Aug 14, 2010
    Posts:
    56
  46. ScarsFTW

    ScarsFTW

    Joined:
    Dec 15, 2010
    Posts:
    13
    mike [at] panickMedia.com would be great thanks!
     
  47. retaf99

    retaf99

    Joined:
    Jan 14, 2010
    Posts:
    11
  48. wiseowlstudios

    wiseowlstudios

    Joined:
    Feb 13, 2011
    Posts:
    741
    i brought it to be in my game as a chat system but whenever its open i cant use my inventory at same time and other gui window goes weird any ideas on how to fix
     
  49. zeeshan595

    zeeshan595

    Joined:
    Feb 20, 2011
    Posts:
    2
  50. aixaix

    aixaix

    Joined:
    May 7, 2010
    Posts:
    523