Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Events getting called too often #96

Open
Er0nax opened this issue Jan 2, 2022 · 6 comments
Open

Events getting called too often #96

Er0nax opened this issue Jan 2, 2022 · 6 comments
Labels
bug Something isn't working game bug Possible a bug from the sdk or the game

Comments

@Er0nax
Copy link

Er0nax commented Jan 2, 2022

Each time, the sdk gets an event (e.g. fined), the function gets called more then once. This isn't just once every x times.
Might it be a bug from ets2 side?

@ndelta0
Copy link

ndelta0 commented Jan 2, 2022

The plugin passes everything it receives directly, so it probably is something with the game, although it should be possible to change that

@Er0nax
Copy link
Author

Er0nax commented Jan 3, 2022

Well, if you are trying to use the included Demo, its even sending any event 4 times.
I do not have a problem with that as there are many workarounds, but I thought I let you guys know in case its a problem with the actual code from this repo.

@RenCloud
Copy link
Owner

RenCloud commented Jan 8, 2022

Thank you for reporting this. Like ndelta0 wrote the events are basically just past through.

I will check that. It could be the bug of another issue than i would try to prevent this.

@RenCloud RenCloud added the bug Something isn't working label Jan 8, 2022
@RenCloud
Copy link
Owner

Could not reproduce it in a 10 minute drive. But another person reported it to me, too. So I probably need more information e.g. game version and game (ats or ets2)

@RenCloud RenCloud added the game bug Possible a bug from the sdk or the game label Jan 17, 2022
@Er0nax
Copy link
Author

Er0nax commented Jan 20, 2022

I was trying it in ETS2 on 1.42 aswell as 1.43

@mrnat7471
Copy link

Could I ask if this is similar to the event job.delivered spamming many times?
Our client will flush (Write over) the memory location of the event once it been dealt with but for some people, it will just spam forever, not every job and its not limited to job.delivered event. Its very random and I haven't found a pattern yet.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working game bug Possible a bug from the sdk or the game
Projects
None yet
Development

No branches or pull requests

4 participants