Number of vehicle models: 0
#1

Hello sa-mp.com users. I recently start scripting again after a break on my old GM and i found this strange bug that when i start the server it's showing Number of vehicle models: 0 and when i enter the server it spawns me at BlueBerry coordinates 0,0,0 and i don't know why. I can't give me weapons/money/cars in game, when i type the command nothing happens. I want your advice in what i should check first. The server is on MySQL and i created a database using xampp. I have to mention that i have no mysql.log issues, no serverlog.txt issues. and the gamemode compiles with no problems. I really want to know what can make this issue happens. Have a nice day.
Reply
#2

Your gamemode is likely not properly initializing (gamemode text probably shows as "Unknown" in the client). This is possibly due to a needed plugin not loading, you should add the Nativechecker plugin and check your server logs after running the server.

https://sampforum.blast.hk/showthread.php?tid=249226
Reply
#3

It's showing the gamemode text corectly, the objects are properly loaded, the turfs also the minimap icons/ pickups are loaded, i can use the command /fly to enter the fly mode and i checked that. The cars are not showing, i can't teleport and it's spawing me in blueberry

Edit: I used nativechecker and it gave me some unusual errors



Edit2: This is the log

Код:
----------
Loaded log file: "server_log.txt".
----------

SA-MP Dedicated Server
----------------------
v0.3.7-R2, ©2005-2015 SA-MP Team

[04:08:13] filterscripts = ""  (string)
[04:08:13] 
[04:08:13] Server Plugins
[04:08:13] --------------
[04:08:13]  Loading plugin: sscanf
[04:08:13] 

[04:08:13]  ===============================

[04:08:13]       sscanf plugin loaded.     

[04:08:13]          Version:  2.8.1        

[04:08:13]    © 2012 Alex "******" Cole  

[04:08:13]  ===============================

[04:08:13]   Loaded.
[04:08:13]  Loading plugin: streamer
[04:08:13] 

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

[04:08:13]   Loaded.
[04:08:13]  Loading plugin: mysql
[04:08:13]  >> plugin.mysql: R39-3 successfully loaded.
[04:08:13]   Loaded.
[04:08:13]  Loading plugin: nativechecker
[04:08:13]   Loaded.
[04:08:13]  Loaded 4 plugins.

[04:08:13] 
[04:08:13] Ban list
[04:08:13] --------
[04:08:13]  Loaded: samp.ban
[04:08:13] 
[04:08:13] 
[04:08:13] Filterscripts
[04:08:13] ---------------
[04:08:13]   Loaded 0 filterscripts.

[04:08:13] Turfs: 48
[04:08:13] [Graffiti Script]: 17 graffiti loaded.
[04:08:13] [Furniture Script]: 0 objects loaded.
[04:08:13] [MySQL - SafeZone]: 15 loaded...
[04:08:13] -mSelection- WARNING: Failed to load list: "furnitures.txt"
[04:08:13] 1858 - Objects.
[04:08:13] 17 - Pickups.
[04:08:13] OnGameModeInit Loaded
[04:08:13] Script Loaded - Alex. RPG GFHUSI
[04:08:13] Number of vehicle models: 0
[04:08:13] Houses: 100
[04:08:13] Bussines: 54
[04:08:13] Dynamic Factions: 14
[04:08:13] Clans: 1
[04:08:13] Cars: 0
[04:08:13] Stocks: 101
Reply
#4

https://*********/F4syXarMtHE
Edit:
https://www.youtube.com/watch?v=S9Rf...ature=*********


This is a video that explain what happens, i also saw when i went in game that the pickups are not spawning aswell.
Reply
#5

Looks like you need to re-download and recompile your mode(s) with the up to date stuff.
Reply
#6

The gamemode is made by myself and last time i worked on it was in 15/11/2016 and it's up to date with 0.3.7 and all the includes and plugins updated
Reply
#7

Quote:
Originally Posted by AlexuTzVs
Посмотреть сообщение
The gamemode is made by myself and last time i worked on it was in 15/11/2016 and it's up to date with 0.3.7 and all the includes and plugins updated
This can be the main problem you just have updated the include and plugin but not the code. OR maybe the plugin's version should not be the same as plugin's
Reply
#8

If i try to start an older version of the gamemode that i have saved in computer it works perfectly but when i come back to the original it doesn't work.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)