Jump to content

[SHARE] Create characters with "BAD" names!


mpj123

Recommended Posts

Tested on ct2.2, not sure if packets changes beforehand or anything after.

 

Well its pretty simple, I made a script with l2.net that allows you to create characters with names that are usually blocked by the client.

 

Example

 

http://img166.imageshack.us/my.php?image=59690230zs1.jpg

 

 

Some of you might say "how did you find that out anyways...." Well... I was trying to create a character with a simple name like... red, blue, white.... those 3 were already picked. So, having that in mind I was like well whats another cool color.... oh yea... "black" and I guess "black" is known as a racial slur. So I tried my script and it worked, my character was created with a new cool name!

 

 

HOW TO: Connect via l2.net, guides to login can be found at www.ltwonet.com

 

The main topic is http://ltwonet.com/showthread.php?t=829

 

Its pretty simple, change the name, edit the character to your liking.... log in until you get to the character screen and bingo. Your in!

 

Script is:

/////////////////////////Create a character with l2.net OOG//////////////////////////////////////
/////////////////////////Ltwonet.com for more scripts!////////////////////////////////////////////

DEFINE bytebuffer my_bb 256

//Write desired name here no more then 16 characters...
DEFINE STRING NAME1 "mpj123OWNS"

//1 = HUMAN/// 2 = ELF/// 3 = DARK ELF/// 4 = ORC/// 5 = DWARF/// 6 = KAMAEL
DEFINE INT RACE 2

// 1 = male  2 = female
DEFINE INT SEX 2

//1 = fighter   2 = mage
DEFINE INT MAGEorFIGHTER 2

//1 = A 2 = B  3 = C... etc
//HairStyle.... 1 - 7 for females 1 - 5 for males
//HairColor... 1 - 4 for everyone but Kamael.... Kamael 1 - 3
//Face 1 - 3 for all
DEFINE INT HairStyle 2
DEFINE INT HairColor 2
DEFINE INT FACE 2



//DO NOT TOUCH UNLESS YOU ARE FIXING THIS SCRIPT
//Buffering 0C
my_bb.write_byte #i12
//Buffering desired name
my_bb.write_string NAME1
//Buffering race/character sex/type
CALLSUB RACE
CALLSUB SEX
CALLSUB MAGFIG
//Buffering 1C 00 00 00 27 00 00 00 1E 00 00 00 1B 00 00 00 23 00 00 00 0B 00 00 00
my_bb.WRITE_INT32 #i28
my_bb.WRITE_INT32 #i39
my_bb.WRITE_INT32 #i30
my_bb.WRITE_INT32 #i27
my_bb.WRITE_INT32 #i35
my_bb.WRITE_INT32 #i11
//finalizing
CALLSUB HAIRSTYLE
CALLSUB HAIRCOLOR
CALLSUB FACE
PRINT_TEXT "get to here last only"

PRINT_TEXT "Injecting create character packet"
INJECT "13"
SLEEP 100
PRINT_TEXT "Injecting MAIN create character packet"
my_bb.TRIM_TO_INDEX
injectbb my_bb
SLEEP 100
PRINT_TEXT "Injecting confirmation create character packet"
INJECT "D0 39 00"

SCRIPT_END

DELAY 5000
PRINT_TEXT "Shouldn't get to this point."
SUB RACE
PRINT_TEXT "1"
SWITCH RACE
CASE #i1
   my_bb.WRITE_INT32 #i0
BREAK 1
CASE #i2
   my_bb.WRITE_INT32 #i1
BREAK 1
CASE  #i3
   my_bb.WRITE_INT32 #i2
BREAK 1
CASE #i4
   my_bb.WRITE_INT32 #i3
BREAK 1
CASE #i5
   my_bb.WRITE_INT32 #i4
BREAK 1
CASE  #i6
   my_bb.WRITE_INT32 #i5
BREAK 1
DEFAULT
   my_bb.WRITE_INT32 #i0
BREAK 1
ENDSWITCH
RETURNSUB


PRINT_TEXT "Shouldn't get to this point."
SUB SEX
PRINT_TEXT "2"
IF RACE >= #i5
   my_bb.WRITE_INT32 #i0
   RETURNSUB
ENDIF
SWITCH SEX
CASE #i1
   my_bb.WRITE_INT32 #i0
BREAK 1
CASE #i2
   my_bb.WRITE_INT32 #i1
BREAK 1
DEFAULT
   my_bb.WRITE_INT32 #i0
BREAK 1
ENDSWITCH
RETURNSUB


PRINT_TEXT "Shouldn't get to this point."
SUB MAGFIG
PRINT_TEXT "3"
SWITCH RACE
CASE #i1
   IF MAGEorFIGHTER <= #i1
       my_bb.WRITE_INT32 #i0
   ENDIF
   IF MAGEorFIGHTER >= #i2
       my_bb.WRITE_INT32 #i10
   ENDIF    
BREAK 1
CASE #i2
    IF MAGEorFIGHTER <= #i1
       my_bb.WRITE_INT32 #i18
   ENDIF
   IF MAGEorFIGHTER >= #i2
       my_bb.WRITE_INT32 #i25
   ENDIF    
BREAK 1
CASE #i3
    IF MAGEorFIGHTER <= #i1
       my_bb.WRITE_INT32 #i31
   ENDIF
   IF MAGEorFIGHTER >= #i2
       my_bb.WRITE_INT32 #i38
   ENDIF    
BREAK 1
CASE #i4
    IF MAGEorFIGHTER <= #i1
       my_bb.WRITE_INT32 #i44
   ENDIF
   IF MAGEorFIGHTER >= #i2
       my_bb.WRITE_INT32 #i49
   ENDIF    
BREAK 1
CASE #i5
   my_bb.WRITE_INT32 #i53
BREAK 1
CASE #i6
   my_bb.WRITE_INT32 #i123
BREAK 1
DEFAULT
   my_bb.WRITE_INT32 #i0
BREAK 1
ENDSWITCH
RETURNSUB


PRINT_TEXT "Shouldn't get to this point."
SUB HAIRSTYLE
PRINT_TEXT "4"
IF SEX <= #i1
SWITCH HairStyle
CASE #i1
   my_bb.WRITE_INT32 #i0
BREAK 1
CASE #i2
   my_bb.WRITE_INT32 #i1
BREAK 1
CASE #i3
   my_bb.WRITE_INT32 #i2
BREAK 1
CASE #i4
   my_bb.WRITE_INT32 #i3
BREAK 1
CASE #i5
   my_bb.WRITE_INT32 #i4
BREAK 1
DEFAULT
   my_bb.WRITE_INT32 #i0
BREAK 1
ENDSWITCH
ENDIF


IF SEX >= #i2
SWITCH HairStyle
CASE #i1
   my_bb.WRITE_INT32 #i0
BREAK 1
CASE #i2
   my_bb.WRITE_INT32 #i1
BREAK 1
CASE #i3
   my_bb.WRITE_INT32 #i2
BREAK 1
CASE #i4
   my_bb.WRITE_INT32 #i3
BREAK 1
CASE #i5
   my_bb.WRITE_INT32 #i4
BREAK 1
CASE #i6
   my_bb.WRITE_INT32 #i5
BREAK 1
CASE #i7
   my_bb.WRITE_INT32 #i6
BREAK 1
DEFAULT
   my_bb.WRITE_INT32 #i0
BREAK 1
ENDSWITCH
ENDIF
RETURNSUB


PRINT_TEXT "Shouldn't get to this point."
SUB HAIRCOLOR
PRINT_TEXT "5"
IF RACE >= #i6
   IF SEX <= #i1
       SWITCH HairColor
       CASE #i1
           my_bb.WRITE_INT32 #i0
       BREAK 1
       CASE #i2
           my_bb.WRITE_INT32 #i1
       BREAK 1
       CASE #i3
           my_bb.WRITE_INT32 #i2
       BREAK 1
       DEFAULT
           my_bb.WRITE_INT32 #i0
       BREAK 1
       ENDSWITCH
   ENDIF
   IF SEX >= #i2
       SWITCH HairColor
       CASE #i1
           my_bb.WRITE_INT32 #i0
       BREAK 1
       CASE #i2
           my_bb.WRITE_INT32 #i1
       BREAK 1
       CASE #i3
           my_bb.WRITE_INT32 #i2
       BREAK 1
       DEFAULT
           my_bb.WRITE_INT32 #i0
       BREAK 1
       ENDSWITCH
   ENDIF
RETURNSUB
ENDIF

SWITCH HairColor
PRINT_TEXT "6"
CASE #i1
   my_bb.WRITE_INT32 #i0
BREAK 1
CASE #i2
   my_bb.WRITE_INT32 #i1
BREAK 1
CASE #i3
   my_bb.WRITE_INT32 #i2
BREAK 1
CASE #i4
   my_bb.WRITE_INT32 #i3
BREAK 1
DEFAULT
   my_bb.WRITE_INT32 #i0
BREAK 1
ENDSWITCH
RETURNSUB


PRINT_TEXT "Shouldn't get to this point."
SUB FACE
PRINT_TEXT "7"
SWITCH FACE
CASE #i1
   my_bb.WRITE_INT32 #i0
BREAK 1
CASE #i2
   my_bb.WRITE_INT32 #i1
BREAK 1
CASE #i3
   my_bb.WRITE_INT32 #i2
BREAK 1
ENDSWITCH
RETURNSUB

Link to comment
Share on other sites

Haha, thanks mpj123. I didn't even know that you can't have a bad name as nick in L2. ^^ Maybe because I didn't create any bad, huh. Another good share from L2.Net, really gonna try L2.Net now ^^.

 

Thanks.

Link to comment
Share on other sites

haha funny, but maybe a little bit dangerous, maybe if someone rats you out, or a GM sees you, he will probably know you did something "wrong" to get that name.

 

buttt nice for a while :)

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  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...