Jump to content
  • 0

How do I add new equips slots?


Lukas Uchiha

Question

Hey guys.

So I'm having a little difficulty (maybe noob). I'm don't know adding new equipment slots, I saw here in the forum an answer for this, but it does not seem to be consistent with version B5.1. 

In response he said to do so:

Spoiler

<Equipment>
    <WeaponSlot>2</WeaponSlot>
    <ShieldSlot>3</ShieldSlot>
    <Slot0>Helmet</Slot0>
    <Slot1>Armor</Slot1>
    <Slot2>Weapon</Slot2>
    <Slot3>Shield</Slot3>
    <Slot4>Boots</Slot4>
    <Slot5>Gloves</Slot5>
    <Slot6>Ring</Slot6>
    <Slot7>Necklace</Slot7>
    <Slot8>Face</Slot8>
    <Slot9>Back</Slot9>
    <Slot10>Wig</Slot10>
  </Equipment>

 

 

But currently, in version B5.1, it is only thus:

 

Spoiler

"Equipment": {
    "WeaponSlot": 2,
    "ShieldSlot": 3,
    "Slots": [
      "Helmet",
      "Armor",
      "Weapon",
      "Shield"

],

 

If I add more slots, like this:

Spoiler

"Equipment": {
    "WeaponSlot": 2,
    "ShieldSlot": 3,
    "Slots": [
      "Helmet",
      "Armor",
      "Weapon",
      "Shield",
      "Boots",
      "Hair",
      "Ring",
      "Amulet",
      "Acessory"
    ],

 

An error occurs when opening the server

So, what am I doing wrong? What do I need to do to add more equipment slots and also paperdolls?

 

Already grateful!

Link to comment
Share on other sites

7 answers to this question

Recommended Posts

  • 0

Of course

Spoiler

2019-01-06 04:24:32.514 [Error] Received unhandled exception from .
2019-01-06 04:24:32.532 [Error] Message: Invalid property identifier character: <. Path 'Passability', line 22, position 2.
2019-01-06 04:24:32.566 [Error] Stack Trace:    em Newtonsoft.Json.JsonTextReader.ParseProperty()
   em Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(Object newObject, JsonReader reader, JsonObjectContract contract, JsonProperty member, String id)
   em Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue)
   em Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader reader, Type objectType, Boolean checkAdditionalContent)
   em Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader reader, Type objectType)
   em Newtonsoft.Json.JsonConvert.DeserializeObject(String value, Type type, JsonSerializerSettings settings)
   em Newtonsoft.Json.JsonConvert.DeserializeObject[T](String value, JsonSerializerSettings settings)
   em Intersect.Options.LoadFromDisk() na C:\Users\JC Snider\Desktop\AGD\Intersect-Engine\Intersect (Core)\Config\Options.cs:linha 138
   em Intersect.Server.ServerStart.Start(String[] args) na C:\Users\JC Snider\Desktop\AGD\Intersect-Engine\Intersect.Server\Classes\Core\ServerStart.cs:linha 51
2019-01-06 04:24:32.572 [Error] Time: 1/6/2019 4:24:32 AM

--------------------------------------------------------------------------------

 

Link to comment
Share on other sites

  • 0

Yeah, it's here

Spoiler

{
  "GameName": "Intersect",
  "ServerPort": 5400,
  "UseApi": false,
  "ApiPort": 5400,
  "UPnP": true,
  "OpenPortChecker": true,
  "Player": {
    "MaxStat": 255,
    "MaxLevel": 100,
    "MaxInventory": 35,
    "MaxSpells": 35,
    "MaxBank": 100,
    "MaxCharacters": 1,
    "ItemDropChance": 0
  },
  "Passability": {
    "Normal": false,
    "Safe": true,
    "Arena": false
  },
  "Equipment": {
    "WeaponSlot": 2,
    "ShieldSlot": 3,
    "Slots": [
      "Helmet",
      "Armor",
      "Weapon",
      "Shield",
      "Boots",
      "Hair",
      "Ring",
      "Amulet",
      "Acessory"
    ],
    "Paperdoll": {
      "Up": [
        "Player",
        "Armor",
        "Helmet",
        "Weapon",
        "Shield"
        "Boots",
        "Hair",
        "Ring",
        "Amulet",
        "Acessory"
      ],
      "Down": [
        "Player",
        "Armor",
        "Helmet",
        "Weapon",
        "Shield"
        "Boots",
        "Hair",
        "Ring",
        "Amulet",
        "Acessory"
      ],
      "Left": [
        "Player",
        "Armor",
        "Helmet",
        "Weapon",
        "Shield"
        "Boots",
        "Hair",
        "Ring",
        "Amulet",
        "Acessory"
      ],
      "Right": [
        "Player",
        "Armor",
        "Helmet",
        "Weapon",
        "Shield"
        "Boots",
        "Hair",
        "Ring",
        "Amulet",
        "Acessory"
      ]
    },
    "ToolTypes": [
      "Axe",
      "Pickaxe",
      "Shovel",
      "Fishing Rod"
    ]
  },
  "AnimatedSprites": [],
  "Combat": {
    "RegenTime": 3000,
    "MinAttackRate": 500,
    "MaxAttackRate": 200,
    "BlockingSlow": 30,
    "MaxDashSpeed": 200
  },
  "Map": {
    "GameBorderStyle": 0,
    "ItemSpawnTime": 15000,
    "ItemDespawnTime": 15000,
    "ZDimensionVisible": false,
    "Width": 32,
    "Height": 26,
    "TileWidth": 32,
    "TileHeight": 32
  },
  "PlayerDatabase": {
    "Type": "sqlite",
    "Server": "localhost",
    "Port": 3306,
    "Database": "",
    "Username": "",
    "Password": ""
  },
  "GameDatabase": {
    "Type": "sqlite",
    "Server": "localhost",
    "Port": 3306,
    "Database": "",
    "Username": "",
    "Password": ""
  }
}

 

Link to comment
Share on other sites

×
×
  • Create New...