317 GodzHell Reborn and remastered

Started converting the old dialogue system to the one from my 213 release more smooth Dialogues
 

Attachments

  • Screenshot_25.png
    Screenshot_25.png
    495.5 KB · Views: 0
  • Screenshot_26.png
    Screenshot_26.png
    248.5 KB · Views: 0
  • Screenshot_27.png
    Screenshot_27.png
    463.2 KB · Views: 0
love and peace GIF by Funimation

Happy Good News GIF by South Park

Season 12 Christmas GIF by PBS
 
  • Like
Reactions: JayArrowz
Did some more work on the Region System looks like i was loading everything when you load into a region for the clipping now the server loads all regions once the server boots up like it should be, also did some work to the stall system for theving now has the current face value from the region system so it can empty now.Screenshot_17.png
 
  • Like
Reactions: JayArrowz
Updated the characters saving to be json loading and saving
JSON:
{
  "username": "sgsrocks",
  "password": "",
  "displayName": "sgsrocks",
  "heightLevel": 0,
  "absX": 3168,
  "absY": 3306,
  "rights": 9,
  "runEnergy": 100,
  "runningToggled": true,
  "daysPlayed": 26,
  "hoursPlayed": 18,
  "minutesPlayed": 16,
  "secondsPlayed": 43.0,
  "amDonated": 0,
  "hasFirstFloorDone": true,
  "hasSecondFloorDone": true,
  "hasThirdFloorDone": true,
  "hasFourthFloorDone": false,
  "skullTimer": 0,
  "playerIsMember": 1,
  "playerHasDonated": 0,
  "jailed": 0,
  "playerMessages": 0,
  "playerLastConnect": "",
  "playerUID": 1,
  "macAddress": "",
  "uuid": "",
  "countryCode": "United States",
  "playerLastLogin": 20241005,
  "playerEnergy": 100,
  "playerGameTime": 151,
  "playerGameCount": 66261,
  "prestigeLevel": 1,
  "slayerTask": {
    "value": {
      "names": [
        "ghost"
      ],
      "level": 1,
      "experience": 8,
      "minimum": 15,
      "maximum": 50,
      "teleport": [
        2901,
        9849,
        0
      ],
      "locations": [
        "Taverly Dungeon"
      ]
    }
  },
  "slayerMaster": 8461,
  "slayerTaskAmount": 5,
  "slayerPoints": 0,
  "slayerRecipe": false,
  "slayerHelmet": false,
  "slayerImbuedHelmet": false,
  "biggerBossTasks": false,
  "cerberusRoute": false,
  "superiorSlayer": false,
  "playerEquipment": [
    -1,
    -1,
    -1,
    1303,
    1127,
    1175,
    -1,
    1093,
    -1,
    -1,
    -1,
    -1,
    -1,
    888
  ],
  "playerEquipmentN": [
    0,
    0,
    0,
    1,
    1,
    1,
    0,
    1,
    0,
    0,
    0,
    0,
    0,
    0
  ],
  "playerAppearance": [
    0,
    316,
    18,
    26,
    33,
    36,
    42,
    10,
    17,
    0,
    0,
    0,
    0
  ],
  "playerColor": [
    17,
    0,
    0,
    0,
    0
  ],
  "playerLevel": [
    94,
    60,
    54,
    89,
    73,
    64,
    76,
    1,
    79,
    1,
    1,
    89,
    29,
    1,
    69,
    1,
    1,
    91,
    23,
    1,
    1,
    1,
    1,
    1,
    1
  ],
  "playerXP": [
    4354800,
    139600,
    81900,
    4527855,
    545700,
    222813,
    685960,
    0,
    977350,
    0,
    0,
    2653700,
    6360,
    0,
    361950,
    3,
    0,
    3248725,
    3200,
    0,
    0,
    0,
    0,
    0,
    0
  ],
  "playerItems": [
    1041,
    1041,
    1041,
    1041,
    1041,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0
  ],
  "playerItemsN": [
    1,
    1,
    1,
    1,
    1,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0
  ],
  "bankItems": [
    996,
    1384,
    1382,
    1386,
    1388,
    580,
    578,
    1012,
    392,
    556,
    566,
    557,
    558,
    561,
    562,
    563,
    564,
    567,
    559,
    862,
    860,
    2578,
    2582,
    893,
    1100,
    1136,
    1039,
    1041,
    1045,
    1043,
    1047,
    1049,
    1051,
    1054,
    1056,
    1058,
    12312,
    1378,
    4098,
    6529,
    4092,
    4094,
    4096,
    4090,
    1516,
    1512,
    1522,
    6200,
    14606,
    1326,
    4727,
    1352,
    1186,
    9950,
    19538,
    9808,
    1314,
    1328,
    1324,
    10427,
    10409,
    1306,
    1334,
    3102,
    10415,
    7395,
    5699,
    7391,
    1114,
    1948,
    4588,
    3009,
    441,
    1726,
    1276,
    3480,
    555,
    560,
    565,
    4152,
    1784,
    1926,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0
  ],
  "bankItemsN": [
    2146897402,
    1,
    1,
    4,
    2,
    3,
    1,
    1,
    156,
    65,
    196,
    78,
    95,
    99,
    116,
    101,
    109,
    101,
    98,
    1,
    9,
    1,
    1,
    9,
    1,
    1,
    3,
    1,
    7,
    7,
    7,
    8,
    3,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    29,
    1,
    4,
    19,
    1,
    1,
    2,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    2,
    2,
    1,
    1,
    1,
    2,
    13,
    22,
    1,
    1,
    1,
    84,
    100,
    100,
    1,
    25,
    3,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0
  ],
  "bankItems2": [
    1914,
    6190,
    996,
    949,
    1624,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1
  ],
  "bankItemsN2": [
    1,
    1,
    15792990,
    1,
    1,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0
  ],
  "bankItems3": [
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1
  ],
  "bankItemsN3": [
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0
  ],
  "friends": [
    103187682,
    1813643468,
    841860227,
    3670188203793722808,
    1340110196,
    40064653337306,
    75167582474008814,
    19027474153,
    70373117691470,
    7752026,
    1112671747,
    1462749351755475,
    1828833603151114457,
    994452,
    12371,
    620207,
    1742570196967747,
    904060418,
    3483513750641510703,
    5245700586023,
    5626592,
    46196000590963,
    2853870879144093842,
    1255030,
    50169619841,
    78170376841130891,
    28236975793785,
    36582,
    26631070729423,
    128493591943932306,
    1712037074473092762,
    887811506999,
    31148828428,
    31148828427,
    721871,
    19265988,
    1141999871380830231,
    36598077243570,
    103187682,
    2358746385993920907,
    973435421553041,
    31808,
    442965871428725,
    43191104,
    765940497,
    615578,
    2118053984432735,
    70373117691470,
    3434549465470836896,
    31180911869,
    31180911870,
    57244702281165,
    2899615904688414480,
    243059457,
    1858363734759,
    1747408714632,
    67974644402595,
    1346135,
    10142,
    26023415446404,
    291038270440120797,
    1709804858,
    525097215688565,
    1919259716577,
    1543252488,
    6052701,
    3661415893854384619,
    141286479,
    5226765153235,
    3032924997743,
    48791908850,
    22951341,
    215055,
    14200736,
    57100342085,
    9796756002876747,
    105161291157319,
    1539785403660,
    117518283325310080,
    4348177133587898744,
    45781227797058,
    21588921974,
    15497971449303,
    39358755,
    25711210600,
    4798,
    375534,
    558705,
    20672114,
    279969842,
    1813643468,
    50651079411530,
    445095479,
    1874051028342780,
    774916,
    3250990049577154,
    2127856867410,
    1240031594510388,
    1223061,
    765439998,
    1295506,
    14096140258029,
    671255,
    31157994273,
    323279268220974,
    24019328499,
    38568877,
    42663902862706,
    52591553641,
    234465623,
    232591462,
    762971012615,
    1020628,
    23266624,
    236166226279,
    11343737184293,
    1974062982180816,
    8268965549,
    49419114150,
    13894,
    25280306,
    963862150125656,
    64525515431,
    1163143897416,
    3312158307757,
    26061,
    125989,
    37168500147935,
    13393155,
    9190057969,
    24439810,
    23342519,
    1402650076,
    5786494388926676,
    91570452602777926,
    1170314916989480221,
    73703594068787643,
    5737319676571782,
    1901976213517,
    51697894953,
    108126855023584,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0
  ],
  "ignores": [
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0
  ],
  "consecutiveTasks": 0,
  "loyaltyRank": 0
}
 
  • Like
Reactions: JayArrowz
Updated the characters saving to be json loading and saving
JSON:
{
  "username": "sgsrocks",
  "password": "",
  "displayName": "sgsrocks",
  "heightLevel": 0,
  "absX": 3168,
  "absY": 3306,
  "rights": 9,
  "runEnergy": 100,
  "runningToggled": true,
  "daysPlayed": 26,
  "hoursPlayed": 18,
  "minutesPlayed": 16,
  "secondsPlayed": 43.0,
  "amDonated": 0,
  "hasFirstFloorDone": true,
  "hasSecondFloorDone": true,
  "hasThirdFloorDone": true,
  "hasFourthFloorDone": false,
  "skullTimer": 0,
  "playerIsMember": 1,
  "playerHasDonated": 0,
  "jailed": 0,
  "playerMessages": 0,
  "playerLastConnect": "",
  "playerUID": 1,
  "macAddress": "",
  "uuid": "",
  "countryCode": "United States",
  "playerLastLogin": 20241005,
  "playerEnergy": 100,
  "playerGameTime": 151,
  "playerGameCount": 66261,
  "prestigeLevel": 1,
  "slayerTask": {
    "value": {
      "names": [
        "ghost"
      ],
      "level": 1,
      "experience": 8,
      "minimum": 15,
      "maximum": 50,
      "teleport": [
        2901,
        9849,
        0
      ],
      "locations": [
        "Taverly Dungeon"
      ]
    }
  },
  "slayerMaster": 8461,
  "slayerTaskAmount": 5,
  "slayerPoints": 0,
  "slayerRecipe": false,
  "slayerHelmet": false,
  "slayerImbuedHelmet": false,
  "biggerBossTasks": false,
  "cerberusRoute": false,
  "superiorSlayer": false,
  "playerEquipment": [
    -1,
    -1,
    -1,
    1303,
    1127,
    1175,
    -1,
    1093,
    -1,
    -1,
    -1,
    -1,
    -1,
    888
  ],
  "playerEquipmentN": [
    0,
    0,
    0,
    1,
    1,
    1,
    0,
    1,
    0,
    0,
    0,
    0,
    0,
    0
  ],
  "playerAppearance": [
    0,
    316,
    18,
    26,
    33,
    36,
    42,
    10,
    17,
    0,
    0,
    0,
    0
  ],
  "playerColor": [
    17,
    0,
    0,
    0,
    0
  ],
  "playerLevel": [
    94,
    60,
    54,
    89,
    73,
    64,
    76,
    1,
    79,
    1,
    1,
    89,
    29,
    1,
    69,
    1,
    1,
    91,
    23,
    1,
    1,
    1,
    1,
    1,
    1
  ],
  "playerXP": [
    4354800,
    139600,
    81900,
    4527855,
    545700,
    222813,
    685960,
    0,
    977350,
    0,
    0,
    2653700,
    6360,
    0,
    361950,
    3,
    0,
    3248725,
    3200,
    0,
    0,
    0,
    0,
    0,
    0
  ],
  "playerItems": [
    1041,
    1041,
    1041,
    1041,
    1041,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0
  ],
  "playerItemsN": [
    1,
    1,
    1,
    1,
    1,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0
  ],
  "bankItems": [
    996,
    1384,
    1382,
    1386,
    1388,
    580,
    578,
    1012,
    392,
    556,
    566,
    557,
    558,
    561,
    562,
    563,
    564,
    567,
    559,
    862,
    860,
    2578,
    2582,
    893,
    1100,
    1136,
    1039,
    1041,
    1045,
    1043,
    1047,
    1049,
    1051,
    1054,
    1056,
    1058,
    12312,
    1378,
    4098,
    6529,
    4092,
    4094,
    4096,
    4090,
    1516,
    1512,
    1522,
    6200,
    14606,
    1326,
    4727,
    1352,
    1186,
    9950,
    19538,
    9808,
    1314,
    1328,
    1324,
    10427,
    10409,
    1306,
    1334,
    3102,
    10415,
    7395,
    5699,
    7391,
    1114,
    1948,
    4588,
    3009,
    441,
    1726,
    1276,
    3480,
    555,
    560,
    565,
    4152,
    1784,
    1926,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0
  ],
  "bankItemsN": [
    2146897402,
    1,
    1,
    4,
    2,
    3,
    1,
    1,
    156,
    65,
    196,
    78,
    95,
    99,
    116,
    101,
    109,
    101,
    98,
    1,
    9,
    1,
    1,
    9,
    1,
    1,
    3,
    1,
    7,
    7,
    7,
    8,
    3,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    29,
    1,
    4,
    19,
    1,
    1,
    2,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    2,
    2,
    1,
    1,
    1,
    2,
    13,
    22,
    1,
    1,
    1,
    84,
    100,
    100,
    1,
    25,
    3,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0
  ],
  "bankItems2": [
    1914,
    6190,
    996,
    949,
    1624,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1
  ],
  "bankItemsN2": [
    1,
    1,
    15792990,
    1,
    1,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0
  ],
  "bankItems3": [
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1
  ],
  "bankItemsN3": [
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0
  ],
  "friends": [
    103187682,
    1813643468,
    841860227,
    3670188203793722808,
    1340110196,
    40064653337306,
    75167582474008814,
    19027474153,
    70373117691470,
    7752026,
    1112671747,
    1462749351755475,
    1828833603151114457,
    994452,
    12371,
    620207,
    1742570196967747,
    904060418,
    3483513750641510703,
    5245700586023,
    5626592,
    46196000590963,
    2853870879144093842,
    1255030,
    50169619841,
    78170376841130891,
    28236975793785,
    36582,
    26631070729423,
    128493591943932306,
    1712037074473092762,
    887811506999,
    31148828428,
    31148828427,
    721871,
    19265988,
    1141999871380830231,
    36598077243570,
    103187682,
    2358746385993920907,
    973435421553041,
    31808,
    442965871428725,
    43191104,
    765940497,
    615578,
    2118053984432735,
    70373117691470,
    3434549465470836896,
    31180911869,
    31180911870,
    57244702281165,
    2899615904688414480,
    243059457,
    1858363734759,
    1747408714632,
    67974644402595,
    1346135,
    10142,
    26023415446404,
    291038270440120797,
    1709804858,
    525097215688565,
    1919259716577,
    1543252488,
    6052701,
    3661415893854384619,
    141286479,
    5226765153235,
    3032924997743,
    48791908850,
    22951341,
    215055,
    14200736,
    57100342085,
    9796756002876747,
    105161291157319,
    1539785403660,
    117518283325310080,
    4348177133587898744,
    45781227797058,
    21588921974,
    15497971449303,
    39358755,
    25711210600,
    4798,
    375534,
    558705,
    20672114,
    279969842,
    1813643468,
    50651079411530,
    445095479,
    1874051028342780,
    774916,
    3250990049577154,
    2127856867410,
    1240031594510388,
    1223061,
    765439998,
    1295506,
    14096140258029,
    671255,
    31157994273,
    323279268220974,
    24019328499,
    38568877,
    42663902862706,
    52591553641,
    234465623,
    232591462,
    762971012615,
    1020628,
    23266624,
    236166226279,
    11343737184293,
    1974062982180816,
    8268965549,
    49419114150,
    13894,
    25280306,
    963862150125656,
    64525515431,
    1163143897416,
    3312158307757,
    26061,
    125989,
    37168500147935,
    13393155,
    9190057969,
    24439810,
    23342519,
    1402650076,
    5786494388926676,
    91570452602777926,
    1170314916989480221,
    73703594068787643,
    5737319676571782,
    1901976213517,
    51697894953,
    108126855023584,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0
  ],
  "ignores": [
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0
  ],
  "consecutiveTasks": 0,
  "loyaltyRank": 0
}
show a example character file with a password?
 
Heres the code changes
Java:
    public int loadGame(String playerName, String playerPass) {
        String filePath = "./Data/characters/" + playerName + ".json";
        Gson gson = new Gson();
        PlayerData playerData;

        try (FileReader reader = new FileReader(filePath)) {
 
            playerData = gson.fromJson(reader, PlayerData.class);

            if (!playerName.equalsIgnoreCase(playerData.getUsername()) ||
                    !playerPass.equalsIgnoreCase(playerData.getPassword())) {
                return 2;
            }

            this.playerName = playerData.getUsername();
            this.playerPass = playerData.getPassword();
            this.displayName = playerData.getDisplayName();
            this.heightLevel = playerData.getHeightLevel();
            this.teleportToX = (playerData.getAbsX() <= 0 ? 3210 : playerData.getAbsX());
            this.teleportToY = (playerData.getAbsY() <= 0 ? 3424 : playerData.getAbsY());
            this.setRights(Rights.get(playerData.getRights()));
            this.runEnergy = playerData.getRunEnergy();
            this.runningToggled = playerData.isRunningToggled();
            this.daysPlayed = playerData.getDaysPlayed();
            this.hoursPlayed = playerData.getHoursPlayed();
            this.minutesPlayed = playerData.getMinutesPlayed();
            this.secondsPlayed = playerData.getSecondsPlayed();
            this.amDonated = playerData.getAmDonated();
            this.hasfirstfloorDone = playerData.isHasFirstFloorDone();
            this.hassecoundfloorDone = playerData.isHasSecondFloorDone();
            this.hasthirdfloorDone = playerData.isHasThirdFloorDone();
            this.hasfourthfloorDone = playerData.isHasFourthFloorDone();
            this.skullTimer = playerData.getSkullTimer();

            if (playerData.getSlayerTask().isPresent()) {
                this.getSlayer().setTask(playerData.getSlayerTask());
                this.getSlayer().setTaskAmount(playerData.getSlayerTaskAmount());
            }
            this.getSlayer().setMaster(playerData.getSlayerMaster());
            this.getSlayer().setConsecutiveTasks(playerData.getConsecutiveTasks());

            this.playerIsMember = playerData.getPlayerIsMember();
            this.playerHasDonated = playerData.getPlayerHasDonated();
            this.jailed = playerData.getJailed();
            this.playerMessages = playerData.getPlayerMessages();
            this.playerLastConnect = playerData.getPlayerLastConnect();
            this.playerUID = playerData.getPlayerUID();
            this.macAddress = playerData.getMacAddress();
            this.uuid = playerData.getUuid();
            this.countryCode = playerData.getCountryCode();
            this.playerLastLogin = playerData.getPlayerLastLogin();
            this.playerEnergy = playerData.getPlayerEnergy();
            this.playerGameTime = playerData.getPlayerGameTime();
            this.playerGameCount = playerData.getPlayerGameCount();
            this.loyaltyRank = playerData.getLoyaltyRank();
            this.prestigeLevel = playerData.getPrestigeLevel();


            this.playerEquipment = playerData.getPlayerEquipment();
            this.playerEquipmentN = playerData.getPlayerEquipmentN();
            this.playerAppearance = playerData.getPlayerAppearance();
            this.playerColor = playerData.getPlayerColor();
            this.playerLevel = playerData.getPlayerLevel();
            this.playerXP = playerData.getPlayerXP();
            this.playerItems = playerData.getPlayerItems();
            this.playerItemsN = playerData.getPlayerItemsN();
            this.bankItems = playerData.getBankItems();
            this.bankItemsN = playerData.getBankItemsN();
            this.bankItems2 = playerData.getBankItems2();
            this.bankItemsN2 = playerData.getBankItemsN2();
            this.bankItems3 = playerData.getBankItems3();
            this.bankItemsN3 = playerData.getBankItemsN3();
            this.friends = playerData.getFriends();
            this.ignores = playerData.getIgnores();

            return 1;

        } catch (FileNotFoundException e) {
            System.out.println(playerName + ": character file not found.");
            return 3;
        } catch (IOException e) {
            System.out.println(playerName + ": error loading file.");
            return 3;
        } catch (JsonSyntaxException e) {
            System.out.println(playerName + ": invalid JSON format.");
            return 3;
        }
    }

    public boolean savechar() {
        PlayerData playerData = new PlayerData();
        playerData.setUsername(playerName);
        playerData.setPassword(playerPass);
        playerData.setDisplayName(displayName);
        playerData.setHeightLevel(heightLevel);
        playerData.setAbsX(absX);
        playerData.setAbsY(absY);
        playerData.setRights(getRights().getValue());
        playerData.setRunEnergy(runEnergy);
        playerData.setRunningToggled(runningToggled);
        playerData.setDaysPlayed(daysPlayed);
        playerData.setHoursPlayed(hoursPlayed);
        playerData.setMinutesPlayed(minutesPlayed);
        playerData.setSecondsPlayed(secondsPlayed);
        playerData.setAmDonated(amDonated);
        playerData.setHasFirstFloorDone(hasfirstfloorDone);
        playerData.setHasSecondFloorDone(hassecoundfloorDone);
        playerData.setHasThirdFloorDone(hasthirdfloorDone);
        playerData.setHasFourthFloorDone(hasfourthfloorDone);
        playerData.setSkullTimer(skullTimer);
        playerData.setSlayerTask(getSlayer().getTask());
        playerData.setSlayerTaskAmount(getSlayer().getTaskAmount());
        playerData.setSlayerMaster(getSlayer().getMaster());
        playerData.setConsecutiveTasks(getSlayer().getConsecutiveTasks());
        playerData.setPlayerIsMember(playerIsMember);
        playerData.setPlayerHasDonated(playerHasDonated);
        playerData.setJailed(jailed);
        playerData.setPlayerMessages(playerMessages);
        playerData.setPlayerLastConnect(playerLastConnect);
        playerData.setPlayerUID(playerUID);
        playerData.setMacAddress(macAddress);
        playerData.setUuid(uuid);
        playerData.setCountryCode(countryCode);
        playerData.setPlayerLastLogin(playerLastLogin);
        playerData.setPlayerEnergy(playerEnergy);
        playerData.setPlayerGameTime(playerGameTime);
        playerData.setPlayerGameCount(playerGameCount);
        playerData.setLoyaltyRank(loyaltyRank);
        playerData.setPrestigeLevel(prestigeLevel);
        playerData.setPlayerEquipment(playerEquipment);
        playerData.setPlayerEquipmentN(playerEquipmentN);
        playerData.setPlayerAppearance(playerAppearance);
        playerData.setPlayerColor(playerColor);
        playerData.setPlayerLevel(playerLevel);
        playerData.setPlayerXP(playerXP);
        playerData.setPlayerItems(playerItems);
        playerData.setPlayerItemsN(playerItemsN);
        playerData.setBankItems(bankItems);
        playerData.setBankItemsN(bankItemsN);
        playerData.setBankItems2(bankItems2);
        playerData.setBankItemsN2(bankItemsN2);
        playerData.setBankItems3(bankItems3);
        playerData.setBankItemsN3(bankItemsN3);
        playerData.setFriends(friends);
        playerData.setIgnores(ignores);

        Gson gson = new GsonBuilder().setPrettyPrinting().create();
        try (FileWriter writer = new FileWriter("./Data/characters/" + playerName + ".json")) {
            gson.toJson(playerData, writer);
        } catch (IOException e) {
            System.out.println(playerName + ": error writing file.");
            return false;
        }
        return true;
    }
 

Users who are viewing this thread (total: 1, members: 0, guests: 1)