Page 1 of 1

Problem with Alias and selfmade service

Posted: Tue Oct 04, 2005 5:48 pm
by Psadi
I have a simple service that I have connect to one of my servers. All works good and it works like it should. Though today I set up an Alias for it I look at the current alias file and made it the same and it works on the server that I have the servies connecting to. Thogh the other servers that are linked to my server it doesnt work on.

aka I can on my server use /short commands but not on the other servers. There I must do /msg servicename command

What I think is that I havent done something in the service when it connects to the server it connects to but I dont know what.

All the servers uses the same alias file.

Posted: Tue Oct 04, 2005 11:08 pm
by Jason
Each server's alias file has to be corrected individually.

Posted: Tue Oct 04, 2005 11:40 pm
by Psadi
Well since I use include to get the alias file I would say that they are the same on each server. And since the alias for chanserv and nickserv and operserv works that is in the same file I dont see how I could have done such an error with the one I added since I used the same syntax as for the other services.

Posted: Tue Oct 04, 2005 11:55 pm
by Stealth
Show us the blocks.

Posted: Wed Oct 05, 2005 6:43 am
by Psadi

Code: Select all

alias nickserv { type services; };
alias ns { nick nickserv; type services; };
alias chanserv { type services; };
alias cs { nick chanserv; type services; };
alias memoserv { type services; };
alias ms { nick memoserv; type services; };
alias operserv { type services; };
alias os { nick operserv; type services; };
alias earthnews { type services; };
alias en { nick earthnews; type services; };
This is from the include file I use. I then include it along with other files.

Posted: Wed Oct 05, 2005 8:09 am
by Stealth
The alias::type should be set to normal, unless your service is on the services server.

Posted: Wed Oct 05, 2005 5:19 pm
by Psadi
Ok so if I have it linked to the server doesnt make any diffrence then? I figured since it was linked and u-lined it was to be typed as service.

As Stealth said setting it as normal worked fine :)

Thanks for the help

Posted: Thu Oct 06, 2005 6:39 am
by w00t
What a type of 'service' means that it will ONLY ever get sent to the client it refers to - if that client is located on your set::services-server - this adds some extra security, meaning that it is (within reason) impossible for a user to impersonate nickserv.

Posted: Thu Oct 06, 2005 7:55 am
by Xochipilli
Psadi,

why don't use this?:

Code: Select all

include "aliases/anope.conf";
if u have the Anope services.

Or:

Code: Select all

cd Unreal3.2/aliases
ls
aliases.conf  anope.conf  auspice.conf  cygnus.conf  epona.conf  generic.conf  genericstats.conf  ircservices.conf  operstats.conf

Posted: Thu Oct 06, 2005 8:42 am
by Dukat
Because he wrote his own services, Xochipilli. :P