1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Show backpack

Discussion in 'Script Support' started by Piotr, Jun 12, 2018.

  1. Piotr
    Offline

    Piotr Member

    Joined:
    Oct 1, 2016
    Messages:
    41
    Likes Received:
    2
    Hey,

    I'm looking for a script which would allow players to show their backpacks to other players.
    Would work like this:

    - player X uses .showbackpack command
    - player X targets player Y
    - player Y sees the inventory of player X but cannot take, move or use anything inside it

    My need for this command is purely for RPG purpose and I'm not skilled enought to create it myself.
    I actually remember seeing it somewhere, but can't find it now.

    Any help would be much appreciated.
    Thanks!

    Edit: I'm using ServUO
     
    #1 Piotr, Jun 12, 2018
    Last edited: Jun 12, 2018
  2. Rex
    Offline

    Rex Member

    Joined:
    Feb 4, 2015
    Messages:
    100
    Likes Received:
    14
    I think this is a great idea, so I wrote it up for the both of us. This includes a command ShowBackpack and another one ShowBag for showing deeper bags within your main backpack.
     

    Attached Files:

    • Thanks! Thanks! x 1
    • Two Thumbs Up Two Thumbs Up x 1
  3. Piotr
    Offline

    Piotr Member

    Joined:
    Oct 1, 2016
    Messages:
    41
    Likes Received:
    2
    Wow, thanks, mate!
     
  4. CrafterEric
    Online

    CrafterEric New Member

    Joined:
    Aug 29, 2017
    Messages:
    22
    Likes Received:
    1
    ShowBackpack works great, and is a great idea, thanks. But I can't get ShowBag to actually show a bag. It does ask which container, to target the person to show to, and it tells you it did it. Mine just doesn't actually do it.
     
  5. Rex
    Offline

    Rex Member

    Joined:
    Feb 4, 2015
    Messages:
    100
    Likes Received:
    14
    I noticed that too. It’s something with the client where you have to show them your base backpack first and then you can show them the first layer of bags and then once that is open you could show them a deeper layer. But you can’t just show them a bag Nestor three layers deep because the client won’t show it.

    There’s probably a better way to do it by first targeting the deepest bag that you want to show the other person and then recursively checking for all of the parent bags until you get to the main backpack and then open up the main backpack and then the next bag and next bag and final bag in order so that the client can handle actually opening each bag in order so it works. And then there might be a way to close those first couple that you did not target. Basically there’s a limitation in the client.
     
  6. Milva
    Offline

    Admin Moderator

    Joined:
    Mar 3, 2013
    Messages:
    3,769
    Likes Received:
    413
    @Rex you might consider this for a release in custom releases :)
     
  7. CrafterEric
    Online

    CrafterEric New Member

    Joined:
    Aug 29, 2017
    Messages:
    22
    Likes Received:
    1
    @Rex yah, that tests fine, just showing the main backpack to go one level deep. This is a great addition to my shard, thanks for sharing it.
     
Similar Threads: Show backpack
Forum Title Date
Archived Bug Reports Newest SVN and the way houses show their items Apr 14, 2018
Script Support Show item properties on 1 item. Mar 26, 2018
Custom Releases ShowArt Gump Mar 6, 2018
Script Support BodyValue shows different animations in different eras Jan 27, 2018
Archived Bug Reports Champion spawn gold shower is slightly off Jan 11, 2018
Script Support Messing around on a T2A shard. How do I force mobiles to show their newer body values Nov 23, 2017
Script Support ethereals not showing ethereal hue Nov 1, 2017