]> jfr.im git - irc.git/blob - software/!RELEASES/ircservices/achurch.org/services/lists/ircservices-coding/2002/001745.html
RELEASE -> !RELEASE
[irc.git] / software / !RELEASES / ircservices / achurch.org / services / lists / ircservices-coding / 2002 / 001745.html
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
2 <HTML>
3 <HEAD>
4 <TITLE> [IRCServices Coding] Coding Modules HOWTO:
5 </TITLE>
6 <LINK REL="Index" HREF="index.html" >
7 <LINK REL="made" HREF="mailto:ircservices-coding%40ircservices.za.net?Subject=%5BIRCServices%20Coding%5D%20Coding%20Modules%20HOWTO%3A&In-Reply-To=000b01c2932c%24aff1d1e0%243d714fd9%40avansys">
8 <META NAME="robots" CONTENT="index,nofollow">
9 <META http-equiv="Content-Type" content="text/html; charset=us-ascii">
10 <LINK REL="Previous" HREF="001742.html">
11 <LINK REL="Next" HREF="001746.html">
12 </HEAD>
13 <BODY BGCOLOR="#ffffff">
14 <H1>[IRCServices Coding] Coding Modules HOWTO:</H1>
15 <B>Andrew Church</B>
16 <A HREF="mailto:ircservices-coding%40ircservices.za.net?Subject=%5BIRCServices%20Coding%5D%20Coding%20Modules%20HOWTO%3A&In-Reply-To=000b01c2932c%24aff1d1e0%243d714fd9%40avansys"
17 TITLE="[IRCServices Coding] Coding Modules HOWTO:">achurch at achurch.org
18 </A><BR>
19 <I>Sun Nov 24 14:36:07 PST 2002</I>
20 <P><UL>
21 <LI>Previous message: <A HREF="001742.html">[IRCServices Coding] Coding Modules HOWTO:
22 </A></li>
23 <LI>Next message: <A HREF="001746.html">[IRCServices Coding] Coding Modules HOWTO:
24 </A></li>
25 <LI> <B>Messages sorted by:</B>
26 <a href="date.html#1745">[ date ]</a>
27 <a href="thread.html#1745">[ thread ]</a>
28 <a href="subject.html#1745">[ subject ]</a>
29 <a href="author.html#1745">[ author ]</a>
30 </LI>
31 </UL>
32 <HR>
33 <!--beginarticle-->
34 <PRE> To be perfectly frank, my position is that you should at least be able
35 to read the code (and I like to believe that my code is fairly readable) if
36 you're going to be writing a module, cut-and-paste or not. Much as I would
37 have liked to write a full and detailed document on creating modules, and
38 for that matter a complete Services design document, I simply don't have
39 that much time on my hands. The &quot;protocol/unreal&quot; module in particular is
40 well documented, and should be instructive on how modules are put together;
41 for &quot;bot&quot;-type modules, look at any of the existing *Serv modules, which
42 among others should answer your question about adding commands.
43
44 The point about how to compile is a valid one, and I'll look at adding
45 more information about that into the manual; in the meantime, look at the
46 Makefile for any of the existing modules and/or read the comments at the
47 top of modules/Makerules for information.
48
49 As far as the API goes, it's already documented in section 6 of the
50 manual, in case you missed it.
51
52 --Andrew Church
53 <A HREF="http://www.ircservices.za.net/mailman/listinfo/ircservices-coding">achurch at achurch.org</A>
54 <A HREF="http://achurch.org/">http://achurch.org/</A>
55
56 &gt;<i>*This message was transferred with a trial version of CommuniGate(tm) Pro*
57 </I>&gt;<i> Hi.
58 </I>&gt;<i>
59 </I>&gt;<i>I'm the admin for a tiny RolePlayGaming network and we're currently looking
60 </I>&gt;<i>into making addon modules for a series of Services Bots that will share the
61 </I>&gt;<i>load for a Roleplay Service on IRC.
62 </I>&gt;<i>
63 </I>&gt;<i>The problem is that none of us are really coders, and we need a lot of help
64 </I>&gt;<i>getting started. With enormous respect for Andy and his great works on
65 </I>&gt;<i>producing his wonderful services, his documentation re: modules creation
66 </I>&gt;<i>leaves much to be desired, and seems to concentrate more on where and how we
67 </I>&gt;<i>should indent, then on how to compile a new module, and integrate it into
68 </I>&gt;<i>services.
69 </I>&gt;<i>
70 </I>&gt;<i>Simple questions to which we should be able find answers baffle us I'm
71 </I>&gt;<i>afraid, one such is: Do we add tokens for new commands to the exsiting token
72 </I>&gt;<i>list in init.c, or is there a way to introduce them within the modules
73 </I>&gt;<i>without editing existing code?
74 </I>&gt;<i>
75 </I>&gt;<i>How do we include a module to the list of modules to be compiled, ie: is
76 </I>&gt;<i>there a command line for compilation of extra modules like with Apache, or
77 </I>&gt;<i>do we just drop them into the modules directory and recompile from scratch
78 </I>&gt;<i>as with UnrealIRCD?
79 </I>&gt;<i>
80 </I>&gt;<i>Has anyone written a skeleton module with compilation instructions that we
81 </I>&gt;<i>could use as a starter?
82 </I>&gt;<i>Is there a list of APIs that we could call on or must we read the code (Very
83 </I>&gt;<i>headbreaking for us low IQ, cut &amp; paste coders).
84 </I>&gt;<i>
85 </I>&gt;<i>Please don't tell me anything useless like: &quot;If you don't understand the
86 </I>&gt;<i>code you shouldn't be doing this!&quot; Unless you intend to do the coding for
87 </I>&gt;<i>us, for free, because suitable, or not; We're all we've got!.
88 </I>&gt;<i>
89 </I>&gt;<i>Olly <A HREF="http://www.ircservices.za.net/mailman/listinfo/ircservices-coding">admin at rpglairs.com</A>
90 </I>&gt;<i>
91 </I>&gt;<i>
92 </I>&gt;<i>
93 </I>&gt;<i>
94 </I>&gt;<i>---
95 </I>&gt;<i>Outgoing mail is certified Virus Free.
96 </I>&gt;<i>Checked by AVG anti-virus system (<A HREF="http://www.grisoft.com">http://www.grisoft.com</A>).
97 </I>&gt;<i>Version: 6.0.413 / Virus Database: 232 - Release Date: 06/11/2002
98 </I>&gt;<i>
99 </I>&gt;<i>
100 </I>&gt;<i>------------------------------------------------------------------
101 </I>&gt;<i>To unsubscribe or change your subscription options, visit:
102 </I>&gt;<i><A HREF="http://www.ircservices.za.net/mailman/listinfo/ircservices-coding">http://www.ircservices.za.net/mailman/listinfo/ircservices-coding</A>
103 </I>
104
105 </PRE>
106
107 <!--endarticle-->
108 <HR>
109 <P><UL>
110 <!--threads-->
111 <LI>Previous message: <A HREF="001742.html">[IRCServices Coding] Coding Modules HOWTO:
112 </A></li>
113 <LI>Next message: <A HREF="001746.html">[IRCServices Coding] Coding Modules HOWTO:
114 </A></li>
115 <LI> <B>Messages sorted by:</B>
116 <a href="date.html#1745">[ date ]</a>
117 <a href="thread.html#1745">[ thread ]</a>
118 <a href="subject.html#1745">[ subject ]</a>
119 <a href="author.html#1745">[ author ]</a>
120 </LI>
121 </UL>
122
123 </body></html>