Problem with Alias and selfmade service

These are old archives. They are kept for historic purposes only.
Post Reply
Psadi
Posts: 42
Joined: Sat Mar 20, 2004 7:50 pm

Problem with Alias and selfmade service

Post by Psadi » Tue Oct 04, 2005 5:48 pm

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.

Jason
Posts: 570
Joined: Mon Jun 14, 2004 5:09 pm

Post by Jason » Tue Oct 04, 2005 11:08 pm

Each server's alias file has to be corrected individually.
Why the hell can't my signature be empty?
"Your message contains too few characters."

Psadi
Posts: 42
Joined: Sat Mar 20, 2004 7:50 pm

Post by Psadi » Tue Oct 04, 2005 11:40 pm

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.

Stealth
Head of Support
Posts: 2086
Joined: Tue Jun 15, 2004 8:50 pm
Location: Chino Hills, CA, US
Contact:

Post by Stealth » Tue Oct 04, 2005 11:55 pm

Show us the blocks.

Psadi
Posts: 42
Joined: Sat Mar 20, 2004 7:50 pm

Post by Psadi » Wed Oct 05, 2005 6:43 am

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.

Stealth
Head of Support
Posts: 2086
Joined: Tue Jun 15, 2004 8:50 pm
Location: Chino Hills, CA, US
Contact:

Post by Stealth » Wed Oct 05, 2005 8:09 am

The alias::type should be set to normal, unless your service is on the services server.

Psadi
Posts: 42
Joined: Sat Mar 20, 2004 7:50 pm

Post by Psadi » Wed Oct 05, 2005 5:19 pm

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

w00t
Posts: 1136
Joined: Thu Mar 25, 2004 3:31 am
Location: Nowra, Australia

Post by w00t » Thu Oct 06, 2005 6:39 am

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.
-ChatSpike IRC Network [http://www.chatspike.net]
-Denora Stats [http://denora.nomadirc.net]
-Omerta [http://www.barafranca.com]

Xochipilli
Posts: 7
Joined: Wed Oct 05, 2005 8:13 am
Location: Italy

Post by Xochipilli » Thu Oct 06, 2005 7:55 am

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

Dukat
Posts: 1083
Joined: Tue Mar 16, 2004 5:44 pm
Location: Switzerland

Post by Dukat » Thu Oct 06, 2005 8:42 am

Because he wrote his own services, Xochipilli. :P
If you don't make mistakes, you aren't really trying.
- Coleman Hawkins

Post Reply