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.

Megahal on Windrop Issue

Discussion of Eggdrop's code and module programming in C.
Post Reply
d
dokueki
Voice
Posts: 31
Joined: Sat Apr 28, 2007 8:42 am
Location: Bat Yam, Israel
Contact:

Megahal on Windrop Issue

Post by dokueki »

So uh... I downloaded Megahal for Windows (since I moved to Windows from Linux) and well, all the files seem to be in place, I loaded the right module, and megahal.dll is inside the modules directory. Although, I still get this error:
[11:00] Can't load modules megahal: No such file or directory
Any help on this would be great. Thanks in advance :3
User avatar
Alchera
Revered One
Posts: 3344
Joined: Mon Aug 11, 2003 12:42 pm
Location: Ballarat Victoria, Australia
Contact:

Post by Alchera »

Try moving it to the main windrop folder (or try the scripts folder).
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
d
dokueki
Voice
Posts: 31
Joined: Sat Apr 28, 2007 8:42 am
Location: Bat Yam, Israel
Contact:

Post by dokueki »

I tried moving the file to several locations, but it didn't work >: I miss Linux where I compiled the whole damn thing together X3
User avatar
speechles
Revered One
Posts: 1398
Joined: Sat Aug 26, 2006 10:19 pm
Location: emerald triangle, california (coastal redwoods)

Post by speechles »

dokueki wrote:I tried moving the file to several locations, but it didn't work >: I miss Linux where I compiled the whole damn thing together X3
Try putting it where it makes most sense, in the ../windrop/modules/ folder. Dll's are modules. Then simply add this line somewhere in your eggdrop.conf:

Code: Select all

loadmodule megahal
If you still get that error, your using a bad dll. Try using the same dll as I am.
<speechles> sp33chy windrop
<sp33chy> speechles: I am a child raised entirely by irc. You are a windrop.
Thats a windropped megahal just FYI.

Important Note:
When you source things in the eggdrop.conf it will assume you are sourcing from your windrop's root level. Using source scripts/script.tcl is required to source from the /scripts/ folder.
The same is NOT true when loading modules, it will assume you are loading from the /modules/ folder directly. You can simply use loadmodule yourmod with no need to specify a path.

This is most likely the cause of your troubles, you are using loadmodule path/to/module instead of just loadmodule module.
m
mellotron
Voice
Posts: 2
Joined: Thu Mar 06, 2008 2:27 pm

Post by mellotron »

I'd like to point out that I am having the same problem as OP.
I even tried the dll file you linked to.
btw I'm on vista 64-bit. Wonder if that has anything to do with it.
m
mellotron
Voice
Posts: 2
Joined: Thu Mar 06, 2008 2:27 pm

Post by mellotron »

I'd like to point out I fixed the problem by using the current stable release of windrop and not the development release.
s
sk-4
Halfop
Posts: 51
Joined: Sat Oct 06, 2007 6:37 am

Post by sk-4 »

iam getting this error Can't load modules megahal: dlopen, Win32 error 193

iam using megahl.dll from speechles

its windrop bot..thanks for advance help
d
dred ghawl
Voice
Posts: 1
Joined: Sat Aug 09, 2008 5:02 pm

Post by dred ghawl »

I have the same problem (have the german version of Windrop):

Kann keine Module laden megahal: No such file or directory
(Can't load modules megahal: No such file or directory)

Seems like a general problem of Windrop, I searched almost the whole web, found some polish boards where they have the same problem.

Maybe it is a problem in the new version of eggdrop?
G
Galten
Voice
Posts: 1
Joined: Sun Jan 04, 2009 7:34 am

Post by Galten »

I have this problem too. Ain't there a simple way to resolve it? I've tried all ways there is here..
User avatar
speechles
Revered One
Posts: 1398
Joined: Sat Aug 26, 2006 10:19 pm
Location: emerald triangle, california (coastal redwoods)

Post by speechles »

Galten wrote:I have this problem too. Ain't there a simple way to resolve it? I've tried all ways there is here..
<speechles> sp33chy windrop
<sp33chy> speechles: Its windrop yeah.
<speechles> sp33chy windropped
<sp33chy> speechles: It's me, the windropped bot taught entirely from irc!
I have the exact same problems as everyone else when I either try to upgrade the windrop or upgrade the megahal. So the answer is to downgrade both, use windrop 1.6.17 and the exact same megahal.dll as I am. This clearly works as I've shown above. Of course, this means to use all the files from the latest megahal, but replace the megahal.dll with the one I've provided. That is all you need to do with windrop 1.6.17 and your bot can chatter spam all day long too.
User avatar
MenzAgitat
Op
Posts: 118
Joined: Tue Jul 04, 2006 12:35 pm
Location: France
Contact:

Post by MenzAgitat »

I found out that some 1.6.18 Windrops were compiled with Tcl 8.4 while others were compiled with Tcl 8.5.

Megahal works with Windrop v1.6.18 / Tcl 8.4
Post Reply