Server Restart
#1

When i host my server after about every 10 minutes it will restart and no one can connect, how can i prevent this from happening? I want it to constantly run.
Reply
#2

Server log / OS etc?
Reply
#3

I am running a Windows 7 64 bit OS
This is the server log:
----------
Loaded log file: "server_log.txt".
----------

SA-MP Dedicated Server
----------------------
v0.3x, ©2005-2013 SA-MP Team

[14:30:21]
[14:30:21] Server Plugins
[14:30:21] --------------
[14:30:21] Loading plugin: audio.dll
[14:30:21]

*** Audio Plugin v0.4 by Incognito loaded ***


[14:30:21] Loaded.
[14:30:21] Loading plugin: sscanf.dll
[14:30:21]

[14:30:21] ===============================

[14:30:21] sscanf plugin loaded.

[14:30:21] © 2009 Alex "******" Cole

[14:30:21] ===============================

[14:30:21] Loaded.
[14:30:21] Loading plugin: streamer.dll
[14:30:21]

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

[14:30:21] Loaded.
[14:30:21] Loaded 3 plugins.

[14:30:21]
[14:30:21] Filterscripts
[14:30:21] ---------------
[14:30:21] Loading filterscript 'anims.amx'...
[14:30:21] Loading filterscript 'buttons.amx'...
[14:30:21] Loading filterscript 'carwash.amx'...
[14:30:21]
-----------------------------------------------
[14:30:21]
[14:30:21] ---=== Car Wash Filterscript ===---
[14:30:21]
[14:30:21]

[14:30:21] Loading filterscript 'DynamicBB.amx'...
[14:30:21] *** Streamer Plugin: Include file version (0) does not match plugin version (0x26002) (script needs to be recompiled with the latest include file)
[14:30:21] Loading filterscript 'gangwars.amx'...
[14:30:21]
--------------------------------------
[14:30:21] Crime Life Gang Takeover
[14:30:21] --------------------------------------

[14:30:21] Loading filterscript 'NoahF's.amx'...
[14:30:21] Unable to load filterscript 'NoahF's.amx'.
[14:30:21] Loading filterscript 'FilterScript.amx'...
[14:30:21] Unable to load filterscript 'FilterScript.amx'.
[14:30:21] Loading filterscript 'FilterScript.amx'...
[14:30:21] Unable to load filterscript 'FilterScript.amx'.
[14:30:21] Loading filterscript 'gCamera.amx'...
[14:30:21] ====================================
[14:30:21] | gCamera V1.0 |
[14:30:21] | ©Gamer931215 |
[14:30:21] ====================================
[14:30:21] Initializing...
[14:30:21] gCamera has succesfully loaded 3 camera(s).
[14:30:21] Loading filterscript 'DropGun_death.amx'...
[14:30:21]

[14:30:21] Drop Gun [FS] By gimini ©
[14:30:21]
[14:30:21] Version 1.3

[14:30:21] Loading filterscript 'speedo.amx'...
[14:30:21]
This Speed_Meter Script Is Created By HyperZ 1.0
[14:30:21] Loading

[14:30:21] Loading

[14:30:21] Loading

[14:30:21] Loading

[14:30:21] Loading

[14:30:21] Speed_Meter 1.0 Are Loaded.

[14:30:21] Loaded 8 filterscripts.

[14:30:21] *** Audio Plugin: Started TCP server on port 7777
[14:30:21] Gamemode started.
[14:30:21] Gamemode started.
[14:30:21] Gamemode started.
[14:30:21] test.
[14:30:21] Paintball Arena 1 loaded
[14:30:21] Paintball Arena 2 loaded
[14:30:21] Paintball Arena 3 loaded
[14:30:21] Paintball Arena 4 loaded
[14:30:21] Paintball Arena 5 loaded
[14:30:21] Paintball Arena 6 loaded
[14:30:21] Paintball Arena 7 loaded
[14:30:21] Paintball Arena 8 loaded
[14:30:21] Paintball Arena 9 loaded
[14:30:21] Paintball Arena 10 loaded
[14:30:21] test.
[14:30:21] test1.
[14:30:21] test111.
[14:30:21] test11.
[14:30:21] test111222.
[14:30:22] 22247.
[14:30:22] 1222222222222222.
[14:30:30] t4444est.
[14:30:30] testhere.
[14:30:30] [script] 3DTEXTDRAW LIMIT: 1024 (Static, non-streamed) | 3DTEXTDRAW COUNT: 1649
[14:30:30] [script] PICKUP LIMIT: 4096 (Static, non-streamed) | PICKUP COUNT: 1480
[14:30:30] [script] OBJECT LIMIT: 1000 (Static, non-streamed) | OBJECT COUNT: 6779
[14:30:30]
[14:30:30] =======================================
[14:30:30] | |
[14:30:30] | YSI version 1.03.0011 |
[14:30:30] | By Alex "******" Cole |
[14:30:30] | |
[14:30:30] | Checking the latest YSI version.. |
[14:30:30] | |
[14:30:30] =======================================
[14:30:30]
[14:30:30]
[14:30:30] -------------------------------------------
[14:30:30] Loading...
[14:30:30] Welcome to Real Life Roleplay.
[14:30:30] -------------------------------------------
[14:30:30]
[14:30:30] Number of vehicle models: 104
[14:30:31]
[14:30:31] =======================================
[14:30:31] | |
[14:30:31] | Error: Could not connect to YSI |
[14:30:31] | update server (response was 001). |
[14:30:31] | |
[14:30:31] =======================================
[14:30:31]
[14:31:17] Incoming connection: 121.217.141.137:51532
[14:31:17] [join] Leighton_Allan has joined the server (0:121.217.141.137)
[14:31:23] Leighton_Allan has logged in.
[14:31:23] Loading Leighton_Allan's vehicles.
[14:31:23] Loading all vehicles mods.
[14:31:33] Unloading Leighton_Allan's vehicles.
[14:31:33] [part] Leighton_Allan has left the server (0:0)
Reply
#4

make sure u have updated version of YSI and check if the file is in current folder...
Reply
#5

I can't update the YSI version because i get this problem https://sampforum.blast.hk/showthread.php?tid=348536 unless anyone knows how to fix it? It's an error that the foreach.inc file is to old when you try and compile your script. Then if you remove it the script comes up with an error saying it can't read the foreach.inc file and same goes for removing #include <foreach> :S
Reply
#6

ask the YSI author if he/she can help you with..
maybe he has the update forech
Reply
#7

If your server is restarting, usually it relates to a script crash.

I would run a crash detect to see whats wrong.
Reply
#8

As first you need to download newest Streamer and YSI version. Then re-compile your script(s) with newest includes and run the server with newest plugins. Remember to read YSI documentation to install it correctly to correct location.

Thank you.
Reply
#9

Quote:
Originally Posted by emon
Посмотреть сообщение
ask the YSI author if he/she can help you with..
maybe he has the update forech
Yea i contacted the creater but i'm awaiting a reply.

Quote:
Originally Posted by CrossUSAAF
Посмотреть сообщение
As first you need to download newest Streamer and YSI version. Then re-compile your script(s) with newest includes and run the server with newest plugins. Remember to read YSI documentation to install it correctly to correct location.

Thank you.
I have the newest streamer version but [14:30:21] *** Streamer Plugin: Include file version (0) does not match plugin version (0x26002) (script needs to be recompiled with the latest include file). I am unable to get the updated YSI and streamer.dll to work due to the foreach.inc problem. I read the installation readme and it seemed pretty straight forward, i copied all the files to their exact locations it's just an error with an old file which can't be removed (foreach.inc)

Quote:
Originally Posted by ColorHost-Kevin
Посмотреть сообщение
If your server is restarting, usually it relates to a script crash.

I would run a crash detect to see whats wrong.
I used crash plugin 4.10 it's the latest version and this is without updating the plugins, it came up with this result.
[15:59:55] Incoming connection: 121.217.141.137:53392
[15:59:55] [join] Leighton has joined the server (0:121.217.141.137)
[16:00:10] [debug] Run time error 19: "File or function is not found"
[16:00:10] [debug] SSCANF_Init
[16:00:10] [debug] SSCANF_Join
[16:00:10] [debug] SSCANF_Leave
[16:00:10] Unloading Leighton's vehicles.
[16:00:10] [part] Leighton has left the server (0:1)
[16:00:32] Incoming connection: 121.217.141.137:50451
[16:00:32] [join] Leighton_Allan has joined the server (0:121.217.141.137)
[16:00:37] [debug] Run time error 19: "File or function is not found"
[16:00:37] [debug] SSCANF_Init
[16:00:37] [debug] SSCANF_Join
[16:00:37] [debug] SSCANF_Leave
[16:00:37] Leighton_Allan has logged in.
[16:00:37] Loading Leighton_Allan's vehicles.
[16:00:37] Loading all vehicles mods.
[16:00:37] [debug] Run time error 4: "Array index out of bounds"
[16:00:37] [debug] Accessing element at index 999 past array upper bound 500
[16:00:37] [debug] AMX backtrace:
[16:00:37] [debug] #0 0005f7ac in public OnPlayerStateChange () from NGRP_nomysql.amx
[16:00:47] [debug] Run time error 19: "File or function is not found"
[16:00:47] [debug] SSCANF_Init
[16:00:47] [debug] SSCANF_Join
[16:00:47] [debug] SSCANF_Leave
[16:00:47] Unloading Leighton_Allan's vehicles.
[16:00:47] [part] Leighton_Allan has left the server (0:0)
Reply
#10

Looks like your sscanf is out of date, would recommend updating your include, plugin, and adding the sscanf folder to the main directory of your server
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)