PDA

View Full Version : Rcon connection in Qt



halvors
20th April 2010, 22:52
Hi!

I code a rcon program (game admin protocol) but i cant get it work. Here is my code and some info.


Packet format
int32 32-bit unsigned integer
1 byte bits 7..0 of value 1 byte bits 15..8 of value 1 byte bits 23..16 of value 1 byte bits 31..24 of value
Word
int32 Size Number of bytes in word, excluding trailing null byte char[] Content Word contents -- must not contain any null bytes char Terminator Trailing null byte
Packet
int32 Sequence Bit 31: 0 = The command in this command/response pair originated on the server 1 = The command in this command/response pair originated on the client
Bit 30: 0 = Request, 1 = Response
Bits 29..0: Sequence number (this is used to match requests/responses in a full duplex transmission)
int32 Size Total size of packet, in bytes
int32 NumWords Number of words following the packet header
Word[N] Words N words
A packet cannot be more than 16384 bytes in size.

And the project files here: http://skymiastudios.com/openrcon/rcon.rar

Thanks for help ;)

wysota
20th April 2010, 23:16
Sorry for being so direct but do you expect us to code the program for you or what?

halvors
22nd April 2010, 23:39
No, not directly, i want to fix exsisting program. So i need dome help ;)

wysota
22nd April 2010, 23:41
Oh... I see... Thanks for sharing your plans with us, then. Good luck! (sarcasm mode off)

nish
23rd April 2010, 06:29
No, not directly, i want to fix exsisting program. So i need dome help ;)
you need "some" help, so tell us exactly where you need it?

squidge
23rd April 2010, 07:50
I can fix your existing code for you for £50 per hour or part hour spent on the code.

Or I might be able to offer free advice to questions you ask.