Re: [INC] Bzucoґs TURBO object Streamer v 1.0 -
Serbish - 02.01.2009
Quote:
Originally Posted by =>Sandra<=
Quote:
Originally Posted by -=[Serbish
=- ]
But in fact, you don't need even includes.
You can have them in the gamemode itself.
|
That's true, but accoriding the Topictitle [INC], it should be an include
Anyway, nice script, but i don't know what's the diffrence between this ObjectStreamer and the tons of other Objectstreamers
|
It was a challenge between bzuco and pixelX, who make the better one.
Re: [INC] Bzucoґs TURBO object Streamer v 1.0 -
Zezombia - 02.01.2009
I've got the results, but it's not very fair for 2 reasons:
1) They we're both tested on default settings, and as bzuco's had higher settings, he was left in the dust.
2) bzuco's wasn't made as an INC, go generally mixing and matching leaves him in the dust as well.
_________________________________________________
Orgional test:
Quote:
For the same amount of objects:
1) AMX Size = lower +1.
2) Script timeouts = lower + 1.
3) CPU Usage = lower + 1.
|
_________________________________________________
Straight compile:
pawn Код:
#include <a_samp>
main()
{
return 1;
}
public OnGameModeInit()
{
AddPlayerClass(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
}
pObjectStreams:
pawn Код:
#include <pObjectStreams>
Quote:
C:\Documents and Settings\Owner\My Documents\Servers\Streamer Test\pawno\include\pObjectStreams.inc(160) : warning 217: loose indentation
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
1 Warning.
|
TruboStreamer:
Quote:
C:\Documents and Settings\Owner\My Documents\Servers\Streamer Test\pawno\include\TruboStreamer.inc(96) : warning 209: function "main" should return a value
C:\DOCUME~1\Owner\MYDOCU~1\Servers\STREAM~1\GAMEMO ~1\UNTITL~1.PWN(5) : error 021: symbol already defined: "main"
C:\DOCUME~1\Owner\MYDOCU~1\Servers\STREAM~1\GAMEMO ~1\UNTITL~1.PWN(10) : error 021: symbol already defined: "OnGameModeInit"
C:\DOCUME~1\Owner\MYDOCU~1\Servers\STREAM~1\GAMEMO ~1\UNTITL~1.PWN(12) : warning 209: function "OnGameModeInit" should return a value
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
2 Errors.
|
SCORE NOT COUNTED.
_________________________________________________
AMX Size
(Differences based on previous test)
No objects
pObjectStreams:
AMX Size: 213kb
TruboStreamer:
AMX Size: 618kb
5 objects
pObjectStreams:
AMX Size: 213kb
TruboStreamer:
AMX Size: 618kb
1000 objects
pObjectStreams:
AMX Size: 248kb (30kb difference)
TruboStreamer:
AMX Size: 653kb (35kb difference)
PIXelS: +1
BZUCO: 0
_________________________________________________
Script Failures
UNABLE TO TEST
pObjectStreams:
Attaches objects to me for some reason.
TruboStreamer:
Unable to load any objects.
BOTH FAIL.
Tested with 1000 objects, both on default settings with CreateDynamicObject.
SCORE NOT COUNTED.
_________________________________________________
(Differences based on previous test)
Mem Usage
No objects
pObjectStreams:
Mem Usage: 10,112k
TruboStreamer:
Mem Usage: 11,724k
5 objects
pObjectStreams:
Mem Usage: 10,116k (3k difference)
TruboStreamer:
Mem Usage: 11,728k(4k difference)
1000 objects
pObjectStreams:
Mem Usage: 10,184k (68k difference)
TruboStreamer:
Mem Usage: 11,800k (72k difference)
PIXELS: +2
BZUCO: 0
Pixels wins the competition.
Re: [INC] Bzucoґs TURBO object Streamer v 1.0 -
bzuco - 02.01.2009
i donґt agree, you made turbo streamer amx with max 3000 objects and pixels streamer with max 1000 objects, with the same settings, turbo streamer amx has lower size (5KB)
Re: [INC] Bzucoґs TURBO object Streamer v 1.0 -
Zezombia - 02.01.2009
Quote:
Originally Posted by Zezombia
1) They we're both tested on default settings, and as bzuco's had higher settings, he was left in the dust.
|
Re: [INC] Bzucoґs TURBO object Streamer v 1.0 -
Sandra18[NL] - 02.01.2009
Quote:
Originally Posted by bzuco
i donґt agree, you made turbo streamer amx with max 3000 objects and pixels streamer with max 1000 objects, with the same settings, turbo streamer amx has lower size (5KB)
|
No, setting MAX_DYNAMIC_OBJECT to 1000 (instead of 3000) makes the .amx
312 KB
And after removing all 2870 CreateDynamicObject-lines, the .amx is still
207 KB.... ...not 5KB
Re: [INC] Bzucoґs TURBO object Streamer v 1.0 -
Zezombia - 02.01.2009
He means it's lower then pObjectStreamer by 5kb :P.
Re: [INC] Bzucoґs TURBO object Streamer v 1.0 -
bzuco - 02.01.2009
because aj use booleans and not integers
Re: [INC] Bzucoґs TURBO object Streamer v 1.0 -
Danut - 02.01.2009
bzuco , put 2800 objects , and get in a car , and kill your self

and will crash ...
i don't think so the maximum is 2800
How i use IT !
As a filterscript , and all the objects i put there , under form [ CreateDinamicObject ]
It's something wrong ?
Re: [INC] Bzucoґs TURBO object Streamer v 1.0 -
Serbish - 02.01.2009
Quote:
Originally Posted by Danut
bzuco , put 2800 objects , and get in a car , and kill your self  and will crash ...
i don't think so the maximum is 2800
How i use IT !
As a filterscript , and all the objects i put there , under form [ CreateDinamicObject ]
It's something wrong ?
|
If it crash then yes.
Re: [INC] Bzucoґs TURBO object Streamer v 1.0 -
bzuco - 02.01.2009
Quote:
Originally Posted by Danut
bzuco , put 2800 objects , and get in a car , and kill your self  and will crash ...
i don't think so the maximum is 2800
How i use IT !
As a filterscript , and all the objects i put there , under form [ CreateDinamicObject ]
It's something wrong ?
|
Ok Iґll test it now
edit: tested, no crash
Re: [INC] Bzucoґs TURBO object Streamer v 1.0 -
Danut - 02.01.2009
ya man , but sometimes , he crash the server

and i use just 300 objects .......
and is something wrong if i change 150 OBJECTS too see from the player ?
Re: [INC] Bzucoґs TURBO object Streamer v 1.0 -
bzuco - 02.01.2009
crash server? uf, there is no mistike in script, i think. it never crashed my server.
Re: [INC] Bzucoґs TURBO object Streamer v 1.0 -
Manny165 - 03.01.2009
I've tested this, with about 1000+ Objects
Yes it crashed, sorry but this streamer is horrible.
Re: [INC] Bzucoґs TURBO object Streamer v 1.0 -
bzuco - 03.01.2009
i tested it with 2700 objects without problems... learn how to script then test scripts
Re: [INC] Bzucoґs TURBO object Streamer v 1.0 -
Manny165 - 03.01.2009
Quote:
Originally Posted by bzuco
i tested it with 2700 objects without problems... learn how to script then test scripts
|
Since when did this have something to do with scripting? Was i supposed to re-write the streamer and then use it?
All there is to do is convert the objects & paste it in, i tested it with 1000+ Objects and this failed.
Re: [INC] Bzucoґs TURBO object Streamer v 1.0 -
bzuco - 03.01.2009
if you donґt like this streamer, write your own (but i think that you are only Cut&Paste scripter)
Re: [INC] Bzucoґs TURBO object Streamer v 1.0 -
Sandra18[NL] - 03.01.2009
I tested too, it's not working well. It crashed the client, and some object disappear when you approach them.
Re: [INC] Bzucoґs TURBO object Streamer v 1.0 -
bzuco - 03.01.2009
crash is problem of sa-mp not of streamer, if you think that crashes are caused by streamer, write why.
Re: [INC] Bzucoґs TURBO object Streamer v 1.0 -
russiany - 03.01.2009
yes bzuco , it's crashes
Re: [INC] Bzucoґs TURBO object Streamer v 1.0 -
Sandra18[NL] - 03.01.2009
Quote:
Originally Posted by bzuco
crash is problem of sa-mp not of streamer, if you think that crashes are caused by streamer, write why.
|
Because i was running
YOUR gamemode and thйn in crashed! In only added 1 single vehicle to drive around the map. @LV airport i got the problem with the object disappearing while approaching. And at Dessert Airport my client crashed.
I think your streamer is bugged, showing too many (more than 150) at the same time...