Help - Search - Members - Calendar
Full Version: Making a java skype BOT
Skype Community > English > Development, Betas and Skype Garage > Skype Public API
Tomo8281
Hi there guys, total newbie here smile.png!
I've been using skype for ages with my friends, normally in massive on going convos. I use IRC a lot as well and have developed a lot of bots for my channels that i idle in, so i thought why not see if i can make one for skype!

Currently using Koji Hisano's skype (java) api and implementation but it's so massive and confusing i dont know where to start ;o! As im only an amatuer java developer it is a bit much..

I was wondering if it IS possible to make a bot that just sits in our convosation chat that we can invite and it reads the chat? Or is it impossible at the moment? Can i run the code on my server so its up 24/7 or does it need a full instance of skype.exe running?
Any advice would be so helpfull!

Thanks a lot,
Tom
TheUberOverlord
QUOTE (Tomo8281 @ Tue Jun 10 2008, 06:44)
Go to the original post
Hi there guys, total newbie here smile.png!
I've been using skype for ages with my friends, normally in massive on going convos. I use IRC a lot as well and have developed a lot of bots for my channels that i idle in, so i thought why not see if i can make one for skype!

Currently using Koji Hisano's skype (java) api and implementation but it's so massive and confusing i dont know where to start ;o! As im only an amatuer java developer it is a bit much..

I was wondering if it IS possible to make a bot that just sits in our convosation chat that we can invite and it reads the chat? Or is it impossible at the moment? Can i run the code on my server so its up 24/7 or does it need a full instance of skype.exe running?
Any advice would be so helpfull!

Thanks a lot,
Tom


Yes, it is possible.

Why not try C# tongueout.png Here is an example that shows ALL the currently supported event handlers of Skype4COM lib as of ver 1.0.29.0:

http://forum.skype.com/index.php?showtopic=142821

Worse case, it might help you to look at the source code to get an idea of how to deal with Skype as a 3rd party application. Java and C# are not so different.
Tomo8281
I would prefer to do it in java lipssealed.png

Also, as i original asked, is it possible to run it as a bot off a server? Or does it need to be in an enviroment that has a skype application running?

Anyone done a guide on how to make a skype bot?

Thanks,
Tom
TheUberOverlord
QUOTE (Tomo8281 @ Wed Jun 11 2008, 07:19)
Go to the original post
I would prefer to do it in java lipssealed.png

Also, as i original asked, is it possible to run it as a bot off a server? Or does it need to be in an enviroment that has a skype application running?

Anyone done a guide on how to make a skype bot?

Thanks,
Tom


Currently, you would need at least one copy of Skype running to use the API, and yes you can run a bot off a server.

Again, you can use the C# source as a reference to see how to deal with events, if you are going to use Skype4COM lib. While it is not Java, it will show you how you would need to process events.
Tomo8281
Do you know of anyone who has done a server skype BOT? Kinda need a guide/tutorial to get me started :\
TheUberOverlord
QUOTE (Tomo8281 @ Mon Jun 16 2008, 18:25)
Go to the original post
Do you know of anyone who has done a server skype BOT? Kinda need a guide/tutorial to get me started :\


Not in Java no, maybe someone else has?
Tomo8281
I don't mind if it is in C#, as you said they are kinda the same.

Just need a starting ground, even if its a basic bot that just joins a convosation when invited that would be super! (and runs on a server)
TheUberOverlord
QUOTE (Tomo8281 @ Tue Jun 17 2008, 05:36)
Go to the original post
I don't mind if it is in C#, as you said they are kinda the same.

Just need a starting ground, even if its a basic bot that just joins a convosation when invited that would be super! (and runs on a server)


Well, this is why I gave you this link before. It is not a BOT but, it does show chat messages for example for any chat that the current Skype client Skype user is in: http://forum.skype.com/index.php?showtopic=142821

The examples shows ALL Event handlers that Skype4COM 1.0.29.0 supports, including the above events.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.