OldDog
11-09-2005, 11:12 AM
We don't really have a place for this kind of stuff, but I thought I'd pass on some stuff I did for my web site for CoD2.
As you may know, the engine is pretty much the same, and utilities like SQuery and ServerStat work almost out-of-the-box. However, I found that there's some missing pieces.
SQuery:
For those of you who don't know, SQuery can be used as a real-time status display of your server, from your web site. It was written, quite cleverly, to be multi-game, multi-engine, and it uses cvars to grab the info from the running game server. Because it's multi-game, it uses "case" statements to grab the appropriate data from each of the engines. CoD2 can still be accessed using the "q3a.php" file that comes with SQuery (Google it to find the source files), but the "case" of "call of duty 2" needs to be added to make it work completely. The only "case"s that are included (as of v3.8) are "cod" and "cod-uo".
I'm not going into any more details than that...you'll have to screw around with PHP the same way I did. But, if you're interested in having a real-time display of your server like mine: http://www.olddogvt.net (click on Real-Time Server Display for either server), then PM me, and I'll send you my code. Be aware that I've heavily modified SQuery 3.8 to fit my needs, so its nothing like the stock SQuery except the basics.
My point here is for those of you that use SQuery already, the "case" you need is "call of duty 2".
ServerStat:
I like this utility, and have used it for several years now. It's a clean display, and easy to use. It actually works out-of-the-box (V214), but it's also missing some pieces, mostly cosmetic. The pieces missing are the images for the maps and the weapons for CoD2. Thanks to Gamefreak, on the http://www.serverstat.org site (where you can also grab the software itself), the maps and weapons for CoD2 have been added. I grabbed both, and have added WWII enlisted ranks to use for the awards. I always thought that WWII ranks were more appropriate. You can see an example of them at http://www.olddogvt.net/Server-Stats2/index.html, then click on Awards.
You can grab the CoD2 images for ServerStat at: http://www.olddogvt.net/CoD2-SS-images.zip
OD over and out...:salute:
As you may know, the engine is pretty much the same, and utilities like SQuery and ServerStat work almost out-of-the-box. However, I found that there's some missing pieces.
SQuery:
For those of you who don't know, SQuery can be used as a real-time status display of your server, from your web site. It was written, quite cleverly, to be multi-game, multi-engine, and it uses cvars to grab the info from the running game server. Because it's multi-game, it uses "case" statements to grab the appropriate data from each of the engines. CoD2 can still be accessed using the "q3a.php" file that comes with SQuery (Google it to find the source files), but the "case" of "call of duty 2" needs to be added to make it work completely. The only "case"s that are included (as of v3.8) are "cod" and "cod-uo".
I'm not going into any more details than that...you'll have to screw around with PHP the same way I did. But, if you're interested in having a real-time display of your server like mine: http://www.olddogvt.net (click on Real-Time Server Display for either server), then PM me, and I'll send you my code. Be aware that I've heavily modified SQuery 3.8 to fit my needs, so its nothing like the stock SQuery except the basics.
My point here is for those of you that use SQuery already, the "case" you need is "call of duty 2".
ServerStat:
I like this utility, and have used it for several years now. It's a clean display, and easy to use. It actually works out-of-the-box (V214), but it's also missing some pieces, mostly cosmetic. The pieces missing are the images for the maps and the weapons for CoD2. Thanks to Gamefreak, on the http://www.serverstat.org site (where you can also grab the software itself), the maps and weapons for CoD2 have been added. I grabbed both, and have added WWII enlisted ranks to use for the awards. I always thought that WWII ranks were more appropriate. You can see an example of them at http://www.olddogvt.net/Server-Stats2/index.html, then click on Awards.
You can grab the CoD2 images for ServerStat at: http://www.olddogvt.net/CoD2-SS-images.zip
OD over and out...:salute: