Page 1 of 1

Create accounting by website form

Posted: Tue Jan 05, 2016 6:44 am
by Sad
hello everyone,
I want to create a new shard and I want to creare account from classic website form.
If possibile to do it?
In my new shard, I stay create website by wordpress for easly to manage.
Another question: for website stats? How I setting up?

Thanks to all! :)

Re: Create accounting by website form

Posted: Tue Jan 05, 2016 7:26 am
by boberski
Yes it is possible:

https://github.com/polserver/poldistro/ ... nts/auxsvc

Heve you have script for doin that, also you will need php script to connect to POL aux but I can not write it now. I try to do it later today or tommorow.
Sad wrote:Another question: for website stats? How I setting up?
What do you mean by that? Uptime? Number of players?

Re: Create accounting by website form

Posted: Tue Jan 05, 2016 9:51 am
by Sad
thank you Aderal for you reply!


Yes I would mean uptime, players etc, all informations of the server.

Re: Create accounting by website form

Posted: Tue Jan 05, 2016 9:56 am
by Sad
Thanks for you reply Aderal!
A question , come intact file newaccount.src with wordpress?


For stats on the website mean the number of player, accounts and uptime!

Re: Create accounting by website form

Posted: Tue Jan 05, 2016 1:43 pm
by boberski
For both, stats and account form you must prite wordpress plugin :)

Re: Create accounting by website form

Posted: Wed Jan 06, 2016 1:22 pm
by Sad
hello aderal,
now I understand how it integrates the script. But I've seen that does not control whether a username already exists on the pol.
You might like to add this control?
Thank you!!

Re: Create accounting by website form

Posted: Wed Jan 06, 2016 11:19 pm
by Yukiko
The UO module function CreateAccount does a check for existing accounts. That function is used in the CreateNewAccount function called by the auxsvc newAccount.src program.