English [RELEASED] Achievements and Statistics Script

262 replies
Goto Page
To the start Previous 1 2 ... 12 13 14 Next To the start
Poll Poll
Do you like the idea of the script?
Only registered users are allowed to vote
No, it is nothing new
4.17% (3)
Yes
95.83% (69)
72 votes cast
10.12.15 09:28:21 pm
Up
mrc
User
Offline Off
How is possible to get more than 100% of accuracy? lol
CS2D Global Community @ www.discord.gg/gvbtd6j
10.12.15 10:09:12 pm
Up
SQ
Moderator
Offline Off
Shot once, hit two players with that bullet.
10.12.15 10:13:32 pm
Up
Yates
Reviewer
Offline Off
For example a grenade launcher which hits multiple targets can achieve this. I didn't get it at first either :p
12.12.15 03:02:33 am
Up
mrc
User
Offline Off
Found a bug, press F2, click on X to close and it opens the graph stats.
CS2D Global Community @ www.discord.gg/gvbtd6j
12.12.15 03:24:56 pm
Up
SQ
Moderator
Offline Off
Thanks, haven't noticed that one.
15.12.15 04:00:12 am
Up
mrc
User
Offline Off
AddAchievement("Forest Ranger", GAMEMODE_ALL,"gfx/stats/a/palm.png",{"Killing Enemy with AWP" ,"while camping under palm" },"PalmKill")


This achievement doesn't work for me, it works? '-'
CS2D Global Community @ www.discord.gg/gvbtd6j
15.12.15 04:49:44 am
Up
SQ
Moderator
Offline Off
It works for sure, I might try to test it again later on. By the way, it must be a palm, not a tree.
15.12.15 06:31:15 pm
Up
mrc
User
Offline Off
It doesn't work.

IMG:http://s21.postimg.org/i2vtc55vr/blah.jpg


2. hard way doesn't work too
3. why picias image is "banned" :v
edited 3×, last 15.12.15 11:12:37 pm
CS2D Global Community @ www.discord.gg/gvbtd6j
16.12.15 12:01:48 am
Up
SQ
Moderator
Offline Off
Maybe you changed something? It does work for me.

The Hard Way - to kill an enemy which is in a fow for you. Means you are not able to see him at that moment.

I think this error happens when you are using wrong achievement name:

Code:
1
OpenUnlockAchievement(id,name)
edited 1×, last 16.12.15 12:12:09 am
16.12.15 12:10:16 am
Up
mrc
User
Offline Off
Off-screen kill counts? Maybe I did some sh*t idk. I made almost ~50 new achievements and they work... :v damn

I didn't changed anything in the code:

Code:
1
AddAchievement("Forest Ranger", GAMEMODE_ALL,"gfx/stats/a/palm.png",{"Killing Enemy with AWP" ,"while camping under palm" },"PalmKill")


Code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
-- Under The Palm
function palmKillFunction(id,v,w)
     if (w == 35) then
          local list = entitylist()
          for _,e in pairs(list) do
               local t = entity(e.x,e.y,"int0")
               if (entity(e.x,e.y,"typename") == "Env_Object")  then  -- if tree (t=1) needs more distance 
                    local x =player(id,"x")
                    local y = player(id,"y")
                    if (t == 0) then
                         if (distance(x,y,e.x * 32,e.y * 32) < 30) then
                              OpenUnlockAchievement(id,"PalmKill")
                              return
                         end
                    end
               end
          end
     end
end
edited 1×, last 16.12.15 12:15:33 am
CS2D Global Community @ www.discord.gg/gvbtd6j
16.12.15 12:13:27 am
Up
SQ
Moderator
Offline Off
Maybe error is not related with this achievement? what if you remove it and kill someone?
16.12.15 12:25:04 am
Up
mrc
User
Offline Off
Hmm, I disabled all other achievements and let only this one. The error keeps occuring. Other achievements by killing works fine. dahell
CS2D Global Community @ www.discord.gg/gvbtd6j
16.12.15 12:38:00 am
Up
SQ
Moderator
Offline Off
So if you comment or delete this line there is no prolem?
Code:
1
OpenUnlockAchievement(id,"PalmKill")


Lua stacktrace that you gave says that there is something else wrong. Not this achievement. part 2 achievements 48 line - first blood achievement.

Also probably you don't know if you remove AddAchievement function, it doesn't remove all related functions to that achievement. Probably you just don't really know what you are doing.
16.12.15 12:42:40 am
Up
mrc
User
Offline Off
I'm reworking from the scratch.

How MVP works? This doesn't do much.

Code:
1
2
3
4
5
6
7
8
9
10
11
-- Who Let The Doge Out 

function WhoLetTheDogeOutRoundEnd(id)
     if GetUserValue(id,"MVP") > 4 then
          OpenUnlockAchievement(id,"WhoLetTheDogeOut")
     end
end

function WhoLetTheDogeOutRoundProgress(id)
     return(GetUserValue(id,"MVP") / 5)
end
edited 3×, last 17.12.15 03:27:09 am
CS2D Global Community @ www.discord.gg/gvbtd6j
17.12.15 04:01:55 am
Up
SQ
Moderator
Offline Off
Final script version is available in the server right now
[TAB] Achievements 81.30.156.51:10020

100 Achievements in total, many fixes and performance updates.
edited 2×, last 17.12.15 10:37:35 am
17.12.15 05:44:08 pm
Up
mrc
User
Offline Off
Awesome cant wait to download
CS2D Global Community @ www.discord.gg/gvbtd6j
26.12.15 09:30:33 pm
Up
SQ
Moderator
Offline Off
New version is up on [TAB] Achievements Server
Many new achievements, flag location updates.
Lots of shit actually. I started working on a new feature of the script as well. It's called "Challenges"

[TAB] The Achievements 81.30.156.51:10020

I probably won't add more achievements, but challenges. This is going to be more fun.

IMG:http://s13.postimg.org/m4avw70gn/post.png
edited 2×, last 26.12.15 10:13:39 pm
26.12.15 11:19:35 pm
Up
Yates
Reviewer
Offline Off
Oi, show the new ranks xd

I'll update my old ranks upload tomorrow with the new ones. We're also planning on a total of 50 (right now there are 34).
13.01.16 07:58:54 pm
Up
VADemon
User
Offline Off
@user SQ: I got the achievement "Someone set up us the bomb" after joining an empty server and selecting the CT team - I have done nothing before.

PS: It was the TAB server
13.01.16 08:42:08 pm
Up
SQ
Moderator
Offline Off
@user VADemon: I know this issue. Though the case when it happens is very rare.
To the start Previous 1 2 ... 12 13 14 Next To the start