Quote:
Originally Posted by Wolfy.
5165, tried something look what now :v :
when i try to change:
everything is wrong here. 
|
Well all the .ToString is doing is converting the variable type to a string? The variable type being a byte array.
Subtype 2111 should check to make sure the sender is guild leader etc, then change the guild bulletin to be the message contained in the packet.
It will then send the chat packet to all guild members with subtype 2004 containing the new guild bulletin as the message.
So I don't know how your source works, but subtype 2111 needs to read a string from the buffer/byte array and set the bulletin to be that string.
And then you send the packet back with subtype 2004 containing the bulletin as a string/message at the correct offset.
Im sure your source already has chat functioning. Just look to see how it pulls/adds strings from/to the buffer/byte array and use the same methods here.