My server doesn't work
#1

Hi there!
I have a little problem...I made a few simple commands(using strcmp).I compiled the gamemode, but when I start the server.exe and enter the game, none of my commands work!Leave a reply if you want the commands...
Reply
#2

Show us your chatlog and your command.
Reply
#3

Ok:
•Chatlog:
Quote:

----------
Loaded log file: "server_log.txt".
----------

SA-MP Dedicated Server
----------------------
v0.3z, ©2005-2014 SA-MP Team

[12:26:48]
[12:26:48] Server Plugins
[12:26:48] --------------
[12:26:48] Loading plugin: Whirpool
[12:26:48] Failed.
[12:26:48] Loading plugin: sscanf
[12:26:48]

[12:26:48] ===============================

[12:26:48] sscanf plugin loaded.

[12:26:48] © 2009 Alex "******" Cole

[12:26:48] 0.3d-R2 500 Players "dnee"

[12:26:48] ===============================

[12:26:48] Loaded.
[12:26:48] Loaded 1 plugins.

[12:26:49]
[12:26:49] Ban list
[12:26:49] --------
[12:26:49] Loaded: samp.ban
[12:26:49]
[12:26:49]
[12:26:49] Filterscripts
[12:26:49] ---------------
[12:26:49] Loading filterscript 'profile.amx'...
[12:26:49] [Profile System] Created 19 Background(s)
[12:26:49] [Profile System] Created Award Icons.
[12:26:49] [Profile System] Created all the elements.
[12:26:49] [Profile System] Created 53 Avatar(s)
[12:26:49] [Profile System] Created Reputation/Vip/Level bars.
[12:26:49] [Profile System] > LOADED < © iPLEOMAX
[12:26:49] Loading filterscript 'gl_actions.amx'...
[12:26:49] Loading filterscript 'gl_realtime.amx'...
[12:26:49] Loading filterscript 'gl_property.amx'...
[12:26:49]
-----------------------------------
[12:26:49] Grand Larceny Property Filterscript
[12:26:49] -----------------------------------

[12:26:49] Loading filterscript 'gl_mapicon.amx'...
[12:26:49] Loading filterscript 'ls_mall.amx'...
[12:26:49] Loading filterscript 'ls_elevator.amx'...
[12:26:49] Loading filterscript 'attachments.amx'...
[12:26:49] Loading filterscript 'skinchanger.amx'...
[12:26:49]
--Admin Player Skin Changer Loaded

[12:26:49] Loading filterscript 'vspawner.amx'...
[12:26:49]
--Admin Vehicle Spawner Loaded

[12:26:49] Loading filterscript 'phone.amx'...
[12:26:49] Loaded 11 filterscripts.

[12:26:49]
[12:26:49] =======================================
[12:26:49] | |
[12:26:49] | YSI version 3.01.0002 |
[12:26:49] | By Alex "******" Cole |
[12:26:49] | |
[12:26:49] =======================================
[12:26:49]
[12:26:49] |------------------------------------|
[12:26:49] | Welcome to ***** ******! |
[12:26:49] |------------------------------------|
[12:26:49] Could Not Read Interiors file ( properties/interiors.txt )
[12:26:49] Reading File: blank
[12:26:49] Reading File: properties/houses.txt
[12:26:49] Reading File: properties/businesses.txt
[12:26:49] Reading File: properties/banks.txt
[12:26:49] Reading File: properties/police.txt
[12:26:49]
----------------------------------
[12:26:49] ***** ****** by your *********
[12:26:49] ----------------------------------

[12:26:49] Number of vehicle models: 0
[12:26:49]
[12:26:49]
[12:27:11] Incoming connection: ***.***.*.***:1912
[12:27:11] [join] Calin2551 has joined the server (0:***.***.*.***)
[12:27:16] [Profile System] Calin2551 has no userfile
[12:27:25] [part] Calin2551 has left the server (0:1)
[12:27:38] --- Server Shutting Down.
[12:27:38] [Profile System] Successfully destroyed all textdraws.
[12:27:38] [Profile System] > EXITED <
[12:27:38]

[12:27:38] ===============================

[12:27:38] sscanf plugin unloaded.

[12:27:38] ===============================


•Commands:
Код:
public OnPlayerCommandText(playerid, cmdtext[])
{

	if (strcmp("/ooc", cmdtext, true, 10) == 0)
	{
		new string[500];
		new name[50];
		GetPlayerName(playerid, name, sizeof(name));
		format(string,sizeof(string),"(( Admin %s:%s ))",name,cmdtext);
		if(IsPlayerAdmin(playerid))  SendClientMessageToAll(0xDEEE20FF, string);

		return 1;
	}
	if(strcmp("/healme",cmdtext,true,10) == 0)
	{
	if(IsPlayerAdmin(playerid))
	   {
	   SetPlayerHealth(playerid,100.0);
	   }
	}
	return 1;
	if (strcmp("/rules", cmdtext, true, 10) == 0 )
	{
	SendClientMessage(playerid,0xFFFFFFFFF,"Pentru a vedea regulamentul viziteaza forumul nostru.[/forum]");
	}
	return 1;
	if (strcmp("/forum",cmdtext,true,10) == 0)
	{
	SendClientMessage(playerid,0xFFFFFFFF,"Forumul nostru este www.*******.com");
	}
	return 1;
	if (strcmp("/credits",cmdtext,true,10) == 0)
	{
	SendClientMessage(playerid,0xFF8000FF,"|________________|Credits|_________________|");
	SendClientMessage(playerid,0xFF8000FF,"|Calin2551 - Scripter                      |");
	SendClientMessage(playerid,0xFF8000FF,"|eXe. - A ajutat la dezvoltarea comunitatii|");
	SendClientMessage(playerid,0xFF8000FF,"|__________________________________________|");
	}
	return 1;
	}
Reply
#4

Quote:

[12:26:48] Loading plugin: Whirpool
[12:26:48] Failed.

I think it has to do with your plugins, or gamemode error. It is Whirlpool with the "L".

EDIT: You should've posted in this category: http://forum.sa-mp.com/forumdisplay.php?f=19
Reply
#5

No, I unloaded all plugins and it still doesn't work
Reply
#6

probably conflicting with some filterscript, try unloading all other filterscripts. and check if you got zcmd in the same filterscript that you using strcmp.
Reply
#7

No, I don't have any FS-s
Reply
#8

After reviewing your server log. Some of your filterscripts require the streamer plugin. You might want to download and include all that is needed.
Reply
#9

Try changing your IP to static.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)