Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

[Release] Changing character name length

Skilled Illusionist
Loyal Member
Joined
Jun 27, 2008
Messages
391
Reaction score
12
Ctrl + F name length
name length not found.
Continuing on.. Sorry if this is "old" but I searched and I did not find.

Go to src > net > sf > odinms > client > MapleCharacterUtil.java.

Ctrl + F:
Code:
if (name.length() <= [B]3[/B] || name.length() > [B][U]12[/U][/B])
and change the numbers in bold. Make sure that the 3 is always below the bolded and underlined number, in this example, 12.

Also, make sure that the numbers in bold below MUST be the same with the numbers you edited.
Code:
("[a-zA-Z0-9_-]{[B]3,12[/B]}");
So if you made the minimum(3) to be 7, make sure the 3 in the bold above is changed to 7. ~ Credits to john_d


You could also change what text, numbers, etc could be used by this code:
Code:
("[a-zA-Z0-9_-]{3,12}");
^Ctrl + F it.
[a-zA-Z0-9_-]{3,12}
means
1. a-z = allow letter from a-z
2. A-Z = same as above allow capitals
3. 0-9 = means allow 0 to 9 numbers
4. _ - = allow _ underscore and - dash
5. 3,12 = means only allow names between 3 and 12 in lenght

That's it.
 
Master Summoner
Loyal Member
Joined
Nov 30, 2007
Messages
511
Reaction score
0
I thought that was a client thing?
 
Skilled Illusionist
Loyal Member
Joined
Jun 27, 2008
Messages
391
Reaction score
12
Ctrl + F name length
name length not found.

Continuing on.. Sorry if this is "old" but I searched and I did not find.

Go to src > net > sf > odinms > client > MapleCharacterUtil.java.

Ctrl + F:
Code:
if (name.length() <= [B]3[/B] || name.length() > [B][U]12[/U][/B])
and change the numbers in bold. Make sure that the 3 is always below the bolded and underlined number, in this example, 12.

You could also change what text, numbers, etc could be used by this code:
Code:
("[a-zA-Z0-9_-]{3,12}");
^Ctrl + F it. I'm not sure how that works but... yea..

That's it.

I thought that was a client thing?

Go to src > net > sf > odinms > client > MapleCharacterUtil.java.
 
Master Summoner
Loyal Member
Joined
Nov 30, 2007
Messages
511
Reaction score
0
Well, you mean to change the maximum length you can have your character's name be on character creation, right? I really thought that was client sided. We'll see soon enough I guess.
 
Custom Title Activated
Loyal Member
Joined
Feb 27, 2004
Messages
1,378
Reaction score
50
Ctrl + F name length
name length not found.

Continuing on.. Sorry if this is "old" but I searched and I did not find.

Go to src > net > sf > odinms > client > MapleCharacterUtil.java.

Ctrl + F:
Code:
if (name.length() <= [B]3[/B] || name.length() > [B][U]12[/U][/B])
and change the numbers in bold. Make sure that the 3 is always below the bolded and underlined number, in this example, 12.

You could also change what text, numbers, etc could be used by this code:
Code:
("[a-zA-Z0-9_-]{3,12}");
^Ctrl + F it. I'm not sure how that works but... yea..

That's it.

[a-zA-Z0-9_-]{3,12}
means
1. a-z = allow letter from a-z
2. A-Z = same as above allow capitals
3. 0-9 = means allow 0 to 9 numbers
4. _ - = allow _ underscore and - dash
5. 3,12 = means only allow names between 3 and 12 in lenght
 
Skilled Illusionist
Loyal Member
Joined
Jun 27, 2008
Messages
391
Reaction score
12
Well, you mean to change the maximum length you can have your character's name be on character creation, right? I really thought that was client sided. We'll see soon enough I guess.
No, the title is:
[Release] Changing character name length

[a-zA-Z0-9_-]{3,12}
means
1. a-z = allow letter from a-z
2. A-Z = same as above allow capitals
3. 0-9 = means allow 0 to 9 numbers
4. _ - = allow _ underscore and - dash
5. 3,12 = means only allow names between 3 and 12 in lenght
Yeaa, I sorta knew that. Didn't know the 3,12 thing though.
 
Master Summoner
Loyal Member
Joined
Nov 30, 2007
Messages
511
Reaction score
0
I don't think I understand, would you mind explaining?
 
Skilled Illusionist
Loyal Member
Joined
Jun 27, 2008
Messages
391
Reaction score
12
I don't think I understand, would you mind explaining?
I didn't really mean for it to be for anything specific, just that is changes the character name length.
 
Newbie Spellweaver
Joined
Jan 17, 2007
Messages
11
Reaction score
0
i found that b4 ..when i was looking for somewhere u can type different language in the game..which i havnt find it yet..anyone knows how?
can we change A-Z to something else? like i can use chinese in the game..i know this is English forum..if u goin to say that..just dont answer my question .ok? thx
im goin to test it ..when i have time ..thx for the release might be helpful to someone else..
 
Junior Spellweaver
Joined
Jul 12, 2008
Messages
105
Reaction score
0
i thought 13+ names glitch o-o
well in my guild i like see it as like... random ltters come outa no where
 
You've got my respect!
Joined
Apr 8, 2008
Messages
508
Reaction score
147
Geez this doesn't work.
Unless you want to packet edit all the time.
 
You've got my respect!
Joined
Apr 8, 2008
Messages
508
Reaction score
147
Geez this doesn't work.
Unless you want to packet edit all the time.
 
Back
Top