Official Community Forums
 
HomeHome  FAQFAQ  SearchSearch  MemberlistMemberlist  UsergroupsUsergroups  RegisterRegister  Log in  The Wiki  Website  github Project  

Share | 
 

 How to create an account?

View previous topic View next topic Go down 
AuthorMessage
tmears
Newbie
Newbie
avatar

Posts : 2
Join date : 2012-05-31
Location : hell

PostSubject: How to create an account?   Thu 31 May - 19:35

I've followed all the instructions in the wiki and have the server up and running without issue but, I can't find any way to create an account. There has to be an easier way than editing the database manually...

Thanks in advance.
Back to top Go down
theryn
Newbie
Newbie
avatar

Posts : 8
Join date : 2012-05-22
Location : Sydney, Australia

PostSubject: Re: How to create an account?   Thu 31 May - 22:27

You need to create a user login on the original multiverse site. There should be a 'register for a free account' link (or similar) on the login page of the client. Smile
Back to top Go down
Xangis
Foundation Developer
avatar

Posts : 124
Join date : 2011-12-30
Location : Beaverton, OR

PostSubject: Re: How to create an account?   Fri 1 Jun - 3:53

If you're talking about running your own master database for your own server on your own hardware, you do actually have to manually add a record to the database for now.

Since that's something that was originally private to Multiverse.net, the only way to register was via their website. It shouldn't be too tough to create a simple PHP or Python web page to add users to the master database, but there isn't one yet as far as I know. I was expecting to need to create one at some point for my own project that I'd then contribute it back to the open source project.

Just now I took a look at the source in svn. Check out this folder:
multiverse\website\registration

It looks like there are a bunch of web pages related to registration, particularly register.jsp. I'm not sure what it'd take to adapt that to your own master server, but it couldn't hurt to look.
Back to top Go down
http://zetacentauri.com
tmears
Newbie
Newbie
avatar

Posts : 2
Join date : 2012-05-31
Location : hell

PostSubject: Re: How to create an account?   Fri 1 Jun - 7:57

Alright, thanks guys!
Back to top Go down
Xangis
Foundation Developer
avatar

Posts : 124
Join date : 2011-12-30
Location : Beaverton, OR

PostSubject: Re: How to create an account?   Fri 1 Jun - 18:04

I put together a basic Django site that contains the master login page, world patcher page, index, and a registration page that lets you create accounts on a master server tonight.

In addition to being able to register for an account on a web page, you can add/edit/delete accounts via the Django admin page.

It's pretty basic and needs a bit of polish, but should be something that I can share in a few days (after polishing and making more generic to Multiverse). Right now it's specific to my project.
Back to top Go down
http://zetacentauri.com
Tristan
Administrator
Administrator
avatar

Posts : 306
Join date : 2011-08-03
Location : Liverpool, UK

PostSubject: Re: How to create an account?   Fri 1 Jun - 20:16

Xangis wrote:
I put together a basic Django site that contains the master login page, world patcher page, index, and a registration page that lets you create accounts on a master server tonight.

In addition to being able to register for an account on a web page, you can add/edit/delete accounts via the Django admin page.

It's pretty basic and needs a bit of polish, but should be something that I can share in a few days (after polishing and making more generic to Multiverse). Right now it's specific to my project.

Once I finish work on the new website, I'll look at adapting/fitting the registration files into CMSs like Joomla, WordPress and Drupal, and will probably knock up a few simple PHP templates, and add the necessary files to a repository on the new site.
Back to top Go down
http://www.3dmodeller.info
Xangis
Foundation Developer
avatar

Posts : 124
Join date : 2011-12-30
Location : Beaverton, OR

PostSubject: Re: How to create an account?   Sat 2 Jun - 9:43

Sounds like a good plan. I'd never use PHP for one of my own projects, but it does totally make sense for a project like Multiverse since it's a bit lower entry barrier. Seems that almost every new site is either Drupal, WordPress, or Joomla nowadays. Everyone knows how to use them.

Django was super easy. For the most part all I had to do was this against the master DB:
python manage.py inspectdb > models.py

And then just create the registration form page. I love the world of the modern ORM. Smile
Back to top Go down
http://zetacentauri.com
krougeau503
Newbie
Newbie
avatar

Posts : 2
Join date : 2012-06-03
Location : Portland, Oregon

PostSubject: Re: How to create an account?   Sun 3 Jun - 11:00

While a full fledged registration page sounds awesome, I'm just trying to figure out how to setup my initial Player Character account so that I can peruse the sampleworld that I'm running locally. I have everything setup & running, but am not sure just what information I should be injecting into the database. I have looked over the player_character table, but it doesn't have any obvious "username/password" fields. Any assistance would be greatly appreciated and enlightening Smile It seems to be about the only missing puzzle piece in the Getting Started tutorial on the wiki. Thanks!

ETA: So after poking and prodding a bit futher, I gather that in order to login, even locally, I will need to download, configure, and compile the Master Server - correct? confused
Back to top Go down
Delurin
Head of Platform Development


Posts : 424
Join date : 2011-08-03

PostSubject: Re: How to create an account?   Tue 5 Jun - 1:45

You can by pass the master server by using world_settings.xml file in your world Browser/config folder it would look something like this:

Code:
<client_config>
  <loopback_world_response world_id="world_id">
    <account id_number="0"/>
    <server hostname="localhost" port="5040"/>
    <patcher_url href="link_to/world_patcher.html"/>
    <update_url href="link_to/world_id/"/>
  </loopback_world_response>
</client_config>

the patcher and update url aren't really necessary if you also use the --noupdate in your command line execution which then uses the locally designated file repository
Back to top Go down
krougeau503
Newbie
Newbie
avatar

Posts : 2
Join date : 2012-06-03
Location : Portland, Oregon

PostSubject: Re: How to create an account?   Tue 5 Jun - 6:10

Thanks so much Delurin! That sounds ever so much simpler. I'll give it a go and see if I can get it running shortly. Experimenting with Unity3D at the moment, which is fun but also has a helluva learning curve haha. All the fun stuff does it seems. Smile
Back to top Go down
Sponsored content




PostSubject: Re: How to create an account?   

Back to top Go down
 
How to create an account?
View previous topic View next topic Back to top 
Page 1 of 1
 Similar topics
-
» Hello, i'm starting on the Taiwanese realms.
» CREATE a new battlenet account?
» how to get one muxxu Account back after getting banned. (no Garantee!)
» Creating Account Taiwan
» Battlenet.com.cn Account Setup

Permissions in this forum:You cannot reply to topics in this forum
 :: Development :: Getting Started-
Jump to: