modify some packet variable name

fix chat problem with multi-byte characters