[cod] Call of Duty Black Ops server RCON protocol

worky at clanmeets.de worky at clanmeets.de
Thu Nov 18 09:30:00 EST 2010


What do you doing with this app?
Imho we should completly ignore such products as long as Activision drives this gameserver politic. 
 
Greets Tom

---
http://cgl.clanmeets.de

-----Ursprüngliche Nachricht-----
Von: hannu at shadowstyle.nl
An: cod at icculus.org
Gesendet: 18.11.2010 14:26:01
Betreff: Re: [cod] Call of Duty Black Ops server RCON protocol
I had a few private massages about how to see a live player list, kickplayers and remove the invalid headers
you can download this updated class here
http://shadowstyle.nl/bo_rcon_r02.zip

At the moment im writing a live statistics library you can have a look here
http://ara.unmatched.nl/statistics.php?player=92215
Keep in mind everything you see is temorarly..
it has no design what so ever yet and the library is not finished yet.

> Try teamstatus, this works very well.
> 
> > just; status
> > appears always after 11 players
> >
> >> Normally not, which command did you tried?
> >>
> >> >I dont understand what they where thinking actually. Even within the 
> >> >valid
> >> >is a terminating 0 and after that valid data continues until the 2nd 
> >> >0x00.
> >> >
> >> >> The official Rcon Tool uses a different protocol with larger request 
> >> >> and
> >> >> response packets. Maybe this one is left over from previous engines 
> >> >> and
> >> >> it
> >> >> will be killed in the future.
> >> >>
> >> >> > thx for the info.. yes i noticed some weird data
> >> >> >
> >> >> >> I forgot to mention another important thing: you can't send the 
> >> >> >> rcon
> >> >> >> commands rapidly, even if you have the correct password, you should
> >> >> >> wait
> >> >> >> some milliseconds after each request. I wait 250 ms and it seems to 
> >> >> >> be
> >> >> >> fine.
> >> >> >>
> >> >> >> >
> >> >> >> > The terminating 0 isn't really needed, but you can send it 
> >> >> >> > anyways.
> >> >> >> > However, you will be surprised of the response packets, all are 
> >> >> >> > 1168
> >> >> >> > bytes
> >> >> >> > in size and contain valid and invalid data. You can check for the
> >> >> >> > terminating 0 in the response to get the real valid data.
> >> >> >> >
> >> >> >> > Treyarch programmers are like Dice programmers, as bad as they 
> >> >> >> > can.
> >> >> >> >
> >> >> >> >> Its only a minimal class to get you started.
> >> >> >> >> All q3 related rcon commands are stripped.
> >> >> >> >>
> >> >> >> >> UPD string
> >> >> >> >> 0xFF,0xFF,0xFF,0xFF,0x00,RCONPASSWORD,0x20,COMMAND,0x00
> >> >> >> >>
> >> >> >> >>> The UDP string to send rcon commands is now:
> >> >> >> >>>
> >> >> >> >>> 0xFF,0xFF,0xFF,0xFF,0x00,RCONPASSWORD,0x20,COMMAND
> >> >> >> >>>
> >> >> >> >>> > Well.. it does print server info, but how do i send commands?
> >> >> >> >>> >
> >> >> >> >>> > also, what is changed from the normal Q3 class? perhaps i can
> >> >> >> >>> > make
> >> >> >> >>> > it
> >> >> >> >>> > work
> >> >> >> >>> > for HLSW :)
> >> >> >> >>> >
> >> >> >> >>> > On 11/13/2010 15:32, Hannu Kumpeli wrote:
> >> >> >> >>> >> For people who want to access Black Ops rcon through PHP can
> >> >> >> >>> >> download
> >> >> >> >>> >> the
> >> >> >> >>> >> modified Q3 class here
> >> >> >> >>> >>
> >> >> >> >>> >> http://shadowstyle.nl/bo_rcon.zip
> >> >> >> >>> >> _______________________________________________
> >> >> >> >>> >> cod mailing list
> >> >> >> >>> >> cod at icculus.org
> >> >> >> >>> >> http://icculus.org/mailman/listinfo/cod
> >> >> >> >>> >>
> >> >> >> >>> > _______________________________________________
> >> >> >> >>> > cod mailing list
> >> >> >> >>> > cod at icculus.org
> >> >> >> >>> > http://icculus.org/mailman/listinfo/cod
> >> >> >> >>>
> >> >> >> >>> _______________________________________________
> >> >> >> >>> cod mailing list
> >> >> >> >>> cod at icculus.org
> >> >> >> >>> http://icculus.org/mailman/listinfo/cod
> >> >> >> >>
> >> >> >> >> _______________________________________________
> >> >> >> >> cod mailing list
> >> >> >> >> cod at icculus.org
> >> >> >> >> http://icculus.org/mailman/listinfo/cod
> >> >> >> >
> >> >> >> > _______________________________________________
> >> >> >> > cod mailing list
> >> >> >> > cod at icculus.org
> >> >> >> > http://icculus.org/mailman/listinfo/cod
> >> >> >>
> >> >> >> _______________________________________________
> >> >> >> cod mailing list
> >> >> >> cod at icculus.org
> >> >> >> http://icculus.org/mailman/listinfo/cod
> >> >> >
> >> >> > _______________________________________________
> >> >> > cod mailing list
> >> >> > cod at icculus.org
> >> >> > http://icculus.org/mailman/listinfo/cod
> >> >>
> >> >> _______________________________________________
> >> >> cod mailing list
> >> >> cod at icculus.org
> >> >> http://icculus.org/mailman/listinfo/cod
> >> >
> >> > _______________________________________________
> >> > cod mailing list
> >> > cod at icculus.org
> >> > http://icculus.org/mailman/listinfo/cod
> >>
> >> _______________________________________________
> >> cod mailing list
> >> cod at icculus.org
> >> http://icculus.org/mailman/listinfo/cod
> >
> > _______________________________________________
> > cod mailing list
> > cod at icculus.org
> > http://icculus.org/mailman/listinfo/cod 
> 
> _______________________________________________
> cod mailing list
> cod at icculus.org
> http://icculus.org/mailman/listinfo/cod

_______________________________________________
cod mailing list
cod at icculus.org
http://icculus.org/mailman/listinfo/cod




More information about the cod mailing list