[Plugin] Streamer Plugin

Quote:
Originally Posted by eco1999
Посмотреть сообщение
[sampgdk:error] Too many callback arguments (at most 32 allowed)

Use this: https://sampforum.blast.hk/showthread.php?tid=262796
Reply

After updating my streamer from v2.7.5.2 to 2.7.6 only a few objects will load.

I use different "code-styles":
CreateDynamicObject(1229, 1456.99072, -1726.98645, 13.91800, 0, 0.00000, 0);
CreateDynamicObject(1522, 1468.5027, -1658.25769, 12.30832, 0.00000, 0.00000, 90.00000);
CreateDynamicObject(18762, 1487.87000, -1744.38000, 30.51000, 0.00, 90.00, 0.00,-1,-1,-1,300.0);

Can anyone confirm this?
Reply

pawn Код:
native CreateDynamicObject(modelid, Float:x, Float:y, Float:z, Float:rx, Float:ry, Float:rz, worldid = -1, interiorid = -1, playerid = -1, Float:streamdistance = 200.0, Float:drawdistance = 0.0);
In the last line, you don't set any value to drawdistance so it's 0 by default.
Reply

Are you sure, is this a change in the new version?
Reply

No, it's not new. drawdistance parameter in CreateDynamicObject has been added since v2.7
But you still have to set it to a value other than 0.0
Reply

when i use this new version it just crashes my pawn lol any easy way to fix this?
it makes sense tho, the one im using is from last year..
Reply

Hey, streamer should 0.3.7. (linux)
Reply

Vehicles are streamed automaticly but max vehicle limit is 2000.
Reply

The vehicle streamer is rather interesting. I've been hoping for it to get added to this plugin since forever - I hope it still does! How does it exactly work, though? I always thought it to be impossible unless it would be made in SA:MP itself, and even then it'd be a lot of work for the developers. Or are only unoccupied vehicles streamed?
Reply

Are there any bugs with the CreateDynamicPickupEx native?
Please see this thread: https://sampforum.blast.hk/showthread.php?tid=575220, thanks.
Could be a problem also with normal pikcups?
Thread: https://sampforum.blast.hk/showthread.php?tid=574117
Reply

Quote:
Originally Posted by PaulDinam
Посмотреть сообщение
Another bug:
You have to move around slightly otherwise you won't see any 3d text labels that are attached to other players.
This bug has been here ever since.. This also happens with checkpoints.

AFAIK, this doesn't happen with pickups.
Reply

Quote:
Originally Posted by Deathlane
Посмотреть сообщение
This bug has been here ever since.. This also happens with checkpoints.

AFAIK, this doesn't happen with pickups.
Actually there is this function called Streamer_Update. I always force updates when creating entities, editing objects, etc.

Example:
Код:
foreach(new playerid: Player) Streamer_Update(playerid);
Reply

What about dynamic actors?
Reply

Quote:
Originally Posted by S4D
Посмотреть сообщение
What about dynamic actors?
I don't think this is going to happen anytime soon.
Reply

The reason Emmet_ stopped development for the actor streamer was because he realized it wouldn't and couldn't operate like the streamer, here's why:
  • The streamer capatilizes on the fact that there are player objects, which are per player.
  • The actor system is not player based, and can't be streamed.
Basically, because there are no player actor functions an actor streamer isn't really viable.
Reply

Quote:
Originally Posted by Abagail
Посмотреть сообщение
The reason Emmet_ stopped development for the actor streamer was because he realized it wouldn't and couldn't operate like the streamer, here's why:
  • The streamer capatilizes on the fact that there are player objects, which are per player.
  • The actor system is not player based, and can't be streamed.
Basically, because there are no player actor functions an actor streamer isn't really viable.
Then neither are pickups and other things this streamer provide streaming for.
Reply

Yeah but those can be synced to certain players, whereas to my knowledge actors don't have that functionality. Prove me wrong, but I bet it won't happen - it can't - because of the way actors were created. Pickups are different.
Reply

Quote:
Originally Posted by Abagail
Посмотреть сообщение
Yeah but those can be synced to certain players, whereas to my knowledge actors don't have that functionality. Prove me wrong, but I bet it won't happen - it can't - because of the way actors were created. Pickups are different.
I'm not going to prove you wrong because I agree, I clearly stated that above... It would be nice, but is it really required? Who is going to need more than a 1000 idle actors? If they do need more they can just make an actor pool. THey could use actors when they need them, like when a player enters a shop.
Reply

Well, after 0.3.7 update, I've run into the issue that streamed-in objects (by driving a car, walking) tend to not have the material colour set correctly, while when you teleport to them, it's all fine. I'm using Streamer Plugin v2.7.6. I didn't have this issue in SA-MP 0.3z with Streamer 2.7.5.2.
I've also thought of that It might be an issue with SA-MP, or other plugins I use (YSF, sscanf, whirlpool).
Reply

Ever since I updated the streamer I've had issues:

The function which it crashes on is: IsPlayerInDynamicArea, the player it's executing it on is an NPC.

[10:51:17] [debug] Server crashed while executing NEWCNR94.amx
[10:51:17] [debug] AMX backtrace:
[10:51:17] [debug] #0 native IsPlayerInDynamicArea () from streamer.DLL
[10:51:17] [debug] #1 00071830 in IsPlayerInPolygonZone (playerid=4) at F:\Scripting - 0.3x\gamemodes\NEWCNR94.pwn:8326
[10:51:17] [debug] #2 00264e20 in public update_zones () at F:\Scripting - 0.3x\gamemodes\NEWCNR94.pwn:29072
[10:51:17] [connection] 127.0.0.1:63246 requests connection cookie.
[10:51:17] [connection] 127.0.0.1:63247 requests connection cookie.
[10:51:17] [debug] Native backtrace:
[10:51:17] [debug] #0 54120edf in ?? () from plugins\streamer.DLL
[10:51:17] [debug] #1 5410d7c3 in ?? () from plugins\streamer.DLL
[10:51:17] [debug] #2 004010b6 in ?? () from samp-server.exe
[10:51:17] [debug] #3 544362ca in ?? () from plugins\crashdetect.DLL
[10:51:17] [debug] #4 54438b28 in ?? () from plugins\crashdetect.DLL
[10:51:17] [debug] #5 544309c7 in ?? () from plugins\crashdetect.DLL
[10:51:17] [debug] #6 5443631a in ?? () from plugins\crashdetect.DLL
[10:51:17] [debug] #7 540f51b9 in ?? () from plugins\streamer.DLL
[10:51:17] [debug] #8 051f2860 in ?? () from plugins\YSF.DLL
Reply


Forum Jump:


Users browsing this thread: 5 Guest(s)