Welcome to Geeklog, Anonymous Thursday, March 28 2024 @ 02:43 pm EDT

Geeklog Forums

I made a Counter-strike gameserver plugin/module/block something


Status: offline

cuculain

Forum User
Newbie
Registered: 02/24/04
Posts: 5
unfocused
I'm by no means a PHP/HTML guru or even a novice.

I've been learning a little php here, a little there, and basically trying to learn new things by merely setting myself a task and working on something worthwhile.

Anyway I discovered GeekLog last night, and today I have a some sort of 'thing' already made that works well on my behind a firewall geeklog site, and I'm happy with it.

It could use more "professional" work as I dont want to get anywhere near a SQL table just yet, I haven't quite grasped the nuances of making a proper block/module/plugin fpr geeklog, so I wanted to release this little hack and patch job I did. I believe someone was asking for a gameserver plugin or something, and I wrote one 'substandard' script that does just that.

gameservers-0.0.1-geeklog-1.3.8-1sr4.tar.gz

For Example

Anyway I'll be keeping an eye on this and maybe learn some more stuff from the site.

Thanks much for writing a nice awesome CMS.

Cuculain
 Quote

Status: offline

dewdoo

Forum User
Chatty
Registered: 01/03/04
Posts: 65
Will this work with other games? I serve numerous games like q3, UT2003/4, Halo just to name a few. I am really intrested in this.....as for me I am not profecient in php either to accomplish this.

.....very interesting
 Quote

Status: offline

cuculain

Forum User
Newbie
Registered: 02/24/04
Posts: 5
ATM it only support halflife based servers.

Experimentation will tell. I'll try adding a quake3 server ip and check to see if it works.

if not I can certainly try and see if i can find another more broad server query script to adapt.

Cuculain
 Quote

Status: offline

cuculain

Forum User
Newbie
Registered: 02/24/04
Posts: 5
embarrassed
I'm kicking myself over this oversight.

I made the presumption that madquery supported all quake based protocols.

Whoops.

However I did find another php script that supported several other games INCLUDING quake3. However the script does not support UT and other games based on the engine or using it's protocol.

I am looking for a script to include UT support, and I'm currently pouding on gsQuery.php, trying to bend it to my will.

As of now, the gameserver whatchamacallit is no longer going to be called a gameserver thingmajig. It'll be a HLServList script, since thats all it really does.

When I get gsQuery working to expecation, as well as UT, I'll announce it here =)
 Quote

Status: offline

cuculain

Forum User
Newbie
Registered: 02/24/04
Posts: 5
Well, turns out gsquery DOES support UT though the GameSpy Query Protocol, which made things alot easier.

My only beef with gsQuery is the lack of quaility support for halflife based mods. All it support are the basic server info, player names and their scores.

I might just drop gsquery's uage for halflife based mods and use madquery instead for that, and gsquery for the rest of the supported mods.

At the moment, the incomplete script supports the following games:

Halflife and their mods
Quake3 Arena
Unreal Tournament
Unreal Tournament 2003
America's Army
Battlefield 1942

I havent really checked to see if AA and BF1942 really works, I will when I'm more confident in the script.

See the better GameServer script in action here.

I'll release the script when I insert madquery into the thing.

Cuculain
 Quote

Status: offline

Pikoshi

Forum User
Newbie
Registered: 01/30/04
Posts: 5
hopeful
I think i was probably the one trying to figure this out. This is very cool, just one quick question. Can it be put into a block? That is what I am really looking for. Anywho, give me a jingle about this if you have time.
 Quote

Status: offline

hunter_az

Forum User
Newbie
Registered: 03/01/04
Posts: 1
It would be a cool block. I am willing to help, just let me know.
 Quote

Status: offline

Envel

Forum User
Newbie
Registered: 02/29/04
Posts: 5
that is cool. is the picture of the level just a picture?
 Quote

Status: offline

cuculain

Forum User
Newbie
Registered: 02/24/04
Posts: 5
Sorry. Been away from the "project" for a while and have been working on other things.

At the moment, it's forced into a block with the block editor, it's not a true block thing without an admin panel or a sql database. I'd love to see all that implemented and I'm willing to let others take over that part.

As for the pictures, the pictures isnt currently in the script as it stands at the moment, however, madquery supports pictures and when I get some free time, maybe this weekend, I'll try and add picute support for the other games.

I still am going to adapt madquery's halflife server thing into this script since it works so well and already includes pictures.

Unfortuately, my webhost @ cuculain.org has a bandwidth limit and therefore I wont be hosting the CS/HL pictures there. The one I had on the test site are from psychostats.com.

Cuculain
 Quote

All times are EDT. The time is now 02:43 pm.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content