<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-gb">
	<link rel="self" type="application/atom+xml" href="https://forum.eggheads.org/app.php/feed/topic/3828" />

	<title>egghelp/eggheads community</title>
	<subtitle>Discussion of eggdrop bots, shell accounts and tcl scripts.</subtitle>
	<link href="https://forum.eggheads.org/index.php" />
	<updated>2003-03-05T08:25:30-04:00</updated>

	<author><name><![CDATA[egghelp/eggheads community]]></name></author>
	<id>https://forum.eggheads.org/app.php/feed/topic/3828</id>

		<entry>
		<author><name><![CDATA[ppslim]]></name></author>
		<updated>2003-03-05T08:25:30-04:00</updated>

		<published>2003-03-05T08:25:30-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=17449#p17449</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=17449#p17449"/>
		<title type="html"><![CDATA[sheep]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=17449#p17449"><![CDATA[
OK - there are two items you need.<br><br>1: A function table.<br><br>This has a minimum of 4 items, and defined which functions are accable outside of this module, and can provide stuff to other modules and the core.<br><br>The 4 items are the start, close, memory counter and status report functions.<br><br>These are used byt he core, thus must allways be exported.<br><br>2: There should be at least the fucntion talked of in the function table.<br><br>The sheep modules gived information ragrding both of these.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2">ppslim</a> — Wed Mar 05, 2003 8:25 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2003-03-05T08:11:07-04:00</updated>

		<published>2003-03-05T08:11:07-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=17448#p17448</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=17448#p17448"/>
		<title type="html"><![CDATA[sheep]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=17448#p17448"><![CDATA[
I'm looking but duno on what to look for <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=187">caesar</a> — Wed Mar 05, 2003 8:11 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[ppslim]]></name></author>
		<updated>2003-03-05T08:06:43-04:00</updated>

		<published>2003-03-05T08:06:43-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=17447#p17447</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=17447#p17447"/>
		<title type="html"><![CDATA[sheep]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=17447#p17447"><![CDATA[
See the sheep and woobie modules, they both contain the information pertaining the start function.<br><br>THe start function sets up and binds when the module is loaded.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2">ppslim</a> — Wed Mar 05, 2003 8:06 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2003-03-05T08:00:31-04:00</updated>

		<published>2003-03-05T08:00:31-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=17446#p17446</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=17446#p17446"/>
		<title type="html"><![CDATA[sheep]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=17446#p17446"><![CDATA[
Guess I must put this line: char *foo_start();<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=187">caesar</a> — Wed Mar 05, 2003 8:00 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2003-03-05T07:51:24-04:00</updated>

		<published>2003-03-05T07:51:24-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=17445#p17445</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=17445#p17445"/>
		<title type="html"><![CDATA[sheep]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=17445#p17445"><![CDATA[
I've managed and made a module on my own but seems that I'fe forgot  to put something:<br><blockquote class="uncited"><div>foo: Error loading module: No start function defined.</div></blockquote>What start function I must put?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=187">caesar</a> — Wed Mar 05, 2003 7:51 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2003-03-05T07:11:13-04:00</updated>

		<published>2003-03-05T07:11:13-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=17444#p17444</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=17444#p17444"/>
		<title type="html"><![CDATA[sheep]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=17444#p17444"><![CDATA[
Actualy this sheep module dosen't have any .h files, just a sheep.c file. It's made by stdragon and it's available <a href="http://stdarg.techmonkeys.org/egg/modules/sheep.c" class="postlink">here</a>.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=187">caesar</a> — Wed Mar 05, 2003 7:11 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[ppslim]]></name></author>
		<updated>2003-03-05T07:08:17-04:00</updated>

		<published>2003-03-05T07:08:17-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=17443#p17443</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=17443#p17443"/>
		<title type="html"><![CDATA[sheep]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=17443#p17443"><![CDATA[
I can';t be bothered looking for it, but here are some things to try.<br><br>In the woobie Makefile, there are some lines regarding the files it is including in the process.<br><br>Make sure any .h fines in the sheep module directory are included in this list.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2">ppslim</a> — Wed Mar 05, 2003 7:08 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2003-03-05T07:04:22-04:00</updated>

		<published>2003-03-05T07:04:22-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=17442#p17442</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=17442#p17442"/>
		<title type="html"><![CDATA[sheep]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=17442#p17442"><![CDATA[
I've wanted to load this sheep module and learn from it and make my own modules. The problem is that duno how to make it's makefile. I've copied the woobie's makefile and replaced inside from woobie to sheep. Did a ./configure make config and make and finaly I'm getting some errors:<br><blockquote class="uncited"><div>gcc -pipe -fPIC -g -O2 -Wall -I. -I../../.. -I../../.. -I../../../src/mod -DHAVE_CONFIG_H   -DMAKING_MODS -c .././sheep.mod/sheep.c<br>../sheep.mod/sheep.c:121: parse error before "static"<br>../sheep.mod/sheep.c:125: warning: type defaults to `int' in declaration of `table'<br>../sheep.mod/sheep.c:125: warning: initialization makes integer from pointer without a cast<br>../sheep.mod/sheep.c:125: initializer element is not constant<br>../sheep.mod/sheep.c:125: warning: data definition has no type or storage class<br>../sheep.mod/sheep.c:126: parse error before "if"<br>../sheep.mod/sheep.c:127: warning: type defaults to `int' in declaration of `table'<br>../sheep.mod/sheep.c:127: redefinition of `table'<br>../sheep.mod/sheep.c:125: `table' previously defined here<br>../sheep.mod/sheep.c:127: warning: initialization makes integer from pointer without a cast<br>../sheep.mod/sheep.c:127: initializer element is not constant<br>../sheep.mod/sheep.c:127: warning: data definition has no type or storage class<br>../sheep.mod/sheep.c:128: parse error before "if"<br>../sheep.mod/sheep.c:130: parse error before "int"<br>../sheep.mod/sheep.c:148: `sheep_close' undeclared here (not in a function)<br>../sheep.mod/sheep.c:148: initializer element is not constant<br>../sheep.mod/sheep.c:148: (near initialization for `sheep_table[1]')<br>{standard input}: Assembler messages:<br>{standard input}:425: Error: symbol `table' is already defined<br>make[2]: *** [../sheep.o] Error 1<br>make[2]: Leaving directory `/home/irc/temp/eggdrop1.6.13/src/mod/sheep.mod'<br>make[1]: *** [sheep.mod_so] Error 2<br>make[1]: Leaving directory `/home/irc/temp/eggdrop1.6.13/src/mod'<br>make: *** [modules] Error 2</div></blockquote>What I'm doing wrong? I'm a newbie with the modules so I don't know. <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=187">caesar</a> — Wed Mar 05, 2003 7:04 am</p><hr />
]]></content>
	</entry>
	</feed>
