NGG Native Fread Error (cannot run)
#8

Quote:
Originally Posted by jlalt
Посмотреть сообщение
Код:
stock Misc_Load() {

	new
		szResult[32],
		szFileStr[160],
		Float: fObjectPos[3],
		File: iFileHandle = fopen("serverConfig.ini", io_read);

	while(fread(iFileHandle, szFileStr, sizeof(szFileStr))) {
pretty sure you're missing serverConfig.ini file, create it inside scriptfiles folder and there you done.
I added serverconfig.ini and it worked but:
Код:
----------
Loaded log file: "server_log.txt".
----------

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

[13:57:23] 
[13:57:23] Server Plugins
[13:57:23] --------------
[13:57:23]  Loading plugin: crashdetect.dll
[13:57:23]   CrashDetect v4.16 is OK.
[13:57:23]   Loaded.
[13:57:23]  Loading plugin: streamer.dll
[13:57:23] 

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

[13:57:23]   Loaded.
[13:57:23]  Loading plugin: mysql.dll
[13:57:23]  >> plugin.mysql: R41-4 successfully loaded.
[13:57:23]   Loaded.
[13:57:23]  Loading plugin: sscanf.dll
[13:57:23] 

[13:57:23]  ===============================

[13:57:23]       sscanf plugin loaded.     

[13:57:23]          Version:  2.8.2        

[13:57:23]    © 2012 Alex "******" Cole  

[13:57:23]  ===============================

[13:57:23]   Loaded.
[13:57:23]  Loading plugin: Whirlpool.dll
[13:57:23]  
[13:57:23]  ==================
[13:57:23]  
[13:57:23]   Whirlpool loaded
[13:57:23]  
[13:57:23]  ==================
[13:57:23]  
[13:57:23]   Loaded.
[13:57:23]  Loading plugin: irc.dll
[13:57:23]   Failed.
[13:57:23]  Loading plugin: gvar.dll
[13:57:23] 

*** GVar Plugin v1.3 by Incognito loaded ***

[13:57:23]   Loaded.
[13:57:23]  Loaded 6 plugins.

[13:57:23] 
[13:57:23] Filterscripts
[13:57:23] ---------------
[13:57:23]   Loading filterscript 'FurnitureSystem.amx'...
[13:57:23]   Loading filterscript 'Server.amx'...
[13:57:23]   Loaded 2 filterscripts.

[13:57:23]  
[13:57:23]  
[13:57:23]  
[13:57:23]  ======================================= 
[13:57:23]  |                                     | 
[13:57:23]  |        YSI version 3.09.0684        | 
[13:57:23]  |        By Alex "******" Cole        | 
[13:57:23]  |                                     | 
[13:57:23]  ======================================= 
[13:57:23]  
[13:57:23]  
[13:57:23]  
[13:57:23] [Streamer] Loading Dynamic Areas...
[13:57:23] [Streamer] Loading Dynamic Buttons...
[13:57:23] [Streamer] Dynamic Buttons has been loaded.
[13:57:23] [Streamer] Loading Dynamic Objects...
[13:57:23] [Streamer] Dynamic Objects has been loaded.
[13:57:23] [Streamer] Loading Dynamic Pickups...
[13:57:23] [Streamer] Dynamic Pickups have been loaded.
[13:57:23] [Streamer] Loading 3D Text Labels...
[13:57:23] [Streamer] Dynamic 3D Text Labels has been loaded.
[13:57:23] [Streamer] Loading Dynamic Static Vehicles...
[13:57:23] [Streamer] Dynamic Static Vehicles have been loaded.
[13:57:23] Preparing the gamemode, please wait...
[13:57:23] [MySQL] (Main Pipelines) Connecting to localhost...
[13:57:23] [MySQL] (MainPipeline) Connection successful toward MySQL Database Server!
[13:57:23] [Dynamic Giftbox] Loading the Dynamic Giftbox...
[13:57:23] [LoadHouses] Loading data from database...
[13:57:23] [LoadDynamicDoors] Loading data from database...
[13:57:23] [LoadDynamicMapIcons] Loading data from database...
[13:57:23] [LoadMailboxes] Loading data from database...
[13:57:23] [LoadBusinesses] Loading data from database...
[13:57:23] [LoadAuctions] Loading data from database...
[13:57:23] [LoadTxtLabels] Loading data from database...
[13:57:23] [SpeedCameras] Loading data from database...
[13:57:23] [LoadPayNSprays] Loading data from database...
[13:57:23] [LoadArrestPoints] Loading data from database...
[13:57:23] [LoadImpoundPoints] Loading data from database...
[13:57:23] [LoadRelayForLifeTeams] Loading data from database...
[13:57:23] [LoadGarages] Loading data from database...
[13:57:23] [LoadCrimes] Loading Crimes...
[13:57:23] [LoadBusinessSales] Loading data from database...
[13:57:23] [LoadPaintballArenas] Loading Paintball Arenas from the database, please wait...
[13:57:23] [LoadGates] Loading data from database...
[13:57:23] [Dynamic Points] Loading Dynamic Points from the database, please wait...
[13:57:23] [Turf Wars] Loading turfs from the database, please wait...
[13:57:23] [LoadPlants] Loading data from database...
[13:57:23] [LoadHelp] Loading data from database...
[13:57:23] [MiscLoad] Misc Loaded
[13:57:23] Resetting news...
[13:57:23] Resetting default server variables..
[13:57:23] Adjusted the server time...
[13:57:23] [LoadParkingMeters] Loading data from database...
[13:57:23] [Streamer] ATM Points Loaded
[13:57:23] [Streamer] Bank System Loaded
[13:57:23] [Pay Phones] Loading pay phones from database...
[13:57:23] [Textdraws] Loading Textdraws...
[13:57:23] [Textdraws] Loaded textdraws.
[13:57:23] [Dynamic Groups] Loading Dynamic Groups...
[13:57:23] [Dynamic Groups] Loading Dynamic Groups Vehicles...
[13:57:23] [Dynamic Crate Boxes] Loading Dynamic Crate Boxes from the database, please wait...
[13:57:23] [Dynamic Crate Facility] Loading Dynamic Crate Facilities from the database, please wait...
[13:57:23] [LoadDynamicCrateVehicles] Loading data from database...
[13:57:23] [Dynamic Jobs Names] Loading Dynamic Job names from the database, please wait...
[13:57:23] [Dynamic Jobs] Loading Dynamic Jobs from the database, please wait...
[13:57:23] 
-------------------------------------------
[13:57:23] Next Generation Roleplay

[13:57:23] Copyright © Next Generation Gaming, LLC (2010-2014)
[13:57:23] All Rights Reserved
[13:57:23] -------------------------------------------

[13:57:23] Successfully initiated the gamemode...
[13:57:23] Number of vehicle models: 33
[13:57:24] [Dynamic Giftbox] Successfully loaded the dynamic giftbox.
[13:57:24] [LoadHouses] Failed to load any houses.
[13:57:24] [LoadDynamicDoors] Failed to load any doors.
[13:57:24] [LoadDynamicMapIcons] Failed to load any map icons.
[13:57:24] [LoadMailboxes] Failed to load any mailboxes.
[13:57:24] [LoadBusinesses] Failed to load any businesses.
[13:57:24] [SpeedCameras] No Speed Cameras loaded.
[13:57:24] [LoadRelayForLifeTeams] Failed to load any teams.
[13:57:24] [LoadGarages] Failed to load any garages.
[13:57:24] [LoadCrimes] Crime Data Loaded.
[13:57:24] TotalSold0: 0 | AmountMade0: 0
[13:57:24] TotalSold1: 0 | AmountMade1: 0
[13:57:24] TotalSold2: 0 | AmountMade2: 0
[13:57:24] TotalSold3: 0 | AmountMade3: 0
[13:57:24] TotalSold4: 0 | AmountMade4: 0
[13:57:24] TotalSold5: 0 | AmountMade5: 0
[13:57:24] TotalSold6: 0 | AmountMade6: 0
[13:57:24] TotalSold7: 0 | AmountMade7: 0
[13:57:24] TotalSold8: 0 | AmountMade8: 0
[13:57:24] TotalSold9: 0 | AmountMade9: 0
[13:57:24] TotalSold10: 0 | AmountMade10: 0
[13:57:24] TotalSold11: 0 | AmountMade11: 0
[13:57:24] TotalSold12: 0 | AmountMade12: 0
[13:57:24] TotalSold13: 0 | AmountMade13: 0
[13:57:24] TotalSold14: 0 | AmountMade14: 0
[13:57:24] TotalSold15: 0 | AmountMade15: 0
[13:57:24] TotalSold16: 0 | AmountMade16: 0
[13:57:24] TotalSold17: 0 | AmountMade17: 0
[13:57:24] TotalSold18: 0 | AmountMade18: 0
[13:57:24] TotalSold19: 0 | AmountMade19: 0
[13:57:24] TotalSold20: 0 | AmountMade20: 0
[13:57:24] TotalSold21: 0 | AmountMade21: 0
[13:57:24] TotalSold22: 0 | AmountMade22: 0
[13:57:24] TotalSold23: 0 | AmountMade23: 0
[13:57:24] TotalSold24: 0 | AmountMade24: 0
[13:57:24] TotalSold25: 0 | AmountMade25: 0
[13:57:24] TotalSold26: 0 | AmountMade26: 0
[13:57:24] TotalSold27: 0 | AmountMade27: 0
[13:57:24] TotalSold28: 0 | AmountMade28: 0
[13:57:24] TotalSold29: 0 | AmountMade29: 0
[13:57:24] TotalSold30: 0 | AmountMade30: 0
[13:57:24] TotalSold31: 0 | AmountMade31: 0
[13:57:24] TotalSold32: 0 | AmountMade32: 0
[13:57:24] TotalSold33: 0 | AmountMade33: 0
[13:57:24] TotalSold34: 0 | AmountMade34: 0
[13:57:24] TotalSold35: 0 | AmountMade35: 0
[13:57:24] TotalSold36: 0 | AmountMade36: 0
[13:57:24] TotalSold37: 0 | AmountMade37: 0
[13:57:24] TotalSold38: 0 | AmountMade38: 0
[13:57:24] TotalSold39: 0 | AmountMade39: 0
[13:57:24] TotalSold40: 0 | AmountMade40: 0
[13:57:24] TotalSold41: 0 | AmountMade41: 0
[13:57:24] TotalSold42: 0 | AmountMade42: 0
[13:57:24] TotalSold43: 0 | AmountMade43: 0
[13:57:24] TotalSoldMicro0: 0 | AmountMadeMicro0: 0
[13:57:24] TotalSoldMicro1: 0 | AmountMadeMicro1: 0
[13:57:24] TotalSoldMicro2: 0 | AmountMadeMicro2: 0
[13:57:24] TotalSoldMicro3: 0 | AmountMadeMicro3: 0
[13:57:24] TotalSoldMicro4: 0 | AmountMadeMicro4: 0
[13:57:24] TotalSoldMicro5: 0 | AmountMadeMicro5: 0
[13:57:24] TotalSoldMicro6: 0 | AmountMadeMicro6: 0
[13:57:24] TotalSoldMicro7: 0 | AmountMadeMicro7: 0
[13:57:24] TotalSoldMicro8: 0 | AmountMadeMicro8: 0
[13:57:24] TotalSoldMicro9: 0 | AmountMadeMicro9: 0
[13:57:24] TotalSoldMicro10: 0 | AmountMadeMicro10: 0
[13:57:24] TotalSoldMicro11: 0 | AmountMadeMicro11: 0
[13:57:24] TotalSoldMicro12: 0 | AmountMadeMicro12: 0
[13:57:24] TotalSoldMicro13: 0 | AmountMadeMicro13: 0
[13:57:24] TotalSoldMicro14: 0 | AmountMadeMicro14: 0
[13:57:24] TotalSoldMicro15: 0 | AmountMadeMicro15: 0
[13:57:24] TotalSoldMicro16: 0 | AmountMadeMicro16: 0
[13:57:24] TotalSoldMicro17: 0 | AmountMadeMicro17: 0
[13:57:24] TotalSoldMicro18: 0 | AmountMadeMicro18: 0
[13:57:24] TotalSoldMicro19: 0 | AmountMadeMicro19: 0
[13:57:24] [LoadPaintBallArenas] No Paintball Arenas have been loaded.
[13:57:24] [MySQL] Query Error - (ErrorID: 1146)
[13:57:24] [MySQL] Check mysql_log.txt to review the query that threw the error.
[13:57:24] Dumping query from 2018/1/26 (13:57:24)

Description: Table 'samp_main.dynpoints' doesn't exist (index 0). Query:


[13:57:24] SELECT * FROM `dynpoints`
[13:57:24] [LoadTurfWars] Failed to load any turfs.
[13:57:24] [LoadPlants] Error: Failed to load any plants!
[13:57:24] [MySQL] Query Error - (ErrorID: 1146)
[13:57:24] [MySQL] Check mysql_log.txt to review the query that threw the error.
[13:57:24] Dumping query from 2018/1/26 (13:57:24)

Description: Table 'samp_main.help' doesn't exist (index 0). Query:


[13:57:24] SELECT * FROM `help` ORDER BY `Type` ASC, `Subtype` ASC, `Name` ASC
[13:57:24] [Parking Meters] No parking meters loaded.
[13:57:24] [MySQL] Query Error - (ErrorID: 1146)
[13:57:24] [MySQL] Check mysql_log.txt to review the query that threw the error.
[13:57:24] Dumping query from 2018/1/26 (13:57:24)

Description: Table 'samp_main.govgunsales' doesn't exist (index 0). Query:


[13:57:24] SELECT * FROM `govgunsales` WHERE 1
[13:57:24] [MySQL] Query Error - (ErrorID: 1146)
[13:57:24] [MySQL] Check mysql_log.txt to review the query that threw the error.
[13:57:24] Dumping query from 2018/1/26 (13:57:24)

Description: Table 'samp_main.metaldetectors' doesn't exist (index 0). Query:


[13:57:24] SELECT * FROM `metaldetectors` WHERE 1
[13:57:24] [MySQL] Query Error - (ErrorID: 1146)
[13:57:24] [MySQL] Check mysql_log.txt to review the query that threw the error.
[13:57:24] Dumping query from 2018/1/26 (13:57:24)

Description: Table 'samp_main.payphones' doesn't exist (index 0). Query:


[13:57:24] SELECT * FROM `payphones`
[13:57:24] [MySQL] Query Error - (ErrorID: 1146)
[13:57:24] [MySQL] Check mysql_log.txt to review the query that threw the error.
[13:57:24] Dumping query from 2018/1/26 (13:57:24)

Description: Table 'samp_main.gweaponsnew' doesn't exist (index 0). Query:


[13:57:24] SELECT * FROM `gweaponsnew`
[13:57:24] [MySQL] Query Error - (ErrorID: 1146)
[13:57:24] [MySQL] Check mysql_log.txt to review the query that threw the error.
[13:57:24] Dumping query from 2018/1/26 (13:57:24)

Description: Table 'samp_main.locker_restrict' doesn't exist (index 0). Query:


[13:57:24] SELECT * FROM `locker_restrict`
[13:57:24] [Dynamic Crate Boxes] There are no dynamic crate boxes to load.
[13:57:24] [MySQL] Query Error - (ErrorID: 1146)
[13:57:24] [MySQL] Check mysql_log.txt to review the query that threw the error.
[13:57:24] Dumping query from 2018/1/26 (13:57:24)

Description: Table 'samp_main.crate_facility' doesn't exist (index 0). Query:


[13:57:24] SELECT * FROM `crate_facility`
[13:57:24] [MySQL] Query Error - (ErrorID: 1146)
[13:57:24] [MySQL] Check mysql_log.txt to review the query that threw the error.
[13:57:24] Dumping query from 2018/1/26 (13:57:24)

Description: Table 'samp_main.crate_orders' doesn't exist (index 0). Query:


[13:57:24] SELECT * FROM `crate_orders`
[13:57:24] [MySQL] Query Error - (ErrorID: 1146)
[13:57:24] [MySQL] Check mysql_log.txt to review the query that threw the error.
[13:57:24] Dumping query from 2018/1/26 (13:57:24)

Description: Table 'samp_main.crate_vehicles' doesn't exist (index 0). Query:


[13:57:24] SELECT * FROM `crate_vehicles`
[13:57:24] [MySQL] Query Error - (ErrorID: 1146)
[13:57:24] [MySQL] Check mysql_log.txt to review the query that threw the error.
[13:57:24] Dumping query from 2018/1/26 (13:57:24)

Description: Table 'samp_main.jobs_types' doesn't exist (index 0). Query:


[13:57:24] SELECT * FROM `jobs_types`
[13:57:24] [MySQL] Query Error - (ErrorID: 1146)
[13:57:24] [MySQL] Check mysql_log.txt to review the query that threw the error.
[13:57:24] Dumping query from 2018/1/26 (13:57:24)

Description: Table 'samp_main.jobs' doesn't exist (index 0). Query:


[13:57:24] SELECT * FROM `jobs`
[13:57:24] [Gang Tags] There are no gang tags in the database.
[13:57:24] [MySQL] Query Error - (ErrorID: 1146)
[13:57:24] [MySQL] Check mysql_log.txt to review the query that threw the error.
[13:57:24] Dumping query from 2018/1/26 (13:57:24)

Description: Table 'samp_main.furniturecatalog' doesn't exist (index 0). Query:


[13:57:24] SELECT * FROM `furniturecatalog`
Reply


Messages In This Thread
NGG Native Fread Error (cannot run) - by JulianWilliams - 26.01.2018, 06:08
Re: NGG Native Fread Error (cannot run) - by Sew_Sumi - 26.01.2018, 06:39
Re: NGG Native Fread Error (cannot run) - by JulianWilliams - 26.01.2018, 06:59
Re: NGG Native Fread Error (cannot run) - by Sew_Sumi - 26.01.2018, 08:49
Re: NGG Native Fread Error (cannot run) - by JulianWilliams - 26.01.2018, 08:55
Re: NGG Native Fread Error (cannot run) - by jlalt - 26.01.2018, 08:56
Re: NGG Native Fread Error (cannot run) - by JulianWilliams - 26.01.2018, 08:58
Re: NGG Native Fread Error (cannot run) - by JulianWilliams - 26.01.2018, 09:01
Re: NGG Native Fread Error (cannot run) - by jlalt - 26.01.2018, 09:07
Re: NGG Native Fread Error (cannot run) - by JulianWilliams - 26.01.2018, 09:27

Forum Jump:


Users browsing this thread: 3 Guest(s)