Zezombye / overpy

High-level language for the Overwatch Workshop with support for compilation and decompilation.
GNU General Public License v3.0
180 stars 28 forks source link

Error when importing with obscurity #278

Closed Mazawrath closed 2 years ago

Mazawrath commented 2 years ago

I am trying to import the code in this branch, only with the #!obfuscate option added on the second line of Genji-Dodgeball.opy. This code compiles fine and can be sucessfuly pasted into Overwatch. The issue happens when I add the flag. The attached file is the output I am getting: settings.txt And when I try to import the settings, Overwatch outputs this error: Error: Expected a map name after 'Map(' on line 474

Any help would be appreciated.

Mazawrath commented 2 years ago

Doing some more research this even happens in my master branch. So not too sure what actually caused this.

Zezombye commented 2 years ago

Right, they still haven't added Malevento to live so the Map(Malevento) gives an error.

I'll release an update to remove it, in the meanwhile you'll have to ctrl+f "malevento" in the output and replace it by whatever map you want.

Zezombye commented 2 years ago

Well, they added it to live :p