ANTICHAT

ANTICHAT (https://forum.antichat.xyz/index.php)
-   Python (https://forum.antichat.xyz/forumdisplay.php?f=205)
-   -   ShopNotifier | Web Panel for Arizona RP traders (https://forum.antichat.xyz/showthread.php?t=1423632)

xSkateboard 25.02.2022 01:58

This is a web panel with a plug-in for the Arizona RP server (GTA:SAMP), which helps to trade on the local market and analyze all monetary transactions.

The LUA script itself is called ShopNotifier.lua, in which you need to set the domain of the web panel in order for the client and server to be connected.

It is also necessary to place a token for the telegram bot in the code in order for alerts to work (Yes, I did not take it out separately in the settings, because it was a test project that was quickly abandoned due to irrelevance)

git: https://github.com/qskateboard/shopNotifier

https://camo.githubusercontent.com/e...653d616c62756d

chapo 25.02.2022 18:21

заливать скрипт на гитхаб не лучшая идея

https://forum.antichat.xyz/attachmen...20459a0c45.png

xSkateboard 25.02.2022 18:38

Цитата:

Сообщение от chapo

заливать скрипт на гитхаб не лучшая идея

Луа скрипт там играет самую последнюю роль. Всё лежит на плечах бэкэнда и flask. Данные можно импортировать через sqlite3 например или запросами к REST API

chapo 25.02.2022 18:43

Цитата:

Сообщение от xSkateboard

Луа скрипт там играет самую последнюю роль. Всё лежит на плечах бэкэнда и flask. Данные можно импортировать через sqlite3 например или запросами к REST API

я не смотрел как у тебя все работает, просто имел ввиду что регулярка не сработает, так как в файле на гитхабе кодировка вроде бы UTF-8


Время: 23:28