Okay, That compiles but when i hit cancel with an item in the chest, The server craps this out in a crash report...
System.InvalidOperationException: Collection was modified; enumeration operation may not execute.
at System.Collections.Generic.List`1.Enumerator.MoveNextRare()
at...
Thank you, That helped out ALOT.
Now i have another question.
How would I use MoveToWorld to move all the items in the Chest to the ground when renewal gets canceled
find items in chest then
MoveToWorld(box.Location, box.Map)
I was trying to move everything to the players bank before i...
Also, Should I be using something other than a timer here?
Someone suggested using DateTime, but I'm not even sure how that works.
I barely understand timers.
For some reason I woke up this-morning thinking my Positive Post Ratings were changed to all Negative Post Ratings on the forums here.
I Don't know why but, it kinda freaked me out and got me bummed.
Then I logged on and realized it was a dream. HAHAHA
Crazy shit happens in ones mind while...
I'm having a hell of a time here.
This code is giving me some Errors.
CS0118: Line 86: 'Server.Gumps.AccountDBoxGump' is a 'type' but is used like a 'variable'
CS0103: Line 86: The name 'Buttons' does not exist in the current context
CS0118: Line 92: 'Server.Gumps.AccountDBoxGump' is a 'type'...
Well, What if that person that deleted the character made another few characters. this chest would still be in there possession.
I was thinking about an inactive timer for 30 days or so.
Scripts\Misc\ResourceInfo.cs
Items\Resources\Blacksmithing\Ore.cs
Items\Resources\Blacksmithing\Ingots.cs
Services\Harvest\Mining.cs
I think that's just about whats needed.
If I'm Missing anything i'm sorry.
It was just a quick look threw.
Thank you.
Im still having an issue with somthing.
I have a gump popup to select okay or cancel.
I get this error in my code.
CS0118: Line 204: 'Server.Items.AccountDepositBox' is a 'type' but is used like a 'variable'
CS0118: Line 205: 'Server.Items.AccountDepositBox' is a 'type' but is...
Status Update:
I Get this error if the VIP account was deleted with or without an account chest connected to it.
Updated Update 12:30pmEst. Seems odd to me that i get this when a player account is deleted to.
I didn't put a null check in to see if the account has been deleted yet.
That's what I was in the process of testing when I got this.
I'm not sure what code to use for looking to see if the account has been deleted.
Maybe there's a way to have it check on start-up somehow? Not sure.
I did have the account to the VIP Gold Tier.
I restarted the server in debug without any changes.
System.NullReferenceException: Object reference not set to an instance of an object.
at CustomsFramework.Systems.VIPSystem.VIPModule.Check() in c:\ServUO-master\Scripts\Custom Systems\VIP...
Did a test where i had one account buy use of the chest and then i deleted the account right away. When i did that and restarted the server i get this...
System.NullReferenceException: Object reference not set to an instance of an object.
at...