Server Problem
#1

im going to make this simple my server isn't loading FS's i use the SendRconCommand to open

Код:
	SendRconCommand("loadfs HD");
	SendRconCommand("loadfs Interiors");
	SendRconCommand("loadfs ATC");
	SendRconCommand("loadfs GarPM");
	SendRconCommand("loadfs Missions");
	SendRconCommand("loadfs AI");
	SendRconCommand("loadfs admincp");
	SendRconCommand("loadfs armourtruck");
	SendRconCommand("loadfs Ocar");
	SendRconCommand("loadfs Ownership");
	SendRconCommand("loadfs real_lights");
Server:

Код:

SA-MP Dedicated Server
----------------------
v0.3c R2, ©2005-2011 SA-MP Team

[20:56:36] filterscripts = ""  (string)
[20:56:36] password = ""  (string)
[20:56:36] 
[20:56:36] Server Plugins
[20:56:36] --------------
[20:56:36]  Loading plugin: streamer
[20:56:36] 

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

[20:56:36]   Loaded.
[20:56:36]  Loading plugin: sscanf
[20:56:36] 

[20:56:36]  ===============================

[20:56:36]       sscanf plugin loaded.     

[20:56:36]    © 2009 Alex "******" Cole

[20:56:36]  ===============================

[20:56:36]   Loaded.
[20:56:36]  Loading plugin: gvar
[20:56:36] 

*** GVar Plugin v1.3 by Incognito loaded ***

[20:56:36]   Loaded.
[20:56:36]  Loading plugin: mysql
[20:56:37] 

  > MySQL plugin R4-2 successfully loaded.

[20:56:37]   Loaded.
[20:56:37]  Loaded 4 plugins.

[20:56:37] 
[20:56:37] Filter Scripts
[20:56:37] ---------------
[20:56:37]   Loaded 0 filter scripts.

[20:56:37] 
----------------------------------
[20:56:37]   PH(Pilots Heaven)

[20:56:37] ----------------------------------

[20:56:37] Number of vehicle models: 1
[20:56:37] Incoming connection: 127.0.0.1:4766
[20:56:37] [npc:join] Buffalo_Joe_McBrian has joined the server (0:127.0.0.1)
[20:58:22] --- Server Shutting Down.
[20:58:22] [npc:part] Buffalo_Joe_McBrian has left the server (0:0)
[20:58:22] 

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

[20:58:22] 

[20:58:22]  ===============================

[20:58:22]      sscanf plugin unloaded.    

[20:58:22]  ===============================

[20:58:22] 

*** GVar Plugin v1.3 by Incognito unloaded ***

[20:58:22] 

  > MySQL plugin unloaded.
i load it via the Server.CFG and i get:

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

SA-MP Dedicated Server
----------------------
v0.3c R2, ©2005-2011 SA-MP Team

[20:58:27] password = ""  (string)
[20:58:27] 
[20:58:27] Server Plugins
[20:58:27] --------------
[20:58:27]  Loading plugin: streamer
[20:58:27] 

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

[20:58:27]   Loaded.
[20:58:27]  Loading plugin: sscanf
[20:58:27] 

[20:58:27]  ===============================

[20:58:27]       sscanf plugin loaded.     

[20:58:27]    © 2009 Alex "******" Cole

[20:58:27]  ===============================

[20:58:27]   Loaded.
[20:58:27]  Loading plugin: gvar
[20:58:27] 

*** GVar Plugin v1.3 by Incognito loaded ***

[20:58:27]   Loaded.
[20:58:27]  Loading plugin: mysql
[20:58:27] 

  > MySQL plugin R4-2 successfully loaded.

[20:58:27]   Loaded.
[20:58:27]  Loaded 4 plugins.

[20:58:27] 
[20:58:27] Filter Scripts
[20:58:27] ---------------
[20:58:27]   Loading filter script 'HD.amx'...
[20:58:27]   Loading filter script 'Interiors.amx'...
[20:58:27]   =====Interiors By Zoe Loaded Sucessfully!=======
[20:58:27]   Loading filter script 'ATC.amx'...
[20:58:27] 
--------------------------------------
[20:58:27]  Simple ATC Script By Bella Loaded

[20:58:27] --------------------------------------

[20:58:27]   Loading filter script 'GarPM.amx'...
[20:58:27] =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
[20:58:27] 	   GarPM v1.2 By [03]Garsino Successfully Loaded!	
[20:58:27] =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
[20:58:27]   Loading filter script 'Missions.amx'...
[20:58:27] 
--------------------------------------
[20:58:27] Pilot Job system by TechKid100
[20:58:27] --------------------------------------

[20:58:27]   Loading filter script 'AI.amx'...
[20:58:27]     >> Admin Island,by Inferno <<       
[20:58:27] --------------------------------------

[20:58:27]   Loading filter script 'admincp.amx'...
[20:58:27] 
--------------------------------------
[20:58:27]  Loaded Jejemonerz123's AbandonedAirport!
[20:58:27] --------------------------------------

[20:58:27]   Loading filter script 'armourtruck.amx'...
[20:58:27] Private Miller Has Been Loaded
[20:58:27]   Loading filter script 'Ocar.amx'...
[20:58:27] -------------------------------------
[20:58:27]  Ocar Dynamic Gas Station Creator
[20:58:27]  Ocar Special Edition
[20:58:27] -------------------------------------
[20:58:27] Ocar] 15 gas stations loaded!
[20:58:27] [Ocar] OnFilterScriptInit completed in 16 ms with 0 errors!
[20:58:27]   Loading filter script 'Ownership.amx'...
[20:58:28] 
=============================================================

[20:58:28] Model:		411
[20:58:28] Color 1:	1
[20:58:28] Color 2:	1
[20:58:28] Price:		$-268435456
[20:58:28] Owner:		Bella
[20:58:28] Spawn X:	2308.723876
[20:58:28] Spawn Y:	693.263000
[20:58:28] Spawn Z:	11.180000
[20:58:28] Spawn A:	0.739400
[20:58:28] Plate:		Bella
[20:58:28] PaintJ:		0
[20:58:28] Locked:		1
[20:58:28] Mod 1:		0
[20:58:28] Mod 2:		0
[20:58:28] Mod 3:		0
[20:58:28] Mod 4:		0
[20:58:28] Mod 5:		0
[20:58:28] Mod 6:		0
[20:58:28] Mod 7:		0
[20:58:28] Mod 8:		0
[20:58:28] Mod 9:		0
[20:58:28] Mod 10:		0
[20:58:28] Mod 11:		0
[20:58:28] Mod 12:		0
[20:58:28] 
=============================================================

[20:58:28] 
=============================================================

[20:58:28] Model:		520
[20:58:28] Color 1:	0
[20:58:28] Color 2:	0
[20:58:28] Price:		$-1
[20:58:28] Owner:		Bella
[20:58:28] Spawn X:	2322.499267
[20:58:28] Spawn Y:	698.073913
[20:58:28] Spawn Z:	11.881999
[20:58:28] Spawn A:	88.292098
[20:58:28] Plate:		Bella
[20:58:28] PaintJ:		0
[20:58:28] Locked:		1
[20:58:28] Mod 1:		0
[20:58:28] Mod 2:		0
[20:58:28] Mod 3:		0
[20:58:28] Mod 4:		0
[20:58:28] Mod 5:		0
[20:58:28] Mod 6:		0
[20:58:28] Mod 7:		0
[20:58:28] Mod 8:		0
[20:58:28] Mod 9:		0
[20:58:28] Mod 10:		0
[20:58:28] Mod 11:		0
[20:58:28] Mod 12:		0
[20:58:28] 
=============================================================

[20:58:28] 
=============================================================

[20:58:28] Model:		520
[20:58:28] Color 1:	0
[20:58:28] Color 2:	0
[20:58:28] Price:		$-1
[20:58:28] Owner:		GameFreak
[20:58:28] Spawn X:	1901.484252
[20:58:28] Spawn Y:	1342.767822
[20:58:28] Spawn Z:	24.718700
[20:58:28] Spawn A:	163.235900
[20:58:28] Plate:		GameFreak
[20:58:28] PaintJ:		0
[20:58:28] Locked:		1
[20:58:28] Mod 1:		0
[20:58:28] Mod 2:		0
[20:58:28] Mod 3:		0
[20:58:28] Mod 4:		0
[20:58:28] Mod 5:		0
[20:58:28] Mod 6:		0
[20:58:28] Mod 7:		0
[20:58:28] Mod 8:		0
[20:58:28] Mod 9:		0
[20:58:28] Mod 10:		0
[20:58:28] Mod 11:		0
[20:58:28] Mod 12:		0
[20:58:28] 
=============================================================

[20:58:28] 
=============================================================

[20:58:28] Model:		411
[20:58:28] Color 1:	0
[20:58:28] Color 2:	0
[20:58:28] Price:		$-20000000
[20:58:28] Owner:		Bella
[20:58:28] Spawn X:	-2519.431640
[20:58:28] Spawn Y:	-620.008789
[20:58:28] Spawn Z:	132.562500
[20:58:28] Spawn A:	87.527801
[20:58:28] Plate:		Bella
[20:58:28] PaintJ:		0
[20:58:28] Locked:		1
[20:58:28] Mod 1:		0
[20:58:28] Mod 2:		0
[20:58:28] Mod 3:		0
[20:58:28] Mod 4:		0
[20:58:28] Mod 5:		0
[20:58:28] Mod 6:		0
[20:58:28] Mod 7:		0
[20:58:28] Mod 8:		0
[20:58:28] Mod 9:		0
[20:58:28] Mod 10:		0
[20:58:28] Mod 11:		0
[20:58:28] Mod 12:		0
[20:58:28] 
=============================================================

[20:58:28] Incoming connection: 127.0.0.1:4768
[20:58:28] ** A total of: "4" vehicle(s) were loaded!
[20:58:28] 
=============================================================
[20:58:28] Dynamic Vehicle Ownership By: [U]214 - .INI Version Loaded...
[20:58:28] =============================================================

[20:58:28]   Loading filter script 'real_lights.amx'...
[20:58:28] 
--------------------------------------
[20:58:28]  Infinite-Gaming.com Presents:
[20:58:28]  Real Vehicle Lights v2 by Cyber_Punk
[20:58:28] --------------------------------------

[20:58:28]   Loaded 11 filter scripts.

[20:58:29] 
----------------------------------
[20:58:29]   PH(Pilots Heaven)

[20:58:29] ----------------------------------

[20:58:29] Number of vehicle models: 6
[20:58:29] [npc:join] Private_Miller has joined the server (0:127.0.0.1)
[20:58:29] Incoming connection: 127.0.0.1:4769
[20:58:30] [npc:join] Buffalo_Joe_McBrian has joined the server (1:127.0.0.1)
[14:27:34] --- Server Shutting Down.
[14:27:34]   =====Interiors By Zoe Unloaded Sucessfully!======
[14:27:34] 
--------------------------------------
[14:27:34]  Simple ATC Script by Bella Unloaded

[14:27:34] --------------------------------------

[14:27:34] =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
[14:27:34] 	  GarPM v1.2 By [03]Garsino Successfully Unloaded!	
[14:27:34] =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
[14:27:34] 
--------------------------------------
[14:27:34]  Real Vehicle Lights UNLOADED
[14:27:34] --------------------------------------

[14:27:34] [npc:part] Private_Miller has left the server (0:0)
[14:27:34] [npc:part] Buffalo_Joe_McBrian has left the server (1:0)
[14:27:35] 

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

[14:27:35] 

[14:27:35]  ===============================

[14:27:35]      sscanf plugin unloaded.    

[14:27:35]  ===============================

[14:27:35] 

*** GVar Plugin v1.3 by Incognito unloaded ***

[14:27:35] 

  > MySQL plugin unloaded.
Can Anyone help it loads from Server.CFG but not from my gamemode
Reply
#2

Where do you put this...
Код:
SendRconCommand("loadfs HD");
SendRconCommand("loadfs Interiors");
SendRconCommand("loadfs ATC");
SendRconCommand("loadfs GarPM");
SendRconCommand("loadfs Missions");
SendRconCommand("loadfs AI");
SendRconCommand("loadfs admincp");
SendRconCommand("loadfs armourtruck");
SendRconCommand("loadfs Ocar");
SendRconCommand("loadfs Ownership");
SendRconCommand("loadfs real_lights");
...?
Reply
#3

last part of my gamemode
Код:
	CreateDynamicObject(982,1580.00000000,-571.50000000,72.90000153,0.00000000,0.00000000,67.74169922); //object(fenceshit) (8)
	CreateDynamicObject(982,1592.00000000,-589.20001221,72.90000153,0.00000000,0.00000000,359.74169922); //object(fenceshit) (9)
	CreateDynamicObject(982,1617.09997559,-588.90002441,72.90000153,0.00000000,0.00000000,359.73632812); //object(fenceshit) (10)
	CreateDynamicObject(982,1617.19995117,-563.40002441,72.90000153,0.00000000,0.00000000,359.73632812); //object(fenceshit) (11)
	CreateDynamicObject(982,1617.40002441,-548.90002441,72.90000153,0.00000000,0.00000000,359.73632812); //object(fenceshit) (12)
	CreateDynamicObject(982,1608.90002441,-526.79998779,72.90000153,0.00000000,0.00000000,41.73632812); //object(fenceshit) (13)
	CreateDynamicObject(982,1588.59997559,-512.50000000,72.90000153,0.00000000,0.00000000,67.73156738); //object(fenceshit) (14)
	CreateDynamicObject(982,1564.90002441,-502.79998779,72.90000153,0.00000000,0.00000000,67.73071289); //object(fenceshit) (15)
	CreateDynamicObject(982,1542.69995117,-493.89999390,72.90000153,0.00000000,0.00000000,67.73071289); //object(fenceshit) (16)
	CreateDynamicObject(3998,1593.09997559,-606.09997559,61.29999924,0.00000000,343.24584961,269.98901367); //object(court1_lan) (25)
	CreateDynamicObject(3998,1593.09997559,-630.00000000,68.80000305,0.00000000,341.99340820,269.98901367); //object(court1_lan) (17)
	CreateDynamicObject(3578,1605.50000000,-633.00000000,82.90000153,0.00000000,342.00000000,270.98547363); //object(dockbarr1_la) (20)
	CreateDynamicObject(3578,1605.40002441,-624.40002441,80.09999847,0.00000000,341.99890137,270.48400879); //object(dockbarr1_la) (20)
	CreateDynamicObject(3578,1605.30004883,-614.59997559,76.90000153,0.00000000,341.99343872,270.48339844); //object(dockbarr1_la) (20)
	CreateDynamicObject(3578,1605.25000000,-608.70001221,75.09999847,0.00000000,343.24340820,270.48339844); //object(dockbarr1_la) (20)
	CreateDynamicObject(3526,1566.90002441,-581.09997559,85.40000153,0.00000000,0.00000000,0.00000000); //object(vegasairportlight) (37)
	CreateVehicle(500, 2022.8961, 1340.2822, 10.9212, 0.0000, -1, -1, 100);
	SendRconCommand("loadfs HD");
	SendRconCommand("loadfs Interiors");
	SendRconCommand("loadfs ATC");
	SendRconCommand("loadfs GarPM");
	SendRconCommand("loadfs Missions");
	SendRconCommand("loadfs AI");
	SendRconCommand("loadfs admincp");
	SendRconCommand("loadfs armourtruck");
	SendRconCommand("loadfs Ocar");
	SendRconCommand("loadfs Ownership");
	SendRconCommand("loadfs real_lights");
	return 1;
}
Reply
#4

Seems you wanna load filterscripts at OnGameModeInit. Why not placing it in your server config file?
Reply
#5

Fixed^^

EDIT: i put it in the gamemode as it allows you to load more than 16 scripts and in the Server.CFG it doesn't
Reply
#6

Add this before all the SendRconCommands:
pawn Код:
print("Starting to load filterscripts");
And add this line just before return 1;
pawn Код:
print("Reached the end of loadfs rcon cmds");
Now, run the gm and see if it prints this on the logs..

EDIT: Oh ok.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)