What's new
Pro Gaming Arena

Download DayZ Gamemode 14.0

Joined
Oct 13, 2018
Messages
3
Likes
0
Points
1
#2
Hi,

Sorry to disturb and for this sorta long post but I'm sort of new to this and I tried to compile your gamemode but the compiler outputted this error:
Code:
C:\Games\DayZSA90\gamemodes\dayzmysql.pwn(19) : fatal error 100: cannot read from file: "foreach"

Compilation aborted.Pawn compiler 3.2.3664              Copyright (c) 1997-2006, ITB CompuPhase


1 Error.
I took the foreach include from one of your previous versions and tried to compile again then this error appeared instead:
Code:
C:\Games\DayZSA90\gamemodes\dayzmysql.pwn(27) : fatal error 100: cannot read from file: "zcmd"

Compilation aborted.Pawn compiler 3.2.3664              Copyright (c) 1997-2006, ITB CompuPhase


1 Error.
After taking the zcmd include also from your previous versions, I tried to compile again then this error appeared:
Code:
C:\Games\DayZSA90\gamemodes\dayzmysql.pwn(17405) : error 037: invalid string (possibly non-terminated string)
C:\Games\DayZSA90\gamemodes\dayzmysql.pwn(17754) : warning 204: symbol is assigned a value that is never used: "strt"
C:\Games\DayZSA90\gamemodes\dayzmysql.pwn(17779) : warning 203: symbol is never used: "globalStats"
Pawn compiler 3.2.3664              Copyright (c) 1997-2006, ITB CompuPhase


1 Error.
I viewed your script and looked for line 37 then found this line of code:
Code:
#define mysql_host "
It appears that you must've forgotten to terminate this line of code so I decided to do that and changed it to this:
Code:
#define mysql_host ""
Afterwards, I tried to compile it again and then this time, it managed to compile successfully but with two warnings:
Code:
C:\Games\DayZSA90\gamemodes\dayzmysql.pwn(17754) : warning 204: symbol is assigned a value that is never used: "strt"
C:\Games\DayZSA90\gamemodes\dayzmysql.pwn(17779) : warning 203: symbol is never used: "globalStats"
Pawn compiler 3.2.3664              Copyright (c) 1997-2006, ITB CompuPhase


2 Warnings.
Feeling like I must've solved the problem, I started the server with the default configuration your latest version came with, it outputted this and stopped outputting any more information afterwards:
Code:
----------
Loaded log file: "server_log.txt".
----------

SA-MP Dedicated Server
----------------------
v0.3.7-R2, (C)2005-2015 SA-MP Team

[01:34:14] filterscripts = ""  (string)
[01:34:14]
[01:34:14] Server Plugins
[01:34:14] --------------
[01:34:14]  Loading plugin: sscanf.dll
[01:34:14]

[01:34:14]  ===============================

[01:34:14]       sscanf plugin loaded.     

[01:34:14]          Version:  2.8.2       

[01:34:14]    (c) 2012 Alex "Y_Less" Cole 

[01:34:14]  ===============================

[01:34:14]   Loaded.
[01:34:14]  Loading plugin: streamer.dll
[01:34:14]

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

[01:34:14]   Loaded.
[01:34:14]  Loading plugin: Whirlpool.dll
[01:34:14] 
[01:34:14]  ==================
[01:34:14] 
[01:34:14]   Whirlpool loaded
[01:34:14] 
[01:34:14]  ==================
[01:34:14] 
[01:34:14]   Loaded.
[01:34:14]  Loading plugin: FCNPC.dll
[01:34:14]
[01:34:14] -------------------------------------------------
[01:34:14]      FCNPC - Fully Controllable NPC v1.7.0
[01:34:14]          Windows SA-MP 0.3.7 R2-1
[01:34:14]           Apr  2 2017 at 13:48:40
[01:34:14]
[01:34:14]   Author:       OrMisicL (2013 - 2015)
[01:34:14]   Continued by: ziggi (2016 - present)
[01:34:14]   Contributors: kurta999, Neutralneu
[01:34:14] -------------------------------------------------
[01:34:14]
[01:34:14] Loading...
[01:34:14]   Loaded.
[01:34:14]  Loading plugin: mapandreas.dll
[01:34:14]   Loaded.
[01:34:14]  Loading plugin: mysql.dll
[01:34:14]   Failed.
[01:34:14]  Loaded 5 plugins.

[01:34:14]
[01:34:14] Filterscripts
[01:34:14] ---------------
[01:34:14]   Loaded 0 filterscripts.

[01:34:14] Script[gamemodes/dayzmysql.amx]: Run time error 19: "File or function is not found"
[01:34:14] Number of vehicle models: 0

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

SA-MP Dedicated Server
----------------------
v0.3.7-R2, (C)2005-2015 SA-MP Team

[01:34:48] filterscripts = ""  (string)
[01:34:48]
[01:34:48] Server Plugins
[01:34:48] --------------
[01:34:48]  Loading plugin: sscanf.dll
[01:34:48]

[01:34:48]  ===============================

[01:34:48]       sscanf plugin loaded.     

[01:34:48]          Version:  2.8.2       

[01:34:48]    (c) 2012 Alex "Y_Less" Cole 

[01:34:48]  ===============================

[01:34:48]   Loaded.
[01:34:48]  Loading plugin: streamer.dll
[01:34:48]

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

[01:34:48]   Loaded.
[01:34:48]  Loading plugin: Whirlpool.dll
[01:34:48] 
[01:34:48]  ==================
[01:34:48] 
[01:34:48]   Whirlpool loaded
[01:34:48] 
[01:34:48]  ==================
[01:34:48] 
[01:34:48]   Loaded.
[01:34:48]  Loading plugin: FCNPC.dll
[01:34:48]
[01:34:48] -------------------------------------------------
[01:34:48]      FCNPC - Fully Controllable NPC v1.7.0
[01:34:48]          Windows SA-MP 0.3.7 R2-1
[01:34:48]           Apr  2 2017 at 13:48:40
[01:34:48]
[01:34:48]   Author:       OrMisicL (2013 - 2015)
[01:34:48]   Continued by: ziggi (2016 - present)
[01:34:48]   Contributors: kurta999, Neutralneu
[01:34:48] -------------------------------------------------
[01:34:48]
[01:34:48] Loading...
[01:34:48]   Loaded.
[01:34:48]  Loading plugin: mapandreas.dll
[01:34:48]   Loaded.
[01:34:48]  Loading plugin: mysql.dll
[01:34:48]   Failed.
[01:34:48]  Loaded 5 plugins.

[01:34:48]
[01:34:48] Filterscripts
[01:34:48] ---------------
[01:34:48]   Loaded 0 filterscripts.

[01:34:49] Script[gamemodes/dayzmysql.amx]: Run time error 19: "File or function is not found"
[01:34:49] Number of vehicle models: 0
I don't exactly understand the problem here, but I think that the script may not be compatible with the latest version of SA-MP, which is 0.3.7-R2 at the time of typing or I may have used the wrong versions of the includes, but I took them from the previous versions of your version archive.

Thanks o_O o_O
Red
 

Aaron

Die with memories, not dreams.
Staff member
Owner
Joined
May 10, 2008
Messages
378
Likes
293
Points
63
#3
Show me pictures of
pawno/includes folder
plugins folder

Seems like you don't have them installed.
 

Crystal

Management Team
Staff member
Zombie Mode Staff
Inactive Staff
Joined
Sep 12, 2018
Messages
280
Likes
56
Points
28
#4
[01:34:14] Loading plugin: mysql.dll
[01:34:14] Failed.
[01:34:14] Loaded 5 plugins.

[01:34:14]
[01:34:14] Filterscripts
[01:34:14] ---------------
[01:34:14] Loaded 0 filterscripts.

[01:34:14] Script[gamemodes/dayzmysql.amx]: Run time error 19: "File or function is not found"
[01:34:14] Number of vehicle models: 0

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

SA-MP Dedicated Server
----------------------
v0.3.7-R2, (C)2005-2015 SA-MP Team

[01:34:48] filterscripts = "" (string)
[01:34:48]
[01:34:48] Server Plugins
[01:34:48] --------------
[01:34:48] Loading plugin: sscanf.dll
[01:34:48]

[01:34:48] ===============================

[01:34:48] sscanf plugin loaded.

[01:34:48] Version: 2.8.2

[01:34:48] (c) 2012 Alex "Y_Less" Cole

[01:34:48] ===============================

[01:34:48] Loaded.
[01:34:48] Loading plugin: streamer.dll
[01:34:48]

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

[01:34:48] Loaded.
[01:34:48] Loading plugin: Whirlpool.dll
[01:34:48]
[01:34:48] ==================
[01:34:48]
[01:34:48] Whirlpool loaded
[01:34:48]
[01:34:48] ==================
[01:34:48]
[01:34:48] Loaded.
[01:34:48] Loading plugin: FCNPC.dll
[01:34:48]
[01:34:48] -------------------------------------------------
[01:34:48] FCNPC - Fully Controllable NPC v1.7.0
[01:34:48] Windows SA-MP 0.3.7 R2-1
[01:34:48] Apr 2 2017 at 13:48:40
[01:34:48]
[01:34:48] Author: OrMisicL (2013 - 2015)
[01:34:48] Continued by: ziggi (2016 - present)
[01:34:48] Contributors: kurta999, Neutralneu
[01:34:48] -------------------------------------------------
[01:34:48]
[01:34:48] Loading...
[01:34:48] Loaded.
[01:34:48] Loading plugin: mapandreas.dll
[01:34:48] Loaded.
[01:34:48] Loading plugin: mysql.dll
[01:34:48] Failed.
[01:34:48] Loaded 5 plugins.

[01:34:48]
[01:34:48] Filterscripts
[01:34:48] ---------------
[01:34:48] Loaded 0 filterscripts.

[01:34:49] Script[gamemodes/dayzmysql.amx]: Run time error 19: "File or function is not found"
[01:34:49] Number of vehicle models: 0
[/CODE]

Red

Your mysql plugin failed to load.You must get original repositories and re-compile.
 

Aaron

Die with memories, not dreams.
Staff member
Owner
Joined
May 10, 2008
Messages
378
Likes
293
Points
63
#7
Make sure you open pawno.exe as a admin from the folder the DayZ gamemode is in then open the .pwn file from that and then try to compile. Let me know if that works.
 

Top