Search found 7 matches

by krbvroc1
Fri Apr 01, 2005 7:51 am
Forum: Unreal 3.2 Modules
Topic: Changing NICK programmatically
Replies: 12
Views: 5560

That couldn't be more wrong! The IRCd makes no differentiation between a server and a user. They are both clients. sptr means "sender pointer" cptr means "client pointer" and there is no aptr, it's acptr which means "affected client pointer." NOTHING says that any part...
by krbvroc1
Fri Apr 01, 2005 3:39 am
Forum: Unreal 3.2 Modules
Topic: Request: idle bot module
Replies: 16
Views: 7429

I just installed the 'eggdrop' client. It will connect to a defined set of channels and sit on them. It will also give a defined set of users +o on the channels. So far its working for me. I too dont want to get involved in the complication of services for my application.
by krbvroc1
Fri Apr 01, 2005 12:05 am
Forum: Unreal 3.2 Modules
Topic: Changing NICK programmatically
Replies: 12
Views: 5560

I have *no* idea what this means at all. "a sptr" sptr is just a variable name. It could just as easily be called "purpledog." The variable passed as sptr is an aClient structure that represents the connecting user. From what I can tell the aClient has a dual role. It can descri...
by krbvroc1
Thu Mar 31, 2005 5:01 pm
Forum: Unreal 3.2 Modules
Topic: Changing NICK programmatically
Replies: 12
Views: 5560

Wouldn't the client need to be notified of the new nick somehow? Or has the 001 and such not yet been sent when the hook is run? I tried to do this two ways. 1) The most correct way to me was that I hooked the LOCAL_CONNECT. In the hook, I performed the code in the m_sysnick to change the nick. Tha...
by krbvroc1
Wed Mar 30, 2005 12:41 am
Forum: Unreal 3.2 Modules
Topic: Changing NICK programmatically
Replies: 12
Views: 5560

Have a look at the m_svsnick module. I believe it calls m_nick to change the nick. That is one of the files I've been looking at. However, It does not call m_nick, but I'm thinking that if I emulate what it does, it might work. Initially I tried call m_nick from a hook function in my own module, bu...
by krbvroc1
Tue Mar 29, 2005 9:00 pm
Forum: Unreal 3.2 Modules
Topic: Changing NICK programmatically
Replies: 12
Views: 5560

Changing NICK programmatically

I'm looking for some pointers on how to change a NICK from a module. I'm using the IRC server in a single host environment pretty much for a chat room. When someone logs in (via the HOOK for local pre connection), I look up their user info in a db4 file and authenticate them. Once piece of info in t...
by krbvroc1
Tue Mar 29, 2005 6:29 am
Forum: Unreal 3.2 Modules
Topic: Config/Makefile changes - how do I link a library?
Replies: 1
Views: 2028

Config/Makefile changes - how do I link a library?

Hello, I am trying to write my own module. The one thing I am not sure about is how do I add a system library to the link stage? Basically, I am writing a module that uses the 'db' (Berkeley DB) so I need to add a '-ldb'. At first, I modified the Makefile at the top level directory, added '-ldb' to ...