Halo 1 & 2 for PC
This topic has moved here: Subject: Halo CE Stats Project
  • Subject: Halo CE Stats Project
Subject: Halo CE Stats Project
  • gamertag:
  • user homepage:
  • last post: 01.01.0001 12:00 AM PDT

I've had a request to make known exactly how this program will work, what it will do, etc.

Basically:

The program will compile player stats from server log files. It will parse the logfile, and then output the compilation to an intermediary file where the stats will then be appended to a master file (this will allow for cumulatve stats). The final output will be a text file with html formatting so that, when opened, users will see a webpage with a table containing the statistics of everyone who played on that server while that log file was being recorded.

So, obviously the program is technically server-side, which is why I will need the cooperation of server admins. I say technically, because all it really needs is the logfile, which can be transferred, or saved, if you are renting a server. So that's a plus.

What isn't a plus is that I would love to patch the program directly into the Halo CE Dedicated Server Console, but I have no idea how to do that if it's even legal.

The other problem I run into is that, while the program will compile and prepare the stats, it won't upload them (at least I haven't figured out how to make it do that....). This could end up being a problem, because I know that server admins would get tired of constantly having to upload the stats.

Another potential problem is that after the logfile reaches a certain threshold (size), it overwrites itself. Meaning that if the program isn't run at regular intervals, that stats will be lost.

What i'd like to do is figure out a way to make the stats automatically upload to a central server. Otherwise you'll only be able to see your stats from each individual server on different sites (if that makes any sense).

Of course, by this point, if you haven't realized it - the program will not give real-time stats...

In my dreams, I'm able to patch the program into the Halo CE Dedicated Server Console and it runs as a command that can be enabled or disabled. It would gather stats as they were made - in real-time - and would, at the end of the game, during the display of the carnage report, upload them to a central server for display. But, then I wake up and realize my own programmng limitations.

I know my idea isn't ingenious.... and I know I'm kind of a newb at programming.... but I really want to do this and I'm good at figuring things out, so it will get done. If you know anybody with uber l337 programming skillz who wants to help - send 'em my way.

There will be a lot of tweaking to do once the program is written to make it more user-friendly, but I'm going to do it!

  • 05.01.2005 6:15 PM PDT
  • gamertag:
  • user homepage:
  • last post: 01.01.0001 12:00 AM PDT

I'd love to do this for regular Halo... but regular Halo doesn't support server log files (as far as I know....)

  • 05.01.2005 6:17 PM PDT
  • gamertag:
  • user homepage:
  • last post: 01.01.0001 12:00 AM PDT

oh so it doesnt support log files
damn..
well i certainly understood what
u were saying in ur post..
well as far as i know
i dont know many programmers..
hmm mebeh i do know one..
he made this crude gaming emgine..
i dont know whether
he wud be better
than u or know anything about wat u are doing...
but i will ask him to contace tu definitely

  • 05.01.2005 7:28 PM PDT
  • gamertag:
  • user homepage:
  • last post: 01.01.0001 12:00 AM PDT

Check the website for an update...

  • 05.02.2005 8:58 AM PDT
  • gamertag:
  • user homepage:
  • last post: 01.01.0001 12:00 AM PDT

so I'm thinking that sometimes dreams come true. I'll be learning about MySQL and PERL over the next month or so on my own. Rumor has it that these languages, along with a hefty chunk of C++ code that has been made available to me might do Real-Time Stats on a central server.....

omg - this could be it....

  • 05.02.2005 10:08 PM PDT

Join the MAW Clan
X-fire username:Iggwilv
My Real Avatar

Going on the premise that its usually better to know about potential snags early. Have you considered people with duplicate profile names i.e. New001? Or let's say you pwn someone they get pissed, change their profile to match your name and enter games and go AFK or TK or suck on purpose? Just putting it out there.

  • 05.03.2005 2:14 PM PDT
  • gamertag:
  • user homepage:
  • last post: 01.01.0001 12:00 AM PDT

Thanks- yeah, I've considered actually using cd-keys as Idenitifiers and using Profile names for display purposes only.... It will involve more code and some nifty design, but that will be an add-on to the original algorithm before the public final Version 1.0.0 release. Thanks for keeping me straight, though, man - keep 'em coming!

  • 05.03.2005 2:33 PM PDT
  • gamertag:
  • user homepage:
  • last post: 01.01.0001 12:00 AM PDT

You could do that, or you could create a list of common names and not track their stats. I think your way is better though. I found this about a stat tracker but I don't think he is using the log files because it's for PC. You might want to work together. I am also looking for a program that tracks the number of players that go on my server at any one time, preferably in a graph. If you know of one could you PM with a link?

  • 05.03.2005 4:31 PM PDT
  • gamertag:
  • user homepage:
  • last post: 01.01.0001 12:00 AM PDT

I'm not sure chewy, but keep it in mind - if I get done with this project, I'll write you a little program to track the players on your server...

As for that particular project I think if this guy and I worked together, this thing would be done in no time... did I mention that you are the man?

Good to have you back, chewy!

  • 05.03.2005 5:15 PM PDT
  • gamertag:
  • user homepage:
  • last post: 01.01.0001 12:00 AM PDT

So uh... ya still workin' on this? It sounds great and if it would attract more CE players, I'd love to play on your server.

  • 05.08.2005 1:54 PM PDT
  • gamertag:
  • user homepage:
  • last post: 01.01.0001 12:00 AM PDT

I don't actually have much of a server, and I am still working on it, I just have Finals all this Week - hard ones - like 19 hours of 400-level courses hard finals. I've been taking care of business for the last week, and I expect to be back and rolling on the project sometime early next week.

  • 05.08.2005 7:14 PM PDT
  • gamertag:
  • user homepage:
  • last post: 01.01.0001 12:00 AM PDT

Website is updated, guys. I appreciate all your feedback - keep it coming!

I'm currently investigating whether I could make use of PHP and a MySQL database along with a real-time stats program (C++) to actually incorporate real-time stats. Someone also suggested PERL, but I'm taking it one step at a time. Again, anyone with programming experience is welcome to help with the project. It would definitely save me some time if I knew what I could do in these different languages and programs.

Even if none of that works out, the stats program will still be made in JAVA to get stats from the logfiles.

  • 05.10.2005 8:21 PM PDT
  • gamertag:
  • user homepage:
  • last post: 01.01.0001 12:00 AM PDT

U manke that work for
Halo PC and dude.. i will
WORSHIP u... WORSHIP U i tell YA

  • 05.10.2005 9:12 PM PDT
  • gamertag:
  • user homepage:
  • last post: 01.01.0001 12:00 AM PDT

heh, nice - now I have some motivation... Seriously - I'll look into it, but I might run into a situation where I'd need some help....

  • 05.11.2005 8:44 PM PDT
  • gamertag:
  • user homepage:
  • last post: 01.01.0001 12:00 AM PDT

This is far off, but...will you need help hosting all of this data, the stats and such? Like, do you need a server that can be up most of the time to host it? I might be able to supply something of that nature, but I don't know how I'd keep it up 24/7/365. That's where I run into a bit of trouble. Because the file server/game server/website server I have occasionally 'moves' when it's needed at a LAN event. This is usually not even 3 times per month for abut 5-8 hours. Usually twice or less. Even then, it may still be connected to the internet, depending on the venue. It does have about 4 ethernet ports, and usually one is connected to the internet. Problem is, that's an IP change, and well, yeah, can't really do that for hosting the stats :S

But, it is relatively well balanced. Dual Opteron 244's, 2 gigs of RAM, 250GB hard drive for storage, 4x9GB SCSI Ultra160 drives that can be expanded if you'd need it for this. It can pretty much handle a huge traffic load with ease, especially seeing that it has a 4Mbps connection.

I'm not any bit of an expert at the coding you're doing, so I don't think I could help there :(

But, the hosting of the stats on a central server - there I can help you. Just tell me what you need me to do, it's done.

[Edited on 5/12/2005]

  • 05.12.2005 12:03 AM PDT

Join the MAW Clan
X-fire username:Iggwilv
My Real Avatar

Have you put this idea on the Gearbox forums? You my catch their eye and get some serious help.

  • 05.12.2005 5:38 AM PDT
  • gamertag:
  • user homepage:
  • last post: 01.01.0001 12:00 AM PDT

Hey, Inspire, do you think you could post the times and dates when you'll have the CE server running. Also could you post if you make changes to the playlist that would add custom maps. I want to be able to play on the server!

  • 05.12.2005 9:30 PM PDT
  • gamertag:
  • user homepage:
  • last post: 01.01.0001 12:00 AM PDT

When is Halo 2 coming out on PC aM Inspire?? Please, can you tell me, love it if you could.

  • 05.15.2005 4:17 AM PDT

Join the MAW Clan
X-fire username:Iggwilv
My Real Avatar

He would love it if he could too but he can't because nobody knows, because they won't tell us, because they want to sell more Xboxes.

  • 05.15.2005 6:51 AM PDT
  • gamertag:
  • user homepage:
  • last post: 01.01.0001 12:00 AM PDT

Yes, exactly, Iggwilv. I have posted this on Gearbox's forums and have been donated a very low-level C++ program that grabs stats in real-time. As far as compiling, uploading, databasing and displaying the stats, I'm still lost. However, a friend of mine is home from college and he's a triple major in comp. sci. comp.eng. and elect. eng., he also tells me he knows PHP and MySQL - and since I know C++, hopefully we can put the peices together.... if he's willing.

  • 05.15.2005 6:13 PM PDT
  • gamertag:
  • user homepage:
  • last post: 01.01.0001 12:00 AM PDT

Wow... Hey Inspire... Yah... I've finally checked out the forums like you suggested... Man! I can see you've been really keepin up to date on this kinda stuff... I am glad you're part of RSA... Cuz really... playin halo ain't just enough in a clan...but you!!!... You go to the limit man! You really are the most hard workin member of the clan. I wish i could promote you to epsilon squad but... (Srry... I know you've been busy w/ finals and stuff and i hope you're close to bein done) I still need to see more action on the game... Also.. I'd like to thank you again for helpin me w/ learnin how to add my maps to Halo CE Awsome man! By the way... Senior Imp was my name before I got out of my clanless nooblet habbits and finally got to thinkin! My first clan.. which i think was noobed all together... Was Ack (Please don't laugh at me... I was a super nooblet then) which was lead by a guy named NEW001... I know sad isn't it? Well... They had 3 other members besides me... I mean... The leader even got wise and left... I actually took control of ack for like a month (Srry Gato... I have appoligized to alot of other people and i feel like a jack hole) I lied to alot of clans boasting and sayin things like i had 23 members... Wow! i feel stupid... Well... Now i at least realize that i deserve all the critesizm i got... But... I've wised up... And after a while... I figured out that a clan starts together... So me and a couple of friends that i knew from school and from halo started meeting regularly and talkin about how we would build the clan... Special thanx to comm... R.I.P. Man... Evil... Plaz... and...(I hate to say it) Cedeck... I know he was a pain but he was computer smart... Evil...Now he really got us started because he set upo our first website... which btw.. crached... So we never used dot.. uhh.. i can't think of da site... but it crashed on us so we use the crappy but as good as we can do freewebs.con for the time being. Thanks again Inspire for pushin us along so we finally got out of the clans shadows and back into the open.. Thanx man -Imp

  • 05.15.2005 10:04 PM PDT
  • gamertag:
  • user homepage:
  • last post: 01.01.0001 12:00 AM PDT

yeap inspire is Da man!
well eyah props to inspire
yeah.. and wel thnks
for letting us all know ur
clan history and other stufff..
yeap...!

  • 05.16.2005 3:23 AM PDT
  • gamertag:
  • user homepage:
  • last post: 01.01.0001 12:00 AM PDT

hah, thanks Imp - good to see you on the forums...

Well, once I can work some R&R out of my system (always seems to take longer when you've been working hard for awhile...), I'll be back hitting the project hard. Expect version 1 to be done in Java using logfiles though. That means the project will only be used in CE at first, and even then, only by server admins who are willing and competent enough to participate. You can bank on RSA's servers using the program.

  • 05.16.2005 6:44 AM PDT
  • gamertag:
  • user homepage:
  • last post: 01.01.0001 12:00 AM PDT

Thanx Inspire... I would actually like it if you would put a link on the site that we could go to so we can download it ourselves... Unfortunately... I still can't host servers so hopefully Evil can hook it up to our dedicated server which btw is on either LybraryCE, hats_castle2castle, Saber_mod or it might even be on side winder... Anyways... I don't have time to cheeck right now but maybe later. -Imp

  • 05.16.2005 12:11 PM PDT
  • gamertag:
  • user homepage:
  • last post: 01.01.0001 12:00 AM PDT

Well do you know anything about Halo 2 on PC Inspire?

  • 05.16.2005 1:15 PM PDT