SA-MP Forums Archive
[Include] MidoStream - Flexible Object Streamer - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Filterscripts (https://sampforum.blast.hk/forumdisplay.php?fid=17)
+---- Forum: Includes (https://sampforum.blast.hk/forumdisplay.php?fid=83)
+---- Thread: [Include] MidoStream - Flexible Object Streamer (/showthread.php?tid=39836)

Pages: 1 2 3 4 5


Re: MidoStream - Flexible Object Streamer attach/move/create/destroy... - RyDeR` - 13.09.2009

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


Re: MidoStream - Flexible Object Streamer attach/move/create/destroy... - Adil - 13.09.2009

Nice Object streamer.

Regards, Adil.


Re: MidoStream - Flexible Object Streamer attach/move/create/destroy... - GiP_YossI - 13.09.2009

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


Re: MidoStream - Flexible Object Streamer attach/move/create/destroy... - XCultz - 13.09.2009

Nice, imma use this..


Re: MidoStream - Flexible Object Streamer attach/move/create/destroy... - Mustafacc - 15.09.2009

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


Re: MidoStream - Flexible Object Streamer attach/move/create/destroy... - Blokkmonsta - 20.09.2009

Will it be updated to 0.3?


Re: MidoStream - Flexible Object Streamer attach/move/create/destroy... - On_Top_Non_Stop - 20.09.2009

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.


Re: MidoStream - Flexible Object Streamer attach/move/create/destroy... - MidoBan - 20.09.2009

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


Re: MidoStream - Flexible Object Streamer attach/move/create/destroy... - BP13 - 21.09.2009

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


Re: MidoStream - Flexible Object Streamer attach/move/create/destroy... - MidoBan - 21.09.2009

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..


Re: MidoStream - Flexible Object Streamer attach/move/create/destroy... - MidoBan - 29.11.2009

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..


Re: MidoStream - Flexible Object Streamer attach/move/create/destroy... - OverLord* - 29.11.2009

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... ?


Re: MidoStream - Flexible Object Streamer attach/move/create/destroy... - Mystique - 29.11.2009

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


Re: MidoStream - Flexible Object Streamer attach/move/create/destroy... - CracK - 29.11.2009

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


Re: MidoStream - Flexible Object Streamer attach/move/create/destroy... - MidoBan - 29.11.2009

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.


Re: MidoStream - Flexible Object Streamer attach/move/create/destroy... - Jeffry - 03.12.2009

Wohoo, so nice man!


Re: MidoStream - Flexible Object Streamer attach/move/create/destroy... - buonggiorno - 03.12.2009

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?


Re: MidoStream - Flexible Object Streamer attach/move/create/destroy... - [XST]O_x - 03.12.2009

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.


Re: MidoStream - Flexible Object Streamer attach/move/create/destroy... - member - 03.12.2009

deleted. Wrong thread


Re: MidoStream - Flexible Object Streamer attach/move/create/destroy... - Cedimedi - 11.12.2009

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.