Help me crash server
#1

Hello guys, I have a roleplay server, but I have a problem, I added the filterscript the contrast medium (mobile computer data), and so far so good, but when I enter the server and I / mdc and I click on, for example, players search or vehicle, or do the backup crashes the server please let help me, thanks mille.Dimenticavo if you could tell me how to add that only the police can do this command I will thank you



SERVER CFG: echo Executing Server Config...
lanmode 0
rcon_password 123
maxplayers 500
port 7777
hostname [null]
gamemode0 rp 1
filterscripts custom polizia taser mdc
plugins sscanf streamer whirlpool mysql
announce 0
query 1
chatlogging 0
weburl [null]
onfoot_rate 40
incar_rate 40
weapon_rate 40
stream_distance 300.0
stream_rate 1000
maxnpc 0
logtimeformat [%H:%M:%S]


FILTERSCRIPT: http://pastebin.com/1FWkZixk




SERVER LOG: SA-MP Dedicated Server
----------------------
v0.3.7-R2, ©2005-2015 SA-MP Team

[09:27:28]
[09:27:28] Server Plugins
[09:27:28] --------------
[09:27:28] Loading plugin: sscanf
[09:27:28]

[09:27:28] ===============================

[09:27:28] sscanf plugin loaded.

[09:27:28] Version: 2.8.1

[09:27:28] © 2012 Alex "******" Cole

[09:27:28] ===============================

[09:27:28] Loaded.
[09:27:28] Loading plugin: streamer
[09:27:28]

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

[09:27:28] Loaded.
[09:27:28] Loading plugin: whirlpool
[09:27:28]
[09:27:28] ==================
[09:27:28]
[09:27:28] Whirlpool loaded
[09:27:28]
[09:27:28] ==================
[09:27:28]
[09:27:28] Loaded.
[09:27:28] Loading plugin: mysql
[09:27:28] Failed.
[09:27:28] Loaded 3 plugins.

[09:27:28]
[09:27:28] Filterscripts
[09:27:28] ---------------
[09:27:28] Loading filterscript 'custom.amx'...
[09:27:28] Loading filterscript 'polizia.amx'...
[09:27:28] Loading filterscript 'taser.amx'...
[09:27:28]
[09:27:28]
[09:27:28]
[09:27:28] =======================================
[09:27:28] | |
[09:27:28] | YSI version 3.09.0684 |
[09:27:28] | By Alex "******" Cole |
[09:27:28] | |
[09:27:28] =======================================
[09:27:28]
[09:27:28] Loading filterscript 'mdc.amx'...
[09:27:28]
----------------------------------------
[09:27:28] MDC System by Rehasher Successfully loaded
[09:27:28] -----------------------------------------

[09:27:28] Loaded 4 filterscripts.

[09:27:28]
[09:27:28]
[09:27:28]
[09:27:28] =======================================
[09:27:28] | |
[09:27:28] | YSI version 3.09.0684 |
[09:27:28] | By Alex "******" Cole |
[09:27:28] | |
[09:27:28] =======================================
[09:27:28]
[09:27:28]
[09:27:28]
[09:27:28] Server password has been removed.
[09:27:28] tscript (Roleplay) (tscript v1.0), sono state caricate correttamente.
[09:27:28] Number of vehicle models: 3
[09:27:52] [connection] 25.78.6.41:59841 requests connection cookie.
[09:27:53] [connection] incoming connection: 25.78.6.41:59841 id: 0
[09:27:53] [join] Edward_Stone has joined the server (0:25.78.6.41)
[09:28:10] Edward_Stone potrebbe aver tentato di falsificare la finetra ID 9991, и stato kickato.
[09:28:10] [part] Edward_Stone has left the server (0:2)
Reply
#2

Install crashdetect plugin:
https://sampforum.blast.hk/showthread.php?tid=262796
And paste logs.
Reply
#3

I installed crashdetect and when i compile out this error: C:\Users\Kevin11\Desktop\Napoli\gamemodes\rp.pwn(1 95) : error 021: symbol already defined: "main"
Reply
#4

Did you add crashdetect to your server.cfg?

It should be like this:

Код:
SERVER CFG: echo Executing Server Config...
lanmode 0
rcon_password 123
maxplayers 500
port 7777
hostname [null]
gamemode0 rp 1
filterscripts custom polizia taser mdc
plugins sscanf streamer whirlpool mysql crashdetect
announce 0
query 1
chatlogging 0
weburl [null]
onfoot_rate 40
incar_rate 40
weapon_rate 40
stream_distance 300.0
stream_rate 1000
maxnpc 0
logtimeformat [%H:%M:%S]
Also, are you sure you never made any changes to the script?
Reply
#5

I have this error C:\Users\Kevin11\Desktop\Napoli\gamemodes\rp.pwn(1 95) : error 021: symbol already defined: "main"
Reply
#6

could you show us the line ?
Reply
#7

main()
{
SendRconCommand("hostname "SERVER_NAME);
SendRconCommand("rcon_password "SERVER_RCON);
SendRconCommand("gamemodetext "SERVER_VERSION);
SendRconCommand("mapname "SERVER_MAP);
SendRconCommand("weburl "SERVER_WEBSITE);
SendRconCommand("password "SERVER_PASSWORD);
printf(""SERVER_NAME" ("SERVER_VERSION"), sono state caricate correttamente.");
}
Reply
#8

You must have this twice in your script. Press CTRL + F and search for it.
Reply
#9

I have 2 "main" one is for crashdetect and the other is this main()
{
SendRconCommand("hostname "SERVER_NAME);
SendRconCommand("rcon_password "SERVER_RCON);
SendRconCommand("gamemodetext "SERVER_VERSION);
SendRconCommand("mapname "SERVER_MAP);
SendRconCommand("weburl "SERVER_WEBSITE);
SendRconCommand("password "SERVER_PASSWORD);
printf(""SERVER_NAME" ("SERVER_VERSION"), sono state caricate correttamente.");
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)