Number of vehicles: 0
#1

Hi all, my problem is:
Recently i edit my gamemode (about 1 hour works) and I add some vehicles and now when i run samp-server show me the number of vehicles : 0 Can anybody tell me why ? :j


Reply
#2

Nowbody has this problem before ?
Reply
#3

show your server.cfg file
Reply
#4

PHP код:
echo Executing Server Config...
lanmode 0
rcon_password 123
maxplayers 50
port 7777
hostname SA
-MP 0.3 Server
gamemode0 ServerUNNIC 1
filterscripts clothes
plugins streamer sscanf mysql
announce 0
query 1
chatlogging 0
weburl www
.sa-mp.com
onfoot_rate 40
incar_rate 40
weapon_rate 40
stream_distance 300.0
stream_rate 1000
maxnpc 0
logtimeformat 
[%H:%M:%S]
language English 
Is not server.cfg the problem , about 4 hour works, but i tell you, i change/add some vehicles, and BUM?! Stop working.... is possibile to not load OnGameModeInit?

Here is server_log.txt

PHP код:
----------
Loaded log file"server_log.txt".
----------

SA-MP Dedicated Server
----------------------
v0.3.7, (C)2005-2015 SA-MP Team

[18:21:17
[
18:21:17Server Plugins
[18:21:17] --------------
[
18:21:17]  Loading pluginstreamer
[18:21:17

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

[
18:21:17]   Loaded.
[
18:21:17]  Loading pluginsscanf
[18:21:17

[
18:21:17]  ===============================

[
18:21:17]       sscanf plugin loaded.     

[
18:21:17]          Version:  2.8.1        

[18:21:17]    (c2012 Alex "******" Cole  

[18:21:17]  ===============================

[
18:21:17]   Loaded.
[
18:21:17]  Loading pluginmysql
[18:21:17]  >> plugin.mysqlR38 successfully loaded.
[
18:21:17]   Loaded.
[
18:21:17]  Loaded 3 plugins.

[
18:21:17
[
18:21:17Filterscripts
[18:21:17] ---------------
[
18:21:17]   Loading filterscript 'clothes.amx'...
[
18:21:17]   Loaded 1 filterscripts.

[
18:21:17Script loaded RedFaction RPG v1.0
[18:21:17Number of vehicle models0
[18:21:19] --- Server Shutting Down.
[
18:21:19

*** 
Streamer Plugin v2.7.7 by Incognito unloaded ***

[
18:21:19

[
18:21:19]  ===============================

[
18:21:19]      sscanf plugin unloaded.    

[
18:21:19]  ===============================

[
18:21:19plugin.mysqlUnloading plugin...
[
18:21:19plugin.mysqlPlugin unloaded
........
Reply
#5

So your code when you added the cars. Or what you've done in the last time.
Reply
#6

GM priority is higher than filterscript in Samp so check if there is something wrong in your code or show here .
Reply
#7

Show your vehicle codes here. So we can see what's the problem . I mean OnGameModeInt , there should be car adding line like AddStaticVehicle and much more
Reply
#8

Here i make a pastebin with all functions where is on OnGameModeInit.

http://pastebin.com/67KD4k8d
Reply
#9

Now i see something, when i start up my pc, and xampp si off, the vehicles load, but if turn on xampp the vehicles not load ( 0 ) ( ! )
Any idee why i have this problem ?
Reply
#10

And here is mysql log
[


PHP код:
[13:14:07] [ERRORCMySQLConnection::Connect - (error #2003) Can't connect to MySQL server on '127.0.0.1' (10061)
[13:14:07] [ERRORCMySQLQuery::Execute - (error #2006) MySQL server has gone away
[13:14:07] [ERRORCMySQLQuery::Execute - (error #2006) MySQL server has gone away
[13:14:07] [ERRORCMySQLQuery::Execute - (error #2006) MySQL server has gone away
[13:14:07] [ERRORCMySQLQuery::Execute - (error #2006) MySQL server has gone away
[13:14:07] [ERRORCMySQLQuery::Execute - (error #2006) MySQL server has gone away
[13:14:07] [ERRORCMySQLQuery::Execute - (error #2006) MySQL server has gone away
[13:14:07] [ERRORCMySQLQuery::Execute - (error #2006) MySQL server has gone away
[13:14:07] [ERRORCMySQLQuery::Execute - (error #2006) MySQL server has gone away
[13:14:07] [ERRORCMySQLQuery::Execute - (error #2006) MySQL server has gone away
[13:14:07] [ERRORCMySQLQuery::Execute - (error #2006) MySQL server has gone away
[13:14:07] [ERRORCMySQLQuery::Execute - (error #2006) MySQL server has gone away
[13:14:08] [ERRORCMySQLConnection::Connect - (error #2003) Can't connect to MySQL server on '127.0.0.1' (10061)
[13:15:48] [ERRORCMySQLQuery::Execute - (error #2006) MySQL server has gone away 
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)