[UNSOLVED] FS Loading Error
#1

Hi, when I start my server with only 1 FS (The one I need the most) it says this;
Код:
[21:47:57] Loading filter script 'System.amx'...
[21:47:57] Loading filter script '·.amx'...
[21:47:57] Unable to load filter script '·.amx'.
[21:47:57] Loaded 1 filter scripts.
Please help me ;s
Thanks
Reply
#2

Change the name to a non chinese/whatever. If that doesn't work, then show your OnFilterScriptInit from that script
Reply
#3

Quote:
Originally Posted by dice7
Change the name to a non chinese/whatever. If that doesn't work, then show your OnFilterScriptInit from that script
Didn't work...
Here is OnFSInit;
Код:
	TextWebsite = TextDrawCreate(480.000000,100.000000,"www.PerfectProjects.info");
	TextDrawAlignment(TextWebsite,0);
	TextDrawBackgroundColor(TextWebsite,0x000000ff);
	TextDrawFont(TextWebsite,3);
	TextDrawLetterSize(TextWebsite,0.299999,1.600000);
	TextDrawColor(TextWebsite,0xffffffff);
	TextDrawSetOutline(TextWebsite,1);
	TextDrawSetProportional(TextWebsite,1);
	TextDrawSetShadow(TextWebsite,1);
	
	TextName = TextDrawCreate(45.000000,428.000000,"Mini-Wars");
	TextDrawAlignment(TextName,0);
	TextDrawBackgroundColor(TextName, 0x000000FF);
	TextDrawFont(TextName,1);
	TextDrawLetterSize(TextName,0.5,1.8);
	TextDrawColor(TextName, 0xFFFFFFFF);
	TextDrawSetOutline(TextName,1);
	TextDrawSetProportional(TextName,1);
	TextDrawSetShadow(TextName,9);
	
	TextWarName = TextDrawCreate(630.000000,420.000000, "Farm War"); //aanpassn
	TextDrawAlignment(TextWarName, 3);
	TextDrawFont(TextWarName, 1);
	TextDrawLetterSize(TextWarName, 0.75, 2.7);
	TextDrawColor(TextWarName, 0xFFFFFFFF);
	TextDrawSetShadow(TextWarName, 9);
	TextDrawSetProportional(TextWarName, 1);
	TextDrawSetOutline(TextWarName, 1);
	
	Games_Init();
And Gamer_Init;
Код:
	new string[128];
	if(games >= MAX_GAMES) games = 0;

	format(string,128,"changemode %s",game[games]);
	SendRconCommand(string);
	format(string,128,"mapname %s",game[games]);
	SendRconCommand(string);

	SetGameModeText(game[games]);

	TextDrawHideForAll(TextWarName);
	TextDrawSetString(TextWarName,game[games]);
	TextDrawShowForAll(TextWarName);

  timer = SetTimer("Games_Init",time[games],true);

	games++; // hierdoor telt ie er steeds 1 op,
	return 1;
Thanks
Reply
#4

If its not your server.cfg.

Compile both fs's again.
Seems it cant find the .amx
Reply
#5

Quote:
Originally Posted by euRo`
If its not your server.cfg.

Compile both fs's again.
Seems it cant find the .amx
The .amx is really compiled in my FS folder and the name is just "System" nothing special..
And, I'm also sure its in the server.cfg...
Reply
#6

Quote:
Originally Posted by Nameless303
Quote:
Originally Posted by euRo`
If its not your server.cfg.

Compile both fs's again.
Seems it cant find the .amx
The .amx is really compiled in my FS folder and the name is just "System" nothing special..
And, I'm also sure its in the server.cfg...
hmm.
Lets go step by step.

Step 1:
go into folder called "filterscripts"

step 2:
make sure both .pwn and .amx are there. Recompile just incase

step 3:
go to server.cfg
should look like this

filterscripts System
Reply
#7

with what do you edit your server.cfg ?
i suggest you do it with notepad in windows or nano in linux, seems like a special character, like a line feed, return or tab character...
Reply
#8

Yea try to compile it again and check for the name's of all puted in FilterScripts and then try to load it.
Reply
#9

I made myself sure (is this good english? x']) that the amx and the pwn files of my script are in the FS folder..
So I did open my server.cfg with notepad and looked for special characters and I couldn't find any ;s
Код:
hostname [0.3] Mini-Wars - PerfectProjects.info [ServerFFS.com]
bind 94.23.26.143
port 8800
password 
mapname Mini-Wars-Map
weburl www.PerfectProjects.info
rcon_password PS123
maxplayers 10
query 1
announce 1
instagib 1
filterscripts System
plugins 
rcon 1
maxnpc 0
onfoot_rate 40
incar_rate 40
weapon_rate 40
stream_distance 300.0
stream_rate 1000
gamemode0 BoatWar 1
Maybe you can find one...

Thanks (:
Reply
#10

You should use HEX viewer or editor to look for special characters.

Also, do "/rcon loadfs System" in chat or "loadfs System" in console work?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)