Error in enabling DiXBoT in ADCH++-PtokaX

Asked by Ubuntu Newb

OS: Ubuntu 16.04
ADCH++ 2.12.1 complied for linux
DiXBoT v.2.1 Build 3080

I am unable to get any of the ptokax scripts to work, including DiXBoT. When i try to enable DiXBoT.lua from the ADCH++-PtokaX menu i get the following message in my dc++ client:

[13:05:59] * .../build/release-default/bin/scripts/adchpp-ptokax.lua:1823: Error loading the module "lfs" via "require"
[13:05:59] <ADCH++> Loaded px/DiXBoT.lua

I can confirm is in the directory /bin. Could it be that it was not compiled correctly during build?

I have checked to make sure adchpp-ptokax.lua is in my scripts folder and listed appropriately in the script.xml located in my config folder.

Any suggestions what the problem is?

Question information

English Edit question
ADCH++-PtokaX Edit question
No assignee Edit question
Last query:
Last reply:
Revision history for this message
poy (poy) said :


I wrote the following on <> about the freshstuff script; probably also applies to dixbot:

for freshstuff, you have to copy the lfs.dll file (found in the bin directory of ADCH++) to freshstuff/libnew (so that it sits next to pxlfs). for most scripts, no copy is necessary as they can locate the lib in the bin directory of ADCH++; but this is a required step for some scripts (including freshstuff).

try /lib, /libs, /libnew (I don't currently have access to a hub where I had this working so I'm not sure which one works.)

Revision history for this message
Ubuntu Newb (c0rs4ir) said :

DixBoT does not have any directory named lib, /libs, /libnew. I went ahead and created them and placed in it. I tried all 3 with no results. In the client, i get this message.

Error loading the module "socket" via "require"

Thank you for your response poy. Until i figure this out, i will use Luadch server, i got it up and running quickly, and its easier to work with.

Can you help with this problem?

Provide an answer of your own, or ask Ubuntu Newb for more information if necessary.

To post a message you must log in.