|
@@ -1,28 +1,28 @@
|
|
|
"use strict"
|
|
"use strict"
|
|
|
/* global __dirname */
|
|
/* global __dirname */
|
|
|
|
|
|
|
|
-module.exports = function FpsUtils(mod) {
|
|
|
|
|
- var notcaaliproxy = mod.proxyAuthor !== 'caali';
|
|
|
|
|
|
|
+const NotCP = typeof global.TeraProxy === 'undefined'; //For niceName forced thing and broken settings auto-save For Caalis Proxy users.
|
|
|
|
|
|
|
|
- const NpcData = require(`./data/npcData.json`)
|
|
|
|
|
- const SkillData = require(`./data/skillString.json`)
|
|
|
|
|
|
|
+module.exports = function FpsUtils(mod) {
|
|
|
|
|
+ const NpcData = require("./data/npcData.json")
|
|
|
|
|
+ const SkillData = require("./data/skillString.json")
|
|
|
const UsersSummonedNPCs = [12345, 1100100, 1100101, 2010100, 2010101, 10235004, 10235005, 10235006, 10235007, 10235008, 10235009, 10235010, 10235011, 10235012, 10235013, 10235014, 10235015, 10235016, 10235017, 10236001, 10236002, 10236003, 10236004, 10236005, 10236006, 10236007, 10236008, 10236009, 10236010, 10236011, 10236012, 10236013, 10236014, 10236015, 10237003, 10237004, 10237005, 10237006, 10237007, 10237008, 10237009, 10237010, 10237011, 10237012, 10237013, 10237014, 10237015, 10237015, 10238001, 10238002, 10238003, 10238004, 10238005, 10238006, 10238007, 10238008, 10238008, 10239003, 30301001, 30301002, 30301003, 30301004, 30302001, 30302002, 30302003, 30302004, 30302005, 30302006, 30302007, 30303001, 30303002, 30303003, 30303004, 30303005, 30303006, 30303007]
|
|
const UsersSummonedNPCs = [12345, 1100100, 1100101, 2010100, 2010101, 10235004, 10235005, 10235006, 10235007, 10235008, 10235009, 10235010, 10235011, 10235012, 10235013, 10235014, 10235015, 10235016, 10235017, 10236001, 10236002, 10236003, 10236004, 10236005, 10236006, 10236007, 10236008, 10236009, 10236010, 10236011, 10236012, 10236013, 10236014, 10236015, 10237003, 10237004, 10237005, 10237006, 10237007, 10237008, 10237009, 10237010, 10237011, 10237012, 10237013, 10237014, 10237015, 10237015, 10238001, 10238002, 10238003, 10238004, 10238005, 10238006, 10238007, 10238008, 10238008, 10239003, 30301001, 30301002, 30301003, 30301004, 30302001, 30302002, 30302003, 30302004, 30302005, 30302006, 30302007, 30303001, 30303002, 30303003, 30303004, 30303005, 30303006, 30303007]
|
|
|
const BronzeClr = '#BC8F8F', SilverClr = '#9A9A9A', GoldClr = '#DAA520', PinkClr = '#FFB7C5', HPinkClr = '#FF69B4', CPinkClr = '#ED5D92', RedClr = '#FE6F5E', GreenClr = '#4DE19C', LPurpleClr = '#E0B0FF', PurpleClr = '#9966CC', LBlueClr = '#4DDCE1', BlueClr = '#436EEE', DBlueClr = '#00575e', HBlueClr = '#08B3E5', GrayClr = '#778899', YellowClr = '#C0B94D', OrangeClr = '#FFBE5E';
|
|
const BronzeClr = '#BC8F8F', SilverClr = '#9A9A9A', GoldClr = '#DAA520', PinkClr = '#FFB7C5', HPinkClr = '#FF69B4', CPinkClr = '#ED5D92', RedClr = '#FE6F5E', GreenClr = '#4DE19C', LPurpleClr = '#E0B0FF', PurpleClr = '#9966CC', LBlueClr = '#4DDCE1', BlueClr = '#436EEE', DBlueClr = '#00575e', HBlueClr = '#08B3E5', GrayClr = '#778899', YellowClr = '#C0B94D', OrangeClr = '#FFBE5E';
|
|
|
- const alphabet = ['A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z']
|
|
|
|
|
|
|
+ const Alphabet = ['A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z']
|
|
|
const FishingNpcs = {
|
|
const FishingNpcs = {
|
|
|
- 8: [6011], //frog
|
|
|
|
|
- 12: [1, 2], //crab, bay kamara
|
|
|
|
|
- 23: [201, 202], //frog, bee
|
|
|
|
|
- 34: [8000], //goat
|
|
|
|
|
- 61: [9901], //Ostgarath - Vexatus Swamp
|
|
|
|
|
|
|
+ 8: [6011], //frog
|
|
|
|
|
+ 12: [1, 2], //crab, bay kamara
|
|
|
|
|
+ 23: [201, 202], //frog, bee
|
|
|
|
|
+ 34: [8000], //goat
|
|
|
|
|
+ 61: [9901], //Ostgarath - Vexatus Swamp
|
|
|
62: [1017, 1035, 1039, 1040, 1041, 1042, 1900, 1901, 1902, 1903, 9001, 9002, 9003, 9004, 9901], //Ostgarath - Cutthroat Harbor
|
|
62: [1017, 1035, 1039, 1040, 1041, 1042, 1900, 1901, 1902, 1903, 9001, 9002, 9003, 9004, 9901], //Ostgarath - Cutthroat Harbor
|
|
|
- 83: [9901], //Westonia - Celsian Lake
|
|
|
|
|
- 99: [1180, 1181, 1182, 1183, 1184, 1185], //All invisible ?_? - unknown area.
|
|
|
|
|
- 207: [9901], //Arcadia - Muricai
|
|
|
|
|
- 212: [1034], //Cutthroat followup
|
|
|
|
|
- 223: [9901, 9906, 9907, 9915, 9925], //Poporia - Lake of Tears
|
|
|
|
|
- 230: [9901], //Veritas District - Seren's Lake
|
|
|
|
|
- 362: [1201, 1202, 1301, 1302] //Cutthroat followup
|
|
|
|
|
|
|
+ 83: [9901], //Westonia - Celsian Lake
|
|
|
|
|
+ 99: [1180, 1181, 1182, 1183, 1184, 1185], //All invisible ?_? - unknown area.
|
|
|
|
|
+ 207: [9901], //Arcadia - Muricai
|
|
|
|
|
+ 212: [1034], //Cutthroat followup
|
|
|
|
|
+ 223: [9901, 9906, 9907, 9915, 9925], //Poporia - Lake of Tears
|
|
|
|
|
+ 230: [9901], //Veritas District - Seren's Lake
|
|
|
|
|
+ 362: [1201, 1202, 1301, 1302] //Cutthroat followup
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
let MyGameId,
|
|
let MyGameId,
|
|
@@ -40,7 +40,7 @@ module.exports = function FpsUtils(mod) {
|
|
|
SpawnedUsers = {},
|
|
SpawnedUsers = {},
|
|
|
oldCurChan = { oldCzone: 0, oldCchannel: 0, oldCtype: 0 }
|
|
oldCurChan = { oldCzone: 0, oldCchannel: 0, oldCtype: 0 }
|
|
|
|
|
|
|
|
- if (notcaaliproxy) mod.settings = require('./setting_migration')(mod.settings._version, require('../module').options.settingsVersion, mod.settings)
|
|
|
|
|
|
|
+ if (NotCP) mod.settings = require('./setting_migration')(mod.settings._version, require('../module').options.settingsVersion, mod.settings) // Believe or not, this still needed for some cases. ._.
|
|
|
|
|
|
|
|
// ~~~ * Gui Parser * ~~~ \\
|
|
// ~~~ * Gui Parser * ~~~ \\
|
|
|
|
|
|
|
@@ -118,16 +118,16 @@ module.exports = function FpsUtils(mod) {
|
|
|
{ text: `<font color="${YellowClr}" size="+20"><p align="right">[Blacklisted NPCs list]</p></font><br>`, command: `fps gui npclist` },
|
|
{ text: `<font color="${YellowClr}" size="+20"><p align="right">[Blacklisted NPCs list]</p></font><br>`, command: `fps gui npclist` },
|
|
|
{ text: `<font color="${LBlueClr}" size="+19">Click a letter to view all NPCs starting with that letter:<br><br>` }
|
|
{ text: `<font color="${LBlueClr}" size="+19">Click a letter to view all NPCs starting with that letter:<br><br>` }
|
|
|
)
|
|
)
|
|
|
- for (let i = 0; i < alphabet.length; i++) {
|
|
|
|
|
|
|
+ for (let i = 0; i < Alphabet.length; i++) {
|
|
|
TmpData.push(
|
|
TmpData.push(
|
|
|
- { text: `<font color="${BronzeClr}" size="+19">${alphabet[i]}</font>`, command: `fps gui npc ${alphabet[i]}` },
|
|
|
|
|
|
|
+ { text: `<font color="${BronzeClr}" size="+19">${Alphabet[i]}</font>`, command: `fps gui npc ${Alphabet[i]}` },
|
|
|
{ text: " " }
|
|
{ text: " " }
|
|
|
)
|
|
)
|
|
|
}
|
|
}
|
|
|
TmpData.push(
|
|
TmpData.push(
|
|
|
{ text: `<br><br><font color="${PinkClr}" size="+16">(Command </font><font color="${HPinkClr}" size="+16">"fps gui searchnpc <name>"</font><font color="${PinkClr}" size="+16"> to search for a specific NPCs names, Case sensitive)</font>` },
|
|
{ text: `<br><br><font color="${PinkClr}" size="+16">(Command </font><font color="${HPinkClr}" size="+16">"fps gui searchnpc <name>"</font><font color="${PinkClr}" size="+16"> to search for a specific NPCs names, Case sensitive)</font>` },
|
|
|
{ text: `<br><br><font color="${PinkClr}" size="+16">(Command </font><font color="${HPinkClr}" size="+16">"fps gui npc <letters>"</font><font color="${PinkClr}" size="+16"> to search for NPCs names that starts with that 'letters', Case sensitive)</font>` },
|
|
{ text: `<br><br><font color="${PinkClr}" size="+16">(Command </font><font color="${HPinkClr}" size="+16">"fps gui npc <letters>"</font><font color="${PinkClr}" size="+16"> to search for NPCs names that starts with that 'letters', Case sensitive)</font>` },
|
|
|
- { text: `<br><br><font color="${PinkClr}" size="+16">If you want to search for npc with space between it's name, you've to add the whole name inside quotations, e.g. \`fps gui npcsearch "Bay Kamara"\`</font>` }
|
|
|
|
|
|
|
+ { text: `<br><br><font color="${PinkClr}" size="+16">If you want to search for npc with space between it's name, you've to add the whole name inside quotations, e.g. <font color="${HPinkClr}" size="+16">fps gui npcsearch "Bay Kamara"\`</font></font>` }
|
|
|
)
|
|
)
|
|
|
gui.parse(TmpData, `<font color="${LPurpleClr}">[FPS] Options - NPCs </font><font color="${YellowClr}">(Main)</font>`)
|
|
gui.parse(TmpData, `<font color="${LPurpleClr}">[FPS] Options - NPCs </font><font color="${YellowClr}">(Main)</font>`)
|
|
|
TmpData = []
|
|
TmpData = []
|
|
@@ -256,30 +256,30 @@ module.exports = function FpsUtils(mod) {
|
|
|
gui.parse([
|
|
gui.parse([
|
|
|
{ text: `<font color="${PurpleClr}" size="+24"><p align="right">MAIN MENU</p></font><br>`, command: `fps gui` },
|
|
{ text: `<font color="${PurpleClr}" size="+24"><p align="right">MAIN MENU</p></font><br>`, command: `fps gui` },
|
|
|
{ text: `<font size="20">` },
|
|
{ text: `<font size="20">` },
|
|
|
- { text: `<font color='${HBlueClr}'> Command(s)</font> <font color='${DBlueClr}'>Argument(s)</font> <font color='${HPinkClr}'>Example</font><br>` },
|
|
|
|
|
- { text: `<font color='${HBlueClr}'> gui ~ g</font> <font color='${DBlueClr}'>N/A</font> <font color='${HPinkClr}'>!fps gui</font><br>` },
|
|
|
|
|
- { text: `<font color='${HBlueClr}'> N/A</font> <font color='${DBlueClr}'>N/A</font> <font color='${HPinkClr}'>!fps-util</font><br>` },
|
|
|
|
|
- { text: `<font color='${HBlueClr}'> 0 ~ 1 ~ 2 ~ 3</font> <font color='${DBlueClr}'>N/A</font> <font color='${HPinkClr}'>!0 ~ !1 ~ !2 ~ !3</font><br>` },
|
|
|
|
|
- { text: `<font color='${HBlueClr}'> mode ~ state</font> <font color='${DBlueClr}'>0 ~ 1 ~ 2 ~ 3</font> <font color='${HPinkClr}'>!fps mode 2</font><br>` },
|
|
|
|
|
- { text: `<font color='${HBlueClr}'> hide ~ show</font> <font color='${DBlueClr}'>Player ~ Class ~ Role</font> <font color='${HPinkClr}'>!fps hide mie</font><br>` },
|
|
|
|
|
- { text: `<font color='${HBlueClr}'> party</font> <font color='${DBlueClr}'>N/A</font> <font color='${HPinkClr}'>!fps party</font><br>` },
|
|
|
|
|
- { text: `<font color='${HBlueClr}'> raid</font> <font color='${DBlueClr}'>N/A</font> <font color='${HPinkClr}'>!fps raid</font><br>` },
|
|
|
|
|
- { text: `<font color='${HBlueClr}'> list</font> <font color='${DBlueClr}'>N/A</font> <font color='${HPinkClr}'>!fps list</font><br>` },
|
|
|
|
|
- { text: `<font color='${HBlueClr}'>summons ~ sums</font> <font color='${DBlueClr}'>other ~ me</font> <font color='${HPinkClr}'>!fps sums me</font><br>` },
|
|
|
|
|
- { text: `<font color='${HBlueClr}'> skill ~ skills</font> <font color='${DBlueClr}'>blacklist ~ Class arg</font> <font color='${HPinkClr}'>!fps skill blacklist</font><br>` },
|
|
|
|
|
- { text: `<font color='${HBlueClr}'> npc ~ npcs</font> <font color='${DBlueClr}'>N/A ~ hide arg</font> <font color='${HPinkClr}'>!fps npc</font><br>` },
|
|
|
|
|
- { text: `<font color='${HBlueClr}'> hit</font> <font color='${DBlueClr}'>me ~ other ~ damage</font> <font color='${HPinkClr}'>!fps hit me</font><br>` },
|
|
|
|
|
- { text: `<font color='${HBlueClr}'> firework</font> <font color='${DBlueClr}'>N/A</font> <font color='${HPinkClr}'>!fps firework</font><br>` },
|
|
|
|
|
- { text: `<font color='${HBlueClr}'>abn ~ abnormal</font> <font color='${DBlueClr}'>all~blacklist arg arg2</font> <font color='${HPinkClr}'>!fps abn blacklist</font><br>` },
|
|
|
|
|
- { text: `<font color='${HBlueClr}'> proj</font> <font color='${DBlueClr}'>all~blacklist arg arg2</font> <font color='${HPinkClr}'>!fps proj all</font><br>` },
|
|
|
|
|
- { text: `<font color='${HBlueClr}'> guildlogo</font> <font color='${DBlueClr}'>N/A</font> <font color='${HPinkClr}'>!fps guildlogo</font><br>` },
|
|
|
|
|
- { text: `<font color='${HBlueClr}'>style ~ costume</font> <font color='${DBlueClr}'>N/A</font> <font color='${HPinkClr}'>!fps style</font><br>` },
|
|
|
|
|
- { text: `<font color='${HBlueClr}'> gui npcsearch</font> <font color='${DBlueClr}'>arg</font> <font color='${HPinkClr}'>!fps gui npcsearch E</font><br>` },
|
|
|
|
|
- { text: `<font color='${HBlueClr}'> npczoom</font> <font color='${DBlueClr}'>N/A</font> <font color='${HPinkClr}'>!fps npczoom</font><br>` },
|
|
|
|
|
- { text: `<font color='${HBlueClr}'> dropitem</font> <font color='${DBlueClr}'>N/A ~ hide arg</font> <font color='${HPinkClr}'>!fps dropitem</font><br>` },
|
|
|
|
|
- { text: `<font color='${HBlueClr}'>monsterdeathani</font> <font color='${DBlueClr}'>N/A</font> <font color='${HPinkClr}'>!fps monsterdeathani</font><br>` },
|
|
|
|
|
- { text: `<font color='${HBlueClr}'> screenabns</font> <font color='${DBlueClr}'>N/A ~ hide arg</font> <font color='${HPinkClr}'>!fps screenabns</font><br>` },
|
|
|
|
|
- { text: `<font color='${HBlueClr}'> fishing </font> <font color='${DBlueClr}'>N/A</font> <font color='${HPinkClr}'>!fps fishing</font><br>` },
|
|
|
|
|
|
|
+ { text: `<font color='${LBlueClr}'>Command</font> <font color='${SilverClr}'>Arg(s)</font> <font color='${CPinkClr}'>Example</font><br>` },
|
|
|
|
|
+ { text: `<font color='${HBlueClr}'>gui ^ g</font> <font color='${DBlueClr}'>N/A</font> <font color='${HPinkClr}'>!fps gui</font><br>` },
|
|
|
|
|
+ { text: `<font color='${HBlueClr}'> N/A</font> <font color='${DBlueClr}'>N/A</font> <font color='${HPinkClr}'>!fps-util</font><br>` },
|
|
|
|
|
+ { text: `<font color='${HBlueClr}'>0 ^ 1 ^ 2 ^ 3</font> <font color='${DBlueClr}'>N/A</font> <font color='${HPinkClr}'>!0 ^ !1 ^ !2 ^ !3</font><br>` },
|
|
|
|
|
+ { text: `<font color='${HBlueClr}'>mode</font> <font color='${DBlueClr}'>0 ^ 1 ^ 2 ^ 3</font> <font color='${HPinkClr}'>!fps mode 2</font><br>` },
|
|
|
|
|
+ { text: `<font color='${HBlueClr}'>hide^show</font> <font color='${DBlueClr}'>Player^Class^Role</font> <font color='${HPinkClr}'>!fps hide mie</font><br>` },
|
|
|
|
|
+ { text: `<font color='${HBlueClr}'>party</font> <font color='${DBlueClr}'>N/A</font> <font color='${HPinkClr}'>!fps party</font><br>` },
|
|
|
|
|
+ { text: `<font color='${HBlueClr}'>raid</font> <font color='${DBlueClr}'>N/A</font> <font color='${HPinkClr}'>!fps raid</font><br>` },
|
|
|
|
|
+ { text: `<font color='${HBlueClr}'>list</font> <font color='${DBlueClr}'>N/A</font> <font color='${HPinkClr}'>!fps list</font><br>` },
|
|
|
|
|
+ { text: `<font color='${HBlueClr}'>sums</font> <font color='${DBlueClr}'>other ^ me</font> <font color='${HPinkClr}'>!fps sums me</font><br>` },
|
|
|
|
|
+ { text: `<font color='${HBlueClr}'>skill</font> <font color='${DBlueClr}'>blacklist</font> <font color='${HPinkClr}'>!fps skill blacklist</font><br>` },
|
|
|
|
|
+ { text: `<font color='${HBlueClr}'>npc</font> <font color='${DBlueClr}'>N/A ^ hide</font> <font color='${HPinkClr}'>!fps npc</font><br>` },
|
|
|
|
|
+ { text: `<font color='${HBlueClr}'>hit</font> <font color='${DBlueClr}'>me^other^damage</font> <font color='${HPinkClr}'>!fps hit me</font><br>` },
|
|
|
|
|
+ { text: `<font color='${HBlueClr}'>firework</font> <font color='${DBlueClr}'>N/A</font> <font color='${HPinkClr}'>!fps firework</font><br>` },
|
|
|
|
|
+ { text: `<font color='${HBlueClr}'>abn</font> <font color='${DBlueClr}'>all ^ blacklist</font> <font color='${HPinkClr}'>!fps abn blacklist</font><br>` },
|
|
|
|
|
+ { text: `<font color='${HBlueClr}'>proj</font> <font color='${DBlueClr}'>all ^ blacklist</font> <font color='${HPinkClr}'>!fps proj all</font><br>` },
|
|
|
|
|
+ { text: `<font color='${HBlueClr}'>guildlogo</font> <font color='${DBlueClr}'>N/A</font> <font color='${HPinkClr}'>!fps guildlogo</font><br>` },
|
|
|
|
|
+ { text: `<font color='${HBlueClr}'>style</font> <font color='${DBlueClr}'>N/A</font> <font color='${HPinkClr}'>!fps style</font><br>` },
|
|
|
|
|
+ { text: `<font color='${HBlueClr}'>gui npcsearch</font> <font color='${DBlueClr}'>"target"</font> <font color='${HPinkClr}'>!fps gui npcsearch E</font><br>` },
|
|
|
|
|
+ { text: `<font color='${HBlueClr}'>npczoom</font> <font color='${DBlueClr}'>N/A</font> <font color='${HPinkClr}'>!fps npczoom</font><br>` },
|
|
|
|
|
+ { text: `<font color='${HBlueClr}'>dropitem</font> <font color='${DBlueClr}'>N/A ^ hide</font> <font color='${HPinkClr}'>!fps dropitem</font><br>` },
|
|
|
|
|
+ { text: `<font color='${HBlueClr}'>monsterdeathani</font> <font color='${DBlueClr}'>N/A</font> <font color='${HPinkClr}'>!fps monsterdeathani</font><br>` },
|
|
|
|
|
+ { text: `<font color='${HBlueClr}'>screenabns</font> <font color='${DBlueClr}'>N/A ^ hide</font> <font color='${HPinkClr}'>!fps screenabns</font><br>` },
|
|
|
|
|
+ { text: `<font color='${HBlueClr}'>fish ^ fishing</font> <font color='${DBlueClr}'>N/A</font> <font color='${HPinkClr}'>!fps fishing</font><br>` },
|
|
|
{ text: `</font>` }
|
|
{ text: `</font>` }
|
|
|
], `<font color="${LPurpleClr}">[FPS] HELP</font>`)
|
|
], `<font color="${LPurpleClr}">[FPS] HELP</font>`)
|
|
|
break;
|
|
break;
|
|
@@ -419,7 +419,7 @@ module.exports = function FpsUtils(mod) {
|
|
|
// ~~~ * Command Functions * ~~~ \\
|
|
// ~~~ * Command Functions * ~~~ \\
|
|
|
|
|
|
|
|
function Msg(msg) {
|
|
function Msg(msg) {
|
|
|
- if (notcaaliproxy) mod.command.message(`<font color="${LPurpleClr}">[FPS] ${msg}</font>`)
|
|
|
|
|
|
|
+ if (NotCP) mod.command.message(`<font color="${LPurpleClr}">[FPS] ${msg}</font>`)
|
|
|
else mod.command.message(`<font color="${LPurpleClr}">${msg}</font>`)
|
|
else mod.command.message(`<font color="${LPurpleClr}">${msg}</font>`)
|
|
|
}
|
|
}
|
|
|
|
|
|
|
@@ -895,7 +895,7 @@ module.exports = function FpsUtils(mod) {
|
|
|
mod.hook('S_SYSTEM_MESSAGE', 1, sSystemMessage)
|
|
mod.hook('S_SYSTEM_MESSAGE', 1, sSystemMessage)
|
|
|
mod.hook('S_PARTY_MATCH_LINK', 'raw', sPartyMatchLink)
|
|
mod.hook('S_PARTY_MATCH_LINK', 'raw', sPartyMatchLink)
|
|
|
mod.hook('S_VIEW_PARTY_INVITE', 'raw', sViewPartyInvite)
|
|
mod.hook('S_VIEW_PARTY_INVITE', 'raw', sViewPartyInvite)
|
|
|
- //mod.hook('S_QUEST_VILLAGER_INFO', 'raw', sQuestVillagerInfo) opcode not public... Waiting for confirmation from caali/pinkie.
|
|
|
|
|
|
|
+ //mod.hook('S_QUEST_VILLAGER_INFO', 'raw', sQuestVillagerInfo) opcode not public.
|
|
|
mod.hook('S_UPDATE_ACHIEVEMENT_PROGRESS', 'raw', sUpdateAchievementProgress)
|
|
mod.hook('S_UPDATE_ACHIEVEMENT_PROGRESS', 'raw', sUpdateAchievementProgress)
|
|
|
mod.hook('S_CURRENT_CHANNEL', 2, sCurrentChannel)
|
|
mod.hook('S_CURRENT_CHANNEL', 2, sCurrentChannel)
|
|
|
mod.hook('S_ITEM_CUSTOM_STRING', 2, sItemCustomString)
|
|
mod.hook('S_ITEM_CUSTOM_STRING', 2, sItemCustomString)
|
|
@@ -910,7 +910,7 @@ module.exports = function FpsUtils(mod) {
|
|
|
mod.hook('S_USER_LOCATION', 5, sUserLocation)
|
|
mod.hook('S_USER_LOCATION', 5, sUserLocation)
|
|
|
mod.hook('S_USER_MOVETYPE', 'raw', sUserMoveType)
|
|
mod.hook('S_USER_MOVETYPE', 'raw', sUserMoveType)
|
|
|
mod.hook('S_PARTY_MEMBER_LIST', 7, sPartyMemberList)
|
|
mod.hook('S_PARTY_MEMBER_LIST', 7, sPartyMemberList)
|
|
|
- //mod.hook('S_USER_APPEARANCE_CHANGE', 1, { order: 9999 }, sUserAppearanceChange) missing opcode, pinkie.
|
|
|
|
|
|
|
+ //mod.hook('S_USER_APPEARANCE_CHANGE', 1, { order: 9999 }, sUserAppearanceChange) missing opcode for pinkie proxy ._.
|
|
|
mod.hook('S_USER_EXTERNAL_CHANGE', 7, { order: 9999 }, sUserExternalChange)
|
|
mod.hook('S_USER_EXTERNAL_CHANGE', 7, { order: 9999 }, sUserExternalChange)
|
|
|
mod.hook('S_UNICAST_TRANSFORM_DATA', 5, { order: 99999 }, sUnicastTransformData)
|
|
mod.hook('S_UNICAST_TRANSFORM_DATA', 5, { order: 99999 }, sUnicastTransformData)
|
|
|
|
|
|
|
@@ -1383,6 +1383,6 @@ module.exports = function FpsUtils(mod) {
|
|
|
mod.command.exec(`fps gui help`)
|
|
mod.command.exec(`fps gui help`)
|
|
|
break;
|
|
break;
|
|
|
}
|
|
}
|
|
|
- if (!notcaaliproxy) mod.saveSettings();
|
|
|
|
|
|
|
+ if (!NotCP) mod.saveSettings();
|
|
|
})
|
|
})
|
|
|
}
|
|
}
|