Comments (6)
It could be related to this:
#13
I'm not sure though, but at OnPlayerDisconnect, it does say playerid 0 (null), and it does have an error at the callback hook.
from samp-streamer-plugin.
Could be because some other include is hooking OnPlayerDisconnect
incorrectly (or there's some problem in your script with that callback), and that error is propagating to the streamer include's callback hook. I'm guessing that crash is happening because a null pointer is being dereferenced due to one or more of the OnPlayerDisconnect
parameters being null, for some reason. That's what was #13 was about, anyway (which was due to someone incorrectly invoking Streamer_CallbackHook
with sampgdk, so unless you're doing that, the cause of your problem lies elsewhere).
I could see about adding additional checks to the callback hooks so that the server doesn't crash if Streamer_CallbackHook
is executed incorrectly, but I think you should see what's going on with your OnPlayerDisconnect
code first.
from samp-streamer-plugin.
I would like it if you could add these additional checks. I'm currently clueless as I can't see anything wrong with my OnPlayerDisconnect.
I hope you can add those additional checks. I will reread my whole OnPlayerDisconnect code again, but I'm not sure if I can find anything suspicious.
from samp-streamer-plugin.
Please tell me when you've added those additional checks. My server gets quite popular but the crashes makes it almost impossible to hit a higher player base.
from samp-streamer-plugin.
The integrated callback hooks from sampgdk I've just re-added should solve this issue, as long as there aren't other problems associated with them as well. I'll see about releasing a new version for testing soon.
from samp-streamer-plugin.
Thanks :)
from samp-streamer-plugin.
Related Issues (20)
- Updated version results in a printout on the console relating to the old version. HOT 1
- 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.
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.