This is a read only copy without any forum functionality of the old Modcraft forum.
If there is anything that you would like to have removed, message me on Discord via Kaev#5208.
Big thanks to Alastor for making this copy!

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - tx423w

Pages: [1]
1
Serverside Modding / Re: [Help] Create an Account from the Login Screen
« on: December 02, 2017, 03:03:02 pm »
Thank you very much guys! That helped me alot, the Idea you gave me schlumpf should fix my problem. The Server is for me and my friends so I take the insecurity. Maybe I find another way to to give that more security soon :)

[Edit:] Works now! Thanks again!

2
Serverside Modding / [Help] Create an Account from the Login Screen
« on: December 02, 2017, 06:12:46 am »
Hey everyone.

I'm currently stuck on a feature which I try to develope.
I want to create a PlayerAccount from the Login Screen.

I use the newest TrinityCore Version for 3.3.5.

I was already able to create the Button on the Screen as well as the Form which collects the Accountname and Password.
The biggest Problem is, that you can't use any http Requests in your AccountLogin.lua File the WoW Api just does not Provide any Methods that can connect to the Internet.
Except one Method - The Login Method DefaultServerLogin();

My Idea now was to send a regular expression in front of the username and using this Method Login Method.
Example: DefaultServerLogin("_newacc_" .. username, password);

Now I try to take these Information at my Server (located in Authserver/Server/AuthSession.ccp)
I was already able to find the Method which is able to give me the Accountname, but I´m struggeling to find the method where the password is comming in.

With my current work I'm only able to create a Playeraccount from the Client with a Pre-Defined Password (Serversided).

It would be really nice if someone is able to help me find the Method the to find the Password - to work with it further.

Best Regards
tx

Pages: [1]