Modules

For everything NOT server specific support. Do NOT ask for connectivity help here!.

Moderator: Moderators

catcity
Noob
Noob
Posts: 18
Joined: 20 Oct 2012, 14:31
Noob?: No

Modules

#1 Post by catcity »

Can openkore use modules external to what is included in the package? I assumed yes but when I use lib to direct to my lib folders openkore crashes on startup. My perl installation is windows DWIMPERL.

Thanks

C
There's two types of people in this world, kid: Those who can, and those who can't; and cats...

[Plugin] Automatic Map Changer
EternalHarvest
Developers
Developers
Posts: 1798
Joined: 05 Dec 2008, 05:42
Noob?: Yes

Re: Modules

#2 Post by EternalHarvest »

Try to run openkore using your installed Perl (openkore.pl instead of any executables). Otherwise, you probably are limited to pure-Perl only modules, try to put them in some independent from other Perl directory, like already used src/deps.
catcity
Noob
Noob
Posts: 18
Joined: 20 Oct 2012, 14:31
Noob?: No

Re: Modules

#3 Post by catcity »

Again, whether I use lib or place the module in the src/deps folder it just crashes openkore as soon as I try to call it. It finds the module okay but the whole application comes crashing down on run. To test it I tried putting the call to the module into a command. So it loads openkore now and logs in to game fine; but when you run the console command, immediate crash.
There's two types of people in this world, kid: Those who can, and those who can't; and cats...

[Plugin] Automatic Map Changer
User avatar
kLabMouse
Administrator
Administrator
Posts: 1301
Joined: 24 Apr 2008, 12:02

Re: Modules

#4 Post by kLabMouse »

Openkore compiled binaries use Active Perl (5.10 or 5.12)
So if you want to add additional, you should recompile binary modules, or use the same version as original compiled binaries used.