egghelp.org community Forum Index
[ egghelp.org home | forum home ]
egghelp.org community
Discussion of eggdrop bots, shell accounts and tcl scripts.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

mysqltcl - for dummies

 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Modules & Programming
View previous topic :: View next topic  
Author Message
TC^^
Voice


Joined: 05 Jul 2005
Posts: 22

PostPosted: Sat Feb 25, 2006 9:01 pm    Post subject: mysqltcl - for dummies Reply with quote

Is it at all possible to install mysqltcl if you don't have any basic understanding of compiling and have no clue what to to with all the files that comes with mysqltcl-3.01.tar.gz?!

I've gone over alot of text and helpfiles, mostly aquired at http://www.xdobry.de/, and used hours browsing this forum to find any usefull help, but I can't find enough help to install mysqltcl with my experience.

I have yet to find a really simple explanation, a step by step guide if you will, suitable for someone with nearly no experience with Linux, and what not.. Confused

Can someone direct me to a guide, documentation or some kind of explanation I can use?.. or should I just give up Sad
Back to top
View user's profile Send private message
TC^^
Voice


Joined: 05 Jul 2005
Posts: 22

PostPosted: Fri Mar 03, 2006 12:21 pm    Post subject: Reply with quote

Well.. I got this far..

Finally figured out how to compile the .so file.. But now I have run into a wall again.. I have compiled the libmysqltcl3.01.so file, and copied it to the module directory of the bot.. Then I've added "loadmodule libmysqltcl3.01.so" to the bots config file.

The bot then starts with this message:

Quote:
Eggdrop v1.6.17 (C) 1997 Robey Pointer (C) 2004 Eggheads
[15:57] --- Loading eggdrop v1.6.17 (Fri Mar 3 2006)
[15:57] Listening at telnet port 11130 (all).
[15:57] Module loaded: dns
[15:57] Module loaded: channels
[15:57] Module loaded: server
[15:57] Module loaded: ctcp
[15:57] Module loaded: irc
[15:57] Module loaded: notes (with lang support)
[15:57] Module loaded: console (with lang support)
[15:57] Module loaded: blowfish
[15:57] Module loaded: uptime
[15:57] Can't load modules libmysqltcl3.01: No start function defined.
[15:57] oidentd.tcl loaded
[15:57] Userinfo TCL v1.07 loaded (URL BF GF IRL EMAIL DOB PHONE ICQ).
[15:57] use '.help userinfo' for commands.
[15:57] Userfile loaded, unpacking...
[15:57] === Terabot1: 1 channels, 6 users.
Launched into the background (pid: 5336)


[15:57] Can't load modules libmysqltcl3.01: No start function defined.

Did I skip some important steps in installing the module? Or does it need some more information in the config file?

Can someone please help?
Back to top
View user's profile Send private message
Kappa007
Voice


Joined: 26 Jul 2005
Posts: 38

PostPosted: Fri Mar 03, 2006 2:53 pm    Post subject: Reply with quote

Hehe I got no clue about MySQLTCL but i HIGHLY doubt you load it as module Wink

I'd say you compile and install it and then use "package require mysqltcl" or something in your Tcl script....
Back to top
View user's profile Send private message
caesar
Mint Rubber


Joined: 14 Oct 2001
Posts: 3741
Location: Mint Factory

PostPosted: Fri Mar 03, 2006 2:57 pm    Post subject: Reply with quote

have you added in the .conf file 'loadmodule libmysqltcl' to load the module? To use a module you'll have to load it first Kappa007.
_________________
Once the game is over, the king and the pawn go back in the same box.
Back to top
View user's profile Send private message
demond
Revered One


Joined: 12 Jun 2004
Posts: 3073
Location: San Francisco, CA

PostPosted: Sat Mar 04, 2006 1:02 am    Post subject: Reply with quote

libmysqltcl is not an eggdrop module but a Tcl extension; it should have been installed where your Tcl libraries are when you did make install; then you load it in your scripts by declaring:
Code:

package require mysqltcl

_________________
connection, sharing, dcc problems? click <here>
before asking for scripting help, read <this>
use [code] tag when posting logs, code
Back to top
View user's profile Send private message Visit poster's website
TC^^
Voice


Joined: 05 Jul 2005
Posts: 22

PostPosted: Sat Mar 04, 2006 7:41 am    Post subject: Reply with quote

It's working .. Thanks alot for the help..
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Modules & Programming All times are GMT - 4 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Forum hosting provided by Reverse.net

Powered by phpBB © 2001, 2005 phpBB Group
subGreen style by ktauber