Brynner Posted October 1, 2012 Group: Members Topic Count: 120 Topics Per Day: 0.02 Content Count: 1960 Reputation: 202 Joined: 01/08/12 Last Seen: 54 minutes ago Share Posted October 1, 2012 (edited) why the server is not accepting the whole birthdate deletion? if you put 8 digit character it will say You entered birthday does not match.for example. my birthday is YYYYMMDD. it will not accept the correct birthdate. but if you put only 6digits character. you can deleted you character. YYMMDD it will accept your input birthday. // construct "YY-MM-DD" birthdate[0] = RFIFOB(fd,6); //year birthdate[1] = RFIFOB(fd,7); //year birthdate[2] = '-'; birthdate[3] = RFIFOB(fd,8); //month birthdate[4] = RFIFOB(fd,9); //month birthdate[5] = '-'; birthdate[6] = RFIFOB(fd,10); //date birthdate[7] = RFIFOB(fd,11); //date birthdate[8] = 0; is there any lift the limit of 6 characters into 8? Edited October 1, 2012 by Brynner Link to comment Share on other sites More sharing options...
Brynner Posted October 1, 2012 Group: Members Topic Count: 120 Topics Per Day: 0.02 Content Count: 1960 Reputation: 202 Joined: 01/08/12 Last Seen: 54 minutes ago Author Share Posted October 1, 2012 In this case, does it really need the 4 digit year? Who is going to live to be 100 still playing RO that would need to differentiate between 1901 and 2001? just take a look on this screenshot http://postimage.org/image/6d1lzs5j3/ e.g: 20101126 which is 8 digit characters right? but when you enter that you will get this message. You entered birthday does not match. but when you type the 101126 which is 6 digit characters. it will accept the deletion process. i hope you get it clearly. Link to comment Share on other sites More sharing options...
Bin4ry Posted October 1, 2012 Group: Members Topic Count: 30 Topics Per Day: 0.01 Content Count: 782 Reputation: 82 Joined: 01/01/12 Last Seen: September 21, 2015 Share Posted October 1, 2012 Hex the client and change 20101126 to 101126 in the input box example? Link to comment Share on other sites More sharing options...
Brynner Posted October 1, 2012 Group: Members Topic Count: 120 Topics Per Day: 0.02 Content Count: 1960 Reputation: 202 Joined: 01/08/12 Last Seen: 54 minutes ago Author Share Posted October 1, 2012 Hex the client and change 20101126 to 101126 in the input box example? this is a server side not a client side. it isn't obvious for you that i posted it in Source Discussion. not on Client & Patcher Support? Link to comment Share on other sites More sharing options...
lekkereten Posted October 2, 2012 Group: Members Topic Count: 8 Topics Per Day: 0.00 Content Count: 148 Reputation: 46 Joined: 11/02/11 Last Seen: November 25, 2024 Share Posted October 2, 2012 I think it is because how it actually works on official clients. Below the function there is this comment: {// CH: <0829>.W <char id>.L <birth date:YYMMDD>.6B struct PACKET_CH_DELETE_CHAR3 { /* this+0x0 */ short PacketType /* this+0x2 */ unsigned long GID /* this+0x6 */ char Birth[6] } 2 bytes for the head; 4 bytes for the char id; 6 bytes for the birth date, 1 for each number. So if you change how it works on the emulator it'll "mismatch" with the client, I thiink... Correct me if I made an erroneous statement. 1 Link to comment Share on other sites More sharing options...
Recommended Posts