Mapping Problems (Read This) -
DouglasRamirez - 25.09.2013
Alright Guys, All of my scripter friends are not offline, So I wanna ask the question here instead of waiting.
First, Me and Ryan map a new map and put it on the Filterscript (all place we maps will be on ONE Filterscript only named "maps"). Then All maps are working properly but after we put a the LSPD Training Area map all the maps from GM are gone, How to fix this problem? most of the important maps are in the GM so I need to fix this
please reply asap.
Re: Mapping Problems (Read This) -
DanishHaq - 25.09.2013
Use a streamer, SA-MP 0.3x objects are limited to 1000 objects, anything over that will remove some objects and show some others. I'd recommend using Incognito's streamer and converting all your CreateObject's to CreateDynamicObject. Using a streamer only streams the objects when a player is near them, so it's inevitably an unlimited amount of objects by using this streamer.
Re: Mapping Problems (Read This) -
DouglasRamirez - 25.09.2013
I already updated streamer to lastest version, Can you teach me how to use Incognito's Streamer? since I don't know how to do it because I'm not a scripter :/
Re: Mapping Problems (Read This) -
DouglasRamirez - 25.09.2013
and What's special with Igcognito's Streamer?
Re: Mapping Problems (Read This) -
Bingo - 25.09.2013
Plugin streamer,
It minimizes the lag, How?
A: When a user is near to the obects place, The maps will be loaded instantly and shown, Where as not using streamer will cause lag because when the gamemode is started the full eg(3,000) objects are loaded.
Re: Mapping Problems (Read This) -
DouglasRamirez - 25.09.2013
So, How can I fix this? :S
Re: Mapping Problems (Read This) -
EiresJason - 25.09.2013
Just replace any code that has
to
You can press CONTROL+F, go to Replace and then replace all.
Actually; not sure if that's available in Pawno, but it might be.
EDIT: It has Replace, but not replace all
Re: Mapping Problems (Read This) -
DanishHaq - 25.09.2013
I'd suggest you download this program:
https://sampforum.blast.hk/showthread.php?tid=282801, and then copy all your CreateObject code, about 100-200 at a time would be suitable, then press "Import Paste" on the map constructor after pressing the big button that says "LOAD" on the main screen. After that, press "Show Code" and select CreateDynamicObject at the top instead of CreateObject. Copy and REPLACE that code back into the original source, of where you got it from, do the same for the rest of them too.
Or, you can do what the guy above me said.
Re: Mapping Problems (Read This) -
DouglasRamirez - 25.09.2013
Fixed, You guys late xD I found the answer from ******* lol
Re: Mapping Problems (Read This) -
Pottus - 25.09.2013
Quote:
Originally Posted by EiresJason
Just replace any code that has
to
You can press CONTROL+F, go to Replace and then replace all.
Actually; not sure if that's available in Pawno, but it might be.
EDIT: It has Replace, but not replace all ![Smiley](images/smilies/smile.png)
|
That doesn't take care of all the issues he will also need to update the drawdistance which requires an extra function or using CreateDynamicObjectEx() instead in fact CreateDynamicObject() is probably the worst function in the streamer.