Search for:
internal int ActivityPoints;
Add after:
internal int Crystals;
Search for:
internal Habbo(uint Id, string Username, string RealName, uint Rank, string Motto, string Look, string Gender, int Credits, int ActivityPoints, double LastActivityPointsUpdate, bool Muted, uint HomeRoom, int Respect, int DailyRespectPoints, int DailyPetRespectPoints, bool MutantPenalty, bool HasFriendRequestsDisabled, DataRow groupRow, int achievementPoints, string LastOnline, string quests, string queststates, bool canchangename, int favoriteGroup, bool PassedQuiz, int pointsOnline)
{
Edit to:
internal Habbo(uint Id, string Username, string RealName, uint Rank, string Motto, string Look, string Gender, int Credits, int ActivityPoints, int Crystals, double LastActivityPointsUpdate, bool Muted, uint HomeRoom, int Respect, int DailyRespectPoints, int DailyPetRespectPoints, bool MutantPenalty, bool HasFriendRequestsDisabled, DataRow groupRow, int achievementPoints, string LastOnline, string quests, string queststates, bool canchangename, int favoriteGroup, bool PassedQuiz, int pointsOnline)
{
Search for:
this.ActivityPoints = ActivityPoints;
Add after:
this.Crystals = Crystals;
Search for:
internal void UpdateActivityPointsBalance(int NotifAmount)
{
Edit Function to:
internal void UpdateActivityPointsBalance(int NotifAmount)
{
if (((this.mClient != null) && (this.mClient.GetMessageHandler() != null)) && (this.mClient.GetMessageHandler().GetResponse() != null))
{
this.mClient.GetMessageHandler().GetResponse().Init(Outgoing.ActivityPoints);
this.mClient.GetMessageHandler().GetResponse().AppendInt32(2);
this.mClient.GetMessageHandler().GetResponse().AppendInt32(0);
this.mClient.GetMessageHandler().GetResponse().AppendInt32(this.ActivityPoints);
this.mClient.GetMessageHandler().GetResponse().AppendInt32(105);
this.mClient.GetMessageHandler().GetResponse().AppendInt32(this.Crystals);
this.mClient.GetMessageHandler().SendResponse();
}
}
Search for:
return new Habbo(id, username, realName, rank, motto, look, gender, credits, activityPoints, lastActivityPointsUpdate, muted, homeRoom, respect, dailyRespectPoints, dailyPetRespectPoints, mutantPenalty, hasFriendRequestsDisabled, group, achievementPoints, lastOnline, quests, queststates, canchangename, favoriteGroup, passedQuiz, (int) dRow["points_online"]);
Edit to:
return new Habbo(id, username, realName, rank, motto, look, gender, credits, activityPoints, (int)dRow["crystals"], lastActivityPointsUpdate, muted, homeRoom, respect, dailyRespectPoints, dailyPetRespectPoints, mutantPenalty, hasFriendRequestsDisabled, group, achievementPoints, lastOnline, quests, queststates, canchangename, favoriteGroup, passedQuiz, (int) dRow["points_online"]);