[RMXP] Syntax Error with a translated Khas Lighting

Hello, I was hoping if someone here could by any chance help me with a problem I'm having. On the internet, I found a translated version of Khas Lighting Effects for RPG Maker XP (Which I'm using over VX Ace right now for numerous reasons). However, when I paste the script into the project, I get an error that claims a syntax error on line 1344.

    $game_map.light_surface.bitmap.fill_rect(0,0,640,4  80,$game_map.effect_surface.color)
I have no scripting experience so I have no clue what to do. Can anyone help me???

If anyone is curious where I got the script from, it came from this Russian forum: http://rpgmaker.su/f26/khas-awesome-light-effects-1897/

Also the script seems to only work properly in Russian, so please don't comment about that.

I'll also post the script as a text file...

So please, can someone by any chance take the time to help me?  🙁

Khas Lighting (XP).txt
Hello! Try replacing that line with the following:

Code:
   $game_map.light_surface.bitmap.fill_rect(0,0,640,480,$game_map.effect_surface.color)
Hello! Try replacing that line with the following:

$game_map.light_surface.bitmap.fill_rect(0,0,640,480,$game_map.effect_surface.color)
Thanks, it worked for that error. But now it says there's an error in the script itself (non-syntax related).  >_>

I don't know what exactly is wrong with it, so I'll just bring up the line with error, and an image of the error message.

  alias kdi_setup setup
But again, thanks for the fix for the first error.

ErrorMessage.jpg
Have you seen the last page of the topic you linked? There's another version of the port.

Try that one instead, it might work. 🙂
Have you seen the last page of the topic you linked? There's another version of the port.

Try that one instead, it might work. 🙂
Unfortunately not.  :headshake:

It seems it only resolved the first error I had. Now with it, I get the same error I posted above, but for line 313, which is also the same line as the other...

  alias kdi_setup setup
You know, I might just suck it up and use VX Ace. I mainly wanted to use XP for the art. VX Ace has great compatibility, but the art man... it sucks! So I guess I'll just let an admin lock this thread or so and I will get on to learning how to use parallax mapping.
Unless someone can actually post a full fix, that would be nice!

Original thread: https://forums.rpgmakerweb.com/threads/rmxp-syntax-error-with-a-translated-khas-lighting.40631/