SA-MP Forums Archive
[Include] [INC]Einstein's Objectstreamer - 0.9 R3 (0.2X support) - 0.8.1 (0.2.2) - 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] [INC]Einstein's Objectstreamer - 0.9 R3 (0.2X support) - 0.8.1 (0.2.2) (/showthread.php?tid=39226)

Pages: 1 2


[INC]Einstein's Objectstreamer - 0.9 R3 (0.2X support) - 0.8.1 (0.2.2) - Einstein - 09.06.2008







Current Versions:
Lite 0.8 [0.2.2 | Timer]
Pro 0.8.1 [0.2.2 | Timer]

0.9 [0.2X | Timerless]




_________________________________________________

0.2.2 Version 0.8.1


Functions LITE:
Code:
CreateObjectToStream(modelid, Float:x, Float:y, Float:z, Float:rX, Float:rY, Float:rZ);
DestroyObjectToStream(streamobjectid);
GetCurrentPosObjectToStream(streamobjectid, &Float:x, &Float:y, &Float:z);
SetObjectPosToStream(streamobjectid, Float:x, Float:y, Float:z);
SetObjectRotToStream(streamobjectid, Float:rX, Float:rY, Float:rZ);
StreamObject_OnGameModeInit();
StreamObject_OnGameModeExit();
StreamObject_OnPlayerDisconnect(playerid);
Functions PRO:
Code:
CreateObjectToStream(modelid, Float:x, Float:y, Float:z, Float:rX, Float:rY, Float:rZ);
CreatePlayerObjectToStream(playerid ,modelid, Float:x, Float:y, Float:z, Float:rX, Float:rY, Float:rZ);
DestroyObjectToStream(streamobjectid);
DestroyPlayerObjectToStream(playerid, streamobjectid);
MoveObjectToStream(streamobjectid, Float:Movex, Float:Movey, Float:Movez, Float:Speed); //works with PlayerObject, too
GetBasePosObjectToStream(streamobjectid, &Float:x, &Float:y, &Float:z); //works with PlayerObject, too
GetMovePosObjectToStream(stramobjectid, &Float:x, &Float:y, &Float:z); //works with PlayerObject, too
GetCurrentPosObjectToStream(streamobjectid, &Float:x, &Float:y, &Float:z); //works with PlayerObject, too
GetCurrentRotObjectToStream(streamobjectid, &Float:Rx, &Float:Ry, &Float:Rz); //works with PlayerObject, too
SetObjectPosToStream(streamobjectid, Float:x, Float:y, Float:z); //works with PlayerObject, too
SetObjectRotToStream(streamobjectid, Float:rX, Float:rY, Float:rZ); //works with PlayerObject, too
SetObjectViewDistanceToStream(streamobjectid, Viewdistance); //works with PlayerObject, too
HavePlayerObjectToStream(playerid,streamobjectid); //works with PlayerObject, too
HavePlayerAnyObjectToStream(playerid); //works with PlayerObject, too
HaveObjectAnyPlayerToStream(streamobjectid); //works with PlayerObject, too
StreamObject_OnGameModeInit();
StreamObject_OnGameModeExit();
StreamObject_OnPlayerDisconnect(playerid);
How to install:
Put on OnGameModeInit(): StreamObject_OnGameModeInit();
Put on OnGameModeExit(): StreamObject_OnGameModeExit();
Put on OnPlayerDisconnect(playerid): StreamObject_OnPlayerDisconnect(playerid);

The Streamer release under following License (0.8 Lite and 0.8.1 Pro are the last Versions under this License):


Download
LITE
Search at the uploadservice of delъx-host because the name is banned here and i don't support samp anymore...
PRO
Search at the uploadservice of delъx-host because the name is banned here and i don't support samp anymore...

Converter
http://gtamap...com/

Docu
The docu is in the Package

Changelog:
Pro Streamer: 0.8.0 > 0.8.1 _________________________________________________
0.2X Version 0.9
The Version 0.9 of delux Streamer / Einstein's Streamer is timerless. It works with the new OnPlayerUpdate function.

Functions:
Code:
CreateObjectToStream(modelid, Float:x, Float:y, Float:z, Float:rX, Float:rY, Float:rZ);
CreatePlayerObjectToStream(playerid ,modelid, Float:x, Float:y, Float:z, Float:rX, Float:rY, Float:rZ);
DestroyObjectToStream(streamobjectid);
DestroyPlayerObjectToStream(playerid, streamobjectid);
MoveObjectToStream(streamobjectid, Float:Movex, Float:Movey, Float:Movez, Float:Speed);
GetBasePosObjectToStream(streamobjectid, &Float:x, &Float:y, &Float:z);
GetMovePosObjectToStream(stramobjectid, &Float:x, &Float:y, &Float:z);
GetCurrentPosObjectToStream(streamobjectid, &Float:x, &Float:y, &Float:z);
GetCurrentRotObjectToStream(streamobjectid, &Float:Rx, &Float:Ry, &Float:Rz);
SetObjectPosToStream(streamobjectid, Float:x, Float:y, Float:z);
SetObjectRotToStream(streamobjectid, Float:rX, Float:rY, Float:rZ);
SetGloabalViewDistanceToStream(Viewdistance);
SetObjectViewDistanceToStream(streamobjectid, Viewdistance);
SetObjectViewDistanceToStreamEx(streamobjectidstart, streamobjectidend, Viewdistance);
HavePlayerObjectToStream(playerid,streamobjectid);
HavePlayerAnyObjectToStream(playerid);
HaveObjectAnyPlayerToStream(streamobjectid);
StreamObject_OnPlayerConnect(playerid);
StreamObject_OnPlayerUpdate(playerid);
How to use it?:
Put under OnPlayerConnect: StreamObject_OnPlayerConnect(playerid);
Put under OnPlayerupdate: StreamObject_OnPlayerUpdate(playerid)

Roadmap:
1.0.0 Download:
Search at the uploadservice of delъx-host because the name is banned here and i don't support samp anymore...

Please report any bug in this thread. Thank you

Einstein =)


Re: [INC] Einstein's Objectstreamer - Exlac - 09.06.2008

YeAh Good Streamer!

PS.: I'm Meldariel :P


Re: [INC] Einstein's Objectstreamer - GTAIV2008 - 09.06.2008

You know me via ICQ, Einstein .

Good work.


Re: [INC] Einstein's Objectstreamer - Grove - 09.06.2008

Heh, nice work


Re: [INC] Einstein's Objectstreamer - djnitro - 09.06.2008

Nice work till now. ^^ Time for Checkpoint and pickup addon. ^^

greez eXact.


Re: [INC] Einstein's Objectstreamer - BIGBOY - 09.06.2008

thx Einstein.....
ive been useing this for a week now...
I LOVE IT!!!
ive tested it with 5000 objects and works great with 6 people so far!!!
thank you!



Re: [INC] Einstein's Objectstreamer - Einstein - 09.06.2008

Quote:
Originally Posted by BIGBOY
thx Einstein.....
ive been useing this for a week now...
I LOVE IT!!!
ive tested it with 5000 objects and works great with 6 people so far!!!
thank you!
You have it from the German Forum,too?
In the next week or next two weeks i'm going to release the Pro Version with MoveObjectToStream and so on

Thanks for all Feedback =)


Re: [INC] Einstein's Objectstreamer - snipe69 - 09.06.2008

hello , good work
is it possible to make the limit bigger?


Re: [INC] Einstein's Objectstreamer - Einstein - 09.06.2008

You mean the Objectlimit?


Re: [INC] Einstein's Objectstreamer - BIGBOY - 09.06.2008

Quote:
Originally Posted by Einstein
Quote:
Originally Posted by BIGBOY
thx Einstein.....
ive been useing this for a week now...
I LOVE IT!!!
ive tested it with 5000 objects and works great with 6 people so far!!!
thank you!
You have it from the German Forum,too?
In the next week or next two weeks i'm going to release the Pro Version with MoveObjectToStream and so on

Thanks for all Feedback =)
yea and humm
i think i saw you go in my server not sure if it was you so sorry i didnt get in lol
i had a server_log.txt bug so i was fixing it :P
but yea i got it from ferman forums to i translated it with ****** lmao


Re: [INC] Einstein's Objectstreamer - bzuco - 09.06.2008

SetTimer("ObjectCheck", 150, 1);

Are you crazy


Re: [INC] Einstein's Objectstreamer - BIGBOY - 10.06.2008

Quote:
Originally Posted by bzuco
SetTimer("ObjectCheck", 150, 1);

Are you crazy
Have you tryed the streamer yet?
well just try it i think its great.
i have vehicles on top of house objects in the drive way and the cars load on top of the object like if it was solid!
wowzers
lol
thx einstein


Re: [INC] Einstein's Objectstreamer - bzuco - 10.06.2008

SetTimer("ObjectCheck", 150, 1);

will lag server with 10 players or more, iґm using timers only 1000++ ms


Re: [INC] Einstein's Objectstreamer - Einstein - 10.06.2008

I have no Problems on my Server with 15 Players Фo"


Re: [INC] Einstein's Objectstreamer - Yui - 10.06.2008

how that work i am beginner and have 350 objects my server crash if i do it in filterscript a friend say i need object streamer but how that work?


Re: [INC] Einstein's Objectstreamer - edygangsta - 10.06.2008

Ok Einstain i will try it


Re: [INC] Einstein's Objectstreamer - kc - 10.06.2008

Quote:
Originally Posted by bzuco
SetTimer("ObjectCheck", 150, 1);

will lag server with 10 players or more, iґm using timers only 1000++ ms
yeah imo 150ms is too quick update time for a large amount.

my current object timer (y_objects) is 553ms. the odd number to prevent it firing at the same time as other timers.


Re: [INC] Einstein's Objectstreamer - Einstein - 10.06.2008

You download the Objectstreamer and put the Obj_Lite (or how i named it) in the folder pawno/includes.

Then you put on the top of your script #include <Obj_LITE>. Then you have to put StreamObject_OnGameModeInit(); on OnGameModeInit(), StreamObject_OnGameModeExit(); on OnGameModeExit() and StreamObject_OnPlayerDisconnect(playerid); on OnPlayerDisconnect(playerid, reason);

Then you can wrap your Objects to the Streamerformat (CreateObjectToStream) and streammore then 250 Objects


Re: [INC] Einstein's Objectstreamer - Einstein - 10.06.2008

Quote:
Originally Posted by kc
Quote:
Originally Posted by bzuco
SetTimer("ObjectCheck", 150, 1);

will lag server with 10 players or more, iґm using timers only 1000++ ms
yeah imo 150ms is too quick update time for a large amount.

my current object timer (y_objects) is 553ms. the odd number to prevent it firing at the same time as other timers.
I change the Timer with the release of the Pro Version this or tommorow evening


Re: [INC] Einstein's Objectstreamer - edygangsta - 10.06.2008

Код:
D:\DOCUME~1\Bia&Cos\Desktop\ecmn1.pwn(124) : fatal error 100: cannot read from file: "Obj_LITE"

Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


1 Error.
i put the #include in pawn/includes but i have again this error