Jump to content
  • 0

Character creation with special characters



  • VIP

Hello all :D

How can i do that, when i create a character, i am able to use special characters like "_" and "." and " " (space).

ex1: _test_
ex2: _ test _

What should i modify?

Have a nice day.

Link to post

3 answers to this question

Recommended Posts

  • 0
Posted (edited)
check_name_alphabet(const char* str) search and change.:
int check_name_alphabet(const char* str)
    const char* tmp;

    if (!str || !*str)
        return 0;

    if (strlen(str) < 2)
        return 0;

    for (tmp = str; *tmp; ++tmp)
        if (isdigit(tmp) || isalpha(tmp))
        switch (*tmp)
        case ' ':
        case '.':
        case '-':
        case '_':
        case '@':
        case '!':
        case '^':
        case '#':
        case '$':
        case '%':
        case '&':
        case '*':
        case '(':
        case ')':
    return 0;

    return check_name_independent(str);


service.h add.:


INFO : locale_service.cpp 

Edited by Device41
wrong charcter
Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Answer this question...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.