I do a custom vendor system right now, based upon mysql connections for storing the sell/buy-data.
I learned after hours of confusion, that my scripts are ok, but a limitation of the amount is in the legacy scripts:
Scripts/legacy/Mobiles/Vendors/GenericBuy.cs, line 245:
amount = 20;
This will results in fixed values for any! item in the buy list. If you put an amount through GenericBuyInfo constructor, it would be ignored:
- Code: Select all
new GenericBuyInfo( type, price, amount, itemid, 0);
When the custom vendor system will be ready for use, I will add it to this archive if someone wants it.
PS: Could the server administrator please add support for C# syntax highlighting?
