I use other script engine/app to automate some game play and I use GG run some task on demand.
The problem is, GG script seems to be interrupted if target process is terminated. (Reasonable but block in my way)
But sometimes I want to kill/restart the game, and therefore need to automate attach/load script.
To make it happen:
1. If it is possible to attach process/load script through local IPC or shell command.
I think it is not possible now.
2. Automate tap on GG to attach/load script. But there are two major problems to solve:
A. Find the game process can be non-trivial as the position in list seems unpredictable.
B. Find GG floating icon can be non-trivial.
Anyway, I would like to request some (trivial) features for menu/UI, which benefits humans and also can make my automation easier.
1. Add options to sort process list by pid/display name/package name.
IMO a sorted list is much easier to locate the process.
(It seems that GG tries to put foremost window's process 1st in list, but not always and other window/process are not sorted.
In case there is another floating window around, it is most likely that the floating window's app is 1st in list, and the game is at random list position.)
2. Add a menu entry to set/set floating icon position in menu. Add a menu entry to change floating icon size.
IMO a smaller floating window (without auto hide) is most convenient.
Remember and apply accurate floating icon position is much easier than struggle to drag GG to correct region every time.
(One practical use case is when speedhack is use frequently to tweak speed up/down all the time.
GG's floating icon is large, and huge if speedhack's arrows is shown -- I knew long press again can hide arrows, but it is inconvenient if I want to change speed all the time)
It would be easiest possible to attach process/load script through local IPC or shell command.
e.g. ((1592891810914 / 1000) == 1592891810) evaluates to true in GG
Obviously this is not the default behavior of Lua 5.3.
GG 99.0, arm64
In addition to broken division, converting fp number to string yields different result in GG.
print(1592891810914 * 0.001) gives out "1.592891810914E9" in GG, though it is "1592891810.914" in every other lua console I used.
I've been using game guardian to modify values in Tap Sports Baseball for a couple years now, the security has gotten better and better since I started including flagging for certain virtual spaces (parallel, xposed, calc). We figured out that vmos would work so we used that and the code was the same as always.
Now parallel space works again and its a much better app than vmos but for some reason the code in PS is different than vmos. I believe this is due to 32 bit vs 64 bit? But I'm no expert.
Why would the code change like this? In vmos it uses mainly dword (99% of the time) but in PS we are getting more qword results as well as additional lines of code (127D) where there never used to be code.
Any insight would be appreciated!