Skip to forum content

You are not logged in. Please login or register.


forums.pvpgn.pro → [EN] Tech Support → Problem in change "passhash1"

Pages 1

You must login or register to post a reply

RSS topic feed

Posts: 2

1 (edited by Feofilaktt 19.04.2020 18:36)

Topic: Problem in change "passhash1"

Hi guys,

I have a problem changing the PvPGN password hash.

When I change the password (hash) via the DataBase, it seems that it is not implemented in PvPGN. Does he have an internal DataBase on which I store password hashes?

Because I realized that when I change the password by the command "/chpass" the password is effective at the moment, and the DataBase still has the old hash and only after a while is it updated.

How do I update this password by DataBase without having to work with PvPGN? It's not possible?

2

Re: Problem in change "passhash1"

This is because of caching mechanism in pvpgn. Server operates with all user properties, including a password, in memory and push changes to a database in one-way.

You can use telnet protocol in scripts to login with a bot account, which has permissions to change a password for accounts, and send /chpass command.

// how to connect to telnet examples
https://github.com/pvpgn/phputils/tree/ … ot-php-lib
pvpgn.harpywar.com/pvpgn_bot.class.txt

You know how to enable bot login
https://forums.pvpgn.pro/viewtopic.php?pid=10423#p10423

Do not ask for support in PM.

Posts: 2

Pages 1

You must login or register to post a reply

Who now at forum

Currently view post: 1 guest, 0 registered users

forums.pvpgn.pro → [EN] Tech Support → Problem in change "passhash1"