fails for new OBS
[obs-zoom-to-mouse.lua] Failed to call frontend_event_callback for frontend API: [string "/Users/myuser/Documents/obs-scri..."]:577: attempt to call field 'obs_sceneitem_get_info' (a nil value)
Good day, I have exactly the same issue. Am using an iMac with MAC OS Sequoia 15.6.1
Every feedback which helps me to fix this issue is highly regarded! Thanx
Rob
same issue here doesnt work on new version of OBS
I have fixed this isuue with gemini, tested and working with OBS V 32.0.1
also gemini gives why this problem occour TURKISH
Temel hata, kullandığınız obs-zoom-to-mouse.lua script'inin çok eski olmasıydı.
Daha teknik olarak açıklamak gerekirse:
Eski script, OBS'in içindeki obs_sceneitem_get_info adında bir fonksiyonu kullanmaya çalışıyordu.
Ancak OBS, 28. sürümünden sonra bu fonksiyonu tamamen kaldırdı ve yerine yeni yöntemler getirdi.
Bu yüzden sizin güncel OBS'inizde bu script, artık var olmayan bir fonksiyonu çağırmaya çalıştığı için hata veriyordu.
Aldığınız attempt to call field ... (a nil value) hatası da tam olarak bu anlama geliyor: "Çağırmaya çalıştığın fonksiyon mevcut değil, değeri boş (nil)".
Size verdiğim yeni kod ise, geliştiricinin OBS'nin yeni sistemine göre güncellediği, doğru ve çalışan fonksiyonları kullanan versiyonudur.
@fixajteknik chrome prevented me to download your file and flagged it as dangerous.
@fixajteknik Thank you very much for this!
You should submit this as a pull request to get it working! I checked if the file is safe since @homanmirgolbabaee say's it was "dangerous" even though AI anaylzed it and said there was nothing malicious.
Thanx a lot for the fast help! Have installed the new version and it works perfectly - great job!
@fixajteknik chrome prevented me to download your file and flagged it as dangerous.
use your brain and make same file with gemini from your computer.
@fixajteknik chrome prevented me to download your file and flagged it as dangerous.
use your brain and make same file with gemini from your computer. @fixajteknik I only shared my observation. That said, I already fixed the script using the same approach, so no need for violence 😄
You should totally make a PR though, would help everyone out. Good job!
just edit script for youself
replace obs_sceneitem_get_info to obs_sceneitem_get_info2 and obs_sceneitem_set_info to obs_sceneitem_set_info2
https://github.com/samridhx0/OBS-Cursor-Zoom
fixed script