Joker7175

New Member
Jan 21, 2020
5
4
LOVE the addition of Penelope as a GF choice. Thought it would be Riley, but this works too and made me play from the start of 1 again just to have a Penelope focused full playthrough. The fact you can have Penelope AND Chloe as GF after the latest update is surprising, but also makes me think there will be more consequences to come. Sure, Penelope is good with it, but what happens when Chloe finds out? Now I can't wait for ep. 4
 

MartiniGM

New Member
Sep 30, 2017
13
5
i cant connect my lovense toy to the game, it just freezes or just doesnt do anything. what can i do?
I've rewritten the lovense functions and made it work - the developers Lovense token has expired so when the game uses Lovense remote server the authentication won't work.

The replacement Lovense functions just go straigt to error. Doesn't try to connect to remote server but it also means that it only works with Lovense Remote App in "Game Mode" - to make it even more complicated, the settings page where you are supposed to enter Lovense "Game Mode" IP and port nummer is bugged.

But just enter the IP and port number from your Lovense Game Mode page into variables in the file. In the example below the ip is "192,168.1.69" but you must change it to your mobile phones ip.

But it you can use Universal Ren'Py mod and change the values persistent.lovense_http_port and persistent.lovense_local_ip to the ip and http port from Lovense Remote Game Mode page in your app.

After you have changed the values to the correct values you can try to play label/scene ep2_s7c using Universal Ren'Py Mod, it is one of the scenes with lovense support... and your toy should vibrate during roleplay part of the scene.

And implementing lovense in other games it actually super easy when you use offline Game Mode instead of remote servers. Just use command "$ Lovense.vibrate(20)" and lovense will vibrate for with intensity "number value" and the vibration can be ended with "$ Lovense.stop()" seconds. :)


Here is what needs to be changed in file /game/lovense/lovense.rpc. I've also attached a working file. And you must delete rpyc file after editing rpc file.

Python:
In the file /game/lovense/lovense.rpc change the following:

init python:
    def download_qr_code():
        if (requests.get("http://80.5.11.93:8443/api/v1/server/status").status_code != 200):
            persistent.lovense_local_ip = "Server Offline"
            persistent.lovense_http_port = "Please connect with Game Mode"
            return

        try:
            response = requests.post("http://80.5.11.93:8443/api/v1/lovense/qrCode", json={"uid": str(persistent.uuid), "uname": store.name})
            json_content = response.json()

            with open(os.path.join(config.gamedir, "lovense_qr_code.jpg"), "wb") as f:
                f.write(requests.get(json_content["data"]["qr"]).content)
        except requests.exceptions.RequestException as e:
            persistent.lovense_local_ip = "Server Error"
            persistent.lovense_http_port = "Please connect with Game Mode"
            print(e)
            return

        return "lovense_qr_code.jpg"

    def set_lovense_user():
        if (requests.get("http://80.5.11.93:8443/api/v1/server/status").status_code != 200):
            persistent.lovense_local_ip = "Server Offline"
            persistent.lovense_http_port = "Please connect with Game Mode"
            return

        try:
            response = requests.get(f"http://80.5.11.93:8443/api/v1/lovense/users/{persistent.uuid}")
       
            if response.status_code == 404:
                persistent.lovense_local_ip = "User not found"
                persistent.lovense_http_port = ""
                return

            lovense_user = response.json()
        except Exception as e:
            persistent.lovense_local_ip = "Server Error"
            persistent.lovense_http_port = "Please connect with Game Mode"
            print(e)
            return


    persistent.lovense_local_ip = ""
    persistent.lovense_http_port = ""


default persistent.lovense_local_ip = ""
default persistent.lovense_http_port = ""


To:



init python:
    def download_qr_code():
        persistent.lovense_local_ip = "Server Error"
        persistent.lovense_http_port = "Please connect with Game Mode"
        return

    def set_lovense_user():
        persistent.lovense_local_ip = "Server Error"
        persistent.lovense_http_port = "Please connect with Game Mode"
        return

    persistent.lovense_local_ip = "192.168.1.69"
    persistent.lovense_http_port = "20010"


default persistent.lovense_local_ip = "192.168.1.69"
default persistent.lovense_http_port = "20010"


This is an OK label to use for checking if your toy is connected.
Screenshot 2023-04-08 123210.png



Example from Lovense developer page - how to find "Game mode" page inn Lovense Remote app
game-mode-1.b2e6bfea.png

The variables you want to change to ip and port-number
Screenshot 2023-04-08 122143.png
 
Last edited:
  • Red Heart
Reactions: Thunderhips

gtx770

New Member
Sep 10, 2019
1
0
Hmmm. Seems like the unlock gallery button is gone, last time it had one was 3.0.2. Any way to unlock gallery now?
 
3.20 star(s) 197 Votes