Anope IRC Services

Anope Development => Modules => Topic started by: sillysprat on February 05, 2006, 04:03:31 AM

Title: [Request] Chanserv: Get Status On Add
Post by: sillysprat on February 05, 2006, 04:03:31 AM
I know there's a module out for this feature, but it doesn't seem to work with the ircd my network uses (which is ViagraIRCD). Just would be great to have services op users as u add them to the access list. And, to add more to it. If you happen to move them from aop to sop, services will add the appriate modes. If you were to move them from sop to aop or remove them completely, services will also remove the appropriate modes. :)
Title:
Post by: SkaterStuff on February 05, 2006, 04:31:58 AM
What you kind lost me on the removing modes lol
Title:
Post by: owine on February 05, 2006, 05:02:18 AM
basically he means live updateing op/voice modes in the chan.
Title:
Post by: Certus on February 07, 2006, 01:34:22 PM
http://ichhassekinder.de/cs_statusupdate.c
I just wrote it.
Title:
Post by: SkaterStuff on February 07, 2006, 03:41:58 PM
ahhh ok thanks for clearing that up :)
Title:
Post by: VorteX on February 07, 2006, 11:27:04 PM
Thank you so much for this module.  Works perfectly with anope-1.7.13.

Regards,

[Edited on 2/7/2006 by VorteX]
Title:
Post by: TRAiNER4 on February 08, 2006, 08:43:18 PM
Hi, I hate to be a bother, but I was unable to compile this on win32

Quote
C:\Misc\anope-1.7.13\src\modules>nmake -f Makefile.win32

Microsoft (R) Program Maintenance Utility Version 7.10.3077
Copyright (C) Microsoft Corporation.  All rights reserved.

        cl /LD /MD /D MODULE_COMPILE /nologo   /O2 /MD  /I "C:\Program Files\Microsoft Visual Studio .NET 2003\VC7\Include" /I "C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include" /I"../include" /I"../../include"  cs_statusupdate.c /link ../anope.lib wsock32.lib wsock32.lib advapi32.lib /NODEFAULTLIB:libcmtd.lib /LIBPATH:"C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Lib" /LIBPATH:"C:\Program Files\Microsoft Visual Studio .NET 2003\VC7\Lib"  /export:AnopeInit /export:AnopeFini
cs_statusupdate.c
LINK : error LNK2001: unresolved external symbol AnopeFini
cs_statusupdate.lib : fatal error LNK1120: 1 unresolved externals
LINK : fatal error LNK1141: failure during build of exports file
NMAKE : fatal error U1077: 'cl' : return code '0x2'
Stop.

C:\Misc\anope-1.7.13\src\modules>

Could you please add the appropriate AnopeFini function to the module please? It would be helpful. Thank you.

[Edited on 2/8/2006 by TRAiNER4]
Title:
Post by: Tom65789 on February 08, 2006, 10:42:48 PM
well its not that much of an error to fix :)

[Edited on 8-2-2006 by Tom65789]
Title:
Post by: sillysprat on February 09, 2006, 05:33:07 AM
Thanks for the update. Now, if it would remove modes as you demote a user, I'd be set. Again, thanks for the update! :D

Beats having to kick, mode'ing, or have the user /hop the channel. lol
Title:
Post by: Certus on February 11, 2006, 11:48:09 AM
try version 1.1 http://ichhassekinder.de/cs_statusupdate.c
Quote

 * 1.1
 *  - Updated the header, added AnopeFini() and fixed the removal function
Title:
Post by: sillysprat on February 12, 2006, 03:35:20 AM
Thank you!!! :D Works like a charm.

<3 Anope
Title:
Post by: dotslasher on February 12, 2006, 10:47:35 PM
could it be possibly edited to /cs xop #chan del nick that it would remove the user's channel modes?

[Edited on 12-2-2006 by dotslasher]
Title:
Post by: thepitster on February 13, 2006, 10:15:20 AM
this doesnt seem to work with UltimateIRCd3.0.1 and anope-1.7.13 :(
Title:
Post by: SkaterStuff on February 13, 2006, 05:40:20 PM
Quote
Originally posted by thepitster
this doesnt seem to work with UltimateIRCd3.0.1 and anope-1.7.13 :(


It works for me. what is the command you tryed?
Title:
Post by: chasingsol on February 15, 2006, 06:01:59 AM
How can it work for you if you're not even running UltimateIRCD on your network?
Title:
Post by: Certus on February 19, 2006, 04:00:17 PM
for those of you who wondered why my module still didn't work on /cs access del, there was a bug with anope's EVENT_ACCESS_DEL. update to revision 969 or higher in order to solve this problem.

# BUILD : 1.7.13 (969)
# BUGS  :
# NOTES : Fixed position of EVENT_ACCESS_DEL. HEADACHE!
Title:
Post by: thepitster on February 22, 2006, 01:04:33 AM
sorry should have been more specific /cs access #chan del nick doesnt work and i am running version  Anope-1.7.13 (951) so maybe that the problem after all
Title:
Post by: Remember on July 29, 2006, 09:32:37 PM
Quote
Originally posted by Certus
try version 1.1 http://ichhassekinder.de/cs_statusupdate.c
Quote

 * 1.1
 *  - Updated the header, added AnopeFini() and fixed the removal function


This Link work not please upload this Module