Auspice problems..

The UnrealIRCd team does not officially provide support for any services packages that you may be using or want to use. This forum is provided so the community can help each other with services issues.

Moderator: Supporters

chevyman2002
Posts: 62
Joined: Sun Nov 14, 2004 2:55 am
Location: Texas
Contact:

Auspice problems..

Post by chevyman2002 »

Hey, anyone with knowledge of how to fix the Auspice services (seg faults; which should merely be arrays going out of range in the code) PLEASE SHARE. I'm tired of having to boot services back up due to a guest joining or such (also, records are saved in the database, don't wish to wipe everyone's nick and such so i don't plan on changing services.. yet anyway).
Your face looks like it was set on fire and put out with an axe ;x.
LordOfHell
Posts: 55
Joined: Thu Jul 22, 2004 3:33 pm
Location: Niedersachsen, Germany
Contact:

Post by LordOfHell »

try TheQBot
sincerely,
-=LordOfHell=-
Stealth
Head of Support
Posts: 2086
Joined: Tue Jun 15, 2004 8:50 pm
Location: Chino Hills, CA, US
Contact:

Post by Stealth »

Auspices is old and crappy. When they made it, they did without any more error handling other than seg faulting, so when Unreal sends it a message that it doesnt recognize, it panics and crashes.

Auspices is also an abandoned project and has been for a couple of years now.
w00t
Posts: 1136
Joined: Thu Mar 25, 2004 3:31 am
Location: Nowra, Australia

Post by w00t »

Yup. I would personally recommend IRCServices.... *slobber*
Second choice, Anope.

(ofc, WinSE will rule them all, when/if it even hits the alpha stage...)
-ChatSpike IRC Network [http://www.chatspike.net]
-Denora Stats [http://denora.nomadirc.net]
-Omerta [http://www.barafranca.com]
chevyman2002
Posts: 62
Joined: Sun Nov 14, 2004 2:55 am
Location: Texas
Contact:

Post by chevyman2002 »

So, is there a way that i can like change the code in any of the auspice modules to fix it? -- if not, is there a way that i can take and load some of the crap back into some other services from ausserv?
Your face looks like it was set on fire and put out with an axe ;x.
w00t
Posts: 1136
Joined: Thu Mar 25, 2004 3:31 am
Location: Nowra, Australia

Post by w00t »

it's a lost cause really (fixing auspice has been tried many times, by myself included)... if you have good databases still, I know that ircservices has a conversion utility, and anope probably does too.
-ChatSpike IRC Network [http://www.chatspike.net]
-Denora Stats [http://denora.nomadirc.net]
-Omerta [http://www.barafranca.com]
chevyman2002
Posts: 62
Joined: Sun Nov 14, 2004 2:55 am
Location: Texas
Contact:

Post by chevyman2002 »

ic, i've just loved all the modules it has ;/ such as X, W, AGENT,etc... really lets you customize things.. but, dunno, the db files are still good and all, i kinda wanna try some stuff on auspice though..
Your face looks like it was set on fire and put out with an axe ;x.
Stealth
Head of Support
Posts: 2086
Joined: Tue Jun 15, 2004 8:50 pm
Location: Chino Hills, CA, US
Contact:

Post by Stealth »

If you look around (like on Google) for a database converter, you might find one, if you cant find one, it might be possible to persuade (with cash) a coder from the services you want to make a database converter for you.

Other than that, you can live with the services crashes, or let everyone re-register their nicks...
codemastr
Former UnrealIRCd head coder
Posts: 811
Joined: Sat Mar 06, 2004 8:47 pm
Location: United States
Contact:

Post by codemastr »

chevyman2002 wrote:So, is there a way that i can like change the code in any of the auspice modules to fix it? -- if not, is there a way that i can take and load some of the crap back into some other services from ausserv?
Sure, any code can be fixed. But are you experienced with C? Are you good at debugging applications? Are you familiar with the Auspice source code? If you didn't answer "yes" to all three of those, then most likely, you won't succeed.
-- codemastr
w00t
Posts: 1136
Joined: Thu Mar 25, 2004 3:31 am
Location: Nowra, Australia

Post by w00t »

Even then, if you look at the auspice source, it's really easier to write a service package from the ground up than rewrite the whole of auspice, which is pretty much what you need to do :)
-ChatSpike IRC Network [http://www.chatspike.net]
-Denora Stats [http://denora.nomadirc.net]
-Omerta [http://www.barafranca.com]
chevyman2002
Posts: 62
Joined: Sun Nov 14, 2004 2:55 am
Location: Texas
Contact:

Post by chevyman2002 »

something stupid i was thinking about today.. what would happen if i loaded most if not all of the auspice services as Unreal modules.. ircd just crash when it had a seg fault or..?
Your face looks like it was set on fire and put out with an axe ;x.
codemastr
Former UnrealIRCd head coder
Posts: 811
Joined: Sat Mar 06, 2004 8:47 pm
Location: United States
Contact:

Post by codemastr »

chevyman2002 wrote:something stupid i was thinking about today.. what would happen if i loaded most if not all of the auspice services as Unreal modules.. ircd just crash when it had a seg fault or..?
Umm, what? Auspice services are not Unreal modules. They wouldn't even load. It's like asking what happens if you try to use a pencil instead of a key to start your car. Well, a pencil isn't a key, so it's not going to work.
-- codemastr
tabrisnet
Posts: 11
Joined: Sun May 30, 2004 9:45 pm
Location: Michigan, USA

Post by tabrisnet »

The Auspice code is pretty much a mess. I hacked on it for about 9 months, adding features and fixing up obvious bugs. And I was able to improve stability, but in the end it was largely a lost cause.

I will say that it is trivial to write a database dumper for it, as it uses one-shot loads and saves. so you just open a text file, fprintf(...), and you have the data. do this inside both nickserv and chanserv.c, in the save databse function.

to be perfectly honest tho, I did this only after writing a brand new services in Perl and SQL, which we currently use. I expect a public release (not bug-free mind you, but still quite good) of it soon. SurrealServices borrows a lot of ideas from Auspice (and CR, which Auspice takes a lot of ideas from), as well as Anope.

Hopefully this kind of thing will help with those small networks that love the featureset that Auspice had. While being much more stable.

--
tabris
Owner of SurrealChat.net
and Co-Coder of SurrealServices
McTerry
Posts: 64
Joined: Tue Oct 19, 2004 12:42 am
Location: *.se
Contact:

Post by McTerry »

I still like LakeServ 6.0 better. =)
Maybe becouse I always used it since the first beginning.
BOOM!
Stealth
Head of Support
Posts: 2086
Joined: Tue Jun 15, 2004 8:50 pm
Location: Chino Hills, CA, US
Contact:

Post by Stealth »

EEEWWW!

LakeServ was the worst services I have ever used... They were so bad I went back to Auspices and lived with the segfaults.

If you want to know about my problems with LakeServ, there is a topic that mentiones thes somewhere where I listed my issues.


EDIT: This one: http://forums.unrealircd.com/viewtopic.php?t=1128
Locked