Anope IRC Services

Please login or register.

Login with username, password and session length
Advanced search  

News:

Pages: [1] 2 3   Go Down

Author Topic: ns_ajoin  (Read 32960 times)

0 Members and 1 Guest are viewing this topic.

nucleus

  • Guest
ns_ajoin
« on: December 08, 2006, 01:48:47 PM »

ns_ajoin.c:1: error: syntax error before "module"
make[1]: *** [ns_ajoin.o] Error 1
make[1]: Leaving directory `/home/about/anope/src/modules'
make: *** [modules] Error 2

Can someone please tell me whats the problem here ?
How can i fix it
thx
Logged

n00bie

  • Anope User
  • Offline Offline
  • Gender: Male
  • Posts: 411
(No subject)
« Reply #1 on: December 08, 2006, 02:33:37 PM »

is that module from the Anope Modules Site (http://modules.anope.org) ?
Logged
I am always doing things that which I cannot do, in order that I may learn how to do it.

nucleus

  • Guest
(No subject)
« Reply #2 on: December 08, 2006, 03:05:23 PM »

Quote
Originalno postavio/la n00bie
is that module from the Anope Modules Site (http://modules.anope.org) ?


Yes
Logged

n00bie

  • Anope User
  • Offline Offline
  • Gender: Male
  • Posts: 411
(No subject)
« Reply #3 on: December 08, 2006, 03:44:22 PM »

open the file/module ns_ajoin.c which youv'e downloaded and you will see that it is written like this...

This module has been removed due to bugs in the original version. If you wish to maintain an updated version of this module please contact heinz (http://modules.anope.org/profile.php?id=7).
Logged
I am always doing things that which I cannot do, in order that I may learn how to do it.

nucleus

  • Guest
(No subject)
« Reply #4 on: December 08, 2006, 06:12:59 PM »

Quote
Originalno postavio/la n00bie
open the file/module ns_ajoin.c which youv'e downloaded and you will see that it is written like this...

This module has been removed due to bugs in the original version. If you wish to maintain an updated version of this module please contact heinz (http://modules.anope.org/profile.php?id=7).

I see i contacted heinz
thx
Logged

heinz

  • Guest
(No subject)
« Reply #5 on: December 08, 2006, 11:37:28 PM »

The original version has major issues, so there's no point in having it. The current file says "If you want to take over development" to contact me.
Logged

X-Trancer

  • Guest
(No subject)
« Reply #6 on: January 04, 2007, 05:53:49 PM »

The Module ns_ajoin works not whit 1.7.18 Please Update this Module
Logged

Jan Milants

  • Team
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 1372
(No subject)
« Reply #7 on: January 04, 2007, 06:37:00 PM »

a new ns_ajoin is being work on... :)

note though that i m writing a completely new version, not an update or so that would still use most old code. therefor my version will be incompatible with the older version. i prefer using no mysql so will store everything in .db's
Logged
If you like me donate coins to 1FBmZVT4J8WAUMHKqpWhgNVj3XXnRN1cCk :)

SpaceDoG

  • Anope User
  • Offline Offline
  • Posts: 183
    • http://www.hypermutt.net
(No subject)
« Reply #8 on: January 04, 2007, 07:20:09 PM »

I eagerly look forward to and anticipate your new ns_ajoin Viper ;-)
Logged

X-Trancer

  • Guest
(No subject)
« Reply #9 on: January 05, 2007, 08:44:12 AM »

thx viper
Logged

X-Trancer

  • Guest
(No subject)
« Reply #10 on: January 15, 2007, 03:49:50 AM »

When is this Module released?
Logged

Jan Milants

  • Team
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 1372
(No subject)
« Reply #11 on: January 15, 2007, 11:51:18 AM »

when it s finished, or at least finished enough to do the basics it s supposed to do.

i haven't been able to work on it for 2 weeks though. The box hosting my testnet died... motherboard died, so i can't even test it at the moment... can't expect me to publish code that hasn't been tested at all... it might not even compile atm...

i got a new mobo and cpu for it now, but suse doesn't want to mount the partitions, so i ll prolly have to reinstall everything.. gonna take some time.

[Edited on 15-1-2007 by Viper]
Logged
If you like me donate coins to 1FBmZVT4J8WAUMHKqpWhgNVj3XXnRN1cCk :)

Jan Milants

  • Team
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 1372
(No subject)
« Reply #12 on: February 14, 2007, 10:17:04 PM »

for those interested, i did find some time to work on it and almost have it to the point where it s working and ready to be considered beta....

for those interested: http://vips.hopto.org/~viper/ns_ajoin.c (DONT USE THIS ON A LIVE NET!!!)
it will crash services upon unloading and contains a lot of debug alog()'s in the db saving routines!

for some weird reason the database saving routines work properly for an /os update, yet crash services and fail to save when unloading the module... for some reason the pointer to the next struct gets messed up... haven't been able to figure that one out yet... may take some time (still got exams 2)

just thought i d let ya know cuz i ve been silent for a month :)
Logged
If you like me donate coins to 1FBmZVT4J8WAUMHKqpWhgNVj3XXnRN1cCk :)

SpaceDoG

  • Anope User
  • Offline Offline
  • Posts: 183
    • http://www.hypermutt.net
(No subject)
« Reply #13 on: February 15, 2007, 02:54:29 PM »

You haven't been silent for a month... I just talked to you about it like 2 weeks ago ;-)
Logged

Armadillo

  • Anope User
  • Offline Offline
  • Gender: Male
  • Posts: 72
    • http://www.penguinfriends.org
(No subject)
« Reply #14 on: April 24, 2007, 06:44:38 PM »

Any news Viper?:)
Logged
IRC-Network: irc.PenguinFriends.org | Website: www.PenguinFriends.org
Anope: 1.9.9 | InspIRCd: 2.0

katsklaw

  • Guest
(No subject)
« Reply #15 on: April 27, 2007, 02:37:09 PM »

Quote
Originally posted by Armadillo
Any news Viper?:)


Viper will post an update when he has something worth reporting, please stop hounding him for an update, it's annoying and doesn't make him code any faster.
Logged

Armadillo

  • Anope User
  • Offline Offline
  • Gender: Male
  • Posts: 72
    • http://www.penguinfriends.org
(No subject)
« Reply #16 on: May 05, 2007, 03:44:52 PM »

That was a nice meant question, so why the hell do you react in that aggressiv way? I only wanted to knew if there is any change or not...
Logged
IRC-Network: irc.PenguinFriends.org | Website: www.PenguinFriends.org
Anope: 1.9.9 | InspIRCd: 2.0

katsklaw

  • Guest
(No subject)
« Reply #17 on: May 05, 2007, 04:54:37 PM »

Quote
Originally posted by Armadillo
That was a nice meant question, so why the hell do you react in that aggressiv way? I only wanted to knew if there is any change or not...


My reply was just as nice as yours.

Also, regardless of how nice you ask, repeated inquiries regardless of their source or intention still get annoying. I really meant what I said, when viper has something to talk about .. he will ;)
Logged

Jan Milants

  • Team
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 1372
(No subject)
« Reply #18 on: May 06, 2007, 02:25:50 PM »

last time i looked at it, i still couldn't get past the issue where it made services crash during unloading... the same piece of code to save the db worked fine during normal operation though.

But since i m on erasmus in helsinki atm, it s needless to say that i have other things to do atm. This module s back on the shelf till i have either a lot more time (prolly not before i go back home in 2 months), or i get some bright idea as to what s causing it (even more unlikely..)
So yea... i just have nothing to talk about :)
Logged
If you like me donate coins to 1FBmZVT4J8WAUMHKqpWhgNVj3XXnRN1cCk :)

Jan Milants

  • Team
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 1372
(No subject)
« Reply #19 on: July 26, 2007, 12:26:36 PM »

well... i finally have news... a working development version of ns_ajoin. :)

I consider this to be a beta and no longer a highly unstable alpha like the previous draft i posted here a few months ago...
But just to remind you... this is not supposed to be used on a live network unless you don't care that much about stability...

Though it shouldn't be run on a live net, i would need a few people to test it and report their findings as well as any bugs they can find back...

Source: http://vips.hopto.org/~viper/ns_ajoin.c

This version should have everything in it that should be in it and that was available in previous ajoin modules. It uses .db files instead of a mysql database so no need to start messing with sql.
Note that it requires Anope-1.7.19 (or higher) or an SVN version higher then revision 1231.

[Edited on 26-7-2007 by Viper]
Logged
If you like me donate coins to 1FBmZVT4J8WAUMHKqpWhgNVj3XXnRN1cCk :)

katsklaw

  • Guest
(No subject)
« Reply #20 on: July 26, 2007, 10:28:22 PM »

Viper you could always make the module check for the version in AnopeInit and MOD_STOP if it fails. Code follows: (Lets say you need svn r1256)


if (!moduleMinVersion(1,7,19,1256)) {
        alog("Your version of Anope isn't supported.");
        return MOD_STOP;
}


Thank you for the update! :)
Logged

Jan Milants

  • Team
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 1372
(No subject)
« Reply #21 on: July 27, 2007, 12:23:53 AM »

ahhhh i asked something like this on irc but there wasn't anyone around who knew how it could be done...

thx a lot
Logged
If you like me donate coins to 1FBmZVT4J8WAUMHKqpWhgNVj3XXnRN1cCk :)

Jan Milants

  • Team
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 1372
(No subject)
« Reply #22 on: July 29, 2007, 11:09:58 PM »

Newer version (V4.1.7) available. Contains fixes for 2 crashbugs. (thx to n00bie for reporting them).

Source: http://vips.hopto.org/~viper/ns_ajoin.c

Changelog:
Quote
* Fixed crashes in ajoin add/del
 * Added Anope version check
 * Default ajoin flags moved to a const
 * No longer storing empty entries with default configuration to the DB
Logged
If you like me donate coins to 1FBmZVT4J8WAUMHKqpWhgNVj3XXnRN1cCk :)

CuttingEdge

  • Guest
(No subject)
« Reply #23 on: August 09, 2007, 07:18:38 AM »

The AJOIN event seems to join channels BEFORE the client's vHost is set.  My suggestion would be to tie the internal event to the IDENTIFY command, instead of the internal EVENT_NICK_IDENTIFY one.
Logged

Jan Milants

  • Team
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 1372
(No subject)
« Reply #24 on: August 09, 2007, 10:47:14 AM »

hmmm i see... hadn't noticed that yet
i d prefer to avoid to "tie" to the identify command since i d have to perform all the same checks that will still be performed by the identify command, thus doing double work. I wonder whether this couldn't be considered a "bug" in anope.. i would expect the identify command to have finished its work when it sends the event, yet the event is send a while before the end of the function...
Logged
If you like me donate coins to 1FBmZVT4J8WAUMHKqpWhgNVj3XXnRN1cCk :)
Pages: [1] 2 3   Go Up