Anope IRC Services
Anope Development => Modules => Topic started by: Ramy on April 25, 2009, 03:27:10 PM
-
i tried this module : http://modules.anope.org/viewmod.php?id=152
hs_nethost
and i put i the config : NetworkHost "$nick$.users.$network$"
can i put random no. inplace of $nick$ ?
like it become @id28472983.users.network
snoop tried help yestrday but it didn't work
can any one help ?
-
why all the bold ???
the module currently only supports $nick$ and $network$... and while the module can be changed to allow more keywords, I don't really see the point of using a random number...
-
Might make more sense to use an incremental number, start at 0 or 1 and then just continue onwards.
-
the proplem is
if someone his nick is " Sam^6 "
as example
his gate will be
@Sam.6
and if someone his nick is Sam_6
his gate will be also
@Sam.6
my users wanted a fix
and the random no. is the only thing i thinked about
can u help ?
-
Maybe a truncated MD5 of the nickname, or something similar?
-
Maybe a truncated MD5 of the nickname, or something similar?
That has the possibility (though very low) of two people getting the exact same host.
-
Maybe a truncated MD5 of the nickname, or something similar?
how to do that?
there's no other way ?
even the random no ?
-
Both nicks will result in the same vhost because certain characters are valid for nicknames, but not for hosts... originally this module didn't even set vhosts for that kinda nicknames..
Both an MD5 and a random number leave the possibility of two people getting the same host..
As for an incremental number, the counter wouldn't survive an anope restart and a DB for a simply module like this is a bit overkill imho...
As for how to do it, it will require the module code to be modified...
-
Both nicks will result in the same vhost because certain characters are valid for nicknames, but not for hosts... originally this module didn't even set vhosts for that kinda nicknames..
Both an MD5 and a random number leave the possibility of two people getting the same host..
As for an incremental number, the counter wouldn't survive an anope restart and a DB for a simply module like this is a bit overkill imho...
As for how to do it, it will require the module code to be modified...
if it's id$random.nick it will hardly get 2 same host
and what about $random1.$random2.$random3 ( this is too hard )
what do u think ?
i wish it work any way of them
my users keep ask me day and night for fixing it
if u can please make it work , plz do it :)
thank you for help
-
The hs_nethost module isn't a bad module and would be awesome if it worked 100% of the time though (despite the easy ability to abuse it).
Also, why focus with automatic virtual hosts? As mentioned in my first statement, that just calls for abuse. If a user is banned from a channel all (s)he has to do is register a new nick and viola!
If you're wanting that to cloak users masks from showing their IP/host, you can always include a cloaking system in your IRCD.
-
It's a poorly coded module which works only 50% of the time anyways.
Because you're god's gift to module authoring :)
??? ::)
-
What? I gave no such gift to the world.
-
Because you're god's gift to module authoring :)
??? ::)
The post was modified. Also, no, I don't need to be a "gift" to be able to tell if a module does or does not work. :P Criticism is what makes things better (yes, I understand I could have been nicer in my reply, which is why I edited it).
-
You commented DIRECTLY on the coding.
-
You don't think the way it was coded has anything to do with whether it works or not?
-
Almost 500 downloads and a rating of 3.5/5 is more useful than your remark about something being poorly coded; can you do better? If so, go for it.
-
No, I probably could not do better but that has nothing to do with it. If you went to a restaurant and a cook served you poor tasting food, do you have the right to say it doesn't taste good when you yourself probably couldn't do better?
-
I pay for food in the restaurant so your argument is moot.
-
No, I probably could not do better but that has nothing to do with it. If you went to a restaurant and a cook served you poor tasting food, do you have the right to say it doesn't taste good when you yourself probably couldn't do better?
Shouldn't you be at school?
-
I pay for food in the restaurant so your argument is moot.
The module still doesn't work 100% of the time. :P
Shouldn't you be at school?
I don't know how long kids in the UK stay at school until or how poor your knowledge of timezones is, but school is out. :)
-
care-meter: [..............] 0%
Moving on...
-
Well, others have a higher care-meter than you.
-
(That was a hint to drop it)
If anyone has anything useful to add to the main discussion feel free.
-
The module still doesn't work 100% of the time. :P
What do you mean? As in it doesn't always assign the vhost?
-
Also re: OP, would it not be easy for someone with a bit of C experience to add a new variable called $random for him?
-
guys , u have time to fight with each other ? and don't have time to create this variable ?
also who said it's bad module , why u care ?
i like it and i loved it
i didn't ask for ur opinion , i ask for help :)
don't waste our time
-
Well, you're not helping the situation any.
If someone knows the answer they will speak up. If not, you may want to consider alternatives. Why can't you use IRCd cloaking?
-
well
my users get them ip chaned
and they want them id never change :)