Stranded skills are being reset

Discussion in 'Stranded' started by Teddi, Aug 19, 2009.

  1. Teddi

    Teddi Well-Known Member Bear

    Joined:
    Jul 21, 2007
    Messages:
    9,636
    Likes Received:
    1,118
    Because I'm upgrading it to the Database, it means all stats will be lost, and before I thought that it saved it to sqlite, which would have allowed me to insert the data into the database. However, for each user, it makes a new text file - e.g;

    Code:
    "Out"
    {
        "experience"
        {
            "Lumbering"        "0"
            "Planting"        "50"
            "Survival"        "0"
            "Harvesting"        "0"
            "Mining"        "50"
        }
        "date"        "Saturday 08/15/09"
        "skills"
        {
            "Lumbering"        "1"
            "Planting"        "1"
            "Survival"        "1"
            "Harvesting"        "2"
            "Mining"        "1"
        }
        "name"        "[tec]JooX"
    }
    
    So, it can't be saved, however there's a reason it's being moved to the database. And besides, it means if we ever get rid of stranded for some idiotic reason, we still have the stats saved.
     
  2. Zephyr1551

    Zephyr1551 The Slayer of Bob

    Joined:
    Jul 14, 2008
    Messages:
    1,507
    Likes Received:
    2
  3. angry biker

    angry biker Detective

    Joined:
    Feb 14, 2008
    Messages:
    1,256
    Likes Received:
    3
    Oh god, welsh will loose his mining stats D:
     
  4. Sleepydragn1

    Sleepydragn1 Serious Business Since 08

    Joined:
    May 12, 2008
    Messages:
    1,269
    Likes Received:
    4
    That's alright with me, I understand the reasoning behind the change.
     
  5. Spike111339

    Spike111339 Late '07 Vet

    Joined:
    Feb 23, 2008
    Messages:
    280
    Likes Received:
    0
    Welsh must be pissed off bout this, his 200 and sumthing mining
     
  6. Zeke

    Zeke [BB] Sub Admin Sub Admin

    Joined:
    May 2, 2008
    Messages:
    4,209
    Likes Received:
    12
    Fag, I worked hard on my skillz!
     
  7. Teddi

    Teddi Well-Known Member Bear

    Joined:
    Jul 21, 2007
    Messages:
    9,636
    Likes Received:
    1,118
    It's not something I wanted to do, however for the sake of backing up, and the achivement system, I did it.
     
  8. Whitefang

    Whitefang ( ͡° ͜ʖ ͡°)

    Joined:
    Jul 12, 2008
    Messages:
    4,009
    Likes Received:
    43
    Pfft, that's so easy to save. STOP LYING.
     
  9. Teddi

    Teddi Well-Known Member Bear

    Joined:
    Jul 21, 2007
    Messages:
    9,636
    Likes Received:
    1,118
    Let me give you an idea of how many files there are. This isn't in one file, this is spread across hundreds of files.

    [​IMG]
     
  10. Whitefang

    Whitefang ( ͡° ͜ʖ ͡°)

    Joined:
    Jul 12, 2008
    Messages:
    4,009
    Likes Received:
    43
    Loops ftw
     
  11. Teddi

    Teddi Well-Known Member Bear

    Joined:
    Jul 21, 2007
    Messages:
    9,636
    Likes Received:
    1,118
    No, just no.
     
  12. Overlord

    Overlord lolz to can't say @dmin

    Joined:
    Jun 7, 2008
    Messages:
    1,136
    Likes Received:
    4
    Hmm give me a teasure chest with 1 billion Mining Experience then I'll be happy.

    ---------- Post added at 02:07 PM ---------- Previous post was at 02:06 PM ----------

    So if its being transerred to the database will you have the power to edit levels? or is it saved on the client side?
     
  13. Whitefang

    Whitefang ( ͡° ͜ʖ ͡°)

    Joined:
    Jul 12, 2008
    Messages:
    4,009
    Likes Received:
    43
    Stop thinking it's hard :(
     
  14. Overlord

    Overlord lolz to can't say @dmin

    Joined:
    Jun 7, 2008
    Messages:
    1,136
    Likes Received:
    4
    loops in code is fun
     
  15. pk owner

    pk owner New Member

    Joined:
    Aug 2, 2009
    Messages:
    7
    Likes Received:
    0
    Welsh i feel you
     
  16. Teddi

    Teddi Well-Known Member Bear

    Joined:
    Jul 21, 2007
    Messages:
    9,636
    Likes Received:
    1,118
    I know how easy it is, but with over 1000 files, the chances of it fucking up are pretty big. Along side that I've already changed the table structure and seeing as gameplay will be different now anyways, everyone may as well start fresh.
     
  17. Pot Ducky

    Pot Ducky Hurf Durf,

    Joined:
    Jul 8, 2008
    Messages:
    1,727
    Likes Received:
    14
    Yeah i think its a good idea to start fresh, and in my opinion its more fun when you are lower levels