Greasy Fork 支持简体中文。

The West Fortbattle Tool

Fort battle tools for The West!

< 腳本The West Fortbattle Tool的回應

評論:OK - script works, but has bugs

§
發表於:2025-02-06

I have a bug, the script doesn't show the Hit|Missed| Dodged shots. This is the console(using Firefox):
A resource is blocked by OpaqueResponseBlocking, please check browser console for details. red.png
Uncaught TypeError: mainEl is undefined
showBattleHtml5 https://ro26.the-west.ro/cache/tw2game.ro_RO.js?1738068327:6435
FortBattleWindow https://ro26.the-west.ro/cache/tw2game.ro_RO.js?1738068327:6326
Ajax https://ro26.the-west.ro/cache/tw2game.ro_RO.js?1738068327:279
jQuery 4
2 tw2game.ro_RO.js:6435:222
Firefox can’t establish a connection to the server at wss://ro26.the-west.ro/fortbattle. tw2game.ro_RO.js:6479:92
The connection to wss://ro26.the-west.ro/fortbattle was interrupted while the page was loading. tw2game.ro_RO.js:6479:92
error { target: WebSocket, isTrusted: true, srcElement: WebSocket, eventPhase: 0, bubbles: false, cancelable: false, returnValue: true, defaultPrevented: false, composed: false, timeStamp: 51457244, … }
tw2game.ro_RO.js:6483:1158
close { target: WebSocket, isTrusted: true, wasClean: false, code: 1006, reason: "", srcElement: WebSocket, eventPhase: 0, bubbles: false, cancelable: false, returnValue: true, … }
tw2game.ro_RO.js:6483:810
Firefox can’t establish a connection to the server at wss://ro26.the-west.ro/fortbattle. tw2game.ro_RO.js:6479:92
The connection to wss://ro26.the-west.ro/fortbattle was interrupted while the page was loading. tw2game.ro_RO.js:6479:92
error { target: WebSocket, isTrusted: true, srcElement: WebSocket, eventPhase: 0, bubbles: false, cancelable: false, returnValue: true, defaultPrevented: false, composed: false, timeStamp: 51457321, … }
tw2game.ro_RO.js:6483:1158
close { target: WebSocket, isTrusted: true, wasClean: false, code: 1006, reason: "", srcElement: WebSocket, eventPhase: 0, bubbles: false, cancelable: false, returnValue: true, … }
tw2game.ro_RO.js:6483:810
Uncaught TypeError: mainEl is undefined
showBattleHtml5 https://ro26.the-west.ro/cache/tw2game.ro_RO.js?1738068327:6435
FortBattleWindow https://ro26.the-west.ro/cache/tw2game.ro_RO.js?1738068327:6326
Ajax https://ro26.the-west.ro/cache/tw2game.ro_RO.js?1738068327:279
jQuery 4
2 tw2game.ro_RO.js:6435:222
Firefox can’t establish a connection to the server at wss://ro26.the-west.ro/fortbattle. tw2game.ro_RO.js:6479:92
The connection to wss://ro26.the-west.ro/fortbattle was interrupted while the page was loading. tw2game.ro_RO.js:6479:92
error { target: WebSocket, isTrusted: true, srcElement: WebSocket, eventPhase: 0, bubbles: false, cancelable: false, returnValue: true, defaultPrevented: false, composed: false, timeStamp: 51457495, … }
tw2game.ro_RO.js:6483:1158
close { target: WebSocket, isTrusted: true, wasClean: false, code: 1006, reason: "", srcElement: WebSocket, eventPhase: 0, bubbles: false, cancelable: false, returnValue: true, … }
tw2game.ro_RO.js:6483:810
Sending handshake buffer...
ArrayBuffer { byteLength: 36 }
tw2game.ro_RO.js:6483:3537
close { target: WebSocket, isTrusted: true, wasClean: true, code: 1005, reason: "", srcElement: WebSocket, eventPhase: 0, bubbles: false, cancelable: false, returnValue: true, … }
tw2game.ro_RO.js:6483:810
Sending handshake buffer...
ArrayBuffer { byteLength: 36 }
tw2game.ro_RO.js:6483:3537
close { target: WebSocket, isTrusted: true, wasClean: true, code: 1005, reason: "", srcElement: WebSocket, eventPhase: 0, bubbles: false, cancelable: false, returnValue: true, … }
tw2game.ro_RO.js:6483:810
Firefox can’t establish a connection to the server at wss://ro26.the-west.ro/fortbattle. tw2game.ro_RO.js:6479:92
The connection to wss://ro26.the-west.ro/fortbattle was interrupted while the page was loading. tw2game.ro_RO.js:6479:92
error { target: WebSocket, isTrusted: true, srcElement: WebSocket, eventPhase: 0, bubbles: false, cancelable: false, returnValue: true, defaultPrevented: false, composed: false, timeStamp: 51458029, … }
tw2game.ro_RO.js:6483:1158
close { target: WebSocket, isTrusted: true, wasClean: false, code: 1006, reason: "", srcElement: WebSocket, eventPhase: 0, bubbles: false, cancelable: false, returnValue: true, … }
tw2game.ro_RO.js:6483:810
Uncaught TypeError: mainEl is undefined
showBattleHtml5 https://ro26.the-west.ro/cache/tw2game.ro_RO.js?1738068327:6435
FortBattleWindow https://ro26.the-west.ro/cache/tw2game.ro_RO.js?1738068327:6326
Ajax https://ro26.the-west.ro/cache/tw2game.ro_RO.js?1738068327:279
jQuery 4

發表回覆

登入以回復