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

sampgdk 4.6.1 + streamer trailer sync bug #206

Open
ziggi opened this issue Feb 27, 2019 · 3 comments
Open

sampgdk 4.6.1 + streamer trailer sync bug #206

ziggi opened this issue Feb 27, 2019 · 3 comments

Comments

@ziggi
Copy link

ziggi commented Feb 27, 2019

Something wrong with trailer sync and streamer 2.9.4.

When players has attached trailer and when they not moving, other players see they as AFK. They don't see players who streamed in until any movement.

It's difficult to explain, look at the video (Russian comments): https://youtu.be/D0btBJ2693A
Bug disappears with streamer 2.9.4 builded with sampgdk 4.5.3.

@Zeex
Copy link
Owner

Zeex commented Jul 10, 2022

@ziggi Have you found the root cause?

@ziggi
Copy link
Author

ziggi commented Jul 10, 2022

@Zeex As I remember, I have tried to use streamer with sampgdk 4.5.3 for a while, but it didn't solve the problem. I was checking something else, but eventually I gave up.

@philip1337
Copy link

As an alternative you could use my streamer:
https://github.com/philip1337/samp-plugin-streamer

I've used the streamer directly and never had an issue.
https://github.com/philip1337/samp-plugin-streamer/blob/master/src/callbacks.cpp

You have to make sure that u call all the natives (callbacks) that the streamer would do usually.
I've reimplemented all the streamer functions as native c++ functions.

Here are the corresponding header files:
https://github.com/philip1337/samp-plugin-streamer/tree/master/src/include/streamer

It's an older version, never bothered updating it (currently pretty busy).
Maybe you can give it a try...
Feel free to update it :D

Is there maybe an issue with the streamer using the gdk too?
They all have to register the callbacks and there could be an issue with the sync (Update).

Kind regards
Phil

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants