OpenBullet2
OpenBullet2 copied to clipboard
[Bug]: js of Jint block not dropped on compiled config
Version of the software
0.2.4
Operating system
Windows 2019
Browser / Native
native
What happened?
Relevant LoliCode if needed
No response
The file was not found, thats why it couldn't compile anything!
? Explanation for you (@openbullet can skip it as he already knows the problem and the issue is only as a reminder): The problem is that a normal config that includes for example
BLOCK:Script
INTERPRETER:Jint
INPUT LONGHEX
BEGIN SCRIPT
function cfDecodeEmail(encodedString) {
var email = "", r = parseInt(encodedString.substr(0, 2), 16), n, i;
for (n = 2; encodedString.length - n; n += 2){
i = parseInt(encodedString.substr(n, 2), 16) ^ r;
email += String.fromCharCode(i);
}
return email;
}
var MAIL = cfDecodeEmail(LONGHEX);
END SCRIPT
drops a js to Scripts folder. But on a compiled config compiled to a .dll with the DiscordBot is not dropping that file. And so it throws an error (which you usually can't see on compiled configs - only with some "magic")