Error in enabling DiXBoT in ADCH++-PtokaX

Asked by Ubuntu Newb on 2018-01-23

OS: Ubuntu 16.04
ADCH++ 2.12.1 complied for linux
adchpp-ptokax-rev112
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 lfs.so 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.
  <Script>access.lua</Script>
  <Script>access.bans.lua</Script>
  <Script>access.guard.lua</Script>
  <Script>access.op.lua</Script>
  <Script>access.bot.lua</Script>
  <Script>adchpp-ptokax.lua</Script>
  <Script>history.lua</Script>
  <Script>texts.lua</Script>

Any suggestions what the problem is?

Question information

Language:
English Edit question
Status:
Answered
For:
ADCH++-PtokaX Edit question
Assignee:
No assignee Edit question
Last query:
2018-01-23
Last reply:
2018-01-28
poy (poy) said : #1

hey,

I wrote the following on <https://answers.launchpad.net/adchpp-ptokax/+question/219033> 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.)

Ubuntu Newb (c0rs4ir) said : #2

DixBoT does not have any directory named lib, /libs, /libnew. I went ahead and created them and placed lfs.so 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.