Page 1 of 2
Auspice problems..
Posted: Tue Jan 04, 2005 11:54 pm
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).
Posted: Wed Jan 05, 2005 12:19 am
by LordOfHell
try TheQBot
Posted: Wed Jan 05, 2005 12:40 am
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.
Posted: Wed Jan 05, 2005 4:54 am
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...)
Posted: Wed Jan 05, 2005 5:00 am
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?
Posted: Wed Jan 05, 2005 5:01 am
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.
Posted: Wed Jan 05, 2005 5:42 am
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..
Posted: Wed Jan 05, 2005 7:52 am
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...
Posted: Wed Jan 05, 2005 4:15 pm
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.
Posted: Thu Jan 06, 2005 3:22 am
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

Posted: Thu Jan 06, 2005 4:35 am
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..?
Posted: Thu Jan 06, 2005 4:57 pm
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.
Posted: Fri Jan 07, 2005 6:18 pm
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
Posted: Fri Jan 07, 2005 8:39 pm
by McTerry
I still like LakeServ 6.0 better. =)
Maybe becouse I always used it since the first beginning.
Posted: Fri Jan 07, 2005 9:27 pm
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