So I'm experiencing a very strange bug with my bot; profile key writes intermittently fail. I can't see anything in my code that looks improper, and even the packet logs look fine! Hopefully someone will spot something I'm just not seeing..
Request to open profile window:
SEND SID_READUSERDATA [omitted]
RECV SID_READUSERDATA
0030 fd ef 4f e9 00 00 ff 26 7e 00 01 00 00 00 0a 00 ..O....&~.......
0040 00 00 00 00 00 00 4d 61 6c 65 31 00 42 6f 73 74 ......Male1.Bost
0050 6f 6e 00 4c 65 61 64 65 72 20 6f 66 20 42 4e 55 on.Leader of BNU
0060 00 00 00 32 39 38 35 39 30 35 37 20 31 31 39 31 ...29859057 1191
0070 33 38 31 33 37 38 00 32 39 39 32 34 39 35 34 20 381378.29924954
0080 31 33 31 32 38 38 33 31 31 36 00 32 39 39 32 34 1312883116.29924
0090 39 35 34 20 31 30 39 38 38 32 30 36 31 36 00 31 954 1098820616.1
00a0 30 33 35 36 31 30 39 00 77 23 42 4e 55 2d 43 61 0356109.w#BNU-Ca
00b0 6d 65 6c 00 mel.
Profile window pops up; data entered (sex=no), click ok:
SEND SID_WRITEUSERDATA
0030 fe fb 13 22 00 00 ff 27 5f 00 01 00 00 00 03 00 ..."...'_.......
0040 00 00 42 4e 55 2d 43 61 6d 65 6c 00 70 72 6f 66 ..BNU-Camel.prof
0050 69 6c 65 5c 73 65 78 00 70 72 6f 66 69 6c 65 5c ile\sex.profile\
0060 6c 6f 63 61 74 69 6f 6e 00 70 72 6f 66 69 6c 65 location.profile
0070 5c 64 65 73 63 72 69 70 74 69 6f 6e 00 6e 6f 00 \description.no.
0080 42 6f 73 74 6f 6e 00 4c 65 61 64 65 72 20 6f 66 Boston.Leader of
0090 20 42 4e 55 00 BNU.
Open profile again:
SEND SID_READUSERDATA [omitted]
RECV SID_READUSERDATA
0030 ff 2b ee 2f 00 00 ff 26 7b 00 01 00 00 00 0a 00 .+./...&{.......
0040 00 00 01 00 00 00 6e 6f 00 42 6f 73 74 6f 6e 00 ......no.Boston.
0050 4c 65 61 64 65 72 20 6f 66 20 42 4e 55 00 00 00 Leader of BNU...
0060 32 39 38 35 39 30 35 37 20 31 31 39 31 33 38 31 29859057 1191381
0070 33 37 38 00 32 39 39 32 34 39 35 34 20 31 33 31 378.29924954 131
0080 32 38 38 33 31 31 36 00 32 39 39 32 34 39 35 34 2883116.29924954
0090 20 31 30 39 38 38 32 30 36 31 36 00 31 30 33 35 1098820616.1035
00a0 36 31 30 39 00 77 23 42 4e 55 2d 43 61 6d 65 6c 6109.w#BNU-Camel
00b0 00 .
Profile window pops up; new information is correct. I tried changing sex again:
SEND SID_WRITEUSERDATA
0030 fe 80 a5 93 00 00 ff 27 61 00 01 00 00 00 03 00 .......'a.......
0040 00 00 42 4e 55 2d 43 61 6d 65 6c 00 70 72 6f 66 ..BNU-Camel.prof
0050 69 6c 65 5c 73 65 78 00 70 72 6f 66 69 6c 65 5c ile\sex.profile\
0060 6c 6f 63 61 74 69 6f 6e 00 70 72 6f 66 69 6c 65 location.profile
0070 5c 64 65 73 63 72 69 70 74 69 6f 6e 00 54 65 73 \description.Tes
0080 74 00 42 6f 73 74 6f 6e 00 4c 65 61 64 65 72 20 t.Boston.Leader
0090 6f 66 20 42 4e 55 00 of BNU.
Request to open profile window again; this time the write(sex=test) failed.
SEND SID_READUSERDATA [omitted]
RECV SID_READUSERDATA
0030 fd fa ec b4 00 00 ff 26 7b 00 01 00 00 00 0a 00 .......&{.......
0040 00 00 02 00 00 00 6e 6f 00 42 6f 73 74 6f 6e 00 ......no.Boston.
0050 4c 65 61 64 65 72 20 6f 66 20 42 4e 55 00 00 00 Leader of BNU...
0060 32 39 38 35 39 30 35 37 20 31 31 39 31 33 38 31 29859057 1191381
0070 33 37 38 00 32 39 39 32 34 39 35 34 20 31 33 31 378.29924954 131
0080 32 38 38 33 31 31 36 00 32 39 39 32 34 39 35 34 2883116.29924954
0090 20 31 30 39 38 38 32 30 36 31 36 00 31 30 33 35 1098820616.1035
00a0 36 31 30 39 00 77 23 42 4e 55 2d 43 61 6d 65 6c 6109.w#BNU-Camel
00b0 00 .
This happens completely intermittently; it's not just always success before failure.