question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Broken After 0.24

See original GitHub issue

After updating the lib, there’s a chance that the String Array does not work correctly.

I tested below code in obfuscator.io

rows.forEach((row, index) => {
  if (o.val) fn(` CONTENT ${o.val}`)
})
  • String Array
    • Rotate
    • Shuffle
    • Base64 Encoding
    • Threshold - 0.5
  • Split String Chunk: 15

The above will generate (result differs for each run):

rows['forEach']((c, d) => {
    if (o[b('0x0')])
        fn('\x20CONTENT\x20' + o['val']);
});
rows['forEach']((c, d) => {
    if (o[b('0x1')])
        fn(b('0x0') + o['val']);
});
rows['forEach']((c, d) => {
    if (o['val'])
        fn(b('0x1') + o[b('0x0')]);
});

I was expecting the code to be below instead.

    if (o[b('0x0')])
        fn(b('0x1') + o[b('0x0')]);

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:1
  • Comments:19 (14 by maintainers)

github_iconTop GitHub Comments

4reactions
beeingcommented, Feb 5, 2020

Yes. Just tested and it looks good so far. Thanks for the quick fixes!

1reaction
beeingcommented, Feb 4, 2020

Finally, found the issue here:

function run(aaa, { missing = '' } = {}) {
    let q = `run ${aaa} `;
    if (missing)
        q += ` SOMETHING ${missing}`;
    return q;
}

console.log(run('dummy', { missing: 'IMPORTANT' }))

The { missing } is renamed but the outside calling function is still using the same signature.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Did the 0.24 Update cause more problems than ususal or is ...
My UI config has been reset, for the first time ever. The new UI is laggier than before, many things flashing and not...
Read more >
[SOLVED] After upgrading to 0.24, roundcubemail appears to ...
I upgraded to 0.24 today and the roundcube interface is no longer working. The login page loads fine but upon clicking the login...
Read more >
BeamNG Drive - How To Fix AI Taking 90 Degree ... - YouTube
... I have run into some strange AI trouble with the 0.24 game update, ... How To Fix AI Taking 90 Degree Turn...
Read more >
Throw And Bow Users Are Broken Now? Minor Patch 0.24.3 ...
With some absolutely massive changes to items, how will the meta of ranged and mage characters in Eternal Return Black Survival shift?
Read more >
0.24 feedback :) | BeamNG
h) We tackled some issues that were broken since years: gamepad navigation of the UI - was horribly broken before.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found