Needing some help - Version 5679

09/16/2013 18:56 vtnc2#1
Sup guys.. i've been looking into a 5679 source but didn't get where to fix...


First - Everytime a player logs in, there is a ClaimCP button near the exp bar.. How do I remove it?

Second - The Achievement Points keeps showing everything you have when you logs in.. can it not be opened when someone logs in?

I'll appreciate if one of you c# coders helps me.
09/16/2013 19:32 shadowman123#2
First ... its Data Packet sent to player when he Login so you can Fix that by making Checker ... for Example :-
- when player Press on ClaimCps Button he gets the Cps Amount u Put Server so u should Add Column Named w.e u want ill Pick DailyCps .. inside entities Database .. and set it to 1 when the player Claim The Cps Then make check like that
if (client.Entity.DailyCps == 0) // this means that the player hasnt Claimed Cps Yet
{
// Send the ClaimCps Button To Player
}

2nd Problem :-
When a Player Receive Acheivment Add the Acheviemtnt ID inside Database .. and add all the Acheivments IDs in List and make this Check
if (!AcheivmentList.Contains(GainedAcheivmentID))
{
// Add The New Acheivment
}

GainedAcheivment ID is Client -> Server packet

Hope i Helped You