Debriefing > Fixed\Known Bugs
[UNCONFIRMED] #1 with the Bullet
coolDisguise:
--- Quote from: killermonkey on February 17, 2009, 05:16:31 am ---Could it be that you already achieved this achievement? You can only get it once. I can certify that this one works just fine
Also, if cheats were enabled on the server at any point during play you will not be allowed to get any achievements until the next map
--- End quote ---
No as I said, I didn't receive it yet. :-/
Interesting is your second part: I do not remember any cheats on the server but let's say the server loads some settings when the map starts (including cheats) and directly loads other settings (cheats turned off) before the first round starts you would'nt be able to get any achievements at all? (does this count for killing achievements, too?)
--- Quote from: drukqaddik on February 17, 2009, 09:47:21 am ---it took me about 10 times to get that achievement too. it works i think its just finnicky
--- End quote ---
As shown on the screens I actually met the requirements ~
(these are just 2 screens showing it, which I took after it had already happened twice)
killermonkey:
--- Code: ---
virtual void FireGameEvent( IGameEvent *event )
{
if ( Q_strcmp( event->GetName(), "round_end" ) == 0 )
{
CBasePlayer *pLocalPlayer = C_BasePlayer::GetLocalPlayer();
if (!pLocalPlayer) return;
int localid = pLocalPlayer->entindex();
// If we won both Most Deadly AND Most Accurate we win this achievement
if ( FindAwardForPlayer(event, GE_AWARD_MARKSMANSHIP, localid) && FindAwardForPlayer(event, GE_AWARD_DEADLY, localid) && CalcPlayerCount() >= 4 )
IncrementCount();
}
}
--- End code ---
As you can see from this *ACTUAL* code, on round end it finds your player id, then sees if you won the award marksmanship and deadly in that round, and checks for 4+ players... if it satisfies you win.
Can't tell you much more than that, sorry
drukqaddik:
just keep playin. youll get it eventually
VC:
Why isn't that const int localid? Does FindAward specifically require non-const for some ungodly reason?
killermonkey:
its not passed as a pointer thus it can't edit the original value anyway, get off your throne heathen
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version