[Plugin] Streamer Plugin
#61

Windows: streamer
Linux: streamer.so

I'm running this on Windows XP SP3 and it doesn't provide any problems.
Reply
#62

Yes on windows not need .dll -.-
Reply
#63

Quote:
Originally Posted by $ЂЯĢ
Quote:
Originally Posted by 0ne
Pretty good script but i got some objects when people connect they should stand on them but it doesn't show them, spawning and teleporting there shows it perfectly.

I got a drift map too but its about 400~500 objects in area and some of them are missing i think because of 254 visible items(objects) could you make it bigger somehow and explain how could i fix the first problem?
1. Until player is spawned its coordinates are 0,0,0 so streamer doesn't streams objects because you are too far away from their position. Make static player objects for class selection (or whatever you have) and delete them after player is spawned.

2. SA:MP limit is 254 objects displayed per time and you can't do anything about that.
Yeah but back in 0.2.x boylett has created xStreamer plugin which was fine on my map and if i didn't see an object it was solid, on this one its not solid, and exiting a vehicle the objects were loaded but in some places u had to exit few more times, too bad we can't use it anymore, but i still think that there's a solution
Reply
#64

Try lowering the streaming distance for your objects. If you want to make a solid surface beneath your map, you can try creating a global object with CreateObject so that it will always be there.
Reply
#65

Quote:
Originally Posted by Incognito
Try lowering the streaming distance for your objects. If you want to make a solid surface beneath your map, you can try creating a global object with CreateObject so that it will always be there.
whats the stream rate in v2.0 please as it loads fine for me but before i update i wanna make the stream rate the same as v2.0 thanks.
Reply
#66

Something is wrong with streamed 3dTextLabels. I create only one in OnGameModeInit and destroy it in OnGameModeExit.
The problem is that it doesn't appear after gmx, though it does exist in memory(I checked with CountDynamic3DTextLabels)

Update2: I managed to find a fix for the problem. Reconnect helps.
Reply
#67

Quote:
Originally Posted by Davee.
Yes on windows not need .dll -.-
try putting .dll. it works for me with .dll so at least try that.
Reply
#68

Make a single Plugin only for the objects one and ill download :P
Reply
#69

sounds very nice~
Reply
#70

Shady91: The default streaming distance for objects in v2.0 is 200.0.

cmg4life: As I have said before, this plugin will stream whatever you want it to stream. It does not matter if the other items go unused.
Reply
#71

Quote:
Originally Posted by [SU
BP13 ]
What do you mean you are unable to reproduce it?
He can't repeat that. Even you can't do that since oyu said it has never happened to you, so it's kinda unknown issue and we don't know from where it comes.
Reply
#72

it happened to me with xStreamer a few times. But not often. I had about only 6 players complain including admins. Well when I see it with my own eyes ill post here.
Reply
#73

I've been looking through the code and I found this piece:
Code:
			newCheckpoint.playerDistance = checkDistance3D(player.x, player.y, player.z, (* c).x, (* c).y, (* c).z);
			if (newCheckpoint.playerDistance <= ((* c).checkpointDistance * (* c).checkpointDistance))
			{
				if (newCheckpoint.playerDistance <= ((* c).checkpointDistance * (* c).checkpointDistance))
				{
					newCheckpoint.checkpointID = (* c).checkpointID;
					newCheckpoint.size = (* c).size;
					newCheckpoint.x = (* c).x;
					newCheckpoint.y = (* c).y;
					newCheckpoint.z = (* c).z;
					discoveredCheckpoints.push_back(newCheckpoint);
				}
			}
Either there are two identical ifs or I'm already blind
Reply
#74

They are identical. Thanks for that.
Reply
#75

Very God!!
Reply
#76

I've got it all setup, when i go ingame there is no objects. Im using CreateDynamicObject.

here's an example:

CreateDynamicObject(987, -1706.158447, -2188.837402, 117.400078, 0.0000, 0.0000, 213.7500,500);
Reply
#77

Quote:
Originally Posted by CJ101
I've got it all setup, when i go ingame there is no objects. Im using CreateDynamicObject.

here's an example:

CreateDynamicObject(987, -1706.158447, -2188.837402, 117.400078, 0.0000, 0.0000, 213.7500,500);
beacuse your setting it to ,500 so thats setting the virtual world as 500 make it

CreateDynamicObject(987, -1706.158447, -2188.837402, 117.400078, 0.0000, 0.0000, 213.7500,-1,-1,-1,500);
Reply
#78

Quote:
Originally Posted by Shady91
Quote:
Originally Posted by CJ101
I've got it all setup, when i go ingame there is no objects. Im using CreateDynamicObject.

here's an example:

CreateDynamicObject(987, -1706.158447, -2188.837402, 117.400078, 0.0000, 0.0000, 213.7500,500);
beacuse your setting it to ,500 so thats setting the virtual world as 500 make it

CreateDynamicObject(987, -1706.158447, -2188.837402, 117.400078, 0.0000, 0.0000, 213.7500,-1,-1,500);
yea i see what i did now i put the distance first
Reply
#79

You need to add a function so it shows the closest checkpoint of more than one are in the viewing distance.
Reply
#80

did a servery today and about 20 people complained about the objects not loading for them.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)