[√] Buscar nuevos mensajes en todos los grupos? Si
!JavaScript ../xtrn/DDMsgReader/DDMsgReader.js line 1548: Error: can't convert
msgNum to an integer
[√] Buscar mensajes no leidos en todos los grupos? Si
!JavaScript ../xtrn/DDMsgReader/DDMsgReader.js line 1548: Error: can't convert
msgNum to an integer
Hi - I am the developer of DDMsgReader. From the line number, it looks like you are using the latest one from CVS, is that correct? I have not seen that on my BBS, so for some debugging, it would help me if you could temporarily put this in your DDMsgReader.js just above line 1548:
console.print("\1n\r\nmsgNum: " + msgNum + ", type: " + typeof(msgNum)
+ "\r\n\1p");
Then run it again, and share here what you see from this output statement.
Then you can remove that from your DDMsgReader.js.
i see that this prompts was trigger via Loadable modules i set as follow
the setup docs:
Read Mail -> DDReadPersonalMail
Scan Msgs -> DDScanMsgs
Scan Subs -> DDScanSubs
I remenber that this was working and search the way to debug this
whitout create fakes users
i want try ;exec DDScanMsgs.js
what cmd arguments are passed from syncrhonet to the module?
You should not have to run those .js files directly, as those are meant to be set up in your Loadable Modules in SCFG. The idea is that you can either call DDMsgReader.js from your command shell or set up DDMsgReader.js as a loadable module and use the stock message reader commands in your command shell. But if you are curious, these are the command arguments passed to those: DDScanMsgs.js: Sub-board code, scan mode, and search text (the scan mode is based on definitions in sbbsdefs.js)
DDScanSubs.js: Whether or not to scan all subs (1 or 0) and scan mode (the scan mode is based on definitions in sbbsdefs.js)
Nightfox
---
þ Synchronet þ Digital Distortion: digitaldistortionbbs.com