Update inventory tracker and add in Cheat Engine scripts/data

master
sigonasr2 2 years ago
parent 7caab3aa10
commit deb56c2e0d
  1. 4815
      FINAL FANTASY XIV.CT
  2. 9
      Known Retainer IDs.txt
  3. 8
      inventory_monitor.js
  4. BIN
      node_modules/.cache/default-development/0.pack
  5. BIN
      node_modules/.cache/default-development/index.pack

File diff suppressed because it is too large Load Diff

@ -0,0 +1,9 @@
ayayayay - 2162700
howdoesanyonenameall - 1048586
kkitty - 13
butwhy - 0
Nowitsabun - 9
Finalretainer - 131092
Morecatz - 2359328
Kittystorage - 16
Ayayayaya - 1572880

@ -19,18 +19,18 @@ function update(){
itemHQ=item[2] itemHQ=item[2]
//console.log(itemID+" x"+itemAmt+" "+(itemHQ?"":"HQ")) //console.log(itemID+" x"+itemAmt+" "+(itemHQ?"":"HQ"))
if(firstLoad){ if(firstLoad){
finalData=[{"id":itemID,"amt":itemAmt,"hq":itemHQ},...finalData] finalData=[{"id":itemID,"amt":itemAmt,"hq":Boolean(itemHQ)},...finalData]
}else }else
if (finalData[i]!==undefined){ if (finalData[i]!==undefined){
if (finalData[i].id!==itemID||finalData[i].amt!==itemAmt||finalData[i].hq!==itemHQ){ if (finalData[i].id!==itemID||finalData[i].amt!==itemAmt||finalData[i].hq!==Boolean(itemHQ)){
finalData[i]={"id":itemID,"amt":itemAmt,"hq":itemHQ} finalData[i]={"id":itemID,"amt":itemAmt,"hq":Boolean(itemHQ)}
changed=true; changed=true;
} }
} }
} }
if (changed){ if (changed){
console.log("Changes occurred...") console.log("Changes occurred...")
axios.post("http://projectdivar.com/inventoryData",finalData)
} }
firstLoad=false firstLoad=false
setTimeout(update,1000) setTimeout(update,1000)

Binary file not shown.

Binary file not shown.
Loading…
Cancel
Save