Jump to content
SSForum.net is back!

Recommended Posts

Posted

Hi all,

 

I've started writing a Pidgin plugin that can connect to ASSS/ChatNet intended to be used with an SSC ASSS zone like Hyperspace so you can chat to TW, etc.

 

My main motivation from writing this plugin is to help me become a little more available/active in my TW league squad and hopefully for aswz if it can be revived :).  I'm hoping it'll be useful to other people too, should I complete it.

 

So far the code is a complete mess as I've started with the IRC plugin and rewrote/ripped out functionality I didn't need as I go along due to the poor documentation for writing pidgin plugins.  After about 2 days of coding, it can connect and send/receive priv messages, but that's about it for now :).

 

Should I find the motivation, I'll see about adding:

-buddy presence (querying via ?find)

-chat support

-squad chat support

-?message support

 

If/When the plugin becomes more useful and the code less messy I'll upload the source and Windows and Linux binaries to GitHub or something :).

 

- X-Demo

pidgin-chatnet.png

Posted (edited)

I wrote a proxy between chatnet and irc a while back in perl. Maybe you can steal some stuff from it.

 

https://forums.minegoboom.com/viewtopic.php?t=8661

 

Some stuff that might be useful to you:

* periodic ?chat parsing for nickname list in irc channels

* break apart messages that are too long (the definition of "too long" varies for every chat type)

* If the biller goes down and comes back up, automatically reconnect to the zone (otherwise cross zone messages are broken, if i recall correctly)

* irc's /ison which tells you if someone is online, it parses the output from ?find (buddy presence)

* counting joins and leaves. Names are not always unique in an arena (especially in hyperspace haha). so if you see a name enter 3 times they must also leave 3 times

* how to send & receive squad messages (hint: the SQUAD type in the chatnet protocol does not work)

Edited by JoWie
Posted

Interesting :).  I agree, no doubt there'll be tons of things I can learn from your script.  Thanks for the heads up on a few of the gotchas as well :).

  • 5 months later...
  • 2 weeks later...
Posted

 

 

I'm really interested.

 

if i could just get into the chat part and not log in at all..

You are banned from SSC - the Subspace Central till 2014-11-21 16:50 GMT-6 BanId#554
  • 1 month later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...