1. This forum is ARCHIVED! Visit the new Cloud Sixteen forums, codename Eden, at https://eden.cloudsixteen.com. These forums will remain archived for a few months before being closed down, so try to encourage plugin developers to begin moving their content across to the new forums.
Dismiss Notice
Hi Guest, you need a Steam account to register and post on these forums. Login with Steam at the top of the forums to get started!
Dismiss Notice
Hi Guest, do you want to buy HL2RP or another Clockwork schema? Visit the Cloud Sixteen Store to get started!

Resetting Items

Discussion in 'Discussion' started by sants1, Jun 23, 2013.

  1. sants1

    sants1 I'm an asshole. That's all.

    How can I reset items in my Metro 2033 server?

    The economy totally flunked and we need an item reset.
     
  2. Datzy

    Datzy Guest

    delete all the characters on the sql
     
  3. That's not how you delete items, that's how you delete characters, who happen to have items.

    Very different things.
     
  4. Go through your SQL database and individually remove the items from each character, I'd talk you through it but you have a tendency to ignore me.
     
  5. This is also very bad advice.

    Not only will this be EXTREMELY time consuming, but you can use a simple lua script to remove items. No need for SQL at all.
     
  6. Unless you can provide one for FayZ, he's going to need to go through the database himself.
     
  7. sants1

    sants1 I'm an asshole. That's all.

    Ya, I have no clue where to start with that.

    "go into mysql and delete"

    yep thanks.
     
  8. I recall you calling yourself a coder.
    It's not too hard, empty the Inventory table.
     
  9. Lone

    Lone i'm the coolest kid on the block

    It's not that hard, you don't even have to do it manually. Just shift-click and replace the entire inventory column in the characters table with the empty inventory preset. I personally wouldn't blank out the entire line, as I recall that causing problems back in Nexus.
     
  10. sants1

    sants1 I'm an asshole. That's all.

    How to get into mysql.

    LOL sorry I have no idea how to do this, just because you can code doesn't mean you know how to do this...
     
  11. I rarely recommend messing with SQL at all, but whatever, try executing this as an SQL query.

    Code:
    UPDATE characters SET _Inventory = ''
     
  12. sants1

    sants1 I'm an asshole. That's all.

    where to put that lol.
     
  13. Execute it as an SQL query.
     
  14. sants1

    sants1 I'm an asshole. That's all.

    how to execute as sql query
     
  15. Silverdisc

    Silverdisc Maelstromgaming TLOU RP coder

    I dunno if you rent a server or anything, but if you've got remote access to your database, you can use a client like SQLyog, navicat, MySQL query browser (free I believe). If you don't have remote access, you can probably access it through phpMyAdmin at your server control panel.
     

Previous Readers (Total: 0)