Problem at my Script
#1

I have an problem :
When I turn on "samp server" that's closed auto , Here's that


Код:
Loaded log file: "server_log.txt".
----------

SA-MP Dedicated Server
----------------------
v0.3e, ©2005-2012 SA-MP Team

[19:57:54] 
[19:57:54] Server Plugins
[19:57:54] --------------
[19:57:54]  Loading plugin: streamer
[19:57:54] 

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

[19:57:54]   Loaded.
[19:57:54]  Loading plugin: sscanf
[19:57:54] 

[19:57:54]  ===============================

[19:57:54]       sscanf plugin loaded.     

[19:57:54]    © 2009 Alex "******" Cole

[19:57:54]    0.3d-R2 500 Players "dnee"

[19:57:54]  ===============================

[19:57:54]   Loaded.
[19:57:54]  Loading plugin: mysql
[19:57:54] 

  > MySQL plugin R7 successfully loaded.

[19:57:54]   Loaded.
[19:57:54]  Loading plugin: Whirlpool
[19:57:55]  
[19:57:55]  ==================
[19:57:55]  
[19:57:55]   Whirlpool loaded
[19:57:55]  
[19:57:55]  ==================
[19:57:55]  
[19:57:55]   Loaded.
[19:57:55]  Loading plugin: goldrims
[19:57:55]   Failed.
[19:57:55]  Loaded 4 plugins.

[19:57:55] 
[19:57:55] Filterscripts
[19:57:55] ---------------
[19:57:55]   Loading filterscript 'yom_buttons.amx'...
[19:57:55]   Loading filterscript 'gcustom.amx'...
[19:57:55]   Loading filterscript 'gcustom03e.amx'...
[19:57:56]   Loaded 3 filterscripts.

[19:57:56]  
[19:57:56]  ======================================= 
[19:57:56]  |                                     | 
[19:57:56]  |        YSI version 3.01.0002        | 
[19:57:56]  |        By Alex "******" Cole        | 
[19:57:56]  |                                     | 
[19:57:56]  ======================================= 
[19:57:56]  
[19:57:56] This server folder has been put together by Ricky Phelps.
[19:57:57] [MySQL] (Main Pipelines) Connecting to localhost...
[19:57:57] [MySQL] (MainPipeline) Fatal Error! Could not connect to MySQL: Host localhost - DB: main - User: root
[19:57:57] [MySQL] Note: Make sure that you have provided the correct connection credentials.
[19:57:57] [LoadHouses] Loading data from database...
[19:57:57] [LoadDynamicDoors] Loading data from database...
[19:57:57] [LoadDynamicMapIcons] Loading data from database...
[19:57:57] [LoadTurfWars] 0 turfs loaded.
[19:57:57] [LoadPaintballArenas] 10 paintball arenas loaded.
[19:57:57] [LoadGates] 4000 gates loaded.
[19:57:57] [LoadFamilies] 16 families loaded.
[19:57:57] [LoadPoints] 9 points loaded.
[19:57:58] [LoadCDealerships] 15 dealerships loaded.
[19:57:58] [MiscLoad] Misc Loaded
[19:58:03] Number of vehicle models: 63
[19:58:03] --- Server Shutting Down.
[19:58:03] 

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

[19:58:03] 

[19:58:03]  ===============================

[19:58:03]      sscanf plugin unloaded.    

[19:58:03]  ===============================

[19:58:03] 

  > MySQL plugin unloaded.

[19:58:03]  
[19:58:03]  ====================
[19:58:03]  
[19:58:03]   Whirlpool unloaded
[19:58:03]  
[19:58:03]  ====================
[19:58:03]
Reply
#2

Check if you have all last updates of plugins, inc, re-complite it and try.
Reply
#3

Код:
[19:57:57] [MySQL] (Main Pipelines) Connecting to localhost...
[19:57:57] [MySQL] (MainPipeline) Fatal Error! Could not connect to MySQL: Host localhost - DB: main - User: root
[19:57:57] [MySQL] Note: Make sure that you have provided the correct connection credentials.
Just like it says.
Reply
#4

In the NGRP script you are using it will automatically shut down server if the MySQL connection has failed, as said in reply above me.


Edit; here is the snippet from NGRP script:

PHP код:
if(mysql_ping(MainPipeline) == -1)
    {
        
printf("[MySQL] (MainPipeline) Fatal Error! Could not connect to MySQL: Host %s - DB: %s - User: %s"SQL_HOSTSQL_DBSQL_USER);
        print(
"[MySQL] Note: Make sure that you have provided the correct connection credentials.");
        
SendRconCommand("exit");
    } 
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)