1. These forums are still being retired! Please use GitHub discussions or Discord. You cannot create new threads or new accounts now. If you need to contact some user of the forums, you should do it sooner, rather than later. This notice was last updated on May 30th, 2021.

SSC

Discussion in 'Help and Support' started by Crazylike, May 16, 2014.

  1. Crazylike

    Crazylike Level 0

    Joined:
    May 16, 2014
    Messages:
    2
    Hey!

    Thanks a lot for updating TShock, its awesome.

    However, character inventories doesnt want to save on my server. SSC is enabled, SSC save is set to 1 minute. With superadmin, I have picked up stuff, waited for 10mins ish, left the server and joined again and everything is cleared out.

    I am wondering if someone else has the same issue or if I have failed to realize how it works, or done something else cantaloupe. Havent used TShock in years.

    Thanks.

    Edit: Btw, tried connecting to the server with a character that has lots of stuff, it gets cleared when joining the server and is still there in singleplayer like intended, so that part of SSC works.

    Edit2: /savessc tells me that SSC is saved, but even that doesnt save items on inventory.

    Edit3: Tried setting up the server again, from scratch, still not working. *shrug* (in a different location too)

    This thing is killing me right now, cant figure this out!

    Tried to disable UUIDLogins too, but still wont save.

    Tested with another character from a different computer (because why the hell not) that is not an superadmin, still not saving.

    Also running the server in administrator mode.

    Apparently, more ppl have this issue atm after reading the shoutbox.
     
    • Like Like x 1
  2. rickroll

    rickroll Level 0

    Joined:
    May 12, 2014
    Messages:
    1
    Have tha same problem.
     
  3. AquaBlitz11

    Plugin Developer

    Joined:
    Aug 20, 2013
    Messages:
    92
  4. Crazylike

    Crazylike Level 0

    Joined:
    May 16, 2014
    Messages:
    2
    Can confirm that it works now, thanks!
     
  5. Enerdy

    Enerdy Satellite Admin
    TShock Mod Plugin Developer Zero Day Plugin Author

    Joined:
    Nov 14, 2012
    Messages:
    506
    I love nyah cat links. And I do know they get auto-parsed to that : 3.
     
    • Like Like x 1
  6. onedementedsmurf

    Joined:
    May 18, 2014
    Messages:
    6
    I am having this same issue and the above provided link isn't working for me. Is there anywhere else I can obtain the required files and reading materials to fix it?
     
  7. Wight

    Wight Administrator
    TShock Admin TShock Mod Plugin Developer Zero Day Plugin Author

    Joined:
    May 20, 2012
    Messages:
    1,598
    Please download the latest release on the front page
     
  8. onedementedsmurf

    Joined:
    May 18, 2014
    Messages:
    6
    I've done that and am still having said issue...
     
  9. pink_panther

    pink_panther Level 9

    Joined:
    Oct 14, 2013
    Messages:
    370
    I had an issue where a appro 188 Characters had been created on a version of tshock that was buggy, which created a "User" row, but not a respective row in "tcCharacters".

    After installing the update, the effected users were still not saving, but NEW characters were working fine, as well as any users created BEFORE the issue.

    After realising this issue, I had to delete the effected users and have them re-register.

    If you want to go down my path, you can run these two SQL queuries to "fix" them:

    delete from users where users.id in (select users.id from users left outer join tscharacter on tscharacter.account = users.id where tscharacter.account is null);

    delete from tscharacter where account in (select tscharacter.account from tscharacter left outer join users on users.id = tscharacter.account where users.id is null);

    This will delete any users accounts that do not have a respective row in the tsCharacters table.
     
  10. onedementedsmurf

    Joined:
    May 18, 2014
    Messages:
    6
    Well, doing that will erase all users including SA, which I have no qualms with, but perhaps you guys could point me in the direction of making a central database for multiple servers (if possible) so I won't have to copy-paste everything around any time there's a new user.
     
  11. AquaBlitz11

    Plugin Developer

    Joined:
    Aug 20, 2013
    Messages:
    92
    You can use SQL database. Go set it up and you will find configuration for Tshock. Change 'sqlite' to 'mysql' and provide the information about database connection there, and tadah! Your server has SQL database to work with.
     
  12. pink_panther

    pink_panther Level 9

    Joined:
    Oct 14, 2013
    Messages:
    370

     
  13. Olink

    Olink Admin note: Actually a really nice person now

    Joined:
    Jul 21, 2011
    Messages:
    1,397
    The apparent issue is that a rogue build got out where it wouldnt insert new characters info when accounts were made, resulting in a desync between the SSC table and the registered users table. This results in it being broken forever for those players. pink_panthers fix is what to do to fix it as the bug only exists in your database and not in our software anymore.

    As for multiple servers using one database, the only solution is mysql which you can find guides on the forums for. But using multiple servers on one database is an iffy situation as we do not support that functionality, and neither do most plugins.