C
C#2y ago
uselessxp

❔ embed and unity app/game and interact with it

guys someone know how could I implement an unity app in a C# app? I mean, I'd like to login to an unity app/game and be able to interact with it through C# for create stats, calculations, and make some automations. in this specific case, there's also a browser version, maybe it could simplify, but I don't have idea on how to make C# able to recognize objects, starting from read values. maybe a bit of reverse engineering will be needed. any hints?
11 Replies
Angius
Angius2y ago
Is this your game?
uselessxp
uselessxpOP2y ago
ofc not, but I'm not going to develop hacks or similar thing, but an utility, like mods in minecraft
Angius
Angius2y ago
Does the game's TOS allow for it?
uselessxp
uselessxpOP2y ago
well, this is not a serious game, so there are not specific TOS but a sure rule is that bots that play the game for you are not allowed. in my case, I'm interested at 95% to read data and make calculations. do you know skyblock?
Angius
Angius2y ago
Some sort of a Minecraft game mode, yeah
uselessxp
uselessxpOP2y ago
exactly, and do you know SkyCrypt?
Angius
Angius2y ago
Never heard of it Well, in any case, "embedding" a game won't be easy, if possible at all. Your best bet would be to use some sort of an OCR library to read data from screen And probably win32.dll shenanigans to capture the screen for the OCR to work
uselessxp
uselessxpOP2y ago
SkyCrypt is a webbased tool that give a very very very good overview of your account, here is a sample https://sky.shiiyu.moe/stats/Shiiyu/Tomato (in the case of this game, the game provide API of everything so it was made using API) In my case, since this is a very little game, there are absolutely advanced stuffs like API, but you can get your info and info of other players by logging into the game and typing their nick/id
Angius
Angius2y ago
If there's no API, not much besides some janky OCR setup can be done
uselessxp
uselessxpOP2y ago
it could be an idea, but it does mean that a PC should be blocked with the window of the game always on top I think that the game can be accessed as I intend, I was able to get all assets, so I can see all images, texts and other, I don't think they protect data, also there is a dude that developed a background bot able to do everything I asked him clues on how to start but he thinks I want to create another bot and steal customers, but it's not so, also I'll not be able to develop a bot like he did, it's insane. anyway if I check .dll he used, I can many, in particular I noticed this one: Microsoft.Web.WebView2.Core maybe it could help? also his app seems to use a component, Fleck that seems to be used for Websocket Implementation
Accord
Accord2y ago
Was this issue resolved? If so, run /close - otherwise I will mark this as stale and this post will be archived until there is new activity.
Want results from more Discord servers?
Add your server