SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Scripting Help

Reply
 
Thread Tools Display Modes
Old 15/07/2012, 10:45 PM   #1
Robert West
Banned
 
Join Date: Apr 2012
Location: Tunisia
Posts: 207
Reputation: 15
Angry server Shutdown

ok
i'm using a new gamemode , but when i start it i get this it shutdown automaticly
it's can be DataBase connecting problem ?
Code:
----------
Loaded log file: "server_log.txt".
----------

SA-MP Dedicated Server
----------------------
v0.3e, (C)2005-2012 SA-MP Team

[00:31:22] 
[00:31:22] Server Plugins
[00:31:22] --------------
[00:31:22]  Loading plugin: streamer
[00:31:22] 

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

[00:31:22]   Loaded.
[00:31:22]  Loading plugin: sscanf
[00:31:22] 

[00:31:22]  ===============================

[00:31:22]       sscanf plugin loaded.     

[00:31:22]    (c) 2009 Alex "******" Cole

[00:31:22]    0.3d-R2 500 Players "dnee"

[00:31:22]  ===============================

[00:31:22]   Loaded.
[00:31:22]  Loading plugin: mysql
[00:31:23] 

  > MySQL plugin R7 successfully loaded.

[00:31:23]   Loaded.
[00:31:23]  Loading plugin: Whirlpool
[00:31:29]  
[00:31:29]  ==================
[00:31:29]  
[00:31:29]   Whirlpool loaded
[00:31:29]  
[00:31:29]  ==================
[00:31:29]  
[00:31:29]   Loaded.
[00:31:29]  Loaded 4 plugins.

[00:31:29] 
[00:31:29] Ban list
[00:31:29] --------
[00:31:29]  Loaded: samp.ban
[00:31:29] 
[00:31:29] 
[00:31:29] Filterscripts
[00:31:29] ---------------
[00:31:29]   Loading filterscript 'yom_buttons.amx'...
[00:31:29]   Loading filterscript 'gcustom.amx'...
[00:31:30]   Loaded 2 filterscripts.

[00:31:32]  
[00:31:32]  ======================================= 
[00:31:32]  |                                     | 
[00:31:32]  |        YSI version 3.01.0002        | 
[00:31:32]  |        By Alex "******" Cole        | 
[00:31:32]  |                                     | 
[00:31:32]  ======================================= 
[00:31:32]  
[00:31:34] [MySQL] (Main Pipelines) Connecting to 127.0.0.1...
[00:31:34] [MySQL] (MainPipeline) Fatal Error! Could not connect to MySQL: Host 127.0.0.1 - DB: EliteDB - User: root
[00:31:34] [MySQL] Note: Make sure that you have provided the correct connection credentials.
[00:31:34] [LoadHouses] Loading data from database...
[00:31:34] [LoadDynamicDoors] Loading data from database...
[00:31:34] [LoadDynamicMapIcons] Loading data from database...
[00:31:34] [LoadPaintballArenas] paintball arena loaded.
[00:31:34] [LoadGates] 4000 gates loaded.
[00:31:34] [LoadFamilies] 16 families loaded.
[00:31:34] [LoadPoints] 9 points loaded.
[00:31:37] [LoadCDealerships] 15 dealerships loaded.
[00:31:37] [MiscLoad] Misc Loaded
[00:31:56] Number of vehicle models: 63
[00:31:56] --- Server Shutting Down.
[00:32:13] 

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

[00:32:13] 

[00:32:13]  ===============================

[00:32:13]      sscanf plugin unloaded.    

[00:32:13]  ===============================

[00:32:13] 

  > MySQL plugin unloaded.

[00:32:14]  
[00:32:14]  ====================
[00:32:14]  
[00:32:14]   Whirlpool unloaded
[00:32:14]  
[00:32:14]  ====================
[00:32:14]
server.cfg
Code:
lanmode 0
rcon_password ****
maxplayers 40
port 7777
hostname [0.3e]Elite Reality RolePlay
gamemode0 ERRP
filterscripts yom_buttons gcustom
announce 1
query 1
plugins streamer sscanf mysql Whirlpool
weburl samp.com
onfoot_rate 40
incar_rate 40
weapon_rate 40
stream_distance 300.0
stream_rate 1000
maxnpc 0
logtimeformat [%H:%M:%S]
i need help
Robert West is offline   Reply With Quote
Old 15/07/2012, 10:52 PM   #2
Toreno
Gangsta
 
Join Date: Nov 2010
Posts: 725
Reputation: 41
Default Re: server Shutdown

Maybe there is a rcon exit command on GameModeInit under a if statement that checks when MySQL fails connecting database or it simply shutting down the server if it fails connecting.
Toreno is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Server shutdown... Edvin Scripting Help 8 29/01/2012 11:05 AM
[HELP] Server shutdown. Vibrate17 Server Support 9 25/08/2011 10:26 PM
Server Shutdown Randomly DayaKisteme Server Support 3 30/07/2011 10:38 PM
Script, shutdown server. eXtr1kE Help Archive 2 26/10/2010 03:32 PM
Server Shutdown jamesb93 Server Support 2 02/01/2010 06:31 PM


All times are GMT. The time now is 12:32 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.