Search found 14 matches

by KeMiJohN
Thu Dec 08, 2016 6:17 pm
Forum: UnrealIRCd 4 modules (third party)
Topic: Using addon UMODE constants in third party modules.
Replies: 3
Views: 4427

Re: Using addon UMODE constants in third party modules.

Thank you very much! :)

The for loop iterating through Usermode_Table, was exactly what I was looking for.

Code: Select all

for (i = 0; i <= Usermode_highest; i++)
	Usermode_Table[i].flag
	Usermode_Table[i].mode
by KeMiJohN
Tue Dec 06, 2016 6:41 pm
Forum: UnrealIRCd 4 modules (third party)
Topic: Using addon UMODE constants in third party modules.
Replies: 3
Views: 4427

Using addon UMODE constants in third party modules.

Hi there :)

Back on the UnrealIRCd forums, after a decade in hiatus :P
(I made some posts in 2005)

I'm making a module, where I'm trying to parse the numeric UMODE values received by HOOKTYPE_UMODE_CHANGE to a string, like "+iw-s". (112 to 101)

I have no trouble using the built-in UMODE constants ...
by KeMiJohN
Tue Sep 20, 2005 6:02 pm
Forum: Unreal 3.2 Modules
Topic: HOOKTYPE_LOCAL_CHANMODE and HOOKTYPE_UMODE_CHANGE
Replies: 0
Views: 2362

HOOKTYPE_LOCAL_CHANMODE and HOOKTYPE_UMODE_CHANGE

I found these:

RunHook3(HOOKTYPE_UMODE_CHANGE, sptr, setflags, sptr->umodes);
RunHook7(HOOKTYPE_LOCAL_CHANMODE, cptr, sptr, chptr, modebuf, parabuf, sendts, samode);

but I cant seem to find any kind of description of these hooktypes..
So if anyone could describe these hooktypes for me, like this ...
by KeMiJohN
Mon Sep 19, 2005 12:50 pm
Forum: Unreal 3.2 Modules
Topic: sending notice from server.
Replies: 5
Views: 3956

ah.. when setting mode -s im still getting the notices.. so i guess they are real notices :P
by KeMiJohN
Mon Sep 19, 2005 12:11 pm
Forum: Unreal 3.2 Modules
Topic: sending notice from server.
Replies: 5
Views: 3956

my IRC client still reacts on the sendto_one()'s as server notices..

could this be because the name sending the notice is irc.mydomain.org?

I've only tested the notices i found using "grep NOTICE src/modules/*.c"
by KeMiJohN
Mon Sep 19, 2005 8:03 am
Forum: Unreal 3.2 Modules
Topic: sending notice from server.
Replies: 5
Views: 3956

sending notice from server.

how can i make a module send a notice?
not a snotice.. but a "real" notice :)
by KeMiJohN
Fri Sep 16, 2005 1:00 pm
Forum: Unreal 3.2 Modules
Topic: m_mkill module request again..
Replies: 12
Views: 7843

if you're using mIRC, you could get one of those mass-script, that PRIVMSGs everyone on a channel.. and just edit the script to /kill instead of /msg :P
by KeMiJohN
Fri Sep 16, 2005 12:55 pm
Forum: Unreal 3.2 Modules
Topic: Logging Module (ethical)
Replies: 8
Views: 5303

I've added it now :)
by KeMiJohN
Fri Sep 16, 2005 11:20 am
Forum: Unreal 3.2 Modules
Topic: Logging Module (ethical)
Replies: 8
Views: 5303

hmf.. okay.. it just looks so simple to add an extra line :P
doesnt matter.. its okay to have it in my connects log :)

I just found some logging stuff from the chgident.c made by XeRXeS

and then I changed it a little at put it in the joinpartsno.c

very simple - nothing special
I'm proud of myself ...
by KeMiJohN
Fri Sep 16, 2005 10:20 am
Forum: Unreal 3.2 Modules
Topic: Logging Module (ethical)
Replies: 8
Views: 5303

yay.. it works..

right now I just use the LOG_CLIENT, which puts it in my connects log..
but what if i want to add a new logtype in the s_conf.c file?

like { LOG_JOINPART, "joinpart" }

how do i compile this .c file ? I cant use the make custommodule for this right ? :)
by KeMiJohN
Fri Sep 16, 2005 9:27 am
Forum: Unreal 3.2 Modules
Topic: Logging Module (ethical)
Replies: 8
Views: 5303

uuuh.. I think I just found something..

ill be back if I need help :P
by KeMiJohN
Fri Sep 16, 2005 8:56 am
Forum: Unreal 3.2 Modules
Topic: Logging Module (ethical)
Replies: 8
Views: 5303

well.. thats the problem..

i have no idea how to make it write to a logfile :/
by KeMiJohN
Fri Sep 16, 2005 7:34 am
Forum: Unreal 3.2 Modules
Topic: Logging Module (ethical)
Replies: 8
Views: 5303

Logging Module (ethical)

A couple of days ago, my other topic got locked for being unethical.. I understand why.. and I'm not going to discuss it..

But i would like help to make a logging module..

just very simple write joins and parts to a logfile..

I've been trying to modify other scripts for this.. but I just fuck up ...
by KeMiJohN
Tue Sep 13, 2005 6:22 pm
Forum: Unreal 3.2 Modules
Topic: Logging Module
Replies: 2
Views: 2934

Logging Module

i need a module, that can log connections, privmsgs and notices to a logfile.

can anyone help me?

-KeMi