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 

windrop & mysql

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


Joined: 12 May 2005
Posts: 35

PostPosted: Mon Nov 14, 2005 9:59 am    Post subject: windrop & mysql Reply with quote

Id like to use a database with my windrop, so i searched for over and over without anything to be found.
Doesnt a compiled version exist for windows ?
Back to top
View user's profile Send private message
Alchera
Revered One


Joined: 11 Aug 2003
Posts: 3344
Location: Ballarat Victoria, Australia

PostPosted: Mon Nov 14, 2005 8:07 pm    Post subject: Reply with quote

Precompiled what exactly?
_________________
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
Back to top
View user's profile Send private message Visit poster's website
T-Xorcist
Halfop


Joined: 14 Nov 2005
Posts: 47
Location: Netherlands

PostPosted: Mon Nov 14, 2005 10:33 pm    Post subject: Reply with quote

I guess he means a precompiled MySQL module for windrop Cool
_________________
is-1337.org IRC server!
Back to top
View user's profile Send private message Visit poster's website
]Kami[
Owner


Joined: 24 Jul 2003
Posts: 590
Location: Slovenia

PostPosted: Tue Nov 15, 2005 4:16 am    Post subject: Reply with quote

Mystcl?
_________________
Slovene Eggdrop Page
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
ryal
Voice


Joined: 12 May 2005
Posts: 35

PostPosted: Tue Nov 15, 2005 10:17 am    Post subject: Reply with quote

oh my! i tried this (mysqltcl) a long time ago and couldnt manage to get it to work.
Today i tried again and it works like a charm (musta done something wrong back then).
THX!
Back to top
View user's profile Send private message
Alchera
Revered One


Joined: 11 Aug 2003
Posts: 3344
Location: Ballarat Victoria, Australia

PostPosted: Wed Nov 16, 2005 1:59 am    Post subject: Reply with quote

ryal wrote:
oh my! i tried this (mysqltcl) a long time ago and couldnt manage to get it to work.
Today i tried again and it works like a charm (musta done something wrong back then).
THX!

Practice makes perfect? Laughing
_________________
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
Back to top
View user's profile Send private message Visit poster's website
ryal
Voice


Joined: 12 May 2005
Posts: 35

PostPosted: Wed Nov 16, 2005 8:35 am    Post subject: Reply with quote

Clearly! I think that the first time i tried to implement it i forgot to define a variable ($dir) and couldnt find the error Smile
Back to top
View user's profile Send private message
raktivist
Voice


Joined: 22 Nov 2005
Posts: 15

PostPosted: Fri May 05, 2006 6:43 pm    Post subject: Reply with quote

ryal wrote:
Clearly! I think that the first time i tried to implement it i forgot to define a variable ($dir) and couldnt find the error Smile


anyone can answer.. how do u define the dir variable on pkgIndex.tcl??
Code:
proc loadmysqltcl { dir } {
    set oldcwd [pwd]
    cd $dir
    load libmysqltcl[info sharedlibextension]
    cd $oldcwd
}

package ifneeded mysqltcl 3.02 [list loadmysqltcl $dir]

w/c line shld i change.. pls show an example...
thanks in advance!
Back to top
View user's profile Send private message
Sir_Fz
Revered One


Joined: 27 Apr 2003
Posts: 3793
Location: Lebanon

PostPosted: Fri May 05, 2006 7:17 pm    Post subject: Reply with quote

The dir is passed as a parameter into the loadmysqltcl proc. If you want to change it, change it from where the proc is being called.
_________________
Follow me on GitHub

- Opposing

Public Tcl scripts
Back to top
View user's profile Send private message Visit poster's website
Kappa007
Voice


Joined: 26 Jul 2005
Posts: 38

PostPosted: Mon May 08, 2006 8:19 am    Post subject: Reply with quote

Just for info on mysql/windrop module:

I think it could be difficult as windrop is built with Cygwin/GCC.
You'd need a Cygwin/GCC version of the client library of mysql.
The library that ships with mysql for windows is not build with GCC and thus does not work.
Back to top
View user's profile Send private message
BarkerJr
Op


Joined: 30 Mar 2003
Posts: 104

PostPosted: Sat May 20, 2006 2:45 pm    Post subject: Reply with quote

I just compiled mysql.mod under cygwin. I don't have anything to test it against, but you could give it a try: ftp://barkerjr.net/pub/irc/eggdrop/modules/mysql.mod.0.6.win32.zip
Back to top
View user's profile Send private message Send e-mail Visit poster's website
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