0 filer liked
32 kommentare
5 videoer
5 uploads
9 følgere
16.286 downloads
@Tony86100
Hi, thanks for the report! This is a bug in PyloaderV 0.9.2: when you pass a Python str to a native, the text only lives during that one call, but ADD_TEXT_COMPONENT_SUBSTRING_PLAYER_NAME keeps a pointer that the game reads later, in END_TEXT_COMMAND_DISPLAY_TEXT. So the text is gone by then.
Workaround until the next update: pass bytes and keep them in a variable until the END call, and draw every frame (INTERVAL_MS = 0, from on_tick):
from gta.natives import hud
INTERVAL_MS = 0
def draw_text(text, x, y, scale=0.5):
data = text.encode("utf-8") # must stay alive until END_...
hud.SET_TEXT_FONT(4)
hud.SET_TEXT_SCALE(scale, scale)
hud.SET_TEXT_COLOUR(255, 255, 255, 255)
hud.BEGIN_TEXT_COMMAND_DISPLAY_TEXT(b"STRING")
hud.ADD_TEXT_COMPONENT_SUBSTRING_PLAYER_NAME(data)
hud.END_TEXT_COMMAND_DISPLAY_TEXT(x, y, 0)
def on_tick():
draw_text("My menu", 0.1, 0.1)
note:
Your editor may flag the bytes argument; that’s fine. The next version will fix this so normal strings work again.
@onestarlaw
its already possible, press F6 while the browser is open, then you can walk, drive and look around while the page stays on screen (videos keep playing). Press F6 again to use the browser. Also, with PauseMediaOnClose=false in scripts\EyefindPlus\EyefindPlus.ini, music and videos keep playing even when you put the phone away. The key can be changed with PlayKey in the same file.
@Moonraker
Danke, deine Absturzberichte waren perfekt! Alle drei zeigen dieselbe Ursache: eine Telemetrie-Funktion von Edge, die Microsoft nur bei manchen Nutzern einschaltet, bringt WebView2 156 dazu, die Seite beim Klick auf einen Link zu beenden (deshalb die graue Seite). Version 0.3.6 schaltet diese Funktion ab. Falls es erneut Probleme gibt, gib mir bitte Bescheid\!
👌
@Moonraker
Danke! Das war EyefindOverlay.log: es zeigt, dass die Anzeige auf deinem 3440x1440 Bildschirm einwandfrei funktioniert (996 von 1006 Bildern gezeichnet). Ich brauche bitte noch:
1. Die Datei scripts\EyefindPlus\EyefindPlus.log (nicht EyefindOverlay.log), direkt nachdem der Absturz passiert ist, bevor du das Spiel neu startest. Version 0.3.5 schreibt dort den Grund hinein (“Browser process failed: ...”).
2. Was genau passiert: graue/weiße Seite, friert ein, Spiel stürzt ab? Und was hast du gerade gemacht (YouTube, Klick, Vollbild...)?
3. Falls vorhanden: den Ordner scripts\EyefindPlus\browser-data\EBWebView\Crashpad\reports (Absturzberichte von Edge).
Danke für deine Hilfe 👌
@Moonraker do you play in legacy or enhanced ? and provide the mod log that can be found here:
scripts\EyefindPlus\EyefindPlus.log
@Moonraker
Thanks again for the detailed report, it helped a lot.
That exact error ("value out of expected range")
is what the browser answers when its page has crashed: every click sent to the dead page fails,
which is the loop you saw on the grey page.
0.3.5 detects a crashed or frozen page and reloads it automatically,
and writes the crash reason in scripts\EyefindPlus\EyefindPlus.log.
If it happens again,
please send that log so we can see what makes the page crash on your setup (ReShade, GPU memory...).
@DESIGN-BUILD-SHARE Thanks for reporting it. “Wacatac.H!ml” was a machine-learning guess, not a known virus: the installer opens GTA’s encrypted archives (with CodeWalker’s code) to add the phone texture, which looked suspicious to automated scanners. It only writes into your GTA V “mods” folder. 0.2.1 has a rebuilt installer (1/71 on VirusTotal instead of 5/71), and the manual install is still included if you prefer.
@Flaming_Skull Thanks a lot for the detailed report! You were right: natives with pointer arguments (BOOL, Vector3, Entity*...) were not wrapped properly. Fixed in 0.9: they now return the values directly, e.g. status, hit, pos, normal, ent = shapetest.GET_SHAPE_TEST_RESULT(handle) (trailing out-params can be omitted). For your use case there is also a new helper: world.raycast_from_camera() returns what the camera is looking at (hit, position, normal, entity), no aiming needed. Note that START_SHAPE_TEST_LOS_PROBE is asynchronous: GET_SHAPE_TEST_RESULT returns 1 (pending) with zeros until it returns 2, which is probably why your ctypes buffers stayed empty. The helper uses the synchronous probe so you get the result immediately.
@CyberShadow_V Thanks for the feedback! Good ideas: for the music, you can already try setting PauseMediaOnClose=false in scripts\EyefindPlus\EyefindPlus.ini, the sound should keep playing when you put the phone away. And I'll look into a key to switch between browsing and playing, so you can move with the browser open. 🙂
big announcement:
the Legacy version are now supported