Since the .ovpn have a setting with
redirect-gateway def1 bypass-dhcp
dhcp-option DOMAIN-ROUTE .
Therefore, your PC network route will all go through the VPN. Which make the connection failed in local
Cannot surfing the web 🚫🚫🚫🚫
| (function() { | |
| const text = document.body.textContent; /* define text properly */ | |
| try { | |
| JSON.parse(text); | |
| alert("✅ JSON is valid!"); | |
| } catch (error) { | |
| console.error("❌ Invalid JSON: " + error.message); | |
| /* Extract position from error message */ | |
| const match = error.message.match(/position (\d+)/); |
| #Requires AutoHotkey v2.0 | |
| #SingleInstance Force | |
| filePath := "C:\Users\thc282\AppData\Roaming\Cognosphere\HYP\1_1\fedata\Cache\Cache_Data\data_1" | |
| try { | |
| fileContent := FileRead(filePath) | |
| } catch Error as e { | |
| MsgBox "❌ 無法讀取:" e.Message | |
| ExitApp | |
| } |
| // constants | |
| var N_0 = 819069.80; // northing of projection origin | |
| var E_0 = 836694.05; // easting of projection origin | |
| var m_0 = 1; // scale factor | |
| var lat_0 = (22 + 18 / 60 + 43.68 / 3600) * Math.PI / 180; // DMS to radian, lat of projection origin | |
| var lng_0 = (114 + 10 / 60 + 42.80 / 3600) * Math.PI / 180; // DMS to decimal, lng of projection origin | |
| var M_0 = 0; // meridian distance measured from equator to origin | |
| var a = 0; | |
| var f = 0; |
⚠⚠⚠⚠⚠this must be set when new a renderer object⚠⚠⚠⚠⚠
{preserveDrawingBuffer: true}
//⚠⚠⚠⚠⚠this must be set when new a renderer object⚠⚠⚠⚠⚠
//{preserveDrawingBuffer: true}
const renderer = new THREE.WebGLRenderer({preserveDrawingBuffer: true});
//set a id for getting the canvas
renderer.domElement.id = 'screenshot';speed = (currentTime - startTime) / (endTime - startTime)
frame = Date.now()
const speed = (frame - positions[0].frame) / (positions[0 + delay].frame - positions[1 + delay].frame);
speed represents the position between the two most recent positions in the positions array.frame is the current frame of the game.positions[0].frame is the frame of the most recent position in the positions array.positions[0 + delay].frame and positions[1 + delay].frame are the frames of the two most recent positions, with a delay offset.