Sa-mp server doesn't start
#21

Compile with option '-d3' in pawno.

In Pawno, Go o the Menu Build, in there is Run options. Add to 'with these parameters' -d3.



An error in fread usually means a file is missing, that it needs. Make sure you have the scriptfiles folder 'populated' with what should be there. Such as sbizz.cfg and such
Reply
#22

Quote:
Originally Posted by Sew_Sumi
View Post
Compile with option '-d3' in pawno.

In Pawno, Go o the Menu Build, in there is Run options. Add to 'with these parameters' -d3.



An error in fread usually means a file is missing, that it needs. Make sure you have the scriptfiles folder 'populated' with what should be there. Such as sbizz.cfg and such
how do I do this never done that before : Compile with option '-d3' in pawno.

In Pawno, Go o the Menu Build, in there is Run options. Add to 'with these parameters' -d3.

EDIT is this what you mean ? :
PHP Code:
[General]
FileAssoc=1
[Display]
WindowMax=1
WindowX
=437
WindowY
=253
WindowW
=790
WindowH
=485
Splitter
=339
Font_Name
=Courier New
Font_Size=10
ShowFuncList
=1
[RunOpts]
CopyDir=\
ExeFile=pawncc.exe
Params
=--w 203 -d3 
Reply
#23

In the menu bar, go Build... In there, Run Options... In that window that comes up, is 'run with these parameters'... Add -d3 to the line, with a space between the - of it and the last option, and if putting in the start, make sure it has a space after it for the next.

Edit: That should work, just check that the options are in the menu I stated about.
Reply
#24

Quote:
Originally Posted by Sew_Sumi
View Post
In the menu bar, go Build... In there, Run Options... In that window that comes up, is 'run with these parameters'... Add -d3 to the line, with a space between the - of it and the last option, and if putting in the start, make sure it has a space after it for the next.

Edit: That should work, just check that the options are in the menu I stated about.
I have done that and recompiled the gamemode still getting the same see screenshot

https://imgur.com/a/5GT6d
Reply
#25

Recompile the gamemode after doing that -d3 change, then post up the log from the startup of the server, it will be different.

As I said though, fread errors are usually functions that are checking for files, and not finding them.

some gamemodes handle this as that's why you should check for the file, before opening it.
Reply
#26

Quote:
Originally Posted by Sew_Sumi
View Post
Recompile the gamemode after doing that -d3 change, then post up the log from the startup of the server, it will be different.

As I said though, fread errors are usually functions that are checking for files, and not finding them.

some gamemodes handle this as that's why you should check for the file, before opening it.
This is the serverlog after changing it in the run options

Code:
----------
Loaded log file: "server_log.txt".
----------

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

[04:09:39] 
[04:09:39] Server Plugins
[04:09:39] --------------
[04:09:39]  Loading plugin: crashdetect
[04:09:39]   CrashDetect v4.16 is OK.
[04:09:39]   Loaded.
[04:09:39]  Loading plugin: streamer
[04:09:39] 

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

[04:09:39]   Loaded.
[04:09:39]  Loading plugin: mysql
[04:09:39]  >> plugin.mysql: R39-5 successfully loaded.
[04:09:39]   Loaded.
[04:09:39]  Loading plugin: sscanf
[04:09:39] 

[04:09:39]  ===============================

[04:09:39]       sscanf plugin loaded.     

[04:09:39]          Version:  2.8.1        

[04:09:39]    © 2012 Alex "Y_Less" Cole  

[04:09:39]  ===============================

[04:09:39]   Loaded.
[04:09:39]  Loading plugin: whirlpool
[04:09:39]  
[04:09:39]  ==================
[04:09:39]  
[04:09:39]   Whirlpool loaded
[04:09:39]  
[04:09:39]  ==================
[04:09:39]  
[04:09:39]   Loaded.
[04:09:39]  Loading plugin: irc
[04:09:39] 

*** IRC Plugin v1.4.8 by Incognito loaded ***

[04:09:39]   Loaded.
[04:09:39]  Loading plugin: discord-connector
[04:09:39]  >> plugin.dc-connector: 0.1 successfully loaded.
[04:09:39]   Loaded.
[04:09:39]  Loading plugin: gvar
[04:09:39] 

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

[04:09:39]   Loaded.
[04:09:39]  Loaded 8 plugins.

[04:09:39] 
[04:09:39] Filterscripts
[04:09:39] ---------------
[04:09:39]   Loading filterscript 'FurnitureSystem.amx'...
[04:09:39]   Loading filterscript 'ls_beachside.amx'...
[04:09:39] 

[04:09:39]   |---------------------------------------------------
[04:09:39]   |--- LS BeachSide Filterscript
[04:09:39]   |--  Script v1.03
[04:09:39]   |--  19th April 2015
[04:09:39]   |---------------------------------------------------
[04:09:39]   |--  LS BeachSide Building Elevator created
[04:09:39]   |---------------------------------------------------
[04:09:39]   Loading filterscript 'ls_apartments1.amx'...
[04:09:40] 

[04:09:40]   |---------------------------------------------------
[04:09:40]   |--- LS Apartments 1 Filterscript
[04:09:40]   |--  Script v1.02
[04:09:40]   |--  5th February 2015
[04:09:40]   |---------------------------------------------------
[04:09:40]   |--  LS Apartments 1 Building object created
[04:09:40]   |--  LS Apartments 1 Car Park object created
[04:09:40]   |--  LS Apartments 1 Elevator created
[04:09:40]   |---------------------------------------------------
[04:09:40]   Loading filterscript 'Gang.amx'...
[04:09:40]   Loading filterscript 'PlayerExteriors.amx'...
[04:09:40]   Loading filterscript 'PlayerInteriors.amx'...
[04:09:40]   Loading filterscript 'Server.amx'...
[04:09:41]   Loaded 7 filterscripts.

[04:09:41]  
[04:09:41]  
[04:09:41]  
[04:09:41]  ======================================= 
[04:09:41]  |                                     | 
[04:09:41]  |        YSI version 3.09.0684        | 
[04:09:41]  |        By Alex "Y_Less" Cole        | 
[04:09:41]  |                                     | 
[04:09:41]  ======================================= 
[04:09:41]  
[04:09:41]  
[04:09:41]  
[04:09:41] [debug] Server crashed while executing NGRP.amx
[04:09:41] [debug] AMX backtrace:
[04:09:41] [debug] #0 native fread () from samp-server.exe
[04:09:41] [debug] #1 001bcfc0 in ?? () from NGRP.amx
[04:09:41] [debug] #2 001bd4a0 in ?? () from NGRP.amx
[04:09:41] [debug] #3 0000d288 in public Itter_OnGameModeInit () from NGRP.amx
[04:09:41] [debug] #4 native CallLocalFunction () from samp-server.exe
[04:09:41] [debug] #5 00009ec0 in public ScriptInit_OnGameModeInit () from NGRP.amx
[04:09:41] [debug] #6 00006cf0 in public SSCANF_OnGameModeInit () from NGRP.amx
[04:09:41] [debug] #7 0000104c in public zcmd_OnGameModeInit () from NGRP.amx
[04:09:41] [debug] #8 native CallLocalFunction () from samp-server.exe
[04:09:41] [debug] #9 00000838 in public OnGameModeInit () from NGRP.amx
[04:09:41] [debug] Native backtrace:
[04:09:41] [debug] #0 76f0a225 in ?? () from C:\Windows\SYSTEM32\ntdll.dll
[04:09:41] [debug] #1 00498bb8 in ?? () from samp-server.exe
[04:09:41] [debug] #2 004991e0 in ?? () from samp-server.exe
[04:09:41] [debug] #3 00404f14 in ?? () from samp-server.exe
Reply
#27

Be sure that you have put the files that are supposed to be in the ScriptFiles folder, into that folder... (SFs folder from the release)


That'll have something to attribute to the fread error as it means that it can't find the file it's looking for.
Reply
#28

It's because they've connected the script with discord, remove it and it'll work.
Reply
#29

Quote:
Originally Posted by AlexMSK
View Post
It's because they've connected the script with discord, remove it and it'll work.
it actually worked, thank you.
Reply
#30

Quote:
Originally Posted by AlexMSK
View Post
It's because they've connected the script with discord, remove it and it'll work.
I have removed the discord stuff and it shows this in the serverlog


Code:
----------
Loaded log file: "server_log.txt".
----------

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

[12:55:00] 
[12:55:00] Server Plugins
[12:55:00] --------------
[12:55:00]  Loading plugin: crashdetect
[12:55:00]   CrashDetect v4.16 is OK.
[12:55:00]   Loaded.
[12:55:00]  Loading plugin: streamer
[12:55:00] 

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

[12:55:00]   Loaded.
[12:55:00]  Loading plugin: mysql
[12:55:00]  >> plugin.mysql: R41-3 successfully loaded.
[12:55:00]   Loaded.
[12:55:00]  Loading plugin: sscanf
[12:55:00] 

[12:55:00]  ===============================

[12:55:00]       sscanf plugin loaded.     

[12:55:00]          Version:  2.8.2        

[12:55:00]    © 2012 Alex "Y_Less" Cole  

[12:55:00]  ===============================

[12:55:00]   Loaded.
[12:55:00]  Loading plugin: whirlpool
[12:55:00]  
[12:55:00]  ==================
[12:55:00]  
[12:55:00]   Whirlpool loaded
[12:55:00]  
[12:55:00]  ==================
[12:55:00]  
[12:55:00]   Loaded.
[12:55:00]  Loading plugin: irc
[12:55:00] 

*** IRC Plugin v1.4.8 by Incognito loaded ***

[12:55:00]   Loaded.
[12:55:00]  Loading plugin: gvar
[12:55:00] 

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

[12:55:00]   Loaded.
[12:55:00]  Loaded 7 plugins.

[12:55:00] 
[12:55:00] Filterscripts
[12:55:00] ---------------
[12:55:00]   Loading filterscript 'FurnitureSystem.amx'...
[12:55:00]   Loading filterscript 'ls_beachside.amx'...
[12:55:00] 

[12:55:00]   |---------------------------------------------------
[12:55:00]   |--- LS BeachSide Filterscript
[12:55:00]   |--  Script v1.03
[12:55:00]   |--  19th April 2015
[12:55:00]   |---------------------------------------------------
[12:55:00]   |--  LS BeachSide Building Elevator created
[12:55:00]   |---------------------------------------------------
[12:55:00]   Loading filterscript 'ls_apartments1.amx'...
[12:55:01] 

[12:55:01]   |---------------------------------------------------
[12:55:01]   |--- LS Apartments 1 Filterscript
[12:55:01]   |--  Script v1.02
[12:55:01]   |--  5th February 2015
[12:55:01]   |---------------------------------------------------
[12:55:01]   |--  LS Apartments 1 Building object created
[12:55:01]   |--  LS Apartments 1 Car Park object created
[12:55:01]   |--  LS Apartments 1 Elevator created
[12:55:01]   |---------------------------------------------------
[12:55:01]   Loading filterscript 'Gang.amx'...
[12:55:01]   Loading filterscript 'PlayerExteriors.amx'...
[12:55:01]   Loading filterscript 'PlayerInteriors.amx'...
[12:55:01]   Loading filterscript 'Server.amx'...
[12:55:01]   Loaded 7 filterscripts.

[12:55:02]  
[12:55:02]  
[12:55:02]  
[12:55:02]  ======================================= 
[12:55:02]  |                                     | 
[12:55:02]  |        YSI version 3.09.0684        | 
[12:55:02]  |        By Alex "Y_Less" Cole        | 
[12:55:02]  |                                     | 
[12:55:02]  ======================================= 
[12:55:02]  
[12:55:02]  
[12:55:02]  
[12:55:02] [Streamer] Loading Dynamic Areas...
[12:55:02] [Streamer] Loading Dynamic Buttons...
[12:55:02] [Streamer] Dynamic Buttons has been loaded.
[12:55:02] [Streamer] Loading Dynamic Objects...
[12:55:02] [Streamer] Dynamic Objects has been loaded.
[12:55:02] [Streamer] Loading Dynamic Pickups...
[12:55:02] [Streamer] Dynamic Pickups have been loaded.
[12:55:02] [Streamer] Loading 3D Text Labels...
[12:55:02] [Streamer] Dynamic 3D Text Labels has been loaded.
[12:55:02] [Streamer] Loading Dynamic Static Vehicles...
[12:55:02] [Streamer] Dynamic Static Vehicles have been loaded.
[12:55:02] Preparing the gamemode, please wait...
[12:55:02] [MySQL] (Main Pipelines) Connecting to localhost...
[12:55:02] [MySQL] (MainPipeline) Connection successful toward MySQL Database Server!
[12:55:02] [Dynamic Giftbox] Loading the Dynamic Giftbox...
[12:55:02] [LoadHouses] Loading data from database...
[12:55:02] [LoadDynamicDoors] Loading data from database...
[12:55:02] [LoadDynamicMapIcons] Loading data from database...
[12:55:02] [LoadMailboxes] Loading data from database...
[12:55:02] [LoadBusinesses] Loading data from database...
[12:55:02] [LoadAuctions] Loading data from database...
[12:55:02] [LoadTxtLabels] Loading data from database...
[12:55:02] [SpeedCameras] Loading data from database...
[12:55:02] [LoadPayNSprays] Loading data from database...
[12:55:02] [LoadArrestPoints] Loading data from database...
[12:55:02] [LoadImpoundPoints] Loading data from database...
[12:55:02] [LoadRelayForLifeTeams] Loading data from database...
[12:55:02] [LoadGarages] Loading data from database...
[12:55:02] [LoadCrimes] Loading Crimes...
[12:55:02] [LoadBusinessSales] Loading data from database...
[12:55:02] [LoadPaintballArenas] Loading Paintball Arenas from the database, please wait...
[12:55:02] [LoadGates] Loading data from database...
[12:55:02] [Dynamic Points] Loading Dynamic Points from the database, please wait...
[12:55:02] [Turf Wars] Loading turfs from the database, please wait...
[12:55:02] [LoadPlants] Loading data from database...
[12:55:02] [LoadHelp] Loading data from database...
[12:55:02] [debug] Server crashed while executing NGRP.amx
[12:55:02] [debug] AMX backtrace:
[12:55:02] [debug] #0 native fread () from samp-server.exe
[12:55:02] [debug] #1 003aad14 in ?? () from NGRP.amx
[12:55:02] [debug] #2 003a677c in ?? () from NGRP.amx
[12:55:02] [debug] #3 000576b4 in ?? () from NGRP.amx
[12:55:02] [debug] #4 007200cc in public CB_OnGameModeInit () from NGRP.amx
[12:55:02] [debug] #5 0001bce4 in ?? () from NGRP.amx
[12:55:02] [debug] #6 0000d2e8 in public Itter_OnGameModeInit () from NGRP.amx
[12:55:02] [debug] #7 native CallLocalFunction () from samp-server.exe
[12:55:02] [debug] #8 00009f14 in public ScriptInit_OnGameModeInit () from NGRP.amx
[12:55:02] [debug] #9 00006cf4 in public SSCANF_OnGameModeInit () from NGRP.amx
[12:55:02] [debug] #10 00001050 in public zcmd_OnGameModeInit () from NGRP.amx
[12:55:02] [debug] #11 native CallLocalFunction () from samp-server.exe
[12:55:02] [debug] #12 00000838 in public OnGameModeInit () from NGRP.amx
[12:55:02] [debug] Native backtrace:
[12:55:02] [debug] #0 7702a225 in ?? () from C:\Windows\SYSTEM32\ntdll.dll
[12:55:02] [debug] #1 00498bb8 in ?? () from samp-server.exe
[12:55:02] [debug] #2 004991e0 in ?? () from samp-server.exe
[12:55:02] [debug] #3 00404f14 in ?? () from samp-server.exe
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)