Znote / ZnoteAAC

Developement repository for the Znote AAC project. A website portal to represent and manage your Open Tibia server.
MIT License
145 stars 127 forks source link

Name Suggestion on Character Creation #399

Open EPuncker opened 4 years ago

EPuncker commented 4 years ago

Well, today I had to create lots of characters for testing purposes and it was a pain to name them, so I had the idea to suggest the implementation of a Suggest name feature just like we have in the official game, I've found two API's that could help:

http://names.drycodes.com/ https://github.com/skeeto/fantasyname/

Znote commented 4 years ago

Which query parameters would fit nicely? I don't have time to dig to deep into the code and try various things, but if you can fix some samples it should be easy enough to implement to Znote AAC.

EPuncker commented 4 years ago

Which query parameters would fit nicely? I don't have time to dig to deep into the code and try various things, but if you can fix some samples it should be easy enough to implement to Znote AAC.

by taking a further look into the two links I suggested, the drycodes one does its job better, and here are the queries for returning a single random name:

for male and for female

(you may change the "1" to any number and it will return an array with that much names