Author | Message | Time |
---|---|---|
Final | Ok Well Im trying to make a ventrilo bot. I have some functions i got on a website wich does encoding on the buffer but i need some help if anyone has the time. 0x00 0x54 I need to add those infront of my buffer but how do i do that if the buffer has all the variables declared? Can someonehelp me out. this is wat i want Packet=....; now with those two added Packet=00 54 ......; Nvm I just did this* [code] char buff[sizeof(Packet)]; buff[0]=0x00; buff[1]=0x54; int b=2; for(int i=0;i<sizeof(buff);i++){ buff[b]=Packet[i]; b++; } send(s,buff,sizeof(buff),0); [/code] | October 5, 2006, 4:00 AM |