[DiscordArchive] Might be a dumb question - Is there a way that I can create an account on startup?
[DiscordArchive] Might be a dumb question - Is there a way that I can create an account on startup?
Archived author: mynameismeat • Posted: 2023-01-20T01:56:34.491000+00:00
Original source
Might be a dumb question - Is there a way that I can create an account on startup?
Archived author: Rymercyble • Posted: 2023-01-20T01:58:51.702000+00:00
Original source
anything is possible but its not rly mysql question
Archived author: mynameismeat • Posted: 2023-01-20T02:00:06.222000+00:00
Original source
I had figured there's be a SQL statement that'd be able to do it
Archived author: Rymercyble • Posted: 2023-01-20T02:02:19.662000+00:00
Original source
it can be done as sql query but it still will have to be executed in some hook in c++ or lua....well its lie u could have standalone bash script which would run sql script together with server
Archived author: mynameismeat • Posted: 2023-01-20T02:09:40.965000+00:00
Original source
yeah, hoping for something I can execute before the worldserver/authserver start, but after mysql does.
Archived author: mynameismeat • Posted: 2023-01-20T02:10:23.061000+00:00
Original source
I figure it's not a stretch to say that someone else had already solved this problem, so here i am
Archived author: mynameismeat • Posted: 2023-01-20T02:11:34.115000+00:00
Original source
as far as I can tell it should just be adding an entry to this table
https://www.azerothcore.org/wiki/account
[Embed: account]
Wiki and Documentation of the AzerothCore project
https://www.azerothcore.org/wiki/account
Archived author: Rymercyble • Posted: 2023-01-20T02:11:58.731000+00:00
Original source
i dont know if any1 did and i dont know what all is needed u definitely need record in characters table there i would recommend to just copy some existing char and change values which u want to be different but i dont know if any other table is needed
Archived author: Rymercyble • Posted: 2023-01-20T02:12:13.362000+00:00
Original source
oh wait account not char
Archived author: Revision • Posted: 2023-01-20T02:12:25.182000+00:00
Original source
Not *just* add an entry. You have to generate the salt and hash and everything, it's not that simple.