Code Monkey home page Code Monkey logo

dunirc's People

Contributors

confact avatar mcfiredrill avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

dunirc's Issues

Javascript/Userlist/ function mejoin(e) Issue

Hello there is an issue in the function mejoin(e)

Sometimes the lenght of: var newmsg = e.split("\r\n:");
Is not above 1 and therefore trying to do newmsg = newmsg[1].split(" ");
breaks the script.

I changed to:
var newmsg = e.split("\r\n:"); if(newmsg.length < 2) return; newmsg = newmsg[1].split(" ");

As a temp fix to prevent from breaking the code but this means all the code in the function is not executed.

Also
Sometimes after reloading the page, it connects, it can send messages but not receive them.
And when i seems to join correctly the channel and we can send messages between 2 clients.
1 of the client can see the userlist but the other cant.

FIX - My contribution

This fix my 2 previous issues...

Code: http://pastebin.com/kV82GYZe

This fix all issues i found.

  • Fixed not joining channel properly.
  • Fixed Get userlist after joining
  • Add user to userlist when he join
  • Remove user from userlist when he quit/part
  • Update userlist when user change nick

dunirc.js script error

Hello,
First of all thank you for this nice script, i got it working using websockify.js ( node.js version located in folder other/js ) on windows!

I noticed message wasnt showing or sending, so i took a look at my web console and saw an error at e.Match
... e wasnt defined, so i looked at your past commits and saw that e should be :
var e = window.atob(content.data);

So i added it to the line 126, now it fixed the issue! YAY! ๐Ÿ‘

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.