diff --git a/app/js/lib/updater.js b/app/js/lib/updater.js
index c65d073d..4ad7edda 100644
--- a/app/js/lib/updater.js
+++ b/app/js/lib/updater.js
@@ -1,6 +1,6 @@
const { ipcRenderer } = require('electron');
global.ipcRenderer = ipcRenderer;
-const currentVersion = "1.8.7";
+const currentVersion = "1.8.8";
global.TEST = false;
@@ -34,7 +34,7 @@ module.exports = {
`
- New in v1.8.7
+ New in v1.8.7 - 1.8.8
- Added inventory item finder. Set your inventory width in settings, and click the target icon on items to locate them in your inventory. Scan your inventory first for accurate results.
diff --git a/app/package.json b/app/package.json
index fae408a0..80d7e36d 100644
--- a/app/package.json
+++ b/app/package.json
@@ -5,7 +5,7 @@
"name": "Fribbels",
"url": "https://github.com/fribbels/Fribbels-Epic-7-Optimizer"
},
- "version": "1.8.7",
+ "version": "1.8.8",
"description": "Epic 7 Gear Optimizer",
"main": "./main.prod.js",
"scripts": {
diff --git a/data/py/scanner.py b/data/py/scanner.py
index f2a89716..b93ff095 100644
--- a/data/py/scanner.py
+++ b/data/py/scanner.py
@@ -26,7 +26,7 @@ def try_buffer(currAck):
print(hexStr);
print('&');
-def check_packet(packet):
+def check_packet(packet, index):
if IP in packet:
if Raw in packet and packet[Raw].load:
currAck = packet.ack
@@ -53,21 +53,25 @@ def check_packet(packet):
# if 'F' in packet[TCP].flags:
# try_buffer(currAck)
-def terminate():
- os._exit(0)
+def thread_sniff(i, index):
+ try:
+ sniff(iface=i, prn=lambda x: check_packet(x, index), filter="tcp and ( port 3333 )", session=TCPSession)
+ except:
+ pass
-def thread_sniff():
+index = 0
+for i in list(conf.ifaces.data.values()):
try:
- # EpicSeven traffic was confirmed to travel over tcp port 3333 via Wireshark
- # Omitting sniff() iface parameter to force all interfaces to be sniffed.
- # This may lead to more processing but prevents needing to specify an network interface manually in some cases.
- sniff(prn=lambda x: check_packet(x), filter="tcp and ( port 3333 )", session=TCPSession)
+ x = threading.Thread(target=thread_sniff, args=(i, index,))
+ x.daemon = True;
+ x.start()
+
+ index = index + 1
except:
pass
-x = threading.Thread(target=thread_sniff)
-x.daemon = True;
-x.start()
+def terminate():
+ os._exit(0)
t = threading.Timer(3600.0, terminate)
t.start()