Khas Advanced Lighting v4.2 Ultra (now with real-time shadows!)

on line 399 where the plugin states to enter custom lights, I've followed best I can to my understanding how to get it to work.
But to success- it keeps saying it cannot find the file.

Just to show if I'm making a mistake here:
PHP:
carlight: {
    fileName: "carlight",
    intensity: 100
    variation: 0,
    offset_x: {2: -12, 4: -72, 6: 72, 8: 16 },
    offset_y: {2: 72, 4: 0, 6: 16, 8: -72 },   
    syncWithDirection: true                   
},
I think it is missing a comma after 100
Addition of the comma has made no difference unfortunately. It still cannot find the files.
@Skurge could you send me the files via PM? I would like to test the plugin + the image file 🙂
Hopefully you can see the file underneath the text here- it's pretty invisible on the white forum background XD
@Skurge I mean, I need to check the plugin you edited as well xD
Oh sorry here it is:
KhasAdvancedLighting.js
@Skurge Let's go over this step by step:

1. Place the light file in the img/lights folder:
cl4.PNG


2. Add your custom light in the plugin (don't forget the missing comma @Daalaff pointed out)
cl3.PNG


3. Add a comment with the light name
cl2.PNG


4. Profit 😀
cl1.PNG
Any Game Time Systems Compatible with this Lighting Script yet? Because I was a huge fan on the Ace Version
I appreciate the help- but i'm still getting the error message. I've followed the steps to the letter and it still cannot find the file. I also had re downloaded the plugins to make sure mine where not out of date or obsolete.

What confuses me even more is that the image is literally just a flash lightx2 in an image same file type and everything.
@darkkitten not yet. But I do have plans to add compatibility! I still need to choose the time plugin though

@Skurge did you export the project or something of that sort?
I don't believe I've exported it, but currently my project is stored on my external Hard rive, does that break the pathway for finding the file?
@Skurge It shouldn't break, specially because it loads the other lights fine. Perhaps you could zip the whole project and then send to me so I can test here for you and see if I can figure out what is wrong.
Ok I'll try that, could you recommend a good compression program or something? My project uses plugins that the Deployment (exclude unused content) cannot work around and I was criticized before about uploading large demo files that actually had only 5 maps and one music track used at the time :/
Khas, Thank you for the Reply, I suggest you add support for Mogs Time System! https://atelierrgss.wordpress.com/rmv-time-system/ (Sorry for the Link) But I use it in my game 🙂
Khas I have uploaded the files for my project for investigation, I will send you the link in private message.
@darkkitten thanks for the suggestion! I will test the plugin and see what I can do. But this may take a while, as I'm working on other plugin.

@Skurge thanks for sending it to me! I'll take a look a soon as possible, probably this weekend (I have 2 exams this Friday, so I got to study 😀 )
You are totally welcome Khas, and It's totally cool to see you back and working on MV scripts! 🙂
Hi @Khas
Will you release an update equal of VX version for dynamic shadows? Or not?
@Ally I'm working on something, but it's too early to say if it will work or not. 🙂

Original thread: https://forums.rpgmakerweb.com/threads/khas-advanced-lighting-v4-2-ultra-now-with-real-time-shadows.77679/