Are vendors broken in this beta?
I'm getting acclient crashes with the following code (specfiically, the GetEnumerator() line.)
Quote:
private void WorldFilter_ApproachVendor(object sender, ApproachVendorEventArgs e)
{
try
{
Vendor vend = e.Vendor;
IEnumerator<WorldObject> enumer = vend.GetEnumerator();
enumer.Reset();
while (enumer.MoveNext())
{
this.WriteToChat(enumer.Current.Name + " " + enumer.Current.Id);
}
}
catch (Exception ex)
{
CErrorLogging.LogError(errorLogFile, ex);
}
}
I've tried working around this by trying to use WorldFilter.GetAll(), but the vendor's object do not show up there after opening the vendor buy/sell window.
Crash info:
Faulting application name: ACClient.exe, version: 0.0.11.4009, time stamp: 0x4d01046c
Faulting module name: unknown, version: 0.0.0.0, time stamp: 0x00000000
Exception code: 0xc0000005
Fault offset: 0x02adb615
Faulting process id: 0x175c
Faulting application start time: 0x01cb9c19366fb8b0
Faulting application path: C:\Games\Turbine\Asheron's Call - Throne of Destiny\ACClient.exe
Faulting module path: unknown
Report Id: 9f86d3b0-080c-11e0-b35b-0018f35836ad
-----signature-----
We are like dwarfs sitting on the shoulders of giants. We see more and things that are more distant than they did,
not because our sight is superior or because we are taller than they, but because they raise us up and their
great stature adds to ours