<?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/4161" />

	<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-05-29T19:03:46-04:00</updated>

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

		<entry>
		<author><name><![CDATA[lordares]]></name></author>
		<updated>2003-05-29T19:03:46-04:00</updated>

		<published>2003-05-29T19:03:46-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=20916#p20916</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=20916#p20916"/>
		<title type="html"><![CDATA[storing chan/user data in mysql]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=20916#p20916"><![CDATA[
pfft thats easy<br>cd eggdrop/src<br>grep -ri "fprintf" *<br><br>everything but the notes.mod output it used for chanfile/userfile writing.<br><br><br>and comment out all the places it reads in userfile and chanfile<br>and backup functions.<br><br>I just made my botpack leaf not use any files at all, or save.. so i know exactly where to make the code changes, but i have no interest in making or really helping you with this, except for what i have already offered.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2401">lordares</a> — Thu May 29, 2003 7:03 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2003-04-21T12:53:11-04:00</updated>

		<published>2003-04-21T12:53:11-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=19319#p19319</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=19319#p19319"/>
		<title type="html"><![CDATA[storing chan/user data in mysql]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=19319#p19319"><![CDATA[
If anyone would like to help with the development of the next ClanBots version which includes this module I am making, please contact me <a href="mailto:evilmonkey@clanbots.org">evilmonkey@clanbots.org</a>.<br>Thanks<p>Statistics: Posted by Guest — Mon Apr 21, 2003 12:53 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2003-04-19T22:15:06-04:00</updated>

		<published>2003-04-19T22:15:06-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=19268#p19268</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=19268#p19268"/>
		<title type="html"><![CDATA[storing chan/user data in mysql]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=19268#p19268"><![CDATA[
thanks for all of the tips<p>Statistics: Posted by Guest — Sat Apr 19, 2003 10:15 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[pelefanten]]></name></author>
		<updated>2003-04-19T18:03:57-04:00</updated>

		<published>2003-04-19T18:03:57-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=19263#p19263</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=19263#p19263"/>
		<title type="html"><![CDATA[storing chan/user data in mysql]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=19263#p19263"><![CDATA[
I recomend you look in src/chan.h and src/users.h. This is an example on how to get to every user in a channel, and the channel info:<br><div class="codebox"><p>Code: </p><pre><code>memberlist *m;struct chanset_t *c;c = findchan_by_dname("#chan");for (m = c-&gt;channel.member; m &amp;&amp; m-&gt;nick[0]; m = m-&gt;next) {    // Nick: m-&gt;nick    // Host: m-&gt;userhost    // Handle: m-&gt;user?m-&gt;user-&gt;handle:"*"}</code></pre></div>More info on what a memberlist and chanset_t is look in the .h files.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3028">pelefanten</a> — Sat Apr 19, 2003 6:03 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[stdragon]]></name></author>
		<updated>2003-04-19T01:37:52-04:00</updated>

		<published>2003-04-19T01:37:52-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=19247#p19247</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=19247#p19247"/>
		<title type="html"><![CDATA[storing chan/user data in mysql]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=19247#p19247"><![CDATA[
User info is stored in the user file, channel data is stored in the channel file. Look in src/user*.c for user info, and the channel module for channel info.<br><br>Perhaps the best way to do it would be to have a blank user/channel file, and then when the bot starts and the module is loaded, you add all the users from there. Same with channels.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8">stdragon</a> — Sat Apr 19, 2003 1:37 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2003-04-17T12:33:32-04:00</updated>

		<published>2003-04-17T12:33:32-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=19180#p19180</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=19180#p19180"/>
		<title type="html"><![CDATA[storing chan/user data in mysql]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=19180#p19180"><![CDATA[
im making a module that will store all data in mysql then load it locally when bot is started, where can i find stuff on user and chan data? such as how it stores it, and other commands like that<p>Statistics: Posted by Guest — Thu Apr 17, 2003 12:33 pm</p><hr />
]]></content>
	</entry>
	</feed>
