41
Brad
Re: Searching for a Counter-Strike server-module
  • 2004/4/29 21:29

  • Brad

  • Not too shy to talk

  • Posts: 150

  • Since: 2003/12/4


It is feasible.

However, I question the presentation quality if you just output the variables in a loop without taking into account groupings of variables or server-specific information that can be presented above and beyond the standard presentation.

I also wonder if it might be better to have separate functions for the standard variables like getServerDescription, getPlayerCnt, getMapName, and etc..

Take all this with a grain of salt. It's spur of the moment thought, not in-depth thought.



42
Brad
Re: Searching for a Counter-Strike server-module
  • 2004/4/29 18:40

  • Brad

  • Not too shy to talk

  • Posts: 150

  • Since: 2003/12/4


The file madquery.php is what I use to query HLServers, well, Counter-Strike servers anyway.

At the very least it can give you the information below plus, I think, more if you have RCON access to the server. I don't, so I don't know much about it.

Address of server (as reported by server)
Hostname of server
Current map
Mod name ('cstrike', 'tfc')
Mod description (CounterStrike)
Number of active players
Max number of players
Protocol version (46)
Server type (dedicated/listen)
Server OS (Windows/Linux)
if password-protected or public
if running a mod (cstrike) or halflife server
Mod's website
Mod's FTP server
Mod's version
Mod download size
if server-only
if custom
if VAC-Secure
Instantaneous ping
Array of Player data (ID, Name, Frags, Time)
Array of public server cvars (cvar_name => cvar_value)
Readable version information (includes rcon-extended information, if available)



43
Brad
Re: Searching for a Counter-Strike server-module
  • 2004/4/29 16:36

  • Brad

  • Not too shy to talk

  • Posts: 150

  • Since: 2003/12/4


How much information from each query are you looking to get back? Or rather, what type of information?



44
Brad
Re: Searching for a Counter-Strike server-module
  • 2004/4/29 15:41

  • Brad

  • Not too shy to talk

  • Posts: 150

  • Since: 2003/12/4


Quote:
Mithrandir wrote:
I have played around with a great deal of query tools for my server booking module, but haven't had a great deal of success with anything but Tribes 2.


Mith -

I've code (as shown in post above) that can query (I believe) any Half-Life based server. Would it be helpful for you in your serving booking module?



45
Brad
Re: Searching for a Counter-Strike server-module
  • 2004/4/29 3:15

  • Brad

  • Not too shy to talk

  • Posts: 150

  • Since: 2003/12/4


[edit]removed previous post entry[/edit]

I removed the code because when reconstituted, the code didn't work as advertised. Sorry about that. I'm at work right now but when I get home I'll post a link to each of the three files so that they can be downloaded (that is, if there is any interest).

By the way, is this even what you're looking for? The only thing it's missing that was on the block at the site you provided is the next map and the time until the next map.

Resized Image



46
Brad
Re: Cookie prefix
  • 2004/4/27 17:06

  • Brad

  • Not too shy to talk

  • Posts: 150

  • Since: 2003/12/4


Quote:
Mithrandir wrote:
Does it have to be an individually set prefix? I'm thinking that it could just take the same prefix as the DB tables? Otherwise, putting this in the general settings in XOOPS preferences should be no problem since there are already some cookie settings there (almost enough for an individual setting category )

I would think both. Have it default to the DB table prefix but let the user override it via the general settings.



47
Brad
Re: Cookie prefix
  • 2004/4/27 14:08

  • Brad

  • Not too shy to talk

  • Posts: 150

  • Since: 2003/12/4


Dave -

Did anything further ever come of this? For what it's worth, I think it's a swell idea (and I don't use "swell" often).

If you haven't yet, perhaps you should submit it to the Feature Requests. Hopefully it can make it into the next release of Xoops.



48
Brad
Re: Allow Spaces in Username Hack (easy!)
  • 2004/4/27 13:57

  • Brad

  • Not too shy to talk

  • Posts: 150

  • Since: 2003/12/4


It'd be nice to see this hack integrated into the core. If you haven't yet, perhaps you should submit it to Feature Requests. If you are not able, or would rather not do it yourself, I can submit it for you.



49
Brad
Re: irritating with inconsistant xoops_version.php
  • 2004/4/26 15:17

  • Brad

  • Not too shy to talk

  • Posts: 150

  • Since: 2003/12/4


Quote:
also, there is a limit on the length of the define somewhere just beyond thirty characters (32?) Wich is a bit small considering how the naming convention is laid out.

Where'd you get that you can only have 32 characters in a constant from?



50
Brad
Re: Dense xcGallery Question - Adding Pics
  • 2004/4/26 1:39

  • Brad

  • Not too shy to talk

  • Posts: 150

  • Since: 2003/12/4


It wasn't obvious to me either. In the menu above the categories (when you're in xcGal), there is a link called "Upload". That's the one you want.




TopTop
« 1 2 3 4 (5) 6 7 8 ... 15 »



Login

Who's Online

243 user(s) are online (160 user(s) are browsing Support Forums)


Members: 0


Guests: 243


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Apr 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits