Inventory Logging

Discussion in 'Archived: Plugin Requests' started by 15987632, Oct 31, 2013.


  1. It's being much more difficult than expected. I've yet to actually get Java to connect to a database.

    I'll do my best to figure it out but it may take longer than I originally thought.
     
  2. Offline

    15987632

    Progress?
     
  3. Offline

    15987632

  4. Offline

    AndyMcB1

    I have working code to connect if you'd like.
     

  5. That would be much appreciated. I've been deadlocked by a few technical problems, this being one of them.
     
  6. Offline

    AndyMcB1

    This is assuming you have MySQL installed, and an instance running in the Services.

    Code:java
    1. DB dbo = new DB();
    2.  
    3. dbo.openConnection("com.mysql.jdbc.Driver", "jdbc:mysql://localhost:3306/test?user=root&password=password");
    4.  
     
  7. Offline

    15987632

  8. Offline

    15987632

    Someguyfromcrowd how's it going its been a while did you ever get it to work with a database or MySQL?

    Edit- can anybody add a database to this? And possibly add the option of a MySQL in the config? Someguyfromcrowd hasn't been on in a month
     
  9. Offline

    cockatoo2

  10. Offline

    15987632

  11. Offline

    cockatoo2

    ok then
     
  12. Offline

    15987632

    Can anybody decompile this plugin and add a database or mySQL to it?
     
  13. Online

    timtower Administrator Administrator Moderator

    Based on his code ( that he got from me )
    Not easy to do
     
  14. Offline

    15987632

    Explain please i dont really understand.
     
  15. Online

    timtower Administrator Administrator Moderator

    He is using code that I gave him.
    That code isn't designed to be able to use in sql
     
  16. Offline

    15987632

    what about a regular database? Like a coreprotect database type of thing.
     
  17. Online

    timtower Administrator Administrator Moderator

    Never designed to store stuff in 1 line, only way to do that with this is by rewriting.the storage system
     
  18. Offline

    15987632

    timtower ok i understand i will still leave it up for anyone who want to take this anyways even though its harded than i originally thought
     
  19. Online

    timtower Administrator Administrator Moderator

    Serializing inventorys is never easy, I am using the easiest way availible, config only.
    Good luck on your search
     
    15987632 likes this.

Share This Page