altmp / altv-issues

Issues and roadmap for alt:V project
92 stars 17 forks source link

'keydown' event getting broken after reconnecting in debug mode #2284

Open csskroubledev opened 1 month ago

csskroubledev commented 1 month ago

Description of the problem

If you use alt.on('keydown', ()=>{}) anywhere in your code most of the time it stops working (sending events) after reconnecting in debug mode.

Reproduction steps

Expected behaviour

Additional context

This issue is still happening back from altV v14, but never bothered me enough to report it.

Operating system

Windows 10 (v. 10.0.19045.4412)

Version

release

Crashdump ID

No response

Confirmation of issue's presence

devpanda0 commented 1 month ago

i cant reproduce that

csskroubledev commented 1 month ago

i cant reproduce that

it's quite random, sometimes I can reconnect 20 times and not make it happen, and one time I reconnect just one time and it happens.

devpanda0 commented 1 month ago

i cant reproduce that

it's quite random, sometimes I can reconnect 20 times and not make it happen, and one time I reconnect just one time and it happens.

I don't think it's directly a problem of altv. It can also simply be a timing issue