Anope IRC Services

Please login or register.

Login with username, password and session length
Advanced search  

News:

Pages: [1]   Go Down

Author Topic: cs_accessfounder  (Read 16962 times)

0 Members and 1 Guest are viewing this topic.

FuRiOuS

  • Guest
cs_accessfounder
« on: February 05, 2006, 05:15:57 AM »

The version of this listed on the modules page does not work with 1.7.13 and it doesn't work as I'm sure some of you know.  It won't even compile correctly.   If anybody could point me in the direction of a module that does the same thing, that will work with my anope version that would be awesome.
Logged

Trystan Scott Lee

  • Contributor
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 343
(No subject)
« Reply #1 on: February 05, 2006, 05:28:26 PM »

Logged
my God my tourniquet, return to me salvation

FuRiOuS

  • Guest
(No subject)
« Reply #2 on: February 05, 2006, 07:01:34 PM »

Your a doll, but it's not quite working when I try to make modules this is the error message I get.


cc -O -pipe  -g -rdynamic -Wall  -I../ -c cs_accessfounder.c
cs_accessfounder.c:25: `#include' expects "FILENAME" or <FILENAME>
cs_accessfounder.c:1: syntax error before `{'
*** Error code 1



I really appreciate your help.
Logged

Dave Robson

  • Team
  • *
  • Offline Offline
  • Posts: 357
(No subject)
« Reply #3 on: February 06, 2006, 07:27:13 AM »

Are you sure you typed "make modules" in the main anope dir, and not in the modules folder?  If so, id strongly recommend doing: " make distclean ; ./Config ; make ; make install " as it appears a number of things detected in ./configure are not setup.
Logged

FuRiOuS

  • Guest
(No subject)
« Reply #4 on: February 06, 2006, 02:06:19 PM »

I tried it again just to double check and got the same thing again.  I'm happier than with the last version lol at least this one doesn't have a 2 page long list of errors with my version :P
Logged

Trystan Scott Lee

  • Contributor
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 343
(No subject)
« Reply #5 on: February 06, 2006, 03:15:21 PM »

I can only guess you are running a very old version of gcc for that matter cc (not gcc) and on an os that is really out of date.. I have updated the module on my site slight to move the include statement above the defines for author.. etc.. doubt it will fix things with your old compiler but who knows as so the two people whom have tried it have said it works
Logged
my God my tourniquet, return to me salvation

FuRiOuS

  • Guest
(No subject)
« Reply #6 on: February 06, 2006, 03:45:33 PM »

Now this is what I get ....

I'm starting to think I am not meant to have this module lol


cs_accessfounder.c:20: module.h: No such file or directory
cs_accessfounder.c:31: syntax error before `status'
cs_accessfounder.c:32: syntax error before `*'
cs_accessfounder.c:33: syntax error before `*'
cs_accessfounder.c: In function `AnopeInit':
cs_accessfounder.c:37: `Command' undeclared (first use in this function)
cs_accessfounder.c:37: (Each undeclared identifier is reported only once
cs_accessfounder.c:37: for each function it appears in.)
cs_accessfounder.c:37: `c' undeclared (first use in this function)
cs_accessfounder.c:37: `NULL' undeclared (first use in this function)
cs_accessfounder.c:38: `EvtHook' undeclared (first use in this function)
cs_accessfounder.c:38: `hook' undeclared (first use in this function)
cs_accessfounder.c:38: warning: statement with no effect
cs_accessfounder.c:39: syntax error before `int'
cs_accessfounder.c:41: `ircd' undeclared (first use in this function)
cs_accessfounder.c:42: warning: implicit declaration of function `alog'
cs_accessfounder.c:43: `MOD_STOP' undeclared (first use in this function)
cs_accessfounder.c:47: warning: implicit declaration of function `createEventHook'
cs_accessfounder.c:47: `EVENT_JOIN_CHANNEL' undeclared (first use in this function)
cs_accessfounder.c:49: `status' undeclared (first use in this function)
cs_accessfounder.c:49: warning: implicit declaration of function `moduleAddEventHook'
cs_accessfounder.c:50: `MOD_ERR_OK' undeclared (first use in this function)
cs_accessfounder.c:52: `MODULE_EXT' undeclared (first use in this function)
cs_accessfounder.c:57: `EVENT_NICK_IDENTIFY' undeclared (first use in this function)
cs_accessfounder.c:66: warning: implicit declaration of function `createCommand'
cs_accessfounder.c:67: warning: implicit declaration of function `moduleAddCommand'
cs_accessfounder.c:67: `NICKSERV' undeclared (first use in this function)
cs_accessfounder.c:67: `MOD_TAIL' undeclared (first use in this function)
cs_accessfounder.c:69: warning: implicit declaration of function `moduleAddAuthor'
cs_accessfounder.c:70: warning: implicit declaration of function `moduleAddVersion'
cs_accessfounder.c:71: warning: implicit declaration of function `moduleSetType'
cs_accessfounder.c:71: `THIRD' undeclared (first use in this function)
cs_accessfounder.c:72: `MOD_CONT' undeclared (first use in this function)
cs_accessfounder.c:73: warning: control reaches end of non-void function
cs_accessfounder.c: In function `do_on_join':
cs_accessfounder.c:77: `User' undeclared (first use in this function)
cs_accessfounder.c:77: `u' undeclared (first use in this function)
cs_accessfounder.c:77: warning: statement with no effect
cs_accessfounder.c:78: `Channel' undeclared (first use in this function)
cs_accessfounder.c:78: `c' undeclared (first use in this function)
cs_accessfounder.c:78: warning: statement with no effect
cs_accessfounder.c:79: `ChannelInfo' undeclared (first use in this function)
cs_accessfounder.c:79: `ci' undeclared (first use in this function)
cs_accessfounder.c:79: warning: statement with no effect
cs_accessfounder.c:80: syntax error before `struct'
cs_accessfounder.c:82: warning: implicit declaration of function `stricmp'
cs_accessfounder.c:82: `EVENT_STOP' undeclared (first use in this function)
cs_accessfounder.c:83: warning: implicit declaration of function `findchan'
cs_accessfounder.c:84: warning: implicit declaration of function `cs_findchan'
cs_accessfounder.c:84: `MOD_CONT' undeclared (first use in this function)
cs_accessfounder.c:85: warning: implicit declaration of function `finduser'
cs_accessfounder.c:86: warning: implicit declaration of function `nick_identified'
cs_accessfounder.c:87: warning: implicit declaration of function `get_access_level'
cs_accessfounder.c:87: warning: implicit declaration of function `is_real_founder'
cs_accessfounder.c:88: warning: implicit declaration of function `is_identified'
cs_accessfounder.c:89: `uc' undeclared (first use in this function)
cs_accessfounder.c:89: warning: implicit declaration of function `scalloc'
cs_accessfounder.c:95: warning: implicit declaration of function `send_cmd'
cs_accessfounder.c:95: warning: implicit declaration of function `whosends'
cs_accessfounder.c:96: warning: implicit declaration of function `chan_set_user_status'
cs_accessfounder.c:96: `CUS_OWNER' undeclared (first use in this function)
cs_accessfounder.c:100: warning: control reaches end of non-void function
cs_accessfounder.c: In function `do_on_identify':
cs_accessfounder.c:105: `User' undeclared (first use in this function)
cs_accessfounder.c:105: `u' undeclared (first use in this function)
cs_accessfounder.c:105: warning: statement with no effect
cs_accessfounder.c:110: `MOD_CONT' undeclared (first use in this function)
cs_accessfounder.c:112: `NSModeOnID' undeclared (first use in this function)
cs_accessfounder.c:116: warning: control reaches end of non-void function
cs_accessfounder.c: At top level:
cs_accessfounder.c:118: syntax error before `*'
cs_accessfounder.c: In function `do_on_update':
cs_accessfounder.c:120: `u' undeclared (first use in this function)
cs_accessfounder.c:121: `MOD_CONT' undeclared (first use in this function)
cs_accessfounder.c:123: `NSModeOnID' undeclared (first use in this function)
cs_accessfounder.c:127: warning: control reaches end of non-void function
cs_accessfounder.c: At top level:
cs_accessfounder.c:129: syntax error before `*'
cs_accessfounder.c: In function `do_my_setmodes':
cs_accessfounder.c:133: `Channel' undeclared (first use in this function)
cs_accessfounder.c:133: `c' undeclared (first use in this function)
cs_accessfounder.c:133: warning: statement with no effect
cs_accessfounder.c:136: `u' undeclared (first use in this function)
cs_accessfounder.c:136: dereferencing pointer to incomplete type
cs_accessfounder.c:137: dereferencing pointer to incomplete type
cs_accessfounder.c:138: dereferencing pointer to incomplete type
cs_accessfounder.c:138: `CUS_OWNER' undeclared (first use in this function)
cs_accessfounder.c:141: dereferencing pointer to incomplete type
cs_accessfounder.c:141: warning: assignment makes pointer from integer without a cast
cs_accessfounder.c:142: dereferencing pointer to incomplete type
cs_accessfounder.c:145: dereferencing pointer to incomplete type
cs_accessfounder.c:148: `ircd' undeclared (first use in this function)
cs_accessfounder.c:153: `MOD_CONT' undeclared (first use in this function)
cs_accessfounder.c:131: warning: `uc' might be used uninitialized in this function
cs_accessfounder.c:154: warning: control reaches end of non-void function
*** Error code 1
Logged

Dave Robson

  • Team
  • *
  • Offline Offline
  • Posts: 357
(No subject)
« Reply #7 on: February 06, 2006, 06:21:59 PM »

Quote
Originally posted by Trystan
I can only guess you are running a very old version of gcc for that matter cc (not gcc) and on an os that is really out of date.. I have updated the module on my site slight to move the include statement above the defines for author.. etc.. doubt it will fix things with your old compiler but who knows as so the two people whom have tried it have said it works


Yeah, i noticed that, but the Include path's aint even set up, it isnt including ../include/ - which leads me to believe its a) in the wrong folder, b) ./configure hasnt been ran properly etc, however, with the above command line, none of the anope modules would have compiled, not even the core ones... (which i assume have worked as anope is presumably running to some degree )
Logged

FuRiOuS

  • Guest
(No subject)
« Reply #8 on: February 06, 2006, 07:15:59 PM »

Unless there is something I'm missing somewhere Anope is running fine with the exception of a couple of tiny bugs here and there, which since the network just got set up is to be expected until all settings are right.  Plus there are also additional add on modules that I have done.
Logged

owine

  • Anope User
  • Offline Offline
  • Posts: 130
(No subject)
« Reply #9 on: February 12, 2006, 05:34:05 AM »

this doesnt work half the time. sometimes it gives +oq but sometimes it just does +oa.
Logged

Andrew B.

  • o.O
  • Contributor
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 35
    • Keyboard-Failure
(No subject)
« Reply #10 on: February 19, 2006, 08:20:54 PM »

It compiles, loads, and runs fine, with exception of the no +oq randomly. Hopefuly this module can be fixed soon.
Logged
Andrew Berquist,

irc.kbfail.net

Trystan Scott Lee

  • Contributor
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 343
(No subject)
« Reply #11 on: February 21, 2006, 01:54:39 AM »

hmmm must be something in the core, I will see what I can do, might have to write in a debug to find it
Logged
my God my tourniquet, return to me salvation

Trystan Scott Lee

  • Contributor
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 343
(No subject)
« Reply #12 on: February 22, 2006, 04:49:42 AM »

Are people who are noticing that it gives out the +q randomly noticing this is on join or after the user has identified?

Looking at how this was setup they have to match some things before it will set the mode..  I have started to put debugs in but it would help to know where to put then in at.
Logged
my God my tourniquet, return to me salvation

owine

  • Anope User
  • Offline Offline
  • Posts: 130
(No subject)
« Reply #13 on: February 22, 2006, 05:25:22 AM »

i see it on join. havent seen many NSModeOnIDs so i cant speak for that.
Logged

Andrew B.

  • o.O
  • Contributor
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 35
    • Keyboard-Failure
(No subject)
« Reply #14 on: February 23, 2006, 07:40:01 AM »

The user identifys, and it randomly gives out either +oq, or +oa, we tested it by using random parts and joins, but since our network is slightly populated we decided it would be best to remove it. If i was more awake i'd do some testing on my shell for you, but i'm pretty tired.
Logged
Andrew Berquist,

irc.kbfail.net

FuRiOuS

  • Guest
(No subject)
« Reply #15 on: February 24, 2006, 05:10:55 AM »

Ok I have FINALLY lol gotten this to compile and load.  And what I have discovered is after the level 9999 is set, the person has to hop 2 times before it catches the +q instead of just the +ao.  Not sure why, but I think thats a small price to pay for it to catch the first time.  Because so far after that first glitch of hopping twice to take effect it seems to work the rest of the times just fine.
Logged

Spy

  • Guest
(No subject)
« Reply #16 on: February 28, 2006, 09:55:45 PM »

Hmm.. I looked into it `cause I`m interested in it.
So:
When A user gets his nick added to the chan`s access list at 9999 he must surely identify first.
Then he gets +q or +a randomly UNLESS he used nickserv UPDATE command.
It would be just cool to have this module adding +q every time without additional commands.
PS: Is this module still in developement?
Logged

Trent

  • Guest
(No subject)
« Reply #17 on: March 08, 2006, 09:37:48 PM »

Confirmed you must hop twice for it to work.. very annoying!!
Logged
Pages: [1]   Go Up