SA-MP Forums Archive
Problem with objects (models) from Liberty City map. - 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: Problem with objects (models) from Liberty City map. (/showthread.php?tid=650367)



Problem with objects (models) from Liberty City map. - webby - 26.02.2018

So, I've started my server (on Linux) with 0.3DL SA-MP version and I have the Liberty City map loaded too. The map is good, the models are loading and everything, but there are some places where objects doesn't load (appear) and I don't know why.

Down below you have some screenshots of the problem:

[img] https://cdn.discordapp.com/attachmen.../sa-mp-665.png [/img]

And some of the buildings look like the white building in the front:
[img] https://cdn.discordapp.com/attachmen.../sa-mp-667.png [/img]
[img] https://cdn.discordapp.com/attachmen.../sa-mp-668.png [/img]

[img] https://cdn.discordapp.com/attachmen.../sa-mp-666.png [/img]

I'm using the last version of Streamer plugin and I'm not receiving any errors.


Re: Problem with objects (models) from Liberty City map. - PepsiCola23 - 26.02.2018

did you try loading the map on map editor and see if the objects that are missing are actually where they should be?


Re: Problem with objects (models) from Liberty City map. - webby - 26.02.2018

Quote:
Originally Posted by PepsiCola23
Посмотреть сообщение
did you try loading the map on map editor and see if the objects that are missing are actually where they should be?
On the Windows version is all good. I don't know why on Linux version this problem persists.


Re: Problem with objects (models) from Liberty City map. - PepsiCola23 - 26.02.2018

they dont appear at all?even if you step a few meters near them?

also,are you using CreateObject or Dynamic ones?


Re: Problem with objects (models) from Liberty City map. - webby - 26.02.2018

Quote:
Originally Posted by PepsiCola23
Посмотреть сообщение
they dont appear at all?even if you step a few meters near them?

also,are you using CreateObject or Dynamic ones?
I'm using CreateDynamicObject.


Re: Problem with objects (models) from Liberty City map. - PepsiCola23 - 26.02.2018

so if you go straight into them are they appearing or not?


Re: Problem with objects (models) from Liberty City map. - webby - 26.02.2018

Quote:
Originally Posted by PepsiCola23
Посмотреть сообщение
so if you go straight into them are they appearing or not?
Not.


Re: Problem with objects (models) from Liberty City map. - NaS - 26.02.2018

Quote:
Originally Posted by webby
Посмотреть сообщение
On the Windows version is all good. I don't know why on Linux version this problem persists.
Windows isn't case sensitive, while Linux is.

If you have a model named "MyModel.dll" and load it using "mymodel.dff" it will work on Windows, but not on Linux.

Check the server log for model loading errors.

What you can do is simply rename all models to lower case and do the same for the code that loads it or artconfig.txt.

You can g00gle for batch code that renames all files in a directory to lower-case and use a Text Editor like Sublime Text to do the same for the code.


Re: Problem with objects (models) from Liberty City map. - webby - 26.02.2018

Quote:
Originally Posted by NaS
Посмотреть сообщение
Windows isn't case sensitive, while Linux is.

If you have a model named "MyModel.dll" and load it using "mymodel.dff" it will work on Windows, but not on Linux.

Check the server log for model loading errors.

What you can do is simply rename all models to lower case and do the same for the code that loads it or artconfig.txt.

You can g00gle for batch code that renames all files in a directory to lower-case and use a Text Editor like Sublime Text to do the same for the code.
Thank you very much!