Raised This Month: $12 Target: $400
 3% 

JailBreak Achievements System v1.0.0 [NapoleoN#]


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   ALL        Category:   Admin Commands       
Napoleon_be
Veteran Member
Join Date: Jul 2011
Location: Belgium
Old 06-21-2012 , 13:18   JailBreak Achievements System v1.0.0 [NapoleoN#]
Reply With Quote #1

Achievements System v1.0.0


.:: Description ::.

  • This plugin allows you to open a menu with all the available achievements in it.
  • The objective is to get all the avaible achievements completed just for fun!
.:: Achievements ::.


  • Anti-Godmode - Get killed 500 times!
  • Grafitty Gangster - Spray 1000 times!
  • Prison Breaker - Reach 1000 kills!
  • Addict - Connect 500 times to the server!
  • HeadHunterz - Get 500 headshot kills!
  • The Butcher - Get 100 Knife kills!
  • Sprinter - run 1 feet - run 5280 feet (1 mile) - run 52800 feet (10 miles)
  • Survivor - Survive 100 rounds
  • Grenadier - Get 50 kills using a grenade!
  • Officer - Get 250 kills with a USP
  • Glocker - Get 250 kills with a Glock18
  • Sneaky... - Get 100 kills with a knife while the enemy is wearing an AWP
  • Too easy - Get 250 kills with a Deagle
.:: Installation ::.
  1. Download colorchat.inc and Achievements.amxx
  2. Put the Achievements.amxx in the addons/amxmodx/plugins folder
  3. Put the colorchat.inc in the addons/amxmodx/scripting/include folder
.:: To Do ::.


  • Add /achs <name> to see the achievements of the player!
  • Add more Achievements
.:: Commands ::.


  • say /achs - Shows the menu
  • say /achievements - Shows the menu
.:: nVault ::.
The nVault is a module which helps you saving all the completed Achievements and gets stored in a file.
.:: Natives ::.

Natives are added to the plugin to help you adding and getting the achievements of a player.


PHP Code:
register_native("get_user_achievements""_get_achievements")
register_native("set_user_achievements""_set_achievements"
Attached Files
File Type: inc colorchat.inc (2.8 KB, 313 views)
File Type: sma Get Plugin or Get Source (Achievements.sma - 1242 views - 14.5 KB)
__________________

Last edited by Napoleon_be; 06-23-2012 at 07:15.
Napoleon_be is offline
Send a message via Skype™ to Napoleon_be
Napoleon_be
Veteran Member
Join Date: Jul 2011
Location: Belgium
Old 06-21-2012 , 13:19   Re: JailBreak Achievements System v1.0.0 [NapoleoN#]
Reply With Quote #2

.:: Changelog ::.

Code:
 - First release of the plugin
__________________

Last edited by Napoleon_be; 06-21-2012 at 13:20.
Napoleon_be is offline
Send a message via Skype™ to Napoleon_be
Rasist
New Member
Join Date: Jun 2012
Old 06-21-2012 , 14:05   Re: JailBreak Achievements System v1.0.0 [NapoleoN#]
Reply With Quote #3

Not bad
__________________
Say Hellooo!
Rasist is offline
Lokogaditano
Senior Member
Join Date: Apr 2009
Old 06-21-2012 , 14:05   Re: JailBreak Achievements System v1.0.0 [NapoleoN#]
Reply With Quote #4

I have looking this a lot of time, thanks, I tell you a lot of ideas for achivements, then you get that you want, my english is too poor, sorry xD

Kill with a He 5 people of your own team
Kill with a He 3 people of the other team
Kill a TT with a flash(I have the plugin that the flash kill people)
Kill a CT with a flash
Run over 10 people
Kill 3 people with a deagle in 5 seconds
Kill 3 people drug
Kill 2 people at the same time with a AWP
Get a total of 10 single freedays
Play 20 hours...50 hours...and 100 hours
Win three rounds without get killed
Win three duels
Kill 5 people with push them (with the plugin shovemod)
Kill 5 CT jumping in their heads (lie flat)
Kill 10 people with the flamethrower
Get 50 jbpacks
Buy chainsaw two times followed
Kill 3 CT while reloading this weapon
Kill 2 CT while shooting you
They hurt you 200 hp and you are alive
Kill 2 people with scout at the same time
Kill 3 people with a lasermine
Kill 1 people with a lasermine when you are dead
Kill 15 CT in the same map
Kill 10 people of your own team at the same time with a HE
Suicide you with a entitie of the map
Suicide you killing 3 people
Play 3 hours,6 hours and 10 hours followed
Win three rounds in freeday
Kill simon with a headshot
WHen you are simon, win the round without any dead CT
Kill 3 TT with weapons in one round
Kill 2 TT at 100 meters of distance
Start a rebelion and kill 2 CT
Be Simon 5 rounds followed
Be Simon
Kill a TT flying with a jetpack at 50 meters
Kill 5 people when you are in the air
Kill 10 Simons in the same map
Kill 3 CT with a single freeday
Kill Simon when he is talking on the microphone
Win 16000 , 25000 and 34000 dollars in a round
Get more than 255 hp in a round
Get 50 headshots in the same map
You get killed 3 times by the same CT
Kill all TT in a round
Lokogaditano is offline
Xalus
Veteran Member
Join Date: Dec 2009
Location: Belgium
Old 06-21-2012 , 17:37   Re: JailBreak Achievements System v1.0.0 [NapoleoN#]
Reply With Quote #5

PHP Code:
    switch(iAchLevel[read_data(1)][SNEAKY]) {
        case 
100: {
            
TotalAchievements[read_data(1)]++
            
ColorChat(read_data(1), GREEN"[Achievements]^1 Congratulations! You have unlocked the achievement:^3 Sneaky...")
            
emit_sound(read_data(1), CHAN_STATICszAchievementSound1.0ATTN_NORM0PITCH_NORM)
        }
    } 
1. Should be done on a way better way. (Use stock orso)
2. Whats the point of using switch there? :s
__________________
Retired.
Xalus is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 06-22-2012 , 04:28   Re: JailBreak Achievements System v1.0.0 [NapoleoN#]
Reply With Quote #6

1) SEARCH before posting. Again, we have to say that. http://forums.alliedmods.net/showthread.php?p=1544166
2) Test your plugin before posting. nVault can't work.

Redundant, hardcoded, poorly coded (CmdStart for that?).

Stop to post such plugins.

Unapproved.
__________________

Last edited by Arkshine; 06-22-2012 at 04:37.
Arkshine is offline
Napoleon_be
Veteran Member
Join Date: Jul 2011
Location: Belgium
Old 06-22-2012 , 07:45   Re: JailBreak Achievements System v1.0.0 [NapoleoN#]
Reply With Quote #7

Quote:
Originally Posted by Arkshine View Post
1) SEARCH before posting. Again, we have to say that. http://forums.alliedmods.net/showthread.php?p=1544166
2) Test your plugin before posting. nVault can't work.

Redundant, hardcoded, poorly coded (CmdStart for that?).

Stop to post such plugins.

Unapproved.
I tested my plugin and nVault really worked.
Also, i'm using CmdStart getting the distance. I don't know any other way getting the distance walked.

The Achievements API has been posted to make your own achievements as far as i've seen.
Can you tell me which part is hardcoded?

Also, take a look at this plugin: http://forums.alliedmods.net/showthread.php?t=178958
__________________
Napoleon_be is offline
Send a message via Skype™ to Napoleon_be
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 06-22-2012 , 07:59   Re: JailBreak Achievements System v1.0.0 [NapoleoN#]
Reply With Quote #8

Quote:
I tested my plugin and nVault really worked.
Really ? I don't see the handle retrieved.

Code:
	// nVault
	nvault_open("AchievementSystem")
}
Quote:
Also, i'm using CmdStart getting the distance
Such forward is called very often, and you don't need to be that precise. A timer of 0.1 or even 1.0 would be largely enough.

Quote:
The Achievements API has been posted to make your own achievements as far as i've seen.
Can you tell me which part is hardcoded?
That's the point. Use the existing API to make groups of achievements, which make your plugin redundant.
You hardcode achievements. I don't see reasons to not use the provided API.
__________________
Arkshine is offline
Napoleon_be
Veteran Member
Join Date: Jul 2011
Location: Belgium
Old 06-22-2012 , 12:22   Re: JailBreak Achievements System v1.0.0 [NapoleoN#]
Reply With Quote #9

Quote:
Originally Posted by Arkshine View Post
Really ? I don't see the handle retrieved.

Code:
    // nVault
    nvault_open("AchievementSystem")
}
Such forward is called very often, and you don't need to be that precise. A timer of 0.1 or even 1.0 would be largely enough.



That's the point. Use the existing API to make groups of achievements, which make your plugin redundant.
You hardcode achievements. I don't see reasons to not use the provided API.
What about the link i gave you in my post? There's totally no difference between mine and his tbh.
__________________
Napoleon_be is offline
Send a message via Skype™ to Napoleon_be
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 06-22-2012 , 12:44   Re: JailBreak Achievements System v1.0.0 [NapoleoN#]
Reply With Quote #10

So what ? You can see yourself it has not been reviewed yet. It's irrelevant on the matter here.
__________________
Arkshine is offline
Reply


Thread Tools
Display Modes

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 13:13.


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