This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

Cant get quote script to work :( (Windrop)

Old posts that have not been replied to for several years.
Locked
d
danjuls

Cant get quote script to work :( (Windrop)

Post by danjuls »

ive downloaded sqlquote_release and put it in the windrop/scripts dir. I then downloaded fbsql.dll and libmysql.dll and put them in root dir of windrop.

Ive added the line load fbsql.dll to the script and
added the line source scripts/sqlquote_release.tcl to my eggdrop.conf. when i start the bot i get an error message

Code: Select all

"couldn´t load fbsql.dll: this library or a dependent library could not be found in library path.
wile executing
"load fbsql.dll"
<file "scripts/sqlquote_release.tcl line 21>
invoked from within
"source scripts/sqlquote_release.tcl"
<file "eggdrop.conf" line 1309>
What am i doing wrong?

i know its a lot o text i wrote but can someone plz help me?

Thanks
danjuls
W
Weirdo
Master
Posts: 265
Joined: Sat Apr 27, 2002 8:00 pm
Location: Manchester, England

Post by Weirdo »

looks like it wont work with the tcl library. Not much you can do. Must be an old script
d
danjuls

Post by danjuls »

ok thanks for the fast reply :)
m
madgabz
Voice
Posts: 20
Joined: Thu Apr 04, 2002 8:00 pm
Location: Copenhagen, Denmark
Contact:

Not so fast....

Post by madgabz »

I DID manage to get a mysql-implementation going on a windrop some time ago, tried yesterday, but didn't make it :(

I'll dive into it today, but i suspect the version of TCL to be at fault.

What version are you runnung, danjuls?

I think, FastBase only supports or runs with version 8.3 of TCL, meaning you'd have to use and older version of WinDrop!
User avatar
caesar
Mint Rubber
Posts: 3778
Joined: Sun Oct 14, 2001 8:00 pm
Location: Mint Factory

Post by caesar »

You can try also to get the latest version of Windrop and see if you get the same error..
Once the game is over, the king and the pawn go back in the same box.
W
Weirdo
Master
Posts: 265
Joined: Sat Apr 27, 2002 8:00 pm
Location: Manchester, England

Post by Weirdo »

doesnt work on windrop 1.6.12, works on 1.6.11 tho, but no one wants to have that version :)
d
danjuls

Post by danjuls »

Im using the Windrop 1.6.12 the latest i suppose...guess ill have to try to run an older version and see if it makes any differens....

Just hope someone someday will make one that works with newer TCL versions :P
W
Weirdo
Master
Posts: 265
Joined: Sat Apr 27, 2002 8:00 pm
Location: Manchester, England

Post by Weirdo »

try 1.6.10, that uses the older tcl lib iirc

And you could make it your project to update the code to the new standards. Use an old TCL reference and compaire it to the new ones. You resubmit it, and you know you made a difference :)

I am actually looking for a working quote script for my other windrop :)
p
ppslim
Revered One
Posts: 3914
Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England

Post by ppslim »

This is infact path conversion bug.

I don't think the load command looks in the current directory, only directories specified, or in the seach path (usualy the Tcl directory (not the scripts directory)).

If you have the DDL in the same dir as eggdrop, using ./ before the DLL filename should sure this.
d
danjuls

Post by danjuls »

damn ill try with my limited programing skillz :-?
Regarding quote script i found another on that works without mysql.

Quote Script by Steinsky. Version: 1.2.1 is the name and it works with a .txt file instead. but i refuse to not getting mysql connection to work, and ill try find a way to make it work :P
d
danjuls

Post by danjuls »

noo that didnt help either ;(

it complains the same thing again....only now it changed it to ./fbsql.dll instead of only fbsql.dll.

Here is the tcl script im trying to make work http://www.ruptbot.com/download.php?sid=9
Can anyone look at it and tell me if i missed something?
I changed the line

Code: Select all

load /home/httpd/fbsql.so
to

Code: Select all

 load fbsql.dll 
Should i move fbsql.dll to somewhere else than my root dir of windrop?
p
ppslim
Revered One
Posts: 3914
Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England

Post by ppslim »

After reading into this a little more, it seems it may be due to the fact, it either can't find the Tcl DLL, or it's lot locating libmysql.dll
d
danjuls

Post by danjuls »

oki i have had both files in the sam place all the time....do i need to load that libmysql.dll in some way to or do i just have to give up or get me an old version of the bot? :(
User avatar
stdragon
Owner
Posts: 959
Joined: Sun Sep 23, 2001 8:00 pm
Contact:

Post by stdragon »

Try putting it in c:\windows or c:\winnt or whatever you have. Also the system and system32 subdirs.
d
danjuls

Post by danjuls »

OK i think i made it :P or i didnt do much just downloaded the fbsql.dll.utf and used that instead...

Now i got a connection to my mysql database and will post here if i made it all the way :)
Locked