obs-zoom-to-mouse icon indicating copy to clipboard operation
obs-zoom-to-mouse copied to clipboard

fails for new OBS

Open geoHeil opened this issue 2 months ago • 10 comments

[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)

geoHeil avatar Oct 11 '25 16:10 geoHeil

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

RKairphoto avatar Oct 13 '25 06:10 RKairphoto

same issue here doesnt work on new version of OBS

homanmirgolbabaee avatar Oct 14 '25 09:10 homanmirgolbabaee

obs-zoom-to-mouse (2).zip

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 avatar Oct 15 '25 09:10 fixajteknik

@fixajteknik chrome prevented me to download your file and flagged it as dangerous.

homanmirgolbabaee avatar Oct 16 '25 10:10 homanmirgolbabaee

@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.

Today20092 avatar Oct 16 '25 21:10 Today20092

Thanx a lot for the fast help! Have installed the new version and it works perfectly - great job!

RKairphoto avatar Oct 17 '25 05:10 RKairphoto

@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 avatar Oct 17 '25 08:10 fixajteknik

@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 😄

Image

You should totally make a PR though, would help everyone out. Good job!

homanmirgolbabaee avatar Oct 17 '25 09:10 homanmirgolbabaee

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

leporel avatar Oct 19 '25 19:10 leporel

https://github.com/samridhx0/OBS-Cursor-Zoom

fixed script

samridhx0 avatar Nov 09 '25 02:11 samridhx0