AttorneyOnline / tsuserver3

An Attorney Online server.
GNU Affero General Public License v3.0
25 stars 51 forks source link

Remove more information that necessary from MS to CM's #151

Closed caleb-mabry closed 3 years ago

caleb-mabry commented 3 years ago

Fixes #150

So it looks like the command was sending 1 too many args to the CM's. By making it go to [:4] we get the appropriate information sent to the CM's client. This change will give us which should be the correct implementation.

The previous packet that was getting sent had duplicated the original message and the bad message. Good Packet: MS#1#-#Young Mia#normal#This is a broken packet#def#1#0#49#4#0#0#0#0#0##-1###0#0#0#0#0#0#-^(b)normal^(a)normal^#-^(b)normal^(a)normal^#-^(b)normal^(a)normal^#0#||#%

Bad Packet Built From Previous Packet: MS#1#-#Young Mia#normal#This is a broken packet#def#1#0#49#4#0#0#0#0#0##-1###0#0#0#0#0#0#-^(b)normal^(a)normal^#-^(b)normal^(a)normal^#-^(b)normal^(a)normal^#0#||#%

Below is the fixed implementation on the CM's client.

image