Forum

> > CS2D > Scripts > [RELEASED] Achievements and Statistics Script
ForenübersichtCS2D-Übersicht Scripts-ÜbersichtEinloggen, um zu antworten

Englisch [RELEASED] Achievements and Statistics Script

262 Antworten
Seite
Zum Anfang Vorherige 1 212 13 14 Nächste Zum Anfang

Umfrage Umfrage

Do you like the idea of the script?

Nur registrierte Benutzer können abstimmen
No, it is nothing new
4,17% (3)
Yes
95,83% (69)
72 Stimmen abgegeben

alt Re: [RELEASED] Achievements and Statistics Script

mrc
User Off Offline

Zitieren
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? '-'

alt Re: [RELEASED] Achievements and Statistics Script

SQ
Moderator Off Offline

Zitieren
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:

1
OpenUnlockAchievement(id,name)
1× editiert, zuletzt 16.12.15 00:12:09

alt Re: [RELEASED] Achievements and Statistics Script

mrc
User Off Offline

Zitieren
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:

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

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
1× editiert, zuletzt 16.12.15 00:15:33

alt Re: [RELEASED] Achievements and Statistics Script

SQ
Moderator Off Offline

Zitieren
So if you comment or delete this line there is no prolem?
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.

alt Re: [RELEASED] Achievements and Statistics Script

mrc
User Off Offline

Zitieren
I'm reworking from the scratch.

How MVP works? This doesn't do much.

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
3× editiert, zuletzt 17.12.15 03:27:09

alt Re: [RELEASED] Achievements and Statistics Script

SQ
Moderator Off Offline

Zitieren
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.
2× editiert, zuletzt 17.12.15 10:37:35

alt Re: [RELEASED] Achievements and Statistics Script

SQ
Moderator Off Offline

Zitieren
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:https://s13.postimg.org/m4avw70gn/post.png
2× editiert, zuletzt 26.12.15 22:13:39
Zum Anfang Vorherige 1 212 13 14 Nächste Zum Anfang
Einloggen, um zu antworten Scripts-ÜbersichtCS2D-ÜbersichtForenübersicht