[Include] MidoStream - Flexible Object Streamer
#41

Yea me to I've 4900 object and it will crash if I die mostly.. Can you do something?
Reply
#42

Nice Object streamer.

Regards, Adil.
Reply
#43

i don't see the objects,and i did everything you have said
Reply
#44

Nice, imma use this..
Reply
#45

1 thing, where to place objects (createstreamobject), some people say place it under new Objects[][object_info] = {, well i dont have that line in the script., and some people say place it under ingamemodeinit, if i placed it there nothing spawns in the server

sry for the newbie question, but i only used 1 objects streamer (xobjects) only
Reply
#46

Will it be updated to 0.3?
Reply
#47

Quote:
Originally Posted by Blokkmonsta
Will it be updated to 0.3?
All you need to do is change the max objects showed at any one time.
Reply
#48

Quote:
Originally Posted by Blokkmonsta
Will it be updated to 0.3?
What is missing in the current version?
Reply
#49

Quote:
Originally Posted by MidoBan
Quote:
Originally Posted by Blokkmonsta
Will it be updated to 0.3?
What is missing in the current version?
object limit in 0.3 is 254 so you change it from 150 to 254
Reply
#50

Quote:
Originally Posted by [SU
BP13 ]
Quote:
Originally Posted by MidoBan
Quote:
Originally Posted by Blokkmonsta
Will it be updated to 0.3?
What is missing in the current version?
object limit in 0.3 is 254 so you change it from 150 to 254
It's ok.. its not limited to 150..
Reply
#51

Quote:
Originally Posted by KIDUL
Quote:
Originally Posted by MidoBan
Quote:
Originally Posted by KIDUL
AttachStreamObjectToPlayer does not work for me
It worked fine for me last time i tested it, but it wasn't on SA-MP 0.3, maybe its related..
You will eventually try to fix it `?
Eventually yes, but i wouldn't wait because i dont have much time to work on the streamer at the time..
Try checking with other ppl with 0.3 if they experience the same problem, because i dont know off any changes in the attach function on 0.3, so maybe its some other internal problem of yours..
Reply
#52

Quote:
Originally Posted by OverLord*
Quote:
Originally Posted by MidoBan
Quote:
Originally Posted by OverLord*
I have a problem.

I've placed some objects, less than 250 objects in that area, it are 75 objects. The problem is follow: some players can see these objects, and other don't.
I've seted the viewdistance to "500". Some ideas ?
If the objects are close to each other, lower the view distance untill u can see them all when u get close to them.
Ok.. good, now the objects appear, but after some hours from server openning, these will not appear like before.
So... ?
Reply
#53

I have tried like everything but my objects doesn't still show up... what shall i do?
Reply
#54

Quote:
Originally Posted by MidoBan
Eventually yes, but i wouldn't wait because i dont have much time to work on the streamer at the time..
Try checking with other ppl with 0.3 if they experience the same problem, because i dont know off any changes in the attach function on 0.3, so maybe its some other internal problem of yours..
https://sampwiki.blast.hk/wiki/Category:Removed_in_0.3
Reply
#55

Quote:
Originally Posted by CrαcK
Quote:
Originally Posted by MidoBan
Eventually yes, but i wouldn't wait because i dont have much time to work on the streamer at the time..
Try checking with other ppl with 0.3 if they experience the same problem, because i dont know off any changes in the attach function on 0.3, so maybe its some other internal problem of yours..
https://sampwiki.blast.hk/wiki/Category:Removed_in_0.3
Well, here u go.. the AttachPlayerObjectToPlayer was removed, so its not working anymore on samp 0.3..
As i was saying, i'm not very connected to samp at the time being, too much studying atm, scripting enough there :\
the streamer will be updated in the future, sorry for now.
Reply
#56

Wohoo, so nice man!
Reply
#57

can i get help here?

i do next

1. i put MidoStream.inc into pawno folder includes.
2. open MidoStream.pwn and compile it
3. than i define new object in my case its pgate and i put it like this
Code:
new lvgate;
new pgate; => here is my gate
new sajgate;
new ygate;
new gLastCar[301];
new gOoc[MAX_PLAYERS];
than i made object like this pgate = CreateStreamObject(xxxxx,x,x,x,xxx...)
here is code

Code:
ygate = CreateStreamObject(980,1245.712,-773.096,93.252,0.0,0.0,0.0);
	hitmangate = CreateStreamObject(980,1027.593,-369.597,75.500,0.0,0.0,0.0);
	sajgate = CreateStreamObject(976,-1534.499,482.124,6.349,0.0,0.0,0.0);
      pgate = CreateStreamObject(986,818.433,-2517.337,8.556,0.0,0.0,0.0); => this is my gate
After that i do this

Code:
public OnPlayerDisconnect(playerid)
{

      MidoStreamDisconnect(playerid); => i add like this, i didnt shure is this ok
	gActivePlayers[playerid]--;
	numplayers--;
	PlayerInfo[playerid][pAdjustable] = 1;
	OnPlayerUpdate(playerid);
	for(new i = 0; i < MAX_PLAYERS; i++)
	{
And at the end i make cmd

Code:
if (strcmp(cmdtext, "/pot", true)==0)
	{
		if(PlayerInfo[playerid][pLeader] == 1 || PlayerInfo[playerid][pMember] == 1)
		{
  		MoveStreamObject(pgate,818.433,-2517.337,1.256, 8.0);
			SendClientMessage(playerid, COLOR_GREEN, "GATE OPEN.");
		}
		else return SendClientMessage(playerid, COLOR_GREEN, "NOT A COP.");
	}
	if (strcmp(cmdtext, "/pza", true)==0)
	{
		if(PlayerInfo[playerid][pLeader] == 1 || PlayerInfo[playerid][pMember] == 1)
		{
 			MoveStreamObject(pgate,818.433,-2517.337,8.556, 8.0);
			SendClientMessage(playerid, COLOR_GREEN, "GATE CLOSE");
		}
		else return SendClientMessage(playerid, COLOR_GREEN, "NOT A COP.");
	}
when i type cmd i see message OPEN/CLOSE GATE but there is no gate, maybe i didnt use good streamer?
can somebody help me with this?
Reply
#58

Quote:
Originally Posted by buonggiorno
can i get help here?

i do next

1. i put MidoStream.inc into pawno folder includes.
2. open MidoStream.pwn and compile it
3. than i define new object in my case its pgate and i put it like this
Code:
new lvgate;
new pgate; => here is my gate
new sajgate;
new ygate;
new gLastCar[301];
new gOoc[MAX_PLAYERS];
than i made object like this pgate = CreateStreamObject(xxxxx,x,x,x,xxx...)
here is code

Code:
ygate = CreateStreamObject(980,1245.712,-773.096,93.252,0.0,0.0,0.0);
	hitmangate = CreateStreamObject(980,1027.593,-369.597,75.500,0.0,0.0,0.0);
	sajgate = CreateStreamObject(976,-1534.499,482.124,6.349,0.0,0.0,0.0);
      pgate = CreateStreamObject(986,818.433,-2517.337,8.556,0.0,0.0,0.0); => this is my gate
After that i do this

Code:
public OnPlayerDisconnect(playerid)
{

      MidoStreamDisconnect(playerid); => i add like this, i didnt shure is this ok
	gActivePlayers[playerid]--;
	numplayers--;
	PlayerInfo[playerid][pAdjustable] = 1;
	OnPlayerUpdate(playerid);
	for(new i = 0; i < MAX_PLAYERS; i++)
	{
And at the end i make cmd

Code:
if (strcmp(cmdtext, "/pot", true)==0)
	{
		if(PlayerInfo[playerid][pLeader] == 1 || PlayerInfo[playerid][pMember] == 1)
		{
  		MoveStreamObject(pgate,818.433,-2517.337,1.256, 8.0);
			SendClientMessage(playerid, COLOR_GREEN, "GATE OPEN.");
		}
		else return SendClientMessage(playerid, COLOR_GREEN, "NOT A COP.");
	}
	if (strcmp(cmdtext, "/pza", true)==0)
	{
		if(PlayerInfo[playerid][pLeader] == 1 || PlayerInfo[playerid][pMember] == 1)
		{
 			MoveStreamObject(pgate,818.433,-2517.337,8.556, 8.0);
			SendClientMessage(playerid, COLOR_GREEN, "GATE CLOSE");
		}
		else return SendClientMessage(playerid, COLOR_GREEN, "NOT A COP.");
	}
when i type cmd i see message OPEN/CLOSE GATE but there is no gate, maybe i didnt use good streamer?
can somebody help me with this?
http://forum.sa-mp.com/index.php?topic=136828.0
Stop spamming,goddamn it.
Reply
#59

deleted. Wrong thread
Reply
#60

I would like to die lol joke. But aww, i have arround 1000 Objects in my server and it still cause like when i go to a map it don't have about 40% of the map... my stream distance is 500.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)