Prev Previous Post   Next Post Next
Old 26th March 2003, 16:59   #1
Afrow UK
Moderator
 
Afrow UK's Avatar
 
Join Date: Nov 2002
Location: Surrey, England
Posts: 8,434
Some help needed...

Rather a lot of help needed really...

I've finished my map-compiler program for Quake2, and I'm now moving onto a new piece of software for the Quake2/D-Day community.

D-Day for Quake2 writes its console data to a log file, showing everything the client (player) has done during his/her's gaming experiance.
Right now, players cannot see their kill count or death count (how many people they have killed or how many times they have died) They can only see figures for the whole teams' kill/death counts.

I am making a program which will read from the log file (qconsole.log) and convert data into readable details.

These would include something like:

Player: "Afrow UK"
"Afrow UK" would be the name entered at the start of the program. The program will then give the details from the players' name.

Kills: "x"
"x" would be the kills count.
In the log, a player killed by "Afrow UK" will be seen as e.g.
Afrow UK was sniped by [OSS]Sgt.Boon
Afrow UK did not survive lits's explosive attack
Afrow UK didn't see lits's handgrenade

Deaths "x"
"x" would be the deaths count.
In the log, a death for "Afrow UK" will be seen as e.g.
(89th)Cpt.Dan was shot down by Afrow UK's rifle
[BR1]Cpt.Kal was gunned down by Afrow UK's submachinegun
[666th]SkullZ didn't see Afrow UK's handgrenade

and so on...

These are the main figures I need to get from a log file, where the log file will pretty much be like the qconsole.txt I have added to this post.

Secondly, I need to get...

1. A list of player names printed on 1 line, seperated by commas (note that a players' name is always found more than one time)
2. A player count number (number of players found listed in the log)
3. A list of maps that the home client has been on printed on 1 line, seperated by commas (person running the program)
This would come from e.g. "Map: gbrdday2"
4. A list of the IP addresses (servers) that the home client has played on printed on 1 line, seperated by commas.
This would come from e.g. "Connecting to ddayuk.dyndns.org:27910..."


Thats basically it for now. Once I can get a main code for creating the list, and count numbers etc, I can get far without help (note I'm only a youngster!)

As soon as I release this program, it will be downloaded by thousands. Since the release of D-Day: Normandy 3.2, the individual Player death/kills count was removed from the HUD, and instead just the overall death/kills count for the whole team was put on instead.

The general program UI is done.
This program will also help server runners, when I get the html bit going...
Data will be put into a nice HTML document, so then admins can upload onto some webspace so everyone can see it.
This will be useful for personal use (players wanting to see their own player count)
Or it can be used for an overall server (listing all players' data)
It will also have a 'live' function, which means that the user can run it while running D-Day, printing live data onto the log window, or even lively updating the html file.

As soon as I get the main code for getting a list of players, and player numbers etc, I can carry on from there hopfully.
However, I'm not the best at stuff (still a youngster!)

Enough of the babbling on now...

Thanks

-Stuart
Attached Files
File Type: txt qconsole.txt (43.3 KB, 336 views)
Afrow UK is offline   Reply With Quote
 
Go Back   Winamp & Shoutcast Forums > Developer Center > NSIS Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump