Jump to content
SubSpace Forum Network

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
  • 5 months later...
  • 2 weeks later...
  • 1 month later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...