Raised This Month: $ Target: $400
 0% 

Solved [TF2]Where i can find FULL ACHIEVEMENTS IDS !?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Kamil445
Member
Join Date: Dec 2013
Old 12-09-2016 , 13:34   [TF2]Where i can find FULL ACHIEVEMENTS IDS !?
Reply With Quote #1

Hi,

Where i can find full achievements list ?

https://wiki.alliedmods.net/Achievement_IDs

last edit 2013 ;-;

Here i can't find achievement by ID : 157

Last edited by Kamil445; 12-10-2016 at 09:13. Reason: solved
Kamil445 is offline
nosoop
Veteran Member
Join Date: Aug 2014
Old 12-10-2016 , 02:40   Re: [TF2]Where i can find FULL ACHIEVEMENTS IDS !?
Reply With Quote #2

Quote:
Originally Posted by abrandnewday View Post
Wait, the article specifically lists how to grant players achievements. So again my question is why we're offering this information up when we frown on !giveall plugins?
Not that I agree with its inclusion in the Wiki (would prefer it to be replaced with an example using achievement_earned), but the exercise is still left up to the reader to implement.

Curious why Valve didn't do client-side validation on achievements, of all things.
__________________
I do TF2, TF2 servers, and TF2 plugins.
I don't do DMs over Discord -- PM me on the forums regarding inquiries.
AlliedModders Releases / Github / TF2 Server / Donate (BTC / BCH / coffee)
nosoop is offline
nosoop
Veteran Member
Join Date: Aug 2014
Old 12-10-2016 , 04:10   Re: [TF2]Where i can find FULL ACHIEVEMENTS IDS !?
Reply With Quote #3

Quote:
Originally Posted by abrandnewday View Post
It would appear our list is out of date and I am very unsure of how to get achievement ID #'s (Steam Achievement Manager maybe? I dunno.)
I brute-forced the entire space by firing the achievement_earned event and making note of the IDs. I fed tf_english.txt into a Python script to generate the enum names, then reordered them and filled in spaces as necessary.

Here's an include file containing all of them, which I made the last time a similar question was posted.
__________________
I do TF2, TF2 servers, and TF2 plugins.
I don't do DMs over Discord -- PM me on the forums regarding inquiries.
AlliedModders Releases / Github / TF2 Server / Donate (BTC / BCH / coffee)
nosoop is offline
Kamil445
Member
Join Date: Dec 2013
Old 12-10-2016 , 09:13   Re: [TF2]Where i can find FULL ACHIEVEMENTS IDS !?
Reply With Quote #4

Thanks for answer, i need all ids for this:

http://i.imgur.com/2hvkT0c.png


https://github.com/nosoop/stocksoup/...ments.inc#L200

thanks for this link, all achievements here ! )

Solved!
Kamil445 is offline
nosoop
Veteran Member
Join Date: Aug 2014
Old 12-10-2016 , 12:43   Re: [TF2]Where i can find FULL ACHIEVEMENTS IDS !?
Reply With Quote #5

Quote:
Originally Posted by abrandnewday View Post
Are you a wizard?
Not for another seven years!

Also, a more efficient way to pull all the achievement IDs would be to write a Valve server plugin (or maybe an extension?) that can call CAchievementMgr::GetAchievementByID, then call the achievement's GetName() method maybe pull the id values from tf/gamestate.txt, then just fire achievement_earned events with those. Not sure if that misses any values, though. I'm missing a number of them in mine, at least.

That's outside the scope of my knowledge to implement, though.
__________________
I do TF2, TF2 servers, and TF2 plugins.
I don't do DMs over Discord -- PM me on the forums regarding inquiries.
AlliedModders Releases / Github / TF2 Server / Donate (BTC / BCH / coffee)

Last edited by nosoop; 12-10-2016 at 12:50. Reason: oh wait I found a better, practical method
nosoop is offline
Reply



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


All times are GMT -4. The time now is 23:58.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode