change python script location

This commit is contained in:
Li0n 2022-02-26 14:57:08 +01:00
parent 4d0e6a8091
commit 2c25edd378
3 changed files with 6 additions and 9 deletions

View File

@ -23,15 +23,13 @@ Type .help all in chat to see what you can do!
installation instructions for the external programs that are intended to be used with this clientside mod:
1) move the minetest_intiface.py file into your minetest directory. this should be in the same directory that has debug.txt in it.
1) make sure you have python 3 installed. for windows users I recommend installing it through the microsoft store: https://www.microsoft.com/store/productId/9PJPW5LDXLZ5
2) make sure you have python 3 installed. for windows users I recommend installing it through the microsoft store: https://www.microsoft.com/store/productId/9PJPW5LDXLZ5
2) open a command prompt.
3) open a command prompt.
3) type "pip install buttplug", press enter, and wait. this will install the buttplug library needed to run this program.
4) type "pip install buttplug", press enter, and wait. this will install the buttplug library needed to run this program.
5) make sure you have Intiface installed to connect to your favourite rumble device. you can install it from here: https://intiface.com/desktop
4) make sure you have Intiface installed to connect to your favourite rumble device. you can install it from here: https://intiface.com/desktop
--------------
@ -41,7 +39,7 @@ How to run the programs as intended:
2) open a command prompt.
3) in the command prompt, navigate to the directory that has the minetest_intiface.py file in it. if you've never used a command line before I recommend asking a friend or google how to do this.
3) in the command prompt, navigate to the directory that has the minetest_intiface.py file in it. this should be in the rumble mod. if you've never used a command line before I recommend asking a friend or google how to do this.
3) type "python3 minetest_intiface.py" and press enter to start running the python code from the minetest directory.

View File

@ -8,7 +8,6 @@ local rumble_duration_max_standard = 5
-- To do list:
-- sadist mode
-- tnt griefer mode
-- move python program to a different directory
-- chat mode: trigger from specific words written by either yourself (humiliation) or others (degradation)
local rumble_strength_max = rumble_strength_max_standard

View File

@ -41,7 +41,7 @@ async def device_added_task(dev: ButtplugClientDevice):
time.sleep(sleep_sec)
with open("debug.txt", 'r') as file:
with open("../../debug.txt", 'r') as file:
for line in follow(file):
pattern = '^\d{4}-\d{2}-\d{2} \d{2}:\d{2}:\d{2}: ACTION\[Main\]: \[rumble\] (queue|instant) \d+(.\d+)? \d+(.\d+)?$'
if match(pattern, line) is None: