Page 1 of 45 1234511 ... LastLast
Results 1 to 10 of 444

Thread: ArmA2 Persistent Database Scripts - WIP

  1. #1

    ArmA2 Persistent Database Scripts - WIP

    UPDATE: 7th Feburary 2013



    There are many issues and bugs in the current PDB standalone version. Development of the standalone PDB scripts has ceased and I have moved development be to exclusively for MSO where PDB development has really moved on massively in MSO 4.6. Myself and the MSO dev team will also be working on a new MSO PDB version for Arma3 when it's released which will be in addon form.

    I am no longer offering support for this old standalone version of PDB.

    You can get support for the new PDB integrated into MSO on our dev-heaven site here
    MSO support is here and here

    The latest development files can be found here


    UPDATE: 22nd June 2012



    Over the last month or so I have been working on a set of scripts that can be integrated into any ArmA2 missions that will allow for persistent player and game/mission data to be stored in a serverside database and retrieved on command.

    No clientside addons are required and it is compatible with Windows dedicated servers. All that is required is that both CBA and Arma2NET addons be loaded serverside together with a MYSQL database. This only works on dedicated servers. There are potentially many applications for this so I'd very much welcome your suggestions whilst I'm still in the development stage.

    Many thanks to Sickboy for his help and expert advice!


    Direct link to PDBReadme.html

    Latest PDB Version:
    PDB Dev-heaven repo

    Direct downloads:
    Arma2NETMySQLPlugin.7z
    PersistentDB

    PDB in MSO:
    Dev-heaven repository branch



    Changelog:


    07/09/2012
    - Arma2NETMySQL.dll compiled against Arma2Net 2.2
    - Arma2NETMySQL.dll added sqlite support
    - Arma2NETMySQL.dll The socket connection would stay open once started. This caused problems (aka crashing). Now, it will close down the connection after 30 minutes of inactivity.
    - Arma2NETMySQL.dll logs save to AppData/Local/Arma2NETMySQL
    - Arma2NETMySQL.dll Databases.txt now loads from AppData/Local/Arma2NETMySQL
    - Arma2NETMySQL.dll New Databases.txt format. Added type, mysql and sqlite


    10/08/2012
    - PersistentDB Core rewrite
    - New MYSQL DB Schema
    - New example missions
    - Arma2NETMySQL.dll compiled against Arma2Net 2.11.1
    - Arma2NETMySQL.dll logs now save to AppData/Local/Arma2NETMySQL

    22/06/2012
    - compiled Arma2NETMySQLPlugin.dll against the 6.5.4 MySQL.Data Reference

    16/06/2012
    - fixed printing of messages in valid format

    14/06/2012
    - Shows version number of Arma2NET that it is compiled with.
    - Fixed so it works with the latest version of the MySQL Connector (6.5.4).
    - Works with latest Arma2NET (1.10).
    Last edited by [KH]Jman; Feb 7 2013 at 11:03.
    [KH]Jman
    Kellys Heroes ArmA Clan Leader

    www.kellys-heroes.eu | KH Server Specs | Dedi Server Guide | PersistentDB
    My specs: Intel Core i7 920 D0 Stepping (SLBEJ) 2.66Ghz @ 4.00GHz / Gigabyte EX58-UD5 Intel X58
    Patriot Viper 6GB DDR3 PC3-12800C8 1600MHz / ATI HD 7970 3072 MB GDDR5 / Dell 2405FPW @1920 x1200 / Win7 x64

  2. #2
    Staff Sergeant Loki's Avatar
    Join Date
    Feb 24 2008
    Location
    between denver and notepad ++
    Posts
    362
    looks very interesting.. will it be JiP compatible for RPG style data saves?

  3. #3
    Master Sergeant [KH]Jman's Avatar
    Join Date
    Jan 28 2007
    Location
    United Kingdom
    Posts
    786
    Author of the Thread
    Yes. Any player or mission data that can be retrieved from the gamestate can be saved and retrieved and at any time, not just on player disconnect.
    Last edited by [KH]Jman; Dec 11 2010 at 01:20.

  4. #4
    Staff Sergeant Loki's Avatar
    Join Date
    Feb 24 2008
    Location
    between denver and notepad ++
    Posts
    362
    very very cool!


  5. #5
    Second Lieutenant Kremator's Avatar
    Join Date
    Jun 8 2007
    Location
    Cambridge, UK
    Posts
    4,979
    Very good indeed.

  6. #6
    Excellent work, man! I love it!

  7. #7
    Again, another great idea from the community that makes this game hard to walk away from even if we lose all of our hair in the process

    One question...will the database be able to be customized by the server admin as to what data is saved? IE- can a designer make a system that remembers pilot training and later only allows players with a certain amount of helicopter training to fly them? Hope that makes sense.

    Great job JMan
    Last edited by Raptor 6 Actual; Dec 11 2010 at 15:34.

  8. #8
    Master Sergeant [KH]Jman's Avatar
    Join Date
    Jan 28 2007
    Location
    United Kingdom
    Posts
    786
    Author of the Thread
    Yes it can be customised providing you have a basic understanding of scripting and databases. On the final release I will try to document the customisation process as much as possible.

  9. #9
    Been waiting for something like this for a long time... Great work! My initial idea for this is the ability for members to select their loadouts for sunday operations on the website, reducing waiting times upon joining.
    Current Rig

    Asus P6T ** i7 920 d0 @ 3.8Ghz
    6GB Corsair XMS3 ** Crossfire Asus 4890s @ 950/4400
    Tagan 800W Piperock ** 100GB Vertex 2 SSD


  10. #10
    Fantastic, I can't wait to try this with some massive MP mission I host now and then. How will the saving be triggered? Will the server save all data for each MP mission upon departure of the last player? Or do missions need to trigger something by a module, variable or similar?

    Cheers,
    VictorFarbau

Page 1 of 45 1234511 ... LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •