GoldenEye: Source Forums

Debriefing => Questions, Help, & How To's => Topic started by: The-Killer on February 11, 2009, 07:10:39 am

Title: hlstats -- award ids?
Post by: The-Killer on February 11, 2009, 07:10:39 am
Getting hlstatsx to track ges, trying to hook then round end event and the award id's but what id's match up to what awards?

If you want to see:
http://stats.righttorule.com/hlstats.php?game=ges (http://stats.righttorule.com/hlstats.php?game=ges)
Title: Re: hlstats -- award ids?
Post by: killermonkey on February 11, 2009, 09:20:13 am
OMFG, you make me want to cry! Here yah go:

GE_AWARD_DEADLY = 0,   //Most Deadly 
GE_AWARD_HONORABLE = 1,      //Most Honorable
GE_AWARD_PROFESSIONAL = 2,   //Most Professional
GE_AWARD_MARKSMANSHIP = 3,   //Marksmanship Award
GE_AWARD_AC10 = 4,      // AC-10 Award
GE_AWARD_FRANTIC = 5,   // Most Frantic
GE_AWARD_WTA = 6,      // Where's the Ammo? 
GE_AWARD_LEMMING = 7,   // Lemming (suicide)
GE_AWARD_LONGIN = 8,   // Longest innings
GE_AWARD_SHORTIN = 9,   // Shortes innings      
GE_AWARD_DISHONORABLE = 10,   //Most Dishonorable
GE_AWARD_NOTAC10 = 11,      //Wheres the armor?
GE_AWARD_MOSTLYHARMLESS = 12,//Mostly Harmless


Weapon ID's (would make things more efficient):

WEAPON_PP7 = 1,
WEAPON_PP7_SILENCED = 2,
WEAPON_DD44 = 3,
WEAPON_SILVERPP7 = 4,
WEAPON_GOLDENPP7 = 5,
WEAPON_COUGAR_MAGNUM = 6,
WEAPON_GOLDENGUN = 7,
   
WEAPON_SHOTGUN = 8,
WEAPON_AUTO_SHOTGUN = 9,

WEAPON_KF7 = 10,
WEAPON_KLOBB = 11,
WEAPON_ZMG = 12,
WEAPON_D5K = 13,
WEAPON_D5K_SILENCED = 14,
WEAPON_RCP90 = 15,
WEAPON_AR33 = 16,
WEAPON_PHANTOM = 17,
WEAPON_SNIPER_RIFLE = 18,

WEAPON_KNIFE_THROWING = 19,

-- NOTE COUNT SKIPS A NUMBER --

WEAPON_TIMEDMINE = 21,
WEAPON_REMOTEMINE = 22,
WEAPON_PROXIMITYMINE = 23,
WEAPON_GRENADE = 24,

-- NOTE COUNT SKIPS A NUMBER --

WEAPON_SLAPPERS = 26,
WEAPON_KNIFE = 27,


Disclaimer: These are not set in stone values and can change from version to version.
Title: Re: hlstats -- award ids?
Post by: The-Killer on February 11, 2009, 05:22:21 pm
Disclaimer: These are not set in stone values and can change from version to version.

Break them and I will break you ...... :angel:

Do you all plan on tracking headshot kills? not that I care but the whiny "10 year olds" aka all of us in our minds want them
Title: Re: hlstats -- award ids?
Post by: psychonic on February 11, 2009, 06:59:33 pm
Do you all plan on tracking headshot kills? not that I care but the whiny "10 year olds" aka all of us in our minds want them
Or for that matter, full weapon stat events. Can just use locals if you don't want all that to be networked to clients. For example:

Code: [Select]
	"player_hurt"
{
"userid" "local" // user ID who was hurt
"attacker" "local" // user ID who attacked
"weapon" "local" // weapon name attacker used
"health" "local" // health remaining
"damage" "local" // how much damage in this attack
"hitgroup" "local" // what hitgroup was hit
}
"player_shoot" // player shoot his weapon
{
"userid" "local" // user ID on server
"weapon" "local" // weapon name
"mode" "local" // weapon mode 0 normal 1 ironsighted 2 fanning
}

Dislaimer: I have no clue if the backside of the mod could even support that, and at any given time, I only have a rough idea of what the hell I'm talking about.
Title: Re: hlstats -- award ids?
Post by: killermonkey on February 11, 2009, 11:11:02 pm
HLStatsX is a server side stats tool so firing events clientside is pointless.

Or do you mean local server messages... then I get the picture


Tell me what server messages you guys want to make it easier to make this work with all our various additions to the mod.

I will code in any message for you to be released in the 3.1 patch.
Title: Re: hlstats -- award ids?
Post by: psychonic on February 11, 2009, 11:20:46 pm
Yeah, just making it available as game events on the server for plugins to easily hook.
Title: Re: hlstats -- award ids?
Post by: psychonic on February 12, 2009, 03:37:02 am

Tell me what server messages you guys want to make it easier to make this work with all our various additions to the mod.

I will code in any message for you to be released in the 3.1 patch.
If you make the addition of the player_hurt and player_shoot events in a similar format to the above, it will allow full accuracy statistics to be created along with being able to show where people got hit.
Title: Re: hlstats -- award ids?
Post by: .sh4k3n on February 14, 2009, 07:56:41 pm
Stats are always fun.
Title: Re: hlstats -- award ids?
Post by: drukqaddik on February 25, 2009, 01:49:54 pm
ive seen hlstats working on some servers. just wanted to know what ver you were using. i noticed 1.5, 1.5.1, 1.5.2 were recently released and am setting up for the first time. any input greatly appreciated
Title: Re: hlstats -- award ids?
Post by: psychonic on February 25, 2009, 02:00:54 pm
ive seen hlstats working on some servers. just wanted to know what ver you were using. i noticed 1.5, 1.5.1, 1.5.2 were recently released and am setting up for the first time. any input greatly appreciated
v1.5.2 is currently the newest and there is a full install package for it uploaded. v1.5.3 which will hopefully be out this weekend will have (among other things) improved ges support, including support for character (roles) tracking and weapon/accuracy logging for ges beta 3.1

Feel free to ask any questions you have regarding HLX:CE on hlxcommunity.com as they might be more likely to be seen. (though i'm admittedly subscribed to the threads on here that i have any posts in)
Title: Re: hlstats -- award ids?
Post by: drukqaddik on February 25, 2009, 02:19:23 pm
cool. thanks for the quick reply. so if i install 1.5.2 it will upgrade to 1.5.3 if i understand correctly. and i will definitely hit up hlxcomm.
Title: Re: hlstats -- award ids?
Post by: psychonic on February 25, 2009, 02:22:29 pm
so if i install 1.5.2 it will upgrade to 1.5.3 if i understand correctly.
Yes. All our updates are incremental so any version can upgrade to any higher version, just more to do when upgrading through many versions at once.
Title: Re: hlstats -- award ids?
Post by: drukqaddik on February 25, 2009, 02:48:41 pm
im only setting up for 1 server so it shouldnt be too painful. and im starting with 1.5.2 .  i saw u on hlxcomm, but i want to keep most of my questions over here for the ge community to go through because i dont really care about anybody else but my friends on ge:source.
Title: Re: hlstats -- award ids?
Post by: drukqaddik on February 26, 2009, 06:53:32 pm
psy...help, ill admit it

<-------NOOB
Title: Re: hlstats -- award ids?
Post by: psychonic on February 27, 2009, 12:35:25 pm
those of you setting up hlstatsx... ive compiled the missing hlstatsinc folder

<Removed Link>


thank you to MaJoR for hosting dl
It is not "missing" and that link includes old files. That folder has not been used since version 1.3. We are currently on 1.5.2.
Title: Re: hlstats -- award ids?
Post by: drukqaddik on February 27, 2009, 01:14:08 pm
then the installation wiki needs to be updated
Title: Re: hlstats -- award ids?
Post by: psychonic on February 27, 2009, 01:24:51 pm
The Linux (cpanel) one is. The Windows one is not only out-of-date, but unfinished (which is says on the page). I still need to find someone who uses the project on windows to update/complete it.
Title: Re: hlstats -- award ids?
Post by: drukqaddik on February 28, 2009, 07:30:34 am
i noticed the linux one complete. but i not use linux cuz i are dumb
Title: Re: hlstats -- award ids?
Post by: Doc.NO on February 28, 2009, 01:24:06 pm
Really the installation is not that hard at all. My biggest prob has been to find a host with ded IP and big database capabilities. If you have any question about the installation, I think I could help you.

I'd suggest you to wait for 3.1 though as it will have full support for shot/hit zones tracking.
Title: Re: hlstats -- award ids?
Post by: drukqaddik on March 01, 2009, 07:42:32 pm
alright doc.no. ima add you whats ur steam id? the deal is i just dont know what the FxCK im doin. lol. hit me up on steam drukqaddik.
Title: Re: hlstats -- award ids?
Post by: drukqaddik on November 20, 2009, 06:18:04 pm
hey doc. no! what are you running your sql tables from? who is your host. finally figured out my problem is shared hosting and we need something dedicated to keep our crons on a permanent cycle.
Title: Re: hlstats -- award ids?
Post by: psychonic on November 20, 2009, 06:23:20 pm
hey doc. no! what are you running your sql tables from? who is your host. finally figured out my problem is shared hosting and we need something dedicated to keep our crons on a permanent cycle.

There is a list of providers on the HLX:CE forum that people have had good luck with (and a list of bad ones)
http://forums.interwavestudios.com/topic/91-read-this-first-frequently-asked-questions-faq/page__p__199&#entry199

The Angrygaming Network is also offering free HLX:CE hosting temporarily (and cheap in the future)
http://forums.interwavestudios.com/topic/642-hosting-offer/
Title: Re: hlstats -- award ids?
Post by: drukqaddik on November 20, 2009, 06:34:18 pm
NICE! thx!
Title: Re: hlstats -- award ids?
Post by: jhawver on November 20, 2009, 08:21:23 pm
Psychonic,  I wish I had that list about 2 weeks ago.  We've spent far too many hours trying to get this up and running.  I may be calling upon your name within the next 3 weeks.

It's kind of like what James Earl Jones tells Kevin Costner in Field of Dreams.  "If you build it, they will come."

If you build a GE:S server that tracks stats, they will come!!
Title: Re: hlstats -- award ids?
Post by: psychonic on November 20, 2009, 08:31:39 pm
Psychonic,  I wish I had that list about 2 weeks ago.  We've spent far too many hours trying to get this up and running.  I may be calling upon your name within the next 3 weeks.
I'd like to note that the HLX:CE forums are probably a better place to get specific help on it than here. I just happened to still be subscribed to this thread from months ago.

http://forums.interwavestudios.com (same place as the official Sourcebans forums as well).
Title: Re: hlstats -- award ids?
Post by: jhawver on November 20, 2009, 08:45:37 pm
And you're right.  I need to go to the proper location to get the best support.  I can't expect you to answer questions that you may not know, or take valuable time out of your day.

But now you've just killed my fantasy of living in a Bond world, 100 percent of the time.  Social interaction with people outside of our Goldeneye world is....  cumbersome?  ;)
Title: Re: hlstats -- award ids?
Post by: psychonic on November 20, 2009, 08:54:02 pm
Social interaction with people outside of our Goldeneye world is....  cumbersome?  ;)
Goldeneye? Pfft. Goldfiner was wai better :3
Title: Re: hlstats -- award ids?
Post by: drukqaddik on November 20, 2009, 09:15:25 pm
lmao
Title: Re: hlstats -- award ids?
Post by: drukqaddik on November 23, 2009, 12:21:36 am
ok i got stats running with help and use of the ded server from angrygamers. how do i make the awards work? and where can i add the google maps data as there are no tables in my installation.
Title: Re: hlstats -- award ids?
Post by: jhawver on November 23, 2009, 03:04:22 am
For the awards, I think that is the nighly cronjob that runs at midnight to process awards, correct?
Title: Re: hlstats -- award ids?
Post by: Doc.NO on November 23, 2009, 12:20:50 pm
If you guys want hlxce support I would suggest to go on their forums, found tons of help there :P