Archive for January, 2007

MSN via IRC

Quite some time ago I decided that I wanted to offer support via MSN for a business. This is all very well until you want multiple staff to cover the “live” support, obviously you cannot have more than one client connected via the MSN protocol using the same account at any one time.

My solution to this was to use an existing platform that allowed multiple users, which was IRC. The next step was to create a “bot” that would connect to the MSN Messenger network and relay the information back and forth.

Originally due to my skills in coding in mIRC I decided to code a very simple MSN messenger client. This proved quite a challenge after looking at the MSN Messenger Protocol Docs. I decided to check out existing MSN messenger clients for mIRC and see how they had done it.

I tried roughly 5 from mircscripts.org, none of them worked apart from MSNMIRC by Artweks.

I decided to strip this down and allow relaying via remotely triggered commands, I codenamed this script “xmsn”. This worked very well for quite some time, until MSN decided to change the way their older protocols work, which meant they now required SSL to authenticate.

It took some time to figure out, but eventually the script was fully functional again with the addition of a DLL (ssl.dll – 58kb), however it seemed that this DLL would only work on some machines, yet not others, this meant I required a new machine to run one mIRC bot.

I ran this for some time, probably around a year, and decided that running a whole machine just for on mIRC based bot was a bit of a waste, so I decided to investigate my options.

Eggdrop was my first port of call, using some kind of TCL script that could connect to the MSN protocol would be fantastic, yet this did not appear to exist, however I did locate an MSN messenger client called aMSN, which was based on TCL. There were some issues with this though, firstly it is not eggdrop based, fine I thought i’ll strip it down, secondly there is no console mode, its a 100% GUI application, therefore a BIG task. I simply didn’t have the time to deal with this complexity.

After some further searching I discovered the BitlBee project, which is in itself an amazing project and an amazing idea. In principle its an IRCd that can connect to many popular instant messenger protocols such as MSN messenger.

The idea was to somehow run an eggdrop that would connect to a BitlBee server, connect to MSN, and relay the details to another IRCd using a relay tcl script. Obviously the relay script would also need the ability to accept triggers from the other IRCd so the users can control it and send messages, etc.

An alternative idea would be to use psyBNC with multiuser enabled, even though this method would probably be more secure, i’d prefer to use the eggdrop method.

In the end I decided to trim down a version of linkchan.tcl, which I had used before over the years and so was already fimilar with its structure and functionatility. This offers me a fantastic platform to base this project on.

There is the project research so far, the next step is to release bitlbee.tcl once i’m happy the script is stable.

Update: I have posted a beta version of the “bitlbee.tcl” under the eggdrop tcl section.

Comments (2)

Focus on one domain

Why you should be focusing on one domain name for one site

Often you will find yourself buying a domain for your project (eg: example.com), however these days to secure the brand you have to buy all the associated domains (eg: example.net, example.org, example.co.uk, example.info, etc).

I then find that visitors will end up entering the sites at different points from different domains, depending on how they find it, or what they have been told.

Read the rest of this entry »

Comments (1)

DVD decoders and other codecs

Possibly one of the most annoying and confusing issues on windows is dealing with and understanding which codecs you need to do what.

There are a number of solutions to ensure all of your music, videos and other media will play on your version of windows.

I’ve recently experienced a problem where Windows Media Center returns a decoder error.

This was stopping me from setting up the audio within the wizard, so the plan of action was to locate an all in one codec pack which then meant I didn’t have to worry about which codecs I need to do what, it just includes them all, or so I thought.

Okay, so the codec pack got the sound working, great. However when I come to play DVD’s there’s a decoder error yet again, which means I require DVD decoder software.

There are a few options with this…

Not to worry though I can use the Microsoft Windows XP Video Decoder Checkup Utility to make sure any I do choose is compatible.

To be fair although it should be a crime to have to pay to watch DVDs on your computer considering you have purchased a piece of hardware that is essentially a DVD reader, you do still need a DVD player, and $14.95 (just over £8) is not a bad price for a legit piece of DVD playing software, and its a damn sight cheaper than purchasing a separate DVD player unit to do the same job.

However, more often than not, if you purchase your PC from a large retailer, or you purchase a retail optical drive, you will receive a copy of one of the Microsoft approved DVD decoders listed above, so it might be worth considering that before you make your next purchase.

Yet with all that in mind, I’m still looking for that free or open source DVD decoder that will work with Windows Media Center or approved by Microsoft. We can all dream can’t we?

You may ALSO require DivX, QuickTime and Real Player (or their alternatives) to name a few to play certain types of videos, and I would also suggest taking a look at Winamp if you haven’t got it already as its a brilliant piece of software for playing music and video clips.

Additional Notes: Recently I have been looking at both VideoLan’s VLC and Media Player Classic which are either free or open source alternatives. I’ve yet to test their ability to play DVDs, how compatible they are with different video types or how other software (such as browsers and other media players) utilise their codecs.

Comments (2)

I forgot my Windows logon password!

What should I do? Reinstall? NO!

So how do you recover it? You can’t, BUT you can reset it…

There’s a nifty utility called Offline NT Password & Registry Editor (aka ntpasswd) that will reset Windows NT/2K/XP passwords. It runs from self-booting diskette or CD. Please note that it will not recover AD passwords, and may render EFS encrypted files permanently unreadable.

To save wasting CD’s with small applications you can actually find this utility and a whole range of other useful recovery tools together on the Ultimate Boot CD (aka UBCD).

As if that isn’t enough Winternals (the same people who make Sysinternals Freeware) offer a peice of software called Administrator’s Pak which you can purchase from them. This software creates a bootable CD called ERD Commander which contains a utility called Locksmith which allows you to reset lost passwords.

Comments (2)

Parts inside your printer are at the end of their service life

Today I had the joy of fixing an Epson Stylus C46 UX printer.

It had the following error: “Parts inside your printer are at the end of their service life. See your printer documentation.”

After a little searching I discovered that most people were saying that “It is simply not worth repairing”, however, I took that as a challange, and decided that if I was going to throw it away anyway I might as well try to fix it first.

Before long I located a page on fixyourownprinter.com‘s forum, which had plenty of details about similar issues.

This is the process I used after reading details on that page:

  1. Unplug the power and USB cables from the printer.
  2. Prepare your work area by putting scrap paper down. Have some spare, just incase. You may also require tissue paper. It is also recommended you use protective gloves as the ink will stain your skin for quite some time.
  3. Unscrew the screw at the back of the printer.
  4. There are two or three tabs at the back and two at the front. Gently push them in, and then using a bit of force pry apart the cover.
  5. At the back of the unit you need to locate some white pads, or sponge type things, initially they will seem fine, but they will infact be full of ink. You need to grab a pair of pliers and pull them out one by one, there should be four, put them on your scrap paper.
  6. Take the scrap paper with the pads on to your sink, turn on the hot tap and hold each one under the tap using the pliers until the water runs clear. If you have protective gloves on it may be worth squeezing the water out also.
  7. It is recommended that once you have done this, you let them dry.
  8. Now return the pads back into the printer.
  9. Put the printer back together, (mind out for the paper alignment, and give it some force), not forgetting the screw at the back.
  10. Plug in the USB and power cable and turned it ON. (Yes the lights will still flash)
  11. Download and install the SSC Service Utility for Epson Stylus Printers.
  12. Select your printer and model number (There is no Stylus C42 UX, so select Stylus C4x), then close the window.
  13. If it asks if you replaced with the pads; say “YES”. Then close the window.
  14. You will see a SSC Service Utilitiy icon (it looks like a printer) in the system tray (next to your click), and LEFT click.
  15. A menu will appear, from here you can click on “Protection counter” (its a red cross), then “reset protection counter”.
  16. Turn the printer power OFF, wait 10 seconds and then turn it back ON.

Done!

Additional troubleshooting…

If you have problems with paper feed, take it apart again, check everything is in place correctly, push things together tightly, and put it together again.

If you have trouble with print quality, open the lid, clean any ink residue, use the SSC Service Utilitiy to clean the heads.

Comments (113)

« Previous entries Next Page » Next Page »