SA-MP Forums Archive
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: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Object Streamer.. (/showthread.php?tid=467151)



Object Streamer.. - CesarLT - 01.10.2013

Hello everyone, I am currently working on a HUGE map, which contains near to 2,000 objects, on a large distance.
And I know that Incognitos streamer is the best so far..but it streams objects only when near them.
I am wondering, is there anyways that I can stream objects on larger distances? (More than 300 radius)?
And how could I make the player freeze for a second or two, until the objects load, so he won't fall down?

Thanks in advance!


Re: Object Streamer.. - Lidor124 - 01.10.2013

On server.cfg look for:
onfoot_rate
incar_rate
stream_rate
stream_distance
change them to bigger numbers

and about 2 seconds freeze player you can use SetTimerEx for specific player https://sampwiki.blast.hk/wiki/SetTimerEx


Re: Object Streamer.. - CesarLT - 01.10.2013

Quote:
Originally Posted by Lidor124
Посмотреть сообщение
On server.cfg look for:
onfoot_rate
incar_rate
stream_rate
stream_distance
change them to bigger numbers

and about 2 seconds freeze player you can use SetTimerEx for specific player https://sampwiki.blast.hk/wiki/SetTimerEx
Thanks, I've set that already to 5,000 but it still won't load the whole map, no matter how large numbers I use.
So this doesn't really solve my problem, any other usefull ideas? :O


Re: Object Streamer.. - Lidor124 - 01.10.2013

Did you change the numbers in all the four lines i told you to change?


Re: Object Streamer.. - CesarLT - 01.10.2013

Yeah, all to a huge rate, still..doesn't load properly.


Re: Object Streamer.. - Lidor124 - 01.10.2013

Well, its can be also somethong else bothering in your script/gamemode to stream it.
also what converter you are using? are you using createobject or createdynamicobject? are you using incongito streamer?
what function you use


Re: Object Streamer.. - CesarLT - 01.10.2013

I am using Incognitos streamer, and I am streaming with CreateDynamicObject..and this is a new script, with objects only, so nothing can bother that..


Re: Object Streamer.. - Lidor124 - 01.10.2013

Maybe its because of the amount of objects? 2000 objects for map can make some problems.
I never heard or used someone map 2000 objects for map, try create the objects in 2-3 maps.
also are there any filterscripts in your server.cfg?

BTW are you using MTA or map editor?


Re: Object Streamer.. - CesarLT - 01.10.2013

Map Editor, and it's a new project I am working on, so no FSs..and I can't seperate it into a few maps, as the server is based on this main map I am building..And I am sure there is a way to stream 2000 objects, I just need a good answer how.. damn. :/


Re: Object Streamer.. - Lidor124 - 01.10.2013

Look the most realistic solution is to switch it to 3 maps or whatever.
I'm using MTA and i have about 20 map saves of objects so that's my opinion.
Do you have defines in your script/gamemode?
Is your streamer version is the latest one 2.6.1?