atrexus / unluau

A decompiler for Luau (Roblox's Lua based programming language: https://luau-lang.org/).
Apache License 2.0
88 stars 21 forks source link

System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection. (Parameter 'index') #52

Open rekitrelt opened 7 months ago

rekitrelt commented 7 months ago

lotta [WRN] Encountered unhandled code SETUPVAL, skipping beforehand im using --encoding=1 it also errors without that but with unhandled operation code (164) bytecode client.txt

ChloeDoesThings commented 7 months ago

When I tried decompiling the script myself, (using Client encoding), it seems there is a problem with the JUMPXEQKB instruction when decompiling. Disassembling itself seems to be fine but it is coming from the lifter. I'll attempt to maybe fix this by creating a pull request.

thingmabob.txt

nikthegay commented 7 months ago

having the same issue, heres my bytecode: mainhandler.txt

ChloeDoesThings commented 7 months ago

The issue may be fixed since a pull request of mine got merged. Try building the unluau v1 source and see if it fixed it.