Page 6 of 6 FirstFirst ... 4 5 6
Results 51 to 56 of 56

Thread: Abyll's Super App

  1. #51
    crylancer Cortexian's Avatar
    Join Date
    Sep 2006
    Location
    Calgary, AB, Canada
    Posts
    12,036

    Re: Abyll's Super App

    What do you use to store all the players? Database? Text file?
    Reply With Quote

  2. #52
    Member Aßyll's Avatar
    Join Date
    Aug 2008
    Location
    near an unsecured wifi point
    Posts
    89

    Re: Abyll's Super App

    Textfiles - I don't really know how to do a database. And, after trying to learn how to... I don't know if it's really advantageous since it's more complicated (I don't even know if it's more efficient), and you can't edit it as easily outside of the game (esp. if you don't have microsoft access. :P).
    (And if you got something confused, it only saves and loads from textfiles; it doesn't repeatedly check the files as the server is running. The players' info is kept in RAM.)

    If someone else knows how to change what i have to a database interface, please do.
    Reply With Quote

  3. #53
    Kid in the Hall Kornman00's Avatar
    Join Date
    Sep 2006
    Location
    ◕‿◕, ┌( ಠ_ಠ)┘
    Posts
    3,130

    Re: Abyll's Super App

    Using a database API would provide a simpler system if implemented properly. You wouldn't have to deal with the load/store routines (and for text files at least, parsing), just the query and set mechanisms. Since you'd just be querying data you could then get live updates from the database in case of outside modification.

    With a database storage too, end users could use existing programs to edit the data (ie, Access or even Excel I think) and won't have to deal with such low level editing like that of bare text files which just raises the user error level.
    Reply With Quote

  4. #54
    crylancer Cortexian's Avatar
    Join Date
    Sep 2006
    Location
    Calgary, AB, Canada
    Posts
    12,036

    Re: Abyll's Super App

    Free MDB Viewer works as well, or whatever that free MDB program is...
    Reply With Quote

  5. #55
    Member Aßyll's Avatar
    Join Date
    Aug 2008
    Location
    near an unsecured wifi point
    Posts
    89

    Re: Abyll's Super App

    KM, can you point me to where I ought to start to learn how to work with databases? Generic google searching failed for the most part, so I really have no clue where to start.
    Though, I read that the mdb (Jet) database that rec0 used is supposed to be decrepit.
    Reply With Quote

  6. #56
    Kid in the Hall Kornman00's Avatar
    Join Date
    Sep 2006
    Location
    ◕‿◕, ┌( ಠ_ಠ)┘
    Posts
    3,130

    Re: Abyll's Super App

    I believe you were only using native C++ but the google search for it isn't all that hard. Third result is a start.

    rec0's app and Synapse used the .NET framework's System.Data namespace for database interaction.
    Reply With Quote

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Bookmarks

Posting Permissions

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