Page 1 of 1

Question about hooks in DS

Posted: Tue Dec 04, 2012 11:58 pm
by Modembug
Hi Guys,

I am new to running a FFXI Private server. I have been running a Minecraft server for quite some time and have had great success with building a community around IRC. I am looking to do the same sort of thing with DS. Does anyone know the best way to hook into player messages that are passed through the server? I would like to add hook into it for an IRC bot to feed a channel :)

I have not seen any information regarding plugins and DS, so I would imagine this would need to be done in the DS source and then recompiled with the feature in place. I think all I need is to be pointed in the right direction as I am fairly handy with VS2010 already.

Cheers!

Re: Question about hooks in DS

Posted: Wed Dec 05, 2012 12:03 am
by kjLotus
hmmmm, chat messages are in chat_message.cpp (under packets in dsgame), and are made in packet_system.cpp under SmallPacket0x0B5 (line 2653) if that's what you're looking for

Re: Question about hooks in DS

Posted: Wed Dec 05, 2012 11:49 am
by Modembug
I think that should do it :D

I will have to dig in and see what I can whip up!

Re: Question about hooks in DS

Posted: Thu Dec 06, 2012 2:18 am
by PrBlahBlahtson
mXI + this plugin may also yield results. If you check the user reviews, someone offered a way to make it work with any IRC network via the HOSTS file.