Jump to content
🛡️FORUMS ARE IN READ-ONLY MODE Read more... ×

Terrano.

Member
  • Content Count

    17
  • Joined

  • Last visited

  • Medals

Everything posted by Terrano.

  1. I tryed to enable logging, but nothing changed, `dblog` folder is not created in `arma 3` directory. Can't find any logs 😞 here is config values logging: directory: dbLog querylog: true threadlog: true @Dedmen, help please
  2. As i understand - JSON format needed to save a lot of data to mysql table (~100000 records)
  3. is will be added a JSON support?
  4. ah, I'm so stupid. Thank you very much! Everything works just great! Great plugin 👍
  5. I read documentation again and again, but still not working. Tryed new users, tryed create connection from script, but nothing. <not connected>
  6. @Dedmen I changed user in settings, set password. But still getting <not connected> new config: #See https://intercept-database.readthedocs.io/en/stable/intro/config-file.html for more information global: enableDynamicQueries: true #Allow queries to be created from SQF, if false only statements from config are allowed accounts: maindb: #production db, don't break things here! ip: 127.0.0.1 username: interceptor password: rb25 database: altislife port: 3306 #optional productionDB: ip: 127.0.0.1 username: interceptor password: rb25 database: altislife port: 3306 schemas: test: schema.sql statements: getMissionName: SELECT 1 date: query: SELECT NOW() parseDateType: stringMS #DB_query = dbPrepareQueryConfig ["date", [400]]; #DB_connection = dbCreateConnection "maindb"; #DB_query = dbPrepareQueryConfig "date"; #DB_connection dbExecuteAsync DB_query;
  7. i have tryed: password: "" // then password: '' // but still getting "<not connected>"
  8. 2019/07/23, 13:01:04 "any" 2019/07/23, 13:01:04 Error in expression <DB_connection = dbCreateConnection "productionDB"; diag> 2019/07/23, 13:01:04 Error position: <dbCreateConnection "productionDB"; diag> 2019/07/23, 13:01:04 Error dbCreateConnection account "productionDB" not found in config still don't work
  9. C:\Program Files (x86)\Steam\steamapps\common\Arma 3 Server\@InterceptDB\config.yaml my folder named `Arma 3 Server` all mods here maybe i need to move only config? to Arma3\@InterceptDB\config.yaml
  10. yes, i do all like in documentation #See https://intercept-database.readthedocs.io/en/stable/intro/config-file.html for more information global: enableDynamicQueries: true #Allow queries to be created from SQF, if false only statements from config are allowed accounts: maindb: #production db, don't break things here! ip: stuff username: arma3 password: pass database: altislife port: 3306 #optional productionDB: ip: 127.0.0.1 username: arma3 password: database: altislife port: 3306 schemas: test: schema.sql statements: getMissionName: SELECT 1 date: query: SELECT NOW() parseDateType: stringMS #DB_query = dbPrepareQueryConfig ["date", [400]]; #DB_connection = dbCreateConnection "maindb"; #DB_query = dbPrepareQueryConfig "date"; #DB_connection dbExecuteAsync DB_query;
  11. I still can't connect to my database 😞 in log is writing - only - not connected version 1.5 17:12:53 C:\Program Files (x86)\Steam\steamapps\common\Arma 3 Server\@InterceptDB\addons\intercept_core.pbo - unknown 17:12:53 C:\Program Files (x86)\Steam\steamapps\common\Arma 3 Server\@InterceptDB\addons\main.pbo - unknown 17:12:53 @InterceptDB | @InterceptDB | false | false | GAME DIR | da39a3ee5e6b4b0d3255bfef95601890afd80709 | 11fdd19c | C:\Program Files (x86)\Steam\steamapps\common\Arma 3 Server\@InterceptDB 17:12:54 Initializing Intercept 17:12:54 CallExtension loaded: intercept (C:\Program Files (x86)\Steam\steamapps\common\Arma 3 Server\@InterceptDB\intercept_x64.dll) [] [] 17:12:54 Intercept initialization part 1/3: 1 17:12:54 Intercept initialization part 2/3: true 17:12:54 Intercept Loading Plugin: intercept-database 17:12:54 "Intercept: Load completed [intercept-database]" 17:12:54 Intercept initialization part 3/3: -1 2019/07/22, 17:13:18 Intercept Invoker SQF handler initializing... 2019/07/22, 17:13:18 Intercept Invoker test result: == 2019/07/22, 17:13:18 Intercept Invoker initialized. 2019/07/22, 17:13:18 Intercept Pre-Init... 2019/07/22, 17:13:18 Intercept Pre-Init Completed. 2019/07/22, 17:14:07 Intercept Post-Init... 2019/07/22, 17:14:07 Intercept Post-Init Finished... when i trying to use config to connect DB_connection = dbCreateConnection "productionDB"; // return 2019/07/22, 17:15:24 Error in expression <DB_connection = dbCreateConnection "productionDB";diag_l> 2019/07/22, 17:15:24 Error position: <dbCreateConnection "productionDB";diag_l> 2019/07/22, 17:15:24 Error dbCreateConnection account "productionDB" not found in config 2019/07/22, 17:16:24 "[any]" when trying script: dbCreateConnection ["127.0.0.1",3306,"arma3","","altislife"]; // return 2019/07/22, 17:20:52 "[<not connected>]" 2019/07/22, 17:23:59 "[<not connected>]" help, please
  12. that user have all permissions to work with database, but i don't understand - why needed ibattle.org extDB works with that user, maybe i need to create new user for interceptDB?
  13. @Dedmen, i have a problem with usage 😞 i use that code: ConnectionMySQL = dbCreateConnection ["127.0.0.1",3306,"arma3","","test"]; diag_log str[ConnectionMySQL]; dbIsConnected ConnectionMySQL; diag_log str[ConnectionMySQL]; query1 = dbPrepareQuery "SELECT count(*) FROM players"; diag_log str[ConnectionMySQL dbExecuteAsync query1]; but on log's i getting that error: 2019/06/21, 0:32:23 "[TODO]" 2019/06/21, 0:32:23 Error in expression <interceptOnFrame> 2019/06/21, 0:32:23 Error position: <interceptOnFrame> 2019/06/21, 0:32:23 Error Intercept-DB exception Host 'ibattle.org' is not allowed to connect to this MariaDB server at SELECT count(*) FROM players 2019/06/21, 0:34:01 "[<not connected>]" 2019/06/21, 0:34:01 "[<not connected>]" 2019/06/21, 0:34:01 "[TODO]"
  14. when i trying createConnection is returns - <not connected>, maybe i'm doing something wrong? dbCreateConnection ["127.0.0.1",2302,"arma3","","altislife"]; using version 1.2
  15. Pain, pain and more pain - that you get when trying edit lobby dialog. I just wanted remove all players listNbox & role select ListBox. At first i was trying make scripted side (skipLobby & joinSilent) select, but i get problems with that method: playerSide - defined wrong when you disconnect to lobby - you can get `blackScreen` without anything wrong side when connecting and a lot of troubles Then i understand for that working write - i need to change RscDisplayMultiplayerSetup But i get troubles with CA_ValueRoles listbox. i was try anything: lbSetCurSel - no reaction lbSetCurSel+ctrlActivate - still nothing move listbox on my button & hide - that was working but there i have another problem - if role in list selected - and player press select that slot - he got error - player not defined move slider in listbox - not working lbDelete (by count units in side) - too not working set one rowHeight like my button and move listbox on screen (like slider) - crookedly joinUnassigned = 0; - select free slot, but once and that slot all the time is west, and when i select another slot - is not working. Do you have ideas why that listBox no react on anything? Thank you!
  16. Terrano.

    Button text

    you need add style to button, then you can use ctrlsetStructuredText on button control.
  17. see server side scripting You can use only this commands: users, ban id, kick id, level checkFile [id,file index], numberOfFiles id in config.cfg
×