Author Topic: Vendor object still broken?
mav_sc 
Posts: ????
Registered: ????
Extended Info (if available)
Real Post Cnt: 0
User ID: 0
Subject: Vendor object still broken?
Anyone else still having issues with the Vendor object?

in:
void WorldFilter_ApproachVendor(object sender, ApproachVendorEventArgs e)

foreach (Decal.Adapter.Wrappers.WorldObject obj in Util.Core.WorldFilter.OpenVendor)
{
Util.Debug(obj.Name);
}

Returns no objects.

Also OpenVendor.Count == 0.

I have updated the messages.xml.

sad

 

-----signature-----
Link to this post
Virindi-Inquisitor 
Posts: 6,908
Registered: Nov 18, '01
Extended Info (if available)
Real Post Cnt: 6,646
User ID: 511,923
Subject: Vendor object still broken?
With which vendor?

 

-----signature-----
Virindi
---
****Virindi Plugins FAQ**** http://www.virindi.net/wiki/index.php/Virindi_Plugins_FAQ
http://www.virindi.net - Virindi Tank, Follower, Integrator, Reporter, VCS5, XPHelper, Item Tool, HUDs, etc...
Decal Core Dev - http://www.decaldev.com
Link to this post
mav_sc 
Posts: ????
Registered: ????
Extended Info (if available)
Real Post Cnt: 0
User ID: 0
Subject: Vendor object still broken?
Master Celdiseth the Archmage

 

-----signature-----
Link to this post
Virindi-Inquisitor 
Posts: 6,908
Registered: Nov 18, '01
Extended Info (if available)
Real Post Cnt: 6,646
User ID: 511,923
Subject: Vendor object still broken?
With Decal 2961?

 

-----signature-----
Virindi
---
****Virindi Plugins FAQ**** http://www.virindi.net/wiki/index.php/Virindi_Plugins_FAQ
http://www.virindi.net - Virindi Tank, Follower, Integrator, Reporter, VCS5, XPHelper, Item Tool, HUDs, etc...
Decal Core Dev - http://www.decaldev.com
Link to this post
mav_sc 
Posts: ????
Registered: ????
Extended Info (if available)
Real Post Cnt: 0
User ID: 0
Subject: Vendor object still broken?
Yes.

Master Shoyanen fails as well.

Archmage Inyankaya bint Ruz in Yaraq also fails.

Ellimar Jorning the Healer in Ayan works ok.

 

-----signature-----
Link to this post
Virindi-Inquisitor 
Posts: 6,908
Registered: Nov 18, '01
Extended Info (if available)
Real Post Cnt: 6,646
User ID: 511,923
Subject: Vendor object still broken?
Ah. You are probably hitting a problem we are working on now, then.

 

-----signature-----
Virindi
---
****Virindi Plugins FAQ**** http://www.virindi.net/wiki/index.php/Virindi_Plugins_FAQ
http://www.virindi.net - Virindi Tank, Follower, Integrator, Reporter, VCS5, XPHelper, Item Tool, HUDs, etc...
Decal Core Dev - http://www.decaldev.com
Link to this post
mav_sc 
Posts: ????
Registered: ????
Extended Info (if available)
Real Post Cnt: 0
User ID: 0
Subject: Vendor object still broken?
If you want me to test any new updates, lmk! happy

 

-----signature-----
Link to this post
Hazridi 
Posts: 8,386
Registered: Mar 15, '01
Extended Info (if available)
Real Post Cnt: 8,277
User ID: 74,558
Subject: Vendor object still broken?
This particular update managed to break the Decal parser, we are working on it.

 

-----signature-----



Hazridi of WE, VT, HG, SC
Decal Core Dev - http://www.decaldev.com - Beta at http://www.decaldev.com/beta
Link to this post
mav_sc 
Posts: ????
Registered: ????
Extended Info (if available)
Real Post Cnt: 0
User ID: 0
Subject: Vendor object still broken?
Hope the progress is going well! happy

 

-----signature-----
Link to this post
Hazridi 
Posts: 8,386
Registered: Mar 15, '01
Extended Info (if available)
Real Post Cnt: 8,277
User ID: 74,558
Subject: Vendor object still broken?
You have to understand that no one's touched the Decal parser since I added some types back when ToD first came out, and it's one of the least comprehensible pieces of code I've ever encountered (and as a Decal maintainer - I've encountered some shitty code, let me tell you.). We are in the process of integrating the Decal.Adapter .NET parser into DecalNet via COM interop, but any change of this magnitude requires a lot of testing. The good news is it should just work without anyone needing to fix any code in their plugins.

 

-----signature-----



Hazridi of WE, VT, HG, SC
Decal Core Dev - http://www.decaldev.com - Beta at http://www.decaldev.com/beta
Link to this post
mav_sc 
Posts: ????
Registered: ????
Extended Info (if available)
Real Post Cnt: 0
User ID: 0
Subject: Vendor object still broken?
Hey Haz, I completely understand what its like. I can't imagine the difficulty in maintaining decal.

I have plenty of other code to write to keep me occupied. happy

Keep up the good work!

 

-----signature-----
Link to this post
mav_sc 
Posts: ????
Registered: ????
Extended Info (if available)
Real Post Cnt: 0
User ID: 0
Subject: Vendor object still broken?
Looking forward to the fix!!! happy wink

 

-----signature-----
Link to this post
mav_sc 
Posts: ????
Registered: ????
Extended Info (if available)
Real Post Cnt: 0
User ID: 0
Subject: Vendor object still broken?
Any update to this?

A friend is saying that in 2.9.6.0 he is getting objects back from the vendor, but I'm using 2.9.6.1 and am not getting objects back.

Should I downgrade?

 

-----signature-----
Link to this post
mav_sc 
Posts: ????
Registered: ????
Extended Info (if available)
Real Post Cnt: 0
User ID: 0
Subject: Vendor object still broken?
Well I found a workaround.

I manually get the id for the vendors item's I want to work with using Util.Host.Actions.CurrentSelection

Then, I have to hard code the ID's in my code. I am able to add the vendors items to the buy list this way.

It limits me to a couple vendors that I wish to reverse id's for, but I'm ok with that.

 

-----signature-----
Link to this post
Virindi-Inquisitor 
Posts: 6,908
Registered: Nov 18, '01
Extended Info (if available)
Real Post Cnt: 6,646
User ID: 511,923
Subject: Vendor object still broken?
You could also read the vendor opened message yourself. Parsing it works with the protocol parser in Decal.Adapter, it is just the native parser which is broken (and thus WF which relies on it).

This method is how my plugins (eg. Virindi Item Tool) are able to interact with mage vendors.

 

-----signature-----
Virindi
---
****Virindi Plugins FAQ**** http://www.virindi.net/wiki/index.php/Virindi_Plugins_FAQ
http://www.virindi.net - Virindi Tank, Follower, Integrator, Reporter, VCS5, XPHelper, Item Tool, HUDs, etc...
Decal Core Dev - http://www.decaldev.com
Link to this post
mav_sc 
Posts: ????
Registered: ????
Extended Info (if available)
Real Post Cnt: 0
User ID: 0
Subject: Vendor object still broken?
I was wondering how you got it working.

I haven't coded any packet parser code yet so that's all new to me.

Regardless, the method I have implemented now works for me and thus I can stop spending time on this project and move on to something else. happy

 

-----signature-----
Link to this post
shojimbo 
Posts: 4,374
Registered: May 6, '02
Extended Info (if available)
Real Post Cnt: 4,354
User ID: 676,160
Subject: Vendor object still broken?
I have no idea what you just said silly , but I have a question. Is all this stuff creating problems for plugin developers or should regular users be worried? I keep seeing the reports of problems, but I have not had any trouble whatsoever.

Thanks

 

-----signature-----
Arggash - level 275 Tank/3 School/Bow
ShoJimbo - retired axer Apr 2002
ViaJimbo - level 230 2H Meat Shield
Babu Bhatt - level 208 War Mage
Keith Stone - level 117 Axer
Link to this post
mav_sc 
Posts: ????
Registered: ????
Extended Info (if available)
Real Post Cnt: 0
User ID: 0
Subject: Vendor object still broken?
As of now I'd say there is no need to be worried.

I have 11 accounts, 9 of which I play actively. Thus, I write a lot of code to take the burden out of playing (maintaining) AC. Some (most) of the things I do are unique to my play style.

With Virindi releasing her item tool that allows anyone to buy items from any vendor, any existing vendor issues were solved for most of the player base. For example, buying mana scarabs in bulk.

If anything, I think the player base should be excited some of the decal bugs are getting fixed and that the active developers have found new enthusiasm to continue the project, free of charge! happy

 

-----signature-----
Link to this post
Virindi-Inquisitor 
Posts: 6,908
Registered: Nov 18, '01
Extended Info (if available)
Real Post Cnt: 6,646
User ID: 511,923
Subject: Vendor object still broken?
Oh by the way Mav, speaking of item tool...you should try opening the item tool .dll in object browser. wink

 

-----signature-----
Virindi
---
****Virindi Plugins FAQ**** http://www.virindi.net/wiki/index.php/Virindi_Plugins_FAQ
http://www.virindi.net - Virindi Tank, Follower, Integrator, Reporter, VCS5, XPHelper, Item Tool, HUDs, etc...
Decal Core Dev - http://www.decaldev.com
Link to this post
mav_sc 
Posts: ????
Registered: ????
Extended Info (if available)
Real Post Cnt: 0
User ID: 0
Subject: Vendor object still broken?
Initially I figured your was working because the user had to select the item they wanted to purchase, and thus the plugin would get the id of that item.

That helped spark the idea of just getting the id's manually, which eventually lead to my working example.

As of right now, my plugin will completely auto-comp my chars when I approach a vendor.

I'd really like to release it, but I'd have to add GUI, user settings, the proper vendor search like you do, etc..

If someone wants to take on the challenge of turning it into a releasable plugin please PM me.


Ok, just opened it up in object browser. You've made the key functions public. This is exactly what someone would need to develop a redistributable plugin that auto-recomps..

Well done V! happy

 

-----signature-----
Link to this post

Valid XHTML 1.0 Transitional Powered by PHP