Comments (18)
It works for me. I just tested OnPlayerEditDynamicObject
in both a gamemode and a filterscript. Have you found a way to reproduce it?
from samp-streamer-plugin.
Well it doesn't work on Texture Studio for some reason, I will try it again I guess and let you know thanks.
from samp-streamer-plugin.
News Pottus? I've problem too :)
I've problem only on linux :)
from samp-streamer-plugin.
@VinnyPLV Can you rebuild streamer with current sampgdk from git master and see if that fixes the problem?
from samp-streamer-plugin.
I created a test branch at https://github.com/Zeex/samp-streamer-plugin/tree/sampgdk-test to simplify the buid process. All you need to do is:
- Go to the link above and download the .zip file
- Extract it somewhere
- Follow streamer build instructions for Linux
from samp-streamer-plugin.
@samp-incognito Sorry, I messed it up again in 4.2, don't update to that version! I guess everyone would be better off if you disabled all that callback hooking crap like you did before because I'm starting to have a feeling that I'll never fix all the bugs. The include-based hooking would be far more reliable.
from samp-streamer-plugin.
I hope this won't need :(
from samp-streamer-plugin.
OK, maybe I was a bit overly dramatic. I've committed a few fixes, callbacks should be all right now. If anybody wants to try it the test branch is still in my repo.
However there's still one problem: 4.2 is not backward-compatible with previous versions. If some other plugin uses an older version of sampgdk neither streamer nor the other plugin will have working callbacks. This is because amx_FindPublic() previously returned a fixed index of -10 if couldn't find the public, now the indices are dynamic and they start from -10000 and go down.
The new system is more reliable though, it doesn't require you to always call amx_FindPublic() before amx_Exec() as before, so index caching is possible now. But as I said it's not backwards compatible.
from samp-streamer-plugin.
Thanks for trying to fix this. I'll put 4.2.1 in for the next version to see if that resolves the issue.
from samp-streamer-plugin.
I would like to know if there is going to be a resolution on this soon thanks :)
from samp-streamer-plugin.
I'll try to compile 2.7.4 with latest GDK, i hope it will work without errors.
For windows http://www.mfrserver.com/up/streamer.dll
from samp-streamer-plugin.
I will give it a shot today and let you know if there was any issues.
@edit - Still doesn't call OnPlayerEditDynamicObject() for me.
from samp-streamer-plugin.
As I said, if some plugin uses the old sampgdk callbacks are likely to be broken in both. It would help if you said what other plugins you're using or how to reproduce this.
from samp-streamer-plugin.
@Pottus: Are you using OnPlayerEditObject
anywhere? If so, what value are you returning? I believe that if the return value of OnPlayerEditObject
is anything other than 0 in a script, that callback will not be propagated to other scripts (similar to how certain callbacks like OnPlayerCommandText
work). This might cause it to not get passed to sampgdk, which, in turn, would cause it to not get passed to the streamer plugin. Maybe that's your problem?
from samp-streamer-plugin.
Okay I figured out what the issue is now, it appears to fail when hooking that callback with y_hooks so it is a YSI issue it would seem. I did not test all the callbacks but I would think none work will work with y_hooks anymore thanks for your time.
from samp-streamer-plugin.
I have the same issue, OnPlayereEditDynamicObject doesn't get called in filterscript and I'm not using anything except y_ini. I've tried everything and it won't work.
from samp-streamer-plugin.
Your better off with a older version of the streamer I guess every since sampgdk was introduced it has caused more problems than what it is worth.
from samp-streamer-plugin.
Okay. I shall get some older version then. Thanks for your answer Pottus!
from samp-streamer-plugin.
Related Issues (20)
- wrong last version HOT 1
- Streamer crashing HOT 2
- CreateDynamicPolygon and IsPlayerInDynamicArea HOT 1
- Failed To Load - Windows Server 2019 HOT 2
- Failed To Load - Windows Server 2019 HOT 1
- Pickups in streamed area aren`t getting updated HOT 4
- Warning for Debu ! HOT 1
- Dynamic actor not playing animation HOT 1
- Pickup won't restream HOT 3
- SA-MP Crashing due an object HOT 1
- Mismatch between plugin version and include version HOT 1
- OnDynamicActorStreamOut doesn't get called in open.mp HOT 1
- Question about using Streamer_SetArrayData in objects
- Need Some Information Regards Dynamic Area Natives...
- OMP - Streamer_GetItemStreamerID and Streamer_GetItemInternalID
- GetPlayerDynamicAreas() and GetDynamicAreasForPoint() doesn't work
- [ SAMP ] Server Crashing on 2.9.6 Version HOT 1
- OnplayerShootDynamicObject is not called on pc client
- Streamer_GetArrayData: Invalid ID specified.
- Problem with `CreateDynamicObject`
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from samp-streamer-plugin.