by Graf Zahl » Sat Feb 21, 2009 6:38 pm
Would it be possible to fill the buffer with some commands until it is full, then have the network code handle it and filling the buffer again without having to return to the main program loop?
Then it would be possible to just put as many weapons into the buffer as fit, send it and continue until all weapon info has been transmitted. But to be honest, when I look at that code I only understand half of it. That's why I only found the 1400 bytes limitation here after some extended searching. I was somehow assuming that the code would be able to split up larger buffers, considering that the FDynamicBuffer class has no size restrictions whatsoever.
If it wouldn't just help avoiding some awkward problems I would never have bothered making this change...

Would it be possible to fill the buffer with some commands until it is full, then have the network code handle it and filling the buffer again without having to return to the main program loop?
Then it would be possible to just put as many weapons into the buffer as fit, send it and continue until all weapon info has been transmitted. But to be honest, when I look at that code I only understand half of it. That's why I only found the 1400 bytes limitation here after some extended searching. I was somehow assuming that the code would be able to split up larger buffers, considering that the FDynamicBuffer class has no size restrictions whatsoever.
If it wouldn't just help avoiding some awkward problems I would never have bothered making this change... :?