Add hot-update boot pipeline, UI bundles/atlas assets, and design docs.
Ignore AIClient/Library and AIClient/HybridCLRData permanently; include HybridCLR/YooAsset project setup and UI tooling. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -0,0 +1,53 @@
|
||||
#!/usr/bin/env python3
|
||||
import json
|
||||
import urllib.error
|
||||
import urllib.request
|
||||
|
||||
BASE = "https://game.xworld.ren"
|
||||
|
||||
BODIES = [
|
||||
{"user": "test", "pass": "test"},
|
||||
{"account": "test", "password": "test"},
|
||||
{"name": "test", "password": "test"},
|
||||
{"username": "admin", "password": "admin"},
|
||||
{"username": "guest", "password": "guest"},
|
||||
{"username": "demo", "password": "demo"},
|
||||
{"username": "udx", "password": "abcd99"},
|
||||
{"username": "test", "password": "test", "platform": "editor"},
|
||||
{"username": "test", "password": "test", "pid": "m2"},
|
||||
{"username": "a", "password": "b", "deviceId": "x"},
|
||||
]
|
||||
|
||||
PATHS = ["/login", "/register", "/signup", "/guest", "/auth", "/token"]
|
||||
|
||||
|
||||
def post(path, payload):
|
||||
data = json.dumps(payload).encode()
|
||||
req = urllib.request.Request(BASE + path, data=data, method="POST")
|
||||
req.add_header("Content-Type", "application/json")
|
||||
try:
|
||||
with urllib.request.urlopen(req, timeout=10) as resp:
|
||||
body = resp.read().decode("utf-8", "replace")
|
||||
print(f"OK {resp.status} {path} {payload} => {body[:500]}")
|
||||
return body
|
||||
except urllib.error.HTTPError as e:
|
||||
body = e.read().decode("utf-8", "replace")
|
||||
print(f"HTTP {e.code} {path} {payload} => {body[:500]}")
|
||||
return None
|
||||
except Exception as e:
|
||||
print(f"ERR {path}: {e}")
|
||||
return None
|
||||
|
||||
|
||||
def main():
|
||||
print("=== path discovery ===")
|
||||
for p in PATHS:
|
||||
post(p, {"username": "x", "password": "y"})
|
||||
|
||||
print("=== login field variants ===")
|
||||
for b in BODIES:
|
||||
post("/login", b)
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
Reference in New Issue
Block a user