-
Notifications
You must be signed in to change notification settings - Fork 310
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* db: Update to extDB3 Next arma update will support 64-bit and as extDB2 can't be build in x64 (without changing its code), it's about time to support extDB3. Also, extDB3 already supports linux and doesn't have any major issue. * extdb: some more extDB2 comments
- Loading branch information
1 parent
13de8d0
commit 8de51bd
Showing
7 changed files
with
22 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8de51bd
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Note:
TEXT2 Option wont be compatible with upcoming
https://community.bistudio.com/wiki/parseSimpleArray
8de51bd
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's broken, MresArray doesn't work, extDB3 transform ["test1","test2"] to ['test1','test2'], and we can't do _this select 0; because it's not an array.
8de51bd
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Torndeco
Just seeing that command makes me excited. Going over to predefineds at some point anyway 👍
@nanougames
In what example (which query) is this not working? A couple of people have tested this, and although the goal was to never use raw SQL, it's a drop in replacement for the time being. I didn't think they had any issues.
8de51bd
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems to be working fantastic for me. Only (possible) issue is that setting the ip address to 127.0.0.1 wouldn't work for some reason.
extDB3: Failed to Connect to Database
May have been just my setup but using the public IP worked fine. Good work guys, appreciate it!8de51bd
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
here 127.0.0.1 is working.
try: localhost
8de51bd
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@danielstuart14 It seems to acting a little strange. Again, perhaps its an error on my part, but somehow the connection to the database (which is localhost) was dropped over night. Upon restart it would not reconnect. I tried
localhost
and the public IP but neither worked. When I set it to127.0.0.1
however, it worked. I will definitely update you if it randomly drops again. When testing127.0.0.1
I also setThread = 2
as it was defaulting to 0 and the comment below claimed its minimum was 2. Maybe this has something to do with it?Also, how big of an impact does
thread
have? Should a dedicated server just be set to 6? Thanks.Thread = 2; ;; Option to force number of worker threads for extDB3. ;; Min = 2, Max = 6
8de51bd
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"0" means that it'll autodetect your cpu cores.
But basicaly, add one thread for each core (Or thread for each cpu thread, if you have a HT cpu).
Anyway, if it happens again, you can send me a message in discord.
8de51bd
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I want to select this information: ["K","G","V"], but with extDB3, I have ['K','G','V'], and this is not an array in Arma 3, we can't select 0, select 1, select 2...... Any idea? @danielstuart14 @BoGuu
8de51bd
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
['K','G','V'] is an array and can be selected.
As @Torndeco said, just "parseSimpleArray" that won't be compatible with apostrophes
About the apostrophes, for arma: '123' is a string as "123".
Also, are you using DB_fnc_mresToArray? It removes the accent (`) that may be added.
8de51bd
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please any help me !
After last update i need update to extDB3 !
10:54:04 SteamAPI initialization failed. Steam features won't be accessible!
10:54:04 Source set
10:54:04 Initializing stats manager.
10:54:04 Stats config disabled.
10:54:04 sessionID: 55ccf4e464b116ca82610844d920d1f2ed4bdaad
10:54:04 ../lib/Network/networkServer.cpp ClearNetServer:NOT IMPLEMENTED - briefing!
Cannot open file '/home/steam/steamcmd/arma3/@extDB3\addons\extdb3'
10:54:04 Critical:Destroying running thread!
10:54:04 Critical:Destroying running thread!
10:54:04 Critical:Destroying running thread!
10:54:04 Critical:Destroying running thread!
10:54:04 Critical:Destroying running thread!
10:54:04 Critical:Destroying running thread!
i create a simbolic link
ln -s extDB3.pbo extdb3.pbo
but extDB3 not work
10:57:27 "---------------------------------------------------------------------"
Call extension 'extDB3' could not be found
10:57:27 "extDB3 Failed to Load, Check Requirements @ https://bitbucket.org/torndeco/extdb3/wiki/Installation"
10:57:27 ""
10:57:27 "If you are running this on a client, Battleye will random block extensions. Try Disable Battleye"
10:57:27 "---------------------------------------------------------------------"
10:57:27 "---------------------------------------------------------------------"
please help me !
8de51bd
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@porducel
The new arma update broke it on Linux. Just wait for a fix.
8de51bd
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
AFAIK perf v1 fixes this issue @porducel @BradenJM