View Single Post
Old 06-10-2023, 02:33 PM   #357
DuckieTigger
Wizard
DuckieTigger ought to be getting tired of karma fortunes by now.DuckieTigger ought to be getting tired of karma fortunes by now.DuckieTigger ought to be getting tired of karma fortunes by now.DuckieTigger ought to be getting tired of karma fortunes by now.DuckieTigger ought to be getting tired of karma fortunes by now.DuckieTigger ought to be getting tired of karma fortunes by now.DuckieTigger ought to be getting tired of karma fortunes by now.DuckieTigger ought to be getting tired of karma fortunes by now.DuckieTigger ought to be getting tired of karma fortunes by now.DuckieTigger ought to be getting tired of karma fortunes by now.DuckieTigger ought to be getting tired of karma fortunes by now.
 
DuckieTigger's Avatar
 
Posts: 4,764
Karma: 246906703
Join Date: Dec 2011
Location: USA
Device: Oasis 3, Oasis 2, PW3, PW1, KT
Quote:
Originally Posted by Montana Harper View Post
Even with the connection enabled and/or using the shortcut, the port still changes. Possibly it's the version of BS (5.11) I'm using? It doesn't matter if it's Nougat or Pie, though; I've tried both of them. I can't disable the various Win10 Pro VM features (Hyper-V, etc.) without breaking other necessary programs, or I'd be using BS 5.09 and BSTweaker.

Ah, well. I guess it'll just be a multi-step process for me each time. Thanks for helping me troubleshoot!
Yeah, the virtualization is probably what does it. I have mine off. On the other hand, if it is always in the similiar range, just go through all ports in there and attempt to connect, then disconnect afterwards. I think a loop should be easy enough to do if you google the syntax.

ETA: the used port is always visible in Bluestack's config file. It can be read from there and extracted. Everytime it changes, e.g. after a restart, the config file changes. I got so far as to find the line with the port automatically. Now I just need to get the port out of the string and clean my code up so that it looks nice.

ETA2: Working now, will post a new reply.

Last edited by DuckieTigger; 06-10-2023 at 08:56 PM.
DuckieTigger is offline   Reply With Quote