[mod] Empyrion Backpack Extender

Discussion in 'Empyrion API' started by ASTIC, Jun 7, 2019.

  1. Renainn

    Renainn Ensign

    Joined:
    Aug 14, 2015
    Messages:
    12
    Likes Received:
    1
    Thank you. I will give it a go.
     
    #81
  2. Renainn

    Renainn Ensign

    Joined:
    Aug 14, 2015
    Messages:
    12
    Likes Received:
    1
    So I found the issue. The line I had set up to take advantage of naming id mapping was causing it. So I removed it.
    NameIdMappingFile": "Saves\Games\DediGame\Mods\EmpyrionScripting\NameIdMapping.json

    As I was writing this I noticed the line listed in a previous post and I think I know what I did wrong, not use the double slash marks.
    In either case it works now.

    Thank you.
     
    #82
  3. ASTIC

    ASTIC Rear Admiral

    Joined:
    Dec 11, 2016
    Messages:
    1,122
    Likes Received:
    742
    You have to double \ in a string value to \\ e.g.
    Code:
    "NameIdMappingFile": "Saves\\Games\\DediGame\\Mods\\EmpyrionScripting\\NameIdMapping.json",
    https://www.freeformatter.com/json-escape.html
     
    #83
  4. Renainn

    Renainn Ensign

    Joined:
    Aug 14, 2015
    Messages:
    12
    Likes Received:
    1
    Again, thank you. I have truly not programmed anything for a very long time, all new to me!
     
    #84
    Last edited: Sep 17, 2025
  5. Aaron(Wakfu)

    Aaron(Wakfu) Commander

    Joined:
    Jun 1, 2021
    Messages:
    134
    Likes Received:
    58
    Hi Astic, I implemented this mod on my server and it is working. I used EAW to install it. I am just slightly confused and wanted to clarify before disaster. THe contents of the backpack are saved between wipes? Or i have to do something different / extra to ensure that the VB contents are saved before a wipe?
     
    #85
  6. ASTIC

    ASTIC Rear Admiral

    Joined:
    Dec 11, 2016
    Messages:
    1,122
    Likes Received:
    742
    You have to connect the BackpackMod with the NameIdMapping.json of the EmpyrionScripting
    Code:
    "NameIdMappingFile": "Saves\\Games\\DediGame\\Mods\\EmpyrionScripting\\NameIdMapping.json",
    for the "Name" translastion to make it wipe resistance
     
    #86
  7. Aaron(Wakfu)

    Aaron(Wakfu) Commander

    Joined:
    Jun 1, 2021
    Messages:
    134
    Likes Received:
    58
    Hmm I understand the file and what to put in it, but that location does not contain an EmpyrionScripting folder, the Empyrion Scripting folder is in "Content/Mods/ModLoader/MODs/EmpyrionScripting.

    should I pointit to here instead? (note that I used Empyrion Web Access EWA) to install the backpack and EmpyrionScripting

    The mod has not created any EmpyrionScripting folders at all in /Saves

    I ask this because many times where files are concerned, the SAVE folder is where they should be.
     
    #87
    Last edited: Oct 3, 2025 at 10:52 PM
  8. ASTIC

    ASTIC Rear Admiral

    Joined:
    Dec 11, 2016
    Messages:
    1,122
    Likes Received:
    742
    When the EmpyrionScripting mod is running, it automatically creates a NameIdMapping.json file in the save game directory (along with a few other files).

    For example, you will see the following in any Playfield_....Log file (here it found 4256 block/name combinations)

    Code:
    27-06:45:16.656 07_45 -LOG- {EmpyrionScripting} ReadBlockMappingFile: BlockIdMapping API:[4255]
    27-06:45:16.658 07_45 -LOG- {EmpyrionScripting} ReadBlockMappingFile: BlockIdMapping FileC:\steamcmd\empyrion.server/Saves/Games/DefaultRE\blocksmap.dat:[4255]
    ....
    27-06:45:23.238 07_45 -LOG- {EmpyrionScripting} EmpyrionScripting Configuration_Ecf: #5183 BlockById: #4256 BlockByName: #4256 ParentBlockNames: #2052 BlockIdMapping:[4255] C:\steamcmd\empyrion.server/Saves/Games/DefaultRE\blocksmap.dat takes:00:00:06.5822540
    
     
    #88
  9. Aaron(Wakfu)

    Aaron(Wakfu) Commander

    Joined:
    Jun 1, 2021
    Messages:
    134
    Likes Received:
    58
    I had to uninstall the mod from modloader on EWA. Then manually install it. Then i booted the server and the mod created the files/folders in Saves directory. For some reason installing via EWA didn't work. Thanks for EWA too btw, it is a godsend for remote server operation. I've linked the file now but also backed up the backpack files manually.
     
    #89
    ASTIC likes this.
  10. Aaron(Wakfu)

    Aaron(Wakfu) Commander

    Joined:
    Jun 1, 2021
    Messages:
    134
    Likes Received:
    58

    Does EWA have any admin helper commands ? I can't get EAH to show players on the server even tho it is connected. I wanted to warp to someone and help them out on the server, but trying to use console commands was a nightmare, first of all they were in Delta at Derelict Station Delta, and that sector does not exist when you check sectors in the console, so I couldn't warp to it as admin, and therefore couldnt get on their playfield to then warp to them.
     
    #90
    ASTIC likes this.
  11. ASTIC

    ASTIC Rear Admiral

    Joined:
    Dec 11, 2016
    Messages:
    1,122
    Likes Received:
    742

Share This Page