Arma 3
co40 Domination! Blufor [4.72]
Alex Dec 29, 2017 @ 1:10pm
Unable to save on Database extDB3
Hi guys,
I'm unable to save progress on dedicate server. I followed all instructions and everithing should be ok. Database is created, privileges are ok with heidiSQL and config.ini.
These are the logs:

-extDB3 log:
extDB3: https://bitbucket.org/torndeco/extdb3/wiki/Home
extDB3: Version: 1.031
extDB3: Windows Version
Message: All development for extDB3 is done on a Linux Dedicated Server
Message: If you would like to Donate to extDB3 Development
Message: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=2SUEFTGABTAM2
Message: Also leave a message if there is any particular feature you would like to see added.
Message: Thanks for all the people that have donated.
Message: Torndeco: 18/05/15


extDB3: Found extdb3-conf.ini
extDB3: Detected 8 Cores, Setting up 6 Worker Threads
extDB3: ...
extDB3: ...
extDB3: ...
extDB3: ...
extDB3: ...
extDB3: ...

arma3 log:
d_bonus_vecs_db = d_bonus_vecs_db - [objNull];
private _bo>
Error position: <d_bonus_vecs_db - [objNull];
private _bo>
Error Undefined variable in expression: d_bonus_vecs_db
File x_server\x_f\fn_saveprogress2db.sqf [d_fnc_saveprogress2db], line 31

config.ini:
[Main]
Version = 1

Randomize Config File = false
;; Randomizes Config File after loading.
;; Recommend to turn on, if you have enabled filepatching on arma.

Allow Reset = false
;; Allows 9:RESET, usefull for development work

Thread = 0;
;; Option to force number of worker threads for extDB3.
;; Auto = 0, Min = 2, Max = 6

[Log]
Flush = true;
;; Flush logfile after each update.
;; Option really only usefull if running DEBUG BUILD


[Database]
IP = 127.0.0.1
Port = 3306
Username = root
Password =12345
Database = domination
< >
Showing 1-6 of 6 comments
Zero6 Feb 7, 2018 @ 10:54am 
Try replace extdb3.pbo from extDB3 build version 1028. In newer versions there is change in how variable "extDB3_var_loaded" defined

- extDB3_var_loaded = true;
+ extDB3_var_loaded = compileFinal "true";

so init domination initServer.sqf "if" function doesnt work, that validates, if extDB3 is loaded
Last edited by Zero6; Feb 7, 2018 @ 11:38am
Xeno  [developer] Feb 15, 2018 @ 10:26am 
I have not used a newer extDB3 version yet. So what exactly has changed?
Zero6 Feb 16, 2018 @ 12:06pm 
Error from arma rpt file:

11:26:25 [20513,92.191,0,"Executing MPF initServer.sqf"]
11:26:25 Error in expression <lse;
if (!isNil "extDB3_var_loaded" && {extDB3_var_loaded}) then {
private _uins>
11:26:25 Error position: <extDB3_var_loaded}) then {
private _uins>
11:26:25 Error Type code, expected Bool
11:26:25 File mpmissions\__cur_mp.altis\initServer.sqf, line 12
11:26:25 Error in expression <erver) then {
d_database_found = false;
if (!isNil "extDB3_var_loaded" && {extDB>
11:26:25 Error position: <if (!isNil "extDB3_var_loaded" && {extDB>
11:26:25 Error if: Type code, expected Bool
11:26:25 File mpmissions\__cur_mp.altis\initServer.sqf, line 12


Variable "extDB3_var_loaded" is expected to be Bool type, but as it was changed in newer extdb3.pbo from
extDB3_var_loaded = true;
to
extDB3_var_loaded = compileFinal "true";
So now this variable type is "Code" and connection to to database not established.

https://bitbucket.org/torndeco/extdb3/issues/79/database-connection-failing-from-build

Last edited by Zero6; Feb 16, 2018 @ 12:08pm
Xeno  [developer] Feb 17, 2018 @ 12:59am 
I have fixed it for the next release, Domi will support both methods.

Meh, that's a change which breaks a lot of missions using extdb3. You can't check for a simple boolean expression anymore but have to call extDB3_var_loaded now to get a result.
Xeno  [developer] Feb 17, 2018 @ 1:00am 
Oh, extdb3 1032 does not work at all for me while 1031 is fine.
zub Feb 9, 2020 @ 10:28am 
Domination does not work with MySQL on the remote server!!!
([23: 45: 56: 465154 +03: 00] [Thread 11796] extDB3: Config Error: Domination: No such node (Domination.IP)
extdb3-config.ini
[Domination]
IP = 192.168.0.14
Port = 3306
Username = dominationadmin
Password = password
Database = domination

PS https://bitbucket.org/torndeco/extdb3/issues/85/extdb3-error-no-such-node-ip no comment (((

any help
< >
Showing 1-6 of 6 comments
Per page: 1530 50