Help enabling nickname registration

Having trouble with the game? Report issues and get help here. Read this first!

Moderators: Forum Moderators, Developers

Forum rules
Before reporting issues in this section, you must read the following topic:
Post Reply
User avatar
MarisaG
Posts: 6
Joined: March 13th, 2020, 10:58 am
Location: South San Francisco, CA
Contact:

Help enabling nickname registration

Post by MarisaG »

I'm trying to set up wesnoth to use a phpbb3 forum's mysql data and I have the [user_handler] section defined in my config and no errors appear when starting wesnothd. However when I try and do "/register mypassword my@email" I get a message "this server does not allow username registration". What do I need to do to get it going?
--- wesnoth.gameplayer.club - The Wesnoth Game Player Club Wesnoth MP server, at the default port
-- https://wesnoth.gameplayer.club - My fan site for the great game Battle for Wesnoth
-- https://wesnoth.gameplayer.club/HostSplash - Get Wesnoth hosting for $14/month & first month free

User avatar
MarisaG
Posts: 6
Joined: March 13th, 2020, 10:58 am
Location: South San Francisco, CA
Contact:

Re: Help enabling nickname registration

Post by MarisaG »

I also get the "this server does not allow username registration" message when I try using any of the commands related to usernames, such as info etc.. And even though I have a registered account on the phpbb3 database it never asks for my password when logging into wesnoth...
--- wesnoth.gameplayer.club - The Wesnoth Game Player Club Wesnoth MP server, at the default port
-- https://wesnoth.gameplayer.club - My fan site for the great game Battle for Wesnoth
-- https://wesnoth.gameplayer.club/HostSplash - Get Wesnoth hosting for $14/month & first month free

User avatar
MarisaG
Posts: 6
Joined: March 13th, 2020, 10:58 am
Location: South San Francisco, CA
Contact:

Re: Help enabling nickname registration

Post by MarisaG »

I see that I need to set

Code: Select all

scons prefix=/home/wesnothowner/wesnoth  default_targets=wesnothd forum_user_handler=true
to enable user handler, but when I try and run that I get:

Code: Select all

OSError: [Errno 2] No such file or directory:
  File "/home/wesnothowner/wesnoth-1.14.12/SConstruct", line 424:
    mysql_config = check_output(["mysql_config", "--libs", "--cflags"]).decode("utf-8").replace("\n", " ").replace("-DNDEBUG", "")
Where do I put that?
--- wesnoth.gameplayer.club - The Wesnoth Game Player Club Wesnoth MP server, at the default port
-- https://wesnoth.gameplayer.club - My fan site for the great game Battle for Wesnoth
-- https://wesnoth.gameplayer.club/HostSplash - Get Wesnoth hosting for $14/month & first month free

User avatar
Pentarctagon
Project Manager
Posts: 4368
Joined: March 22nd, 2009, 10:50 pm
Location: Earth (occasionally)

Re: Help enabling nickname registration

Post by Pentarctagon »

That would seem to indicate that you don't have the mysql/mariadb dependencies installed.
99 little bugs in the code, 99 little bugs
take one down, patch it around
-2,147,483,648 little bugs in the code

User avatar
MarisaG
Posts: 6
Joined: March 13th, 2020, 10:58 am
Location: South San Francisco, CA
Contact:

Re: Help enabling nickname registration

Post by MarisaG »

I had plain mysql installed, and installed mariadb but I get the same thing...
--- wesnoth.gameplayer.club - The Wesnoth Game Player Club Wesnoth MP server, at the default port
-- https://wesnoth.gameplayer.club - My fan site for the great game Battle for Wesnoth
-- https://wesnoth.gameplayer.club/HostSplash - Get Wesnoth hosting for $14/month & first month free

User avatar
Pentarctagon
Project Manager
Posts: 4368
Joined: March 22nd, 2009, 10:50 pm
Location: Earth (occasionally)

Re: Help enabling nickname registration

Post by Pentarctagon »

Do you have the -dev package as well?
99 little bugs in the code, 99 little bugs
take one down, patch it around
-2,147,483,648 little bugs in the code

User avatar
MarisaG
Posts: 6
Joined: March 13th, 2020, 10:58 am
Location: South San Francisco, CA
Contact:

Re: Help enabling nickname registration

Post by MarisaG »

Ah, that was it. Thanks!
--- wesnoth.gameplayer.club - The Wesnoth Game Player Club Wesnoth MP server, at the default port
-- https://wesnoth.gameplayer.club - My fan site for the great game Battle for Wesnoth
-- https://wesnoth.gameplayer.club/HostSplash - Get Wesnoth hosting for $14/month & first month free

Post Reply