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 

Windop 3.2

 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Support & Releases
View previous topic :: View next topic  
Author Message
ting
Voice


Joined: 23 Jul 2006
Posts: 2

PostPosted: Sun Jul 23, 2006 4:36 am    Post subject: Windop 3.2 Reply with quote

Hi, i met quite a number of problems while installing windop 3.2. Hope someone here who know about this could help me solve the problem.

My question as follow:
I had installed windop 3.2 to my eggdrop and rehash it.. its doenst work and keep showing the error msg in my eggdrop partyline as:
Code:
 [09:23] Tcl error [dopChecktask]: mysqlsel/db server: No Database Selected.


the following is the instruction are given by its help documentation:
Quote:
4. Load the windopsql tcl on your eggdrop and rehash it. You may get problem saying that mysqltcl module doesn't exist (but you installed the mysqltcl module).. Go into the tcl and change the line "package require mysqltcl" by "package require mysql". Then, do .mysqlconnect to make the eggdrop connect to the mysql database.


I changed "package require mysqltcl" by "package require mysql" and rehash. My eggdrop crash and shown the error msg as follow:

Quote:
<iStreamBot> [16:53] _-¯->Windop version 3.2 (http://www.windop.com) has been loaded<-¯-_
<iStreamBot> [16:53] _-¯->This software is free software under the terms of GNU GPL 2<-¯-_
<iStreamBot> [16:53] Tcl error in file 'istream.conf':
<iStreamBot> [16:53] can't find package mysql
<iStreamBot> while executing
<iStreamBot> "package require mysql"
<iStreamBot> (file "scripts/windopSQL-0.1BETA.tcl" line 22)
<iStreamBot> invoked from within
<iStreamBot> "source scripts/windopSQL-0.1BETA.tcl"
<iStreamBot> (file "istream.conf" line 138)
<iStreamBot> [16:53] * CONFIG FILE NOT LOADED (NOT FOUND, OR ERROR)
-
DCC session closed


I changed back "package require mysql" to "package require mysqltcl". Bot start working back and i type .mysqlconnect in partyline.. error msg displayed in partyline as follow:
Quote:
[09:28] Tcl error [dopsqlDccConnect]: mysqluse/db server: Unknown database 'windopdb'


By here, I was thinking that may be my shell dint have mysqltcl install yet which required for this windoptcl to work. But i still met some problem while installing mysqltcl-3.02 which get from http://www.xdobry.de/mysqltcl.

The following is the error message i get while installing mysqltcl-3.02 in putty.

Quote:

$ cd mysqltcl-3.02
$ ./configure
checking for correct TEA configuration... ok (TEA 3.5)
checking for Tcl configuration... configure: WARNING: Can't find Tcl configuration definitions
$


I doubt i have problem wif mysqltcl installation. Hope somebody could help me with this as well.

The follow is the Help/install documentation included in the package of windopfull3.2:

Quote:

??How to install??
------------------
------------------
Note: You must have the mysqltcl(1) package for tcl installed on the box and apache+php+mysql.
------------------

1. Install the Windopsql tcl on your eggdrop
2. In your windop tcl, go to the line where it's written set dop(mysqladddon) 0 and put it to 1
3. Import the windopdb.sql into your mysql database (using the direct command or with phpMyAdmin) and configure the website (includes/conf.inc.php) and the windopsql tcl.
4. Load the windopsql tcl on your eggdrop and rehash it. You may get problem saying that mysqltcl module doesn't exist (but you installed the mysqltcl module).. Go into the tcl and change the line "package require mysqltcl" by "package require mysql". Then, do .mysqlconnect to make the eggdrop connect to the mysql database
5. Put the website in a directory accessible via the web...
6. On irc, so get the bot listen you back, set your password using the pass command. It will add you to the database


IMPORTANT NOTE: The installation of this script will make your channel setting and user (pass and access) reset. Mysql has to get all the new information. You may get problem to logon, then, change your password using the pass command.

(1) MysqlTcl available on http://www.xdobry.de/mysqltcl/




That's all for my question for about Windop 3.2 tcl for my eggdrop. Hope I could get the help as soon as possible. Thank you! Smile
Back to top
View user's profile Send private message
Thor
Voice


Joined: 22 Jul 2006
Posts: 4

PostPosted: Thu Jul 27, 2006 8:16 am    Post subject: Reply with quote

I was able to install mysqltcl by putting its dlls in the main windrop folder and by using a modified pkgindex.tcl

The modified file only has one line.
Code:
load libmysqltcl[info sharedlibextension]


Load it en eggdrop.conf (source scripts/pkgindex.tcl) before the script you want to use.

Remember that mysqltcl is simply a interface from TCL to SQL, you need to have a SQL database system running. I´ve tested it with xampp and EasyPhp, both come with mysql.
Back to top
View user's profile Send private message
ting
Voice


Joined: 23 Jul 2006
Posts: 2

PostPosted: Wed Aug 02, 2006 12:11 pm    Post subject: Reply with quote

first for all.. thanks for reply...

may i know.. how to do this:

Quote:
3. Import the windopdb.sql into your mysql database (using the direct command or with phpMyAdmin) and configure the website (includes/conf.inc.php) and the windopsql tcl.


my shell coy web dun hv the function for store any file to my mysql... but i got the mysql for my shell account.

thanks
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 -> Script Support & Releases 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