It isn't finished just yet, sorry. Progress to it has been put on hold. It's a custom system that will be included in the long run, but other things are on the to-do list before it.

When I focus back on the VIP system, I will be gathering a lot of info and feedback. To build the system better, and include things that people believe to be a good idea.

Currently, the VIP system only has one feature that's in-place and working. As a proof of concept, and that is the free house modification VIP bonus.

Till then, if you have any sugestions. Feel free to add them to the suggestion forum.
 
Hey !

I had to correct a bug in the VIP system, which was preventing my server to start today ... 🙁

Here is the corrected code :

Code:
Expand Collapse Copy
		public void Check()
		{
  if (this.LinkedMobile != null)
  {
			if (!this.LinkedMobile.Deleted || this.LinkedMobile != null)
			{
				switch (this._Tier)
				{
					case VIPTier.None:
						{
							foreach (Bonus bonus in this._Bonuses)
							{
								if (bonus.TimeStarted + bonus.ServicePeriod >= DateTime.Now)
								{
									bonus.Enabled = false;
									bonus.ServicePeriod = TimeSpan.Zero;
									bonus.TimeStarted = DateTime.MinValue;
								}
							}
							break;
						}
					case VIPTier.Bronze:
						{
							if (this._TimeStarted + this._ServicePeriod >= DateTime.Now)
							{
								this._TimeStarted = DateTime.MinValue;
								this._ServicePeriod = TimeSpan.Zero;
							}
 
							this._Canceled = true;
							this.LinkedMobile.AccessLevel = AccessLevel.Player;
 
							goto case VIPTier.None;
						}
					case VIPTier.Silver:
						{
							goto case VIPTier.Bronze;
						}
					case VIPTier.Gold:
						{
							goto case VIPTier.Bronze;
						}
				}
			}
			else
			{
				this._Canceled = true;
			}
  }
		}

Hopefully this will help some 🙂

Kind regards,

-Rek-
 

Donations

Total amount
$20.00
Goal
$500.00

Shards

Back