Browse Source

Small update.

Risenio 6 years ago
parent
commit
c218a858e7
3 changed files with 7 additions and 12 deletions
  1. 0 0
      lib/data/npcData.json
  2. 5 9
      lib/index.js
  3. 2 3
      manifest.json

File diff suppressed because it is too large
+ 0 - 0
lib/data/npcData.json


+ 5 - 9
lib/index.js

@@ -299,13 +299,12 @@ module.exports = function FpsUtils(mod) {
 					{ text: `<font color="${mod.settings.PvpTraps ? GrnC : RedC}" size="+17">[Show Traps]</font><br>`, command: "fps pvptraps;fps gui" }, { text: "&#09;&#09;&#09;" },
 					{ text: `<font color="${mod.settings.PvpTraps ? GrnC : RedC}" size="+17">[Show Traps]</font><br>`, command: "fps pvptraps;fps gui" }, { text: "&#09;&#09;&#09;" },
 					{ text: `<font color="${mod.settings.GuardianAutoChange ? GrnC : RedC}" size="+17">[Guardian auto state]</font>`, command: "fps guardian;fps gui" }, { text: "&nbsp;&nbsp;" },
 					{ text: `<font color="${mod.settings.GuardianAutoChange ? GrnC : RedC}" size="+17">[Guardian auto state]</font>`, command: "fps guardian;fps gui" }, { text: "&nbsp;&nbsp;" },
 					{ text: `<font color="${mod.settings.MuteOthersVoice ? GrnC : RedC}" size="+17">[Mute others voice]</font>`, command: "fps muteothers;fps gui" }, { text: "&nbsp;&nbsp;" },
 					{ text: `<font color="${mod.settings.MuteOthersVoice ? GrnC : RedC}" size="+17">[Mute others voice]</font>`, command: "fps muteothers;fps gui" }, { text: "&nbsp;&nbsp;" },
-					{ text: `<font color="${mod.settings.StreamMode ? GrnC : RedC}" size="+17">[Stream]</font><br><br>`, command: "fps stream;fps gui" },
+					{ text: `<font color="${mod.settings.StreamMode ? GrnC : RedC}" size="+17">[Stream]</font><br><br><br>`, command: "fps stream;fps gui" },
 					{ text: `<font color="${BluC}" size="+22">Quick Links:</font><br>` },
 					{ text: `<font color="${BluC}" size="+22">Quick Links:</font><br>` },
 					{ text: `<font color="${YlwC}" size="+20">UI:</font>` }, { text: "&#09;&#09;" },
 					{ text: `<font color="${YlwC}" size="+20">UI:</font>` }, { text: "&#09;&#09;" },
-					{ text: `<font color="${PrpC}" size="+17">[Mail]</font>`, command: "fps quicklink parcel" }, { text: "&nbsp;&nbsp;&nbsp;" },
-					{ text: `<font color="${PrpC}" size="+17">[Broker]</font>`, command: "fps quicklink broker" }, { text: "&nbsp;&nbsp;&nbsp;&nbsp;" },
-					{ text: `<font color="${PrpC}" size="+17">[Talent]</font>`, command: "fps quicklink talents" }, { text: "&nbsp;&nbsp;&nbsp;&nbsp;" },
-					{ text: `<font color="${PrpC}" size="+17">[Dress]</font>`, command: "fps quicklink dressingroom" }, { text: "&nbsp;&nbsp;&nbsp;" },
+					{ text: `<font color="${PrpC}" size="+17">[Mail]</font>`, command: "fps quicklink parcel" }, { text: "&#09;&nbsp;&nbsp;" },
+					{ text: `<font color="${PrpC}" size="+17">[Talent]</font>`, command: "fps quicklink talents" }, { text: "&#09;&nbsp;&nbsp;" },
+					{ text: `<font color="${PrpC}" size="+17">[Dress]</font>`, command: "fps quicklink dressingroom" }, { text: "&#09;" },
 					{ text: `<font color="${PrpC}" size="+17">[Hat Style]</font><br>`, command: "fps quicklink hatrestyle" },
 					{ text: `<font color="${PrpC}" size="+17">[Hat Style]</font><br>`, command: "fps quicklink hatrestyle" },
 					{ text: `<font color="${YlwC}" size="+20">Party:</font>` }, { text: "&#09;" },
 					{ text: `<font color="${YlwC}" size="+20">Party:</font>` }, { text: "&#09;" },
 					{ text: `<font color="${CPKC}" size="+18">[Reset]</font>`, command: "fps quicklink reset" }, { text: "&nbsp;&nbsp;&nbsp;&nbsp;" },
 					{ text: `<font color="${CPKC}" size="+18">[Reset]</font>`, command: "fps quicklink reset" }, { text: "&nbsp;&nbsp;&nbsp;&nbsp;" },
@@ -1519,9 +1518,6 @@ module.exports = function FpsUtils(mod) {
 					case "talent": case "talents":
 					case "talent": case "talents":
 						mod.toServer('C_REQUEST_CONTRACT', 1, { type: 78 });
 						mod.toServer('C_REQUEST_CONTRACT', 1, { type: 78 });
 						break;
 						break;
-					case "broker":
-						mod.toClient('S_NPC_MENU_SELECT', 1, { type: 28 });
-						break;
 					case "dress": case "dressingroom":
 					case "dress": case "dressingroom":
 						mod.toServer('C_REQUEST_CONTRACT', 1, { type: 77 });
 						mod.toServer('C_REQUEST_CONTRACT', 1, { type: 77 });
 						break;
 						break;
@@ -1636,6 +1632,6 @@ module.exports = function FpsUtils(mod) {
 				mod.command.exec("fps gui help");
 				mod.command.exec("fps gui help");
 				break;
 				break;
 		}
 		}
-		if (!NotCP) mod.saveSettings();
+		if (!NotCP && typeof mod.settings.ClassesData["12"] === 'undefined') mod.saveSettings();
 	})
 	})
 }
 }

+ 2 - 3
manifest.json

@@ -1,9 +1,9 @@
 {
 {
     "files": {
     "files": {
         "README.md": "7eae31e8066dad35209a4833ce708b0aeb8bca60deb8574ff84b99792ddfe862",
         "README.md": "7eae31e8066dad35209a4833ce708b0aeb8bca60deb8574ff84b99792ddfe862",
-        "lib/data/npcData.json": "dad0fe8bf2942a36c9a33b324e43fdda9bcc3b411541d31ae9d01be5169bdfb7",
+        "lib/data/npcData.json": "f59f23f654bd7d9ca2147fe40e82641088accaed9836cf742eb2ddaa6c575dd5",
         "lib/data/skillString.json": "9d69876fea0be8e6ac5dd43b3fc74ea023f6b8a6145384f8f780dd977045d8ef",
         "lib/data/skillString.json": "9d69876fea0be8e6ac5dd43b3fc74ea023f6b8a6145384f8f780dd977045d8ef",
-        "lib/index.js": "c45db001ad254013fb9ba267bbd757fba02b7f9adf3989f693842b9e497b5690",
+        "lib/index.js": "309742ec41ed1cf37a1e4ff09a8006ab0f9b8cd342824891baff0f33ec32aabb",
         "lib/setting_migration.js": "1d917a6bcf967316a2f8ce21e853eca68ae5f07bd000f17ee4b799bac7ab01ca",
         "lib/setting_migration.js": "1d917a6bcf967316a2f8ce21e853eca68ae5f07bd000f17ee4b799bac7ab01ca",
         "module.json": "dd28251d203a38582cbbe31d1f904436865e05149465359c0fde8f8db45a829b",
         "module.json": "dd28251d203a38582cbbe31d1f904436865e05149465359c0fde8f8db45a829b",
         "package.json": "19c3f3629a7f9b3b30825da28331dbed10478c600a72cf2b9f5a46d674edbfa9"
         "package.json": "19c3f3629a7f9b3b30825da28331dbed10478c600a72cf2b9f5a46d674edbfa9"
@@ -46,7 +46,6 @@
         "S_LOGIN": 14,
         "S_LOGIN": 14,
         "S_MOUNT_VEHICLE": 2,
         "S_MOUNT_VEHICLE": 2,
         "S_NPC_LOCATION": 3,
         "S_NPC_LOCATION": 3,
-        "S_NPC_MENU_SELECT": 1,
         "S_PARTY_MEMBER_LIST": 7,
         "S_PARTY_MEMBER_LIST": 7,
         "S_PLAYER_CHANGE_MP": 1,
         "S_PLAYER_CHANGE_MP": 1,
         "S_REQUEST_DESPAWN_SERVANT": 1,
         "S_REQUEST_DESPAWN_SERVANT": 1,

Some files were not shown because too many files changed in this diff