Number of vehicles: 0 - 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: Number of vehicles: 0 (
/showthread.php?tid=582036)
Number of vehicles: 0 -
Sn4ke2 - 17.07.2015
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
Re: Number of vehicles: 0 -
Sn4ke2 - 17.07.2015
Nowbody has this problem before ?
Re: Number of vehicles: 0 -
PrinceKumar - 17.07.2015
show your server.cfg file
Re: Number of vehicles: 0 -
Sn4ke2 - 17.07.2015
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:17] Server Plugins
[18:21:17] --------------
[18:21:17] Loading plugin: streamer
[18:21:17]
*** Streamer Plugin v2.7.7 by Incognito loaded ***
[18:21:17] Loaded.
[18:21:17] Loading plugin: sscanf
[18:21:17]
[18:21:17] ===============================
[18:21:17] sscanf plugin loaded.
[18:21:17] Version: 2.8.1
[18:21:17] (c) 2012 Alex "******" Cole
[18:21:17] ===============================
[18:21:17] Loaded.
[18:21:17] Loading plugin: mysql
[18:21:17] >> plugin.mysql: R38 successfully loaded.
[18:21:17] Loaded.
[18:21:17] Loaded 3 plugins.
[18:21:17]
[18:21:17] Filterscripts
[18:21:17] ---------------
[18:21:17] Loading filterscript 'clothes.amx'...
[18:21:17] Loaded 1 filterscripts.
[18:21:17] Script loaded - RedFaction RPG v1.0
[18:21:17] Number of vehicle models: 0
[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:19] plugin.mysql: Unloading plugin...
[18:21:19] plugin.mysql: Plugin unloaded.
........
Re: Number of vehicles: 0 -
SpikeSpigel - 17.07.2015
So your code when you added the cars. Or what you've done in the last time.
Re: Number of vehicles: 0 -
PrinceKumar - 17.07.2015
GM priority is higher than filterscript in Samp so check if there is something wrong in your code or show here .
Re: Number of vehicles: 0 -
SoFahim - 17.07.2015
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
Re: Number of vehicles: 0 -
Sn4ke2 - 18.07.2015
Here i make a pastebin with all functions where is on OnGameModeInit.
http://pastebin.com/67KD4k8d
Re: Number of vehicles: 0 -
Sn4ke2 - 18.07.2015
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 ?
Re: Number of vehicles: 0 -
Sn4ke2 - 18.07.2015
And here is mysql log
[
PHP код:
[13:14:07] [ERROR] CMySQLConnection::Connect - (error #2003) Can't connect to MySQL server on '127.0.0.1' (10061)
[13:14:07] [ERROR] CMySQLQuery::Execute - (error #2006) MySQL server has gone away
[13:14:07] [ERROR] CMySQLQuery::Execute - (error #2006) MySQL server has gone away
[13:14:07] [ERROR] CMySQLQuery::Execute - (error #2006) MySQL server has gone away
[13:14:07] [ERROR] CMySQLQuery::Execute - (error #2006) MySQL server has gone away
[13:14:07] [ERROR] CMySQLQuery::Execute - (error #2006) MySQL server has gone away
[13:14:07] [ERROR] CMySQLQuery::Execute - (error #2006) MySQL server has gone away
[13:14:07] [ERROR] CMySQLQuery::Execute - (error #2006) MySQL server has gone away
[13:14:07] [ERROR] CMySQLQuery::Execute - (error #2006) MySQL server has gone away
[13:14:07] [ERROR] CMySQLQuery::Execute - (error #2006) MySQL server has gone away
[13:14:07] [ERROR] CMySQLQuery::Execute - (error #2006) MySQL server has gone away
[13:14:07] [ERROR] CMySQLQuery::Execute - (error #2006) MySQL server has gone away
[13:14:08] [ERROR] CMySQLConnection::Connect - (error #2003) Can't connect to MySQL server on '127.0.0.1' (10061)
[13:15:48] [ERROR] CMySQLQuery::Execute - (error #2006) MySQL server has gone away