open
https://gitlab.synchro.net/main/sbbs/-/issues/524
I try to setup a nodelist handler for amiganet, these come in lha formatI have added the archiver and it works ok with the files from the library![imagen](
https://gitlab.synchro.net/main/sbbs/uploads/8f6f2659b773ef2ee4f413936f1a02c1/imagen.png)I test on tickit.cfg with both nodelist_handler and file_handler with same results:```[AMYLIST]Dir=amn_amylistSourceAddress=39:943/1@amiganetForceReplace=trueHandler=tickit/nodelist_handler.jsHandlerArg={"domain":"amiganet", "match":"AmyList.l*", "nlmatch":"AmyList.*"};Handler = tickit/file_handler.js;HandlerArg = { "match": "AmyList.l*", "files": [{ "source": "Amylist.*", "destination": "/sbbs/fido/NODELIST.AMIGANET" }]}```it seems that the part of code that tries to detect the archiver is not working for this case``` Object.keys(ctx.sbbsecho.packer).forEach(function(key) { var i; var sig = ''; f.position = ctx.sbbsecho.packer[key].offset; for (i=0; i<ctx.sbbsecho.packer[key].sig.length; i+=2) { sig += format("%02X", f.readBin(1)); if (f.eof) break; } if (sig === ctx.sbbsecho.packer[key].sig) unpack = ctx.sbbsecho.packer[key].unpack; }); f.close(); if (unpack == undefined) { log(LOG_DEBUG, "Unable to identify packer for '"+tic.file+"'"); return false; }```I attach a AmyList.l48 nodelist example that came from my boss.[AmyList.l48](/uploads/4f200dfa9dbe27939d5e68a697ba0a74/AmyList.l48)
--- SBBSecho 3.20-Linux
* Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)