Convoy Trucking

Hyde Park => GTA & SA-MP => Topic started by: Clucker on June 11, 2016, 19:48

Title: Objects won't show
Post by: Clucker on June 11, 2016, 19:48
Hi, it's me again  ::) im doing my map for application. but objects wont show when i test my map in SAMP.

1. I used latest incognito streamer (i placed the file needed to pawno > include folder, placed the .dll in plugins folder, included streamer.dll at server.cfg and included the line of code "#include <streamer>" to my game mode (.pwn file).
2. I placed the 900+ line of codes (CreateDynamicObject) under the function of OnGameModeInit().
3. I recompiled the .pwn before starting server.exe and playing it and no error found (just 8 warnings).

That is all the information, how to make the objects show in game? :'(  :(
Title: Re: Objects won't show
Post by: Dobby on June 11, 2016, 20:02
Make sure your game mode name is set via server.cfg
Title: Re: Objects won't show
Post by: Clucker on June 11, 2016, 20:07
Yes it is set :D no problems in server.cfg i think :)
Title: Re: Objects won't show
Post by: CarlJohnson on June 12, 2016, 01:48
Can you post the server_log?
Title: Re: Objects won't show
Post by: Clucker on June 12, 2016, 07:53
SA-MP Dedicated Server
----------------------
v0.3.7-R2, (C)2005-2015 SA-MP Team

[14:54:16] filterscripts = ""  (string)
[14:54:16]
[14:54:16] Server Plugins
[14:54:16] --------------
[14:54:16]  Loading plugin: streamer.dll
[14:54:16]

*** Streamer Plugin v2.8.2 by Incognito loaded ***

[14:54:16]   Loaded.
[14:54:16]  Loaded 1 plugins.

[14:54:16]
[14:54:16] Filterscripts
[14:54:16] ---------------
[14:54:16]   Loaded 0 filterscripts.

[14:54:16]
----------------------------------
[14:54:16] Mountain Province Map By Spongegar
[14:54:16] ----------------------------------

[14:54:16] Number of vehicle models: 0
[14:54:49] [connection] 192.168.15.6:64553 requests connection cookie.
[14:54:50] [connection] incoming connection: 192.168.15.6:64553 id: 0
[14:54:51] [join] Spongegar has joined the server (0:192.168.15.6)
[14:54:58] [part] Spongegar has left the server (0:1)
[14:55:02] --- Server Shutting Down.
Title: Re: Objects won't show
Post by: CarlJohnson on June 12, 2016, 08:52
Number of vehicles models shouldn't be 0 if I remember correct, it happens when server isn't started properly
Title: Re: Objects won't show
Post by: Clucker on June 12, 2016, 09:19
Problem solved: (but)

I created a filterscript and moved all 900 objects from game mode to filterscript but few objects wont load. i think filterscripts can't handle too much object even using streamer.

the codes i placed on game mode under the function of GameModeInit(). i moved them to filterscript under the function of OnPlayerConnect.
Title: Re: Objects won't show
Post by: Clucker on June 12, 2016, 11:14
Update: it's all okay now :D i can continue doing my map now. tnx for help bros :)
Title: Re: Objects won't show
Post by: AviatorAysar on June 12, 2016, 14:42
Mate post some videos let us watch, the mystery u r doing XD
Title: Re: Objects won't show
Post by: Clucker on June 12, 2016, 20:17
Hahahha if im done :P maybe next week :D it's only 50% finished..

P.S. it's only application so this map won't be added in server lol