[mod] Virtual Backpack

Discussion in 'Empyrion API' started by Xango2000, Oct 31, 2017.

Tags:
  1. Xango2000

    Xango2000 Captain

    Joined:
    Jun 15, 2016
    Messages:
    385
    Likes Received:
    202
    Wipe safe storage that also preserves food.

    Player types
    /vb1
    in chat and a window pops up with 49 slots of inventory space.
    [​IMG]

    When this window is closed it's contents are saved in a Text file that server staff can edit.

    Download link is on the modding forum
    https://empyrionmods.us/

    Version 2.0 (not yet released)
    Capable of handling multiple VirtalBackpacks,
    Forbidden playfields,
    Renamable commands,
    Superstacking possible

    Mod cost
    All previous versions, free
    V2.0 = 125 (POIs preferred)

    See link for details
    https://steamcommunity.com/app/383120/discussions/0/1743357605565329662/
     
    #1
    Last edited: May 26, 2019
    Ballard, JPA, Ratan Kabidge and 8 others like this.
  2. ECubed

    ECubed Commander

    Joined:
    Sep 29, 2016
    Messages:
    48
    Likes Received:
    46
    That is pretty creative Xango. Kudos sir.
     
    #2
  3. SilvRav

    SilvRav Moderator

    • Moderator
    Joined:
    Jan 13, 2017
    Messages:
    539
    Likes Received:
    882
    sweet, sub...keen to see it
     
    #3
  4. Xango2000

    Xango2000 Captain

    Joined:
    Jun 15, 2016
    Messages:
    385
    Likes Received:
    202
    Added a screenshot.
    Was going to add the links but figured I'd fix this one very odd bug first.

    The first time (first time ever only) a player says /backpack the window won't open... Works every time after that.

    I see the cause but fixing it breaks the mod for some odd reason that I'm still trying to track down.

    Edit: old bug, fixed it ages ago.
     
    #4
    Last edited: Jun 2, 2019
    SilvRav likes this.
  5. Xango2000

    Xango2000 Captain

    Joined:
    Jun 15, 2016
    Messages:
    385
    Likes Received:
    202
    added a few links to the original post
    mod still has that one minor bug that I havent been able to solve directly yet

    KNOWN BUG:
    First time any user does /backpack nothing happens in-game, just have then do it again. Only happens once per player.

    Edit: old bug, fixed ages ago
     
    #5
    Last edited: Jun 2, 2019
  6. Xango2000

    Xango2000 Captain

    Joined:
    Jun 15, 2016
    Messages:
    385
    Likes Received:
    202
    Btw, if anyone wants to see what it's like in-game, Unknown Skies has it installed.
     
    #6
  7. Tryst

    Tryst Captain

    Joined:
    Dec 8, 2016
    Messages:
    49
    Likes Received:
    39
    Nice mod. Does this work in SP too?
     
    #7
  8. Xango2000

    Xango2000 Captain

    Joined:
    Jun 15, 2016
    Messages:
    385
    Likes Received:
    202
    Mods don't work in single player.
    You can create a private multiplayer game in order to use mods though.

    That is as easy as clicking the arrow next to "create game" on the difficulty screen when you start a new game.
     
    #8
  9. Xango2000

    Xango2000 Captain

    Joined:
    Jun 15, 2016
    Messages:
    385
    Likes Received:
    202
    I'm working on a variation that operates like a mailbox.

    It will work like this... Eventually:
    /Send Xango here's that stuff you wanted
    A window pops up with the recipient's full name, the message and 35 slots for items being sent.
    When that window is closed the message is posted to the recipient's inbox with an alert going to the recipient telling them they have new mail if they are online.

    Recipient then does /inbox
    And a window pops up that says the sender's name, the message and up to 35 slots of inventory.

    There are a few additional things going on but these are the basics. I'll be adding a way for admin to set cost per item sent and/or cost per message, a way to save unretrieved items for later (exploitable so I may postpone this), and a way to reply to the last message the recipient closed.
     
    #9
    Last edited: Nov 9, 2017
    Hicks42 likes this.
  10. Xango2000

    Xango2000 Captain

    Joined:
    Jun 15, 2016
    Messages:
    385
    Likes Received:
    202
    I wish I had the Backpack mod posted on a site that tracks downloads, I'm curious if anyone other than Unknown Skies is using it.
     
    #10
  11. Undead Rufus

    Undead Rufus Ensign

    Joined:
    Aug 21, 2016
    Messages:
    19
    Likes Received:
    17
    FWIW, I use it on a local server, and it's fabulous.
     
    #11
    Mortlath likes this.
  12. Geokhan

    Geokhan Ensign

    Joined:
    Nov 21, 2017
    Messages:
    2
    Likes Received:
    0
    I am currently using it on my 20 slot server running version 7.3.1 I also credited you in the description.
     
    #12
  13. Xango2000

    Xango2000 Captain

    Joined:
    Jun 15, 2016
    Messages:
    385
    Likes Received:
    202
    Mortlath told me why backpack shows up blank after player uses EAH's virtual autominer. It will be fixed soon.

    Edit: old bug, fixed ages ago
     
    #13
    Last edited: Jun 2, 2019
  14. SixxGunZ

    SixxGunZ Commander

    Joined:
    May 22, 2017
    Messages:
    98
    Likes Received:
    35
    I'm actually trying to test this out for my server - ( https://WorldWarGaming.Net server info is posted on the site - or just search for WWG in multiplayer servers). My issue is that I cannot get it to work at all, not even after the first time. I've tried multiple methods, using the provided download link above, and even building your solution that you posted (updated the sql package in my solution as the current version you are using I can't seem to obtain). I cannot seem to get it to work even after using the /backpack commands multiple times. The log files are filling in correctly, player says this and that, so I know it recognizes the mod. Any ideas?
    At the moment I am only using EAH admin helper, no auto miner, basic cb commands and no other mods.

    Dedi specs -
    OverClocked Intel i7-7700K
    4c/8t - 4.7GHz /5GHz
    64GB DDR4 2400 MHz
    SoftRaid 2x450GB NVMe
    Windows Server 2016
     
    #14
  15. Xango2000

    Xango2000 Captain

    Joined:
    Jun 15, 2016
    Messages:
    385
    Likes Received:
    202
    what folder are you putting it in?
     
    #15
  16. SixxGunZ

    SixxGunZ Commander

    Joined:
    May 22, 2017
    Messages:
    98
    Likes Received:
    35
    Content/mods/xango

    Ive used mods before in the past, not many but the few that worked from the forums here with no issues. With your mod Ive tried my live server and my test server on my other machine. I currently host a handful of games for my community on 2 seperate dedicated servers. I have basic VS knowledge, mainly in C++, and have hosted games for the last 12 years so i do know my way around alot of this, but if im doing something wrong here i cant figure it out. Ive spent the last 2 weeks trying to figure this out.
     
    #16
    Last edited: Dec 1, 2017
  17. SixxGunZ

    SixxGunZ Commander

    Joined:
    May 22, 2017
    Messages:
    98
    Likes Received:
    35
    Im more then willing to use team viewer, even give you access to one of my dedi's for testing. Im on central us time if it helps.
     
    #17
  18. SixxGunZ

    SixxGunZ Commander

    Joined:
    May 22, 2017
    Messages:
    98
    Likes Received:
    35
    Well, I'm not sure what happened, but after testing with EAH running and running without about 15 times give or take your's finally worked. Kinda irritates me I couldn't get ur solution to build though, it's not ur fault and i might not be getting the correct sql library. When I went to add it to the project I couldnt find the revision you used so I updated the solution with the latest version. One thing I'd like to try adding to your mod is an option to charge players credits for a one time purchase to use the mod. Each time you used the command it would check to see if you've paid, if so it opens backpack, if not gives option to purchase.
     
    #18
  19. Xango2000

    Xango2000 Captain

    Joined:
    Jun 15, 2016
    Messages:
    385
    Likes Received:
    202
    oh
    I actually freed up a few hours today so I could offer to help.
     
    #19
  20. Xango2000

    Xango2000 Captain

    Joined:
    Jun 15, 2016
    Messages:
    385
    Likes Received:
    202
    wait, The latest version?
    the one that includes Backpack, Mailbox (Send and Inbox), Find Player and Asteroid Regeneration (both automated and Manual)?
     
    #20

Share This Page