Game Development Community

Size of strings in commandToClient and commandToServer

by Igor G · in Torque Game Engine · 02/27/2008 (12:26 pm) · 1 replies

What's the best way to fit more than 255 characters in a parameter for commandToClient or commandToServer?

Thanks.

#1
02/27/2008 (12:31 pm)
I had to write a special longCommandToServer/Client to support 1024 strings. I would post the solution, but it required hacking a bunch of places, and don't feel comfortable posting it. The key is copying the existing functions, and making the buffer bigger.