[bf1942] bf1942 rcon protocol?

Brigham Stevens brs at vikingmind.com
Tue Feb 10 17:25:59 EST 2004


Not full docs, but I found this very helpful:

 I looked here and used this as a reference for how to login:
 http://outflux.net/software/bf1942-console
 
Otherwise I found nothing....

 And then I used Ethereal myself, because that script ^^^ does not seem to work 
 for me, however, the logic for login is correct... Ethereal tells all.. Also, 
 be sure to run the rcon program in -m mode I believe that is the streaming 
 protocol... Otherwise, it keeps resending the line as you build it up on each 
 keystroke. You will quickly see what i mean in ethereal... 

The only other thing is that if you are using java it uses a big-
 endian network byte ordering, and bf1942 rcon is native intel little endian. 
 This only matters when writing values larger than bytes to the stream, so I 
had  to do a little byte swapping here and there (like for string lengths). 
The other thing, is that I found  it was easier (in java) to use a byte array 
buffer to build up my messages  before sending them, it was easier to avoid 
alignment errors. 

I pray they don't  change the protocol!!! And if they do it would be super nice 
to have a protocol doc >:)

ON another semi-related note:
Does anyone have technical specifications for RFA format? I know there are 
plenty of tools, but I may want to write my own RFA packer that can run as an 
ant build task, and or/ provide better project management functionality so you 
don't have to keep walking directory trees in gooooies all the time.




Quoting Steven Hartland <killing at multiplay.co.uk>:

> Does anyone have a full protocol description for bf1942 rcon?
> 
>     Steve / K
> 
> ================================================
> This e.mail is private and confidential between Multiplay (UK) Ltd. and
> the person or entity to whom it is addressed. In the event of
> misdirection, the recipient is prohibited from using, copying, printing
> or otherwise disseminating it or any information contained in it. 
> 
> In the event of misdirection, illegible or incomplete transmission
> please telephone (023) 8024 3137
> or return the E.mail to postmaster at multiplay.co.uk.
> 
> 
> 



--brigham



More information about the Bf1942 mailing list