Question about hooks in DS

Any discussion not related to the other forum topics
Post Reply
Modembug
Posts: 4
Joined: Mon Dec 03, 2012 4:41 pm

Question about hooks in DS

Post by Modembug » Tue Dec 04, 2012 11:58 pm

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!

User avatar
kjLotus
Special Guest
Posts: 1813
Joined: Sun Jul 22, 2012 2:16 pm

Re: Question about hooks in DS

Post by kjLotus » Wed Dec 05, 2012 12:03 am

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

Modembug
Posts: 4
Joined: Mon Dec 03, 2012 4:41 pm

Re: Question about hooks in DS

Post by Modembug » Wed Dec 05, 2012 11:49 am

I think that should do it :D

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

PrBlahBlahtson
Developer
Posts: 539
Joined: Sun Jul 22, 2012 12:17 am

Re: Question about hooks in DS

Post by PrBlahBlahtson » Thu Dec 06, 2012 2:18 am

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.

Post Reply