Call of Duty 4 Server Status 1.0 (Default branch)


 
Thread Tools Search this Thread
Special Forums News, Links, Events and Announcements Software Releases - RSS News Call of Duty 4 Server Status 1.0 (Default branch)
# 1  
Old 09-17-2008
Call of Duty 4 Server Status 1.0 (Default branch)

Call of Duty 4 Server Status is a PHP class can be used to retrieve information from Call Of Duty 4 game server. It connects to a Call Of Duty 4 server and retrieves information about the game status. The class stores game details like the players, scores, pings, etc. Image

Image

More...
Login or Register to Ask a Question

Previous Thread | Next Thread

3 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Check the exit status in a pipe call

Guys, I have a problem :confused: and I need some help: I've to process many huge zip files. I'd code an application that receive the data from a pipe, so I can simple unzip the data and send it (via pipe) to my app. Something like that: gzip -dc <file> | app The problem is: How can I... (7 Replies)
Discussion started by: Rkolbe
7 Replies

2. UNIX for Dummies Questions & Answers

302 server status code to 301/404 server status code

Hello, Sorry for my english. I have an arcade site. mydomain.com/game.html If database has the game name is good. mydomain.com/fd43f54.html if database has not the game name redirect to mydomain.com by 302 error code. if database has not the game name i want a 301/404 error code and no... (0 Replies)
Discussion started by: hoo
0 Replies

3. UNIX for Advanced & Expert Users

Call parallel sql scripts from shell and return status when both sql are done

Hi Experts: I have a shell script that's kicked off by cron. Inside this shell script, I need to kick off two or more oracle sql scripts to process different groups of tables. And when both sql scripts are done, I will continue in the shell script to do other things like checking processing... (3 Replies)
Discussion started by: huasheng8
3 Replies
Login or Register to Ask a Question
XSetRGBColormaps()														XSetRGBColormaps()

Name
  XSetRGBColormaps - set an XStandardColormap structure.

Synopsis
  void XSetRGBColormaps(display, w, std_colormap, count, property)
	Display *display;
	Window w;
	XStandardColormap *std_colormap;
	int count;
	Atom property;

Arguments
  display   Specifies a connection to an X server; returned from XOpenDisplay().

  w	    Specifies the window.

  std_colormap
	    Specifies the XStandardColormap structure to be used.

  count     Specifies the number of colormaps.

  property  Specifies the property name.

Availability
  Release 4 and later.

Description
  XSetRGBColormaps()  replaces	the  RGB colormap definition in the specified property on the named window.  If the property does not already
  exist, XSetRGBColormaps() sets the RGB colormap definition in the specified property on the window.  The property is stored with a type  of
  RGB_COLOR_MAP  and  a  format  of 32.  Note that it is the caller's responsibility to honor the ICCCM restriction that only RGB_DEFAULT_MAP
  contain more than one definition.

  To create a standard colormap, follow this procedure:

  1.   Open a new connection to the same server.

  2.   Grab the server.

  3.   See if property is on the property list of the root window for the display, using XGetStandardColormap().  If so, see if the  colormap
       field is non-zero.  If it is, the colormap already exists.

  4.   If the desired property is not present, do the following:

       o  Determine the color capabilities of the display.  Choose a visual.

       o  Create a colormap (not required for XA_RGB_DEFAULT_MAP).

       o  Call XAllocColorPlanes() or XAllocColorCells() to allocate cells in the colormap.

       o  Call XStoreColors() to store appropriate color values in the colormap.

       o  Fill in the descriptive fields in the structure.

       o  Call XSetRGBColormaps() to set the property on the root window.

       o  Use XSetCloseDownMode() to make the resource permanent.

       o  Close the new connection to the server.

  5.   Ungrab the server.

  6.   XSetRGBColormaps() supersedes XSetStandardColormap().

  For more information, see Volume One, Chapter 7, Color.

Structures
     typedef struct {
	 Colormap colormap;
	 unsigned long red_max;
	 unsigned long red_mult;
	 unsigned long green_max;
	 unsigned long green_mult;
	 unsigned long blue_max;
	 unsigned long blue_mult;
	 unsigned long base_pixel;
	 VisualID visualid;	     /* added by ICCCM version 1 */
	 XID killid;		     /* added by ICCCM version 1 */
     } XStandardColormap;

Errors
  BadAlloc
  BadAtom
  BadWindow

See Also
  XAllocStandardColormap(), XGetRGBColormaps(), XVisualIDFromVisual().

Xlib - Window Manager Hints													XSetRGBColormaps()