projects-jenz/torchlight_changes_unloze/torchlight3
2024-12-20 02:05:59 +01:00
..
Torchlight goodbye oauth 2024-11-09 22:48:19 +01:00
_start_mg.sh initial release 2021-03-17 20:46:54 +01:00
_start.sh initial release 2021-03-17 20:46:54 +01:00
access.json initial release 2021-03-17 20:46:54 +01:00
config-mg.json re-added file with secrets removed 2024-12-20 02:05:59 +01:00
config.json readding json file with secrets removed 2024-12-20 02:03:43 +01:00
main.py initial release 2021-03-17 20:46:54 +01:00
mainmg.py initial release 2021-03-17 20:46:54 +01:00
README.md goodbye oauth 2024-11-09 22:48:19 +01:00
requirements.txt updated requirements with relevant pip plugin 2024-07-18 00:56:06 +02:00
triggers.json initial release 2021-03-17 20:46:54 +01:00

2024-11-09: a guy called david stein said on stackoverflow that refresh tokens are scuffed when google considers an application to be "testing" and not development. Up until this point refresh tokens with oauth2 worked fine but not any more. this is now resolved by using cookies instead althought many people advised strongly against such use. Lets pray it works. It in reality just requires generating the cookies from chrome webbrowser from time to time. Atm this is done by logging into the ovh machine with x2go, opening chrome in web browser, logging into an gmail account so verification is there.

Torchlight3

0. Requirements

  • Python3.6
  • FFMPEG
  • youtube-dl
  • On game server:
    • custom sourcemod
    • sm-ext-AsyncSocket extension
    • smjansson extension
    • SMJSONAPI plugin
    • sm-ext-Voice extension

1. Install

  • Install python3 and python-virtualenv
  • Create a virtualenv: virtualenv venv
  • Activate the virtualenv: . venv/bin/activate
  • Install all dependencies: pip install -r requirements.txt

2. Usage

Set up game server stuff. Adapt config.json.

Make sure you are in the virtualenv! (. venv/bin/activate)

Run: python main.py

Glacius was here. xd