The Achievements Script - v1.0 stable
#91
Sure you may have, but that doesn't mean the client was keeping track of every single alias properly.

Wish we could pinpoint why/how/when this stuff keeps happening and/or at least some foolproof way of preventing it. :/
Thanks given by:
#92
It certainly has a higher threshhold than it used to, thanks to the mysterious works of eihrul.
Let that be a lesson to y'all:
Keep your saved.cfg clean!! XD
Thanks given by:
#93
Alright folks, I've made you all wait long enough (some of you didn't even have to wait XD) - I was planning on doing (yet another) update to the sounds system and some modifications to the goal tables but that will have to wait for the next future release unfortunately (I'm swamped with other stuff currently) - Download the latest update to the achievements script from one of the mirrors below!

Download from Akimbo: http://www.akimbo.in/files/index.php?act=view&id=813
Download from {BoB} Clan Ladder site: http://bob-ac.co.uk/ladder/?q=node/51

Commands:

/achievement_stats_top        - Enables or disables extra over time stats at the top of the "My Achievements" menu.
/add_achievements_main        - Enables or disables adding the "My Achievements" menu (item) to the default "main" menu.
/add_achievements_ingame      - Enables or disables adding the "My Achievements" menu (item) to the default "In-game" menu.
/achievement_progress_style   - Enables or disables the new percentages view for the "My Achievements" menu.
/achievement_percentage_style - Enables or disables floating point percentages on the "My Achievements" menu.
/achperlen                    - Sets the exact number of decimal places on floating point percentages on the "My Achievements" menu.
/sound_on_achievement         - Enables or disables the various achievement unlock sounds.
/sound_on_levelup             - Enables or disables the on level up sounds.
/reset_achievements           - Resets your achievement progress.
/reset_all_achievements       - Resets EVERYTHING achievements script related, progress, completions counter, etc.
/show_killstreak_switch       - Enables or disables the showing of extra killstreak messages on the console.

Changelog:

Quote:CHANGELOG
---------

v1.0 stable - March 11th, 2011:
-------------------------------

* Formatting heavily modified for less overall script length (in lines). *** Upon request, I'll make a modder friendly version available that has proper formatting, or versions that work offline with bots, etc.
* The listlen command was *almost* entirely avoided in favor of more efficient, predefined loops.
* New achievement "The Lead Wind Blows" that is based off the total number of bullets fired over time.
* Achievement "Akimbo Madman" now has lower difficulties.
* Achievement "Knife Specialist" is now an "over time" achievement".
* All "over time" achievements now have higher difficulties.
* New optional sound system.
* 12 awesome new sounds thanks to DES|GeneralDisarray, V-Man and V-Wifey. :)
* The "Killstreak Settings" menu is now the "Achievements Script Settings" menu.
* Bunch of new sliders in the settings menu.
* New optional stats at the top of the menu that keep track of stuff like total: bullets fired, enemies killed, and rounds played (since progress start).
* New command "achievement_stats_top" for enabling or disabling the extra stats at the top of the "My Achievements" menu.
* New commands "add_achievements_main" and "add_achievements_ingame" for adding the "My Achievements" menu (item) to existing default AssaultCube menus.
* New command "achievement_progress_style" for choosing between default (progress/goal) or new "percentages" view on the "My Achievements" menu.
* New command "achievement_percentage_style" for choosing between default (rounded whole numbers) or (floating point) percentages on the "My Achievements" menu.
* New command "achperlen" for setting the number of decimal places for the floating point percentages on the "My Achievements" menu.
* New commands "sound_on_achievement" and "sound_on_levelup" for enabling or disabling the new sounds sytem.
* New "extra" messages on the killstreaks if you're in the 2-10 killstreak range.
* The "My Achievements" menu keybind requirement was removed from the actual script and put into the settings menu so users can set the key of their choice there, hopefully making installation less confusing in the future.
* Script packaged as a zip archive now due to the new custom media (audio) requirement.
* EOL style changed from WIN to UNIX on all .cfg files for less saved.cfg spam.
* More stuff that can't be listed or I have forgotten... :P


v1.0 beta - February 10th, 2011:
--------------------------------

* First public release! :)

Credits:

CREDITS
-------

Bukz            - Creator/Rage Scripting
GeneralDisarray - Advice/Audio/trimf (a.k.a. format_precision)/'The Lead Wind Blows' achievement's 'scoring' system
V-Wifey         - Vocals
V-Man           - Advice/Testing/Vocals
Billybob        - Advertising/Hosting
gRamps          - Advertising/Advice/Ideas/Testing
slackie         - Advertising
R4zor           - Promotional GFX Work
Gibstick        - Advice/Ideas/Testing
vern            - Advice/Ideas/Motivation/Testing
Splatz          - Ideas
Lantry          - Ideas
Frogulis        - Ideas
noOne           - Ideas

Many thanks to everyone involved that made this such a cool script! I hope everyone can get some enjoyment out of it. :)
Thanks given by:
#94
I like how I did the exact same thing as vern, except I didn't give you motivation.
Thanks given by:
#95
You weren't there in person to give him foot-rubs during the 'dark' times.
Thanks given by:
#96
(31 Mar 11, 12:30AM)jamz Wrote: You weren't there in person to give him foot-rubs during the 'dark' times.

I knew Bukz had to lay of going to the bar!
Thanks given by:
#97
(31 Mar 11, 12:30AM)jamz Wrote: You weren't there in person to give him foot-rubs during the 'dark' times.
Format get jamz \:D

Bukz: F1
Thanks given by:
#98
I was LOL'ing at the sound package.
It's BOSS!
gg: GD/Bukz/V-hubs
Thanks given by:
#99
I got a stacktrace error while using this script. I couldn't reproduce it without the script :/

Current AC and Linux64.
Thanks given by:
Congratulations!
* V-Man gets the secret achievement
Thanks given by:
It crashed...
C:\Program Files\AssaultCube_v1.1.0.4>bin_win32\ac_client.exe --init
current locale: English_Australia.1252
init: sdl
init: net
init: video: sdl
init: video: mode
init: video: misc
init: gl
Renderer: 661 VGA (SiS)
Driver: 1.4.0
init: console
init: sound
Audio devices:
Sound: Generic Software / Software (Creative Labs Inc.)
Driver: 1.1
init: cfg
unknown alias lookup: bindloopresult
unknown alias lookup: bindloopresult
unknown alias lookup: bindloopresult

C:\Program Files\AssaultCube_v1.1.0.4>pause
Press any key to continue . . .
And the pop-up:
AssaultCube fatal error Wrote:Win32 Exception: 0xc0000005 [0x8]

()

I have the latest update of tools, and this happened only after I installed it.
Thanks given by:
Oh gawd I think I have to take a huge memory dump.

I think it has something to do with bindloopresult, but IDK. bindloopresult is in tools.cfg. Didn't we look at this error before Bukz?
Thanks given by:
Yep, AFAIK it's an issue with an old release of tools.cfg - or it is the current?

* Bukz double checks :x

Edit: Okay, it is still a problem with the current release - and it seems to only happen to people that have done a recent fresh install of AC, or tools.cfg, or this script - try this to fix it eftertanke/Orynge:

change line 151 of the current tools.cfg which reads:

delalias bindloopresult

to:

alias bindloopresult []

and try it again. :D
Thanks given by:
v-wifey did vocals? my, what a deep voice! ;)
Thanks given by:
ahuashaushaashu

Well she did, but unfortunately her set will have to wait for a future release to be put in, there will be a new slider in the settings menu for choosing between male/female voices in the sounds. Maybe I can con GD into working on her set someday in the near future. :P
Thanks given by:
Thanks Bukz, that seems to have solved the crash.

Where should we put doc configs, by the way? Such as "achievements_docs.cfg" and "tools docsection.cfg"?
Thanks given by:
:S
I didn't release that fix already?
Sorry guys.
Updating now.
Thanks given by:
@ eftertanke:

Drop them into your automatically executed scripts folder, or throw them in /config/ and put:

run tools_docsection; run achievements_docs

...into your autoexec.cfg

You'll have to add a "_" to that space in the file name of "tools docsection.cfg", or I suppose you could try:

run "tools docsection"; run achievements_docs

...but doubt that will work properly.

@ V-Man: I mistakenly thought that you were already aware and the problem had been fixed. Sorry for not reporting sooner. D:
Thanks given by:
Heh, honestly, I remember the report, and fixed it in my own copy. Couldn't figure out why the rest of you noobs still had the problem. XD
Thanks given by:
I was about to post about that error message, thanks for the fix, gonna try the script out now.

Thanks given by:
I looked at one of the secret achievements and I laughed so much XD
Thanks given by:
Yeh, that'll happen as long as the engine doesn't know how to send simultaneous conline messages to $conline separately.
Thanks given by:
Yep, unfortunately a known drawback of the current conline system in CubeScript. Stay patient and I bet there will be a fix for this sooner than you think. :D

Also, GD recently confirmed that he was working on V-Wifey's voiceovers, so looks like I'll be forced to update this script sooner than I thought. :)
Thanks given by: