Register for your free account! | Forgot your password?

You last visited: Today at 14:40

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



Achievement system

Discussion on Achievement system within the CO2 Private Server forum part of the Conquer Online 2 category.

Reply
 
Old   #1
 
OGs Gaming's Avatar
 
elite*gold: 185
Join Date: Nov 2012
Posts: 275
Received Thanks: 24
Achievement system

Hey!

Sorry for asking about so much. (btw I fixed all my other stuff by just taking a look around the source/database/patch, but I dont know how to remove achievement system/fix it. It would be great if you guys could help me with it.
Everytime I login, the achievements I have achieved comes up aain. Its really annoying!
#Edit problem fixed.
OGs Gaming is offline  
Old 04/26/2013, 12:50   #2
 
shadowman123's Avatar
 
elite*gold: 0
Join Date: Aug 2007
Posts: 1,525
Received Thanks: 230
Make ushort List and add all the Achievments the player gained.. and make checker if !List.Contains(Acheviment ID) then send the packet to player with the new Acheivment ID thats it .. u should make Database Part too for saving / Loading
shadowman123 is offline  
Old 04/26/2013, 19:24   #3
 
elite*gold: 0
Join Date: Oct 2010
Posts: 64
Received Thanks: 10
Thanks for this [makontesh 3ayez t2oly @.@]
sala7mostafa is offline  
Old 04/26/2013, 21:00   #4
 
elite*gold: 21
Join Date: Jul 2005
Posts: 9,193
Received Thanks: 5,377
Quote:
Originally Posted by shadowman123 View Post
Make ushort List and add all the Achievments the player gained.. and make checker if !List.Contains(Acheviment ID) then send the packet to player with the new Acheivment ID thats it .. u should make Database Part too for saving / Loading
Wrong.

Achievements are stored as an array of bits (achieved or not). This is how they are sent to the client and therefor how you should be storing them on the server (less conversions, faster).

Use bitflags to turn the bit controlling each achievement on or off.

Function is almost exactly like the effects system.
pro4never is offline  
Old 04/27/2013, 00:26   #5
 
nTL3fTy's Avatar
 
elite*gold: 0
Join Date: Jun 2005
Posts: 692
Received Thanks: 353
Quote:
Originally Posted by pro4never View Post
Wrong.

Achievements are stored as an array of bits (achieved or not). This is how they are sent to the client and therefor how you should be storing them on the server (less conversions, faster).

Use bitflags to turn the bit controlling each achievement on or off.

Function is almost exactly like the effects system.
While the set of achievements as a whole are sent as a bitarray, I believe individual achievements (when acquired) are sent as their achievement id (located in ini/achievements.dat). I implemented a crude achievement system into CSV3 a while ago, see: .
nTL3fTy is offline  
Thanks
1 User
Old 04/27/2013, 00:34   #6
 
elite*gold: 21
Join Date: Jul 2005
Posts: 9,193
Received Thanks: 5,377
Boo, stop giving people accurate information!

But yah, my argument was more based around the sillyness of trying to build a dictionary/list/etc of all gained achievements and then cringing at the needless overhead of constantly trying to write that to a packet or save/load to database.
pro4never is offline  
Old 04/27/2013, 23:22   #7
 
shadowman123's Avatar
 
elite*gold: 0
Join Date: Aug 2007
Posts: 1,525
Received Thanks: 230
Guyz i created the system using Completely Different ways
shadowman123 is offline  
Old 04/27/2013, 23:29   #8
 
elite*gold: 21
Join Date: Jul 2005
Posts: 9,193
Received Thanks: 5,377
Quote:
Originally Posted by shadowman123 View Post
Guyz i created the system using Completely Different ways
I've been wrong before but chances are it's a less efficient method than using a bit array like nTL3fTy describes.
pro4never is offline  
Reply


Similar Threads Similar Threads
[Dedicato] Metin2 Aeterna - New Style - Pet system - Achievement System. Play Again.
02/25/2013 - Metin2 PServer Advertising - 10 Replies
http://1-ps.googleusercontent.com/x/www.inforge.ne t/patch.metin2aeterna.eu/test_Ws/res/img/hd_logo_o n.png.pagespeed.ce.OO_2hAWbEb.png http://4-ps.googleusercontent.com/x/www.inforge.n et/oi50.tinypic.com/x2m79pfq.jpg.pagespeed.ic.7-mp fI9kSh.png Prämisse Das lang erwartete Augenblick ist endlich angekommen. Nach einer sorgfältigen Verbesserung Aeterna ist bereit, in seiner schillerndsten steigen! Das lange Warten wird belohnt und Erwartungen erfüllt. Es ist die Zeit, um in einem...
achievement system
02/24/2013 - CO2 Private Server - 5 Replies
any idea for how to make the achievements saved :D
Achievement System
02/16/2013 - CrossFire - 14 Replies
Hallo Com, habe ein bisschen Erklärung notwendig wegen dem Achievement System... (ps. habe die dual d.e. valentine in cf eu ) also: -bleiben die achievements immer? oder nur für dieses event? -werden die fortschritte bei den achievements wieder gelöscht nach einiger zeit? -was bringen die achievements genau? auf welche lohnt es sich zu spielen?
Achievement System DL
01/25/2013 - Metin2 Private Server - 3 Replies
darf man ja nicht :S #cls request
Achievement System
02/23/2012 - Metin2 Private Server - 4 Replies
Joar mir fehlen 2 Datein und zwar achievement_small.dds achievement_small.sub Könnte die jemand hochladen bitte?



All times are GMT +2. The time now is 14:40.


Powered by vBulletin®
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2024 elitepvpers All Rights Reserved.