Download
(117 Kb)
Download
Updated: 04/01/20 12:57 PM
Pictures
File Info
Updated:04/01/20 12:57 PM
Created:03/21/18 01:26 PM
Monthly downloads:77
Total downloads:9,371
Favorites:32
MD5:
Categories:TradeSkill Mods, Group, Guild & Friends
Hotep® Crafting Freelancer  Popular! (More than 5000 hits)
Version: 2.03
by: tomtomhotep, YesImBattman
This addon lets you become a Custom Equipment Crafter for Hire!

Features:
  • Periodically advertises your services on Zone Chat.
  • Takes orders from customers using an automated chat interface.
    • Automatically mails them a receipt when they complete their order.
  • Lets potential customers request pricing lists, and automatically mails the lists to them.
  • Allows customers to provide their own crafting mats for a discount (if you configure that option).
    • When option is enabled, the customer is prompted if they want to provide their own mats
      • If they answer yes, the addon mails them the list of mats needed for the order, including the per-unit discounts for each mat.
  • Allows you to require deposits from customers if their order total is above a threshold you set (if you set one).
    • Automatically mails the customer a request for the deposit amount (if they owe one), and
    • Automatically detects when you receive the deposit.
  • Lists your Waiting, Started, and Delivered Orders on the main window.
  • Displays the order you're working on, and the materials needed to complete it.
  • Helps you get needed materials from your Mule Toons (if you have any).
  • At any crafting station, it shows you the items you still need to craft at that station.
  • Chat message tells you when you've completed your order.
  • Automatically mails the ordered items (COD) to the customer with a few clicks.
  • Keeps track of your total sales and profits. *
  • Integrated with FCOItemsaver (to auto-mark items crafted for your order).
  • Addon Settings Panel has a full list of optional Slash Commands.
* NOTE: For now, if you want to keep track of your profits, you have to manually enter
your crafting mat purchases in the "Add New Purchase" window.









Set-Up:
  • Use the addon settings panel to set all of your selling prices and fees.
    • NEW: If you have LibPrice installed, you can use any Pricing Addon to automatically set all your selling prices and fees.
  • All prices and fees are set on a per-unit-of-material basis.
  • You can also set Per-Order and Per-Item Labor Fees.
  • The addon does the all the math to calculate the final prices of items, and the Order Total.








WARNING!!
When using the addon settings panel, be aware that the
mouse wheel will CHANGE THE VALUES of the sliders!
So when you scroll up and down the settings panel,
BE SURE to position your mouse on the vertical scroll-bar to
the far right of the panel, far away from where the sliders are!!!!!









Pricing Example:
Lets say a customer places an order for 1 item:
Level 6 Iron Axe, Fine/Green, Training, High Elf Style, non-set item, no enchantment.

That requires 5 Iron Ingots, 1 Adamantite, 1 Carnelian, and 2 Honing Stones.
(Assuming your Blacksmithing Improvement Passive is maxed. The addon checks your passives.)

Now suppose you set your Iron price to 5g (Under Metal Weapons),
your High Elf Style Fee to 15g, your Training Trait Fee to 10g,
your Green Blacksmithing Improvement fee to 20g, your Per-Order Labor Fee to 500g,
and your Per-Item Labor Fee to 100g.

Then the addon would calculate this item's Base Price as:
(5 * 5g) = 25g

And the addon would calculate the Item Fee as:
15g + 10g + (2 * 20g) + 100g = 165g

So the Item Total would be 190g, and the Order's Grand Total would be 690g.








~~~~~~~~~~~~~ To-Do List ~~~~~~~~~~~~~
  • ~~~ Ritual Objects & Oddities ~~~
    • No known bugs.
  • ~~~ Cosmetics, Linens & Accessories ~~~
    • Make selecting a mat easier in the "Add New Purchase" window.
    • Ability to customize the default mail body for the delivery mails.
  • ~~~ Drinkware, Utensils & Dishes ~~~
    • Add "Reset Stats" button to reset the Sales/Profits Statistics.
    • Implement the "Max Orders" option. (Right now it does nothing)
    • Reminders for over-due orders.
    • Make "mule window" work for withdrawing from Housing Storage.
  • ~~~ Games, Dolls & Statues ~~~
    • Support in-person trading window for order delivery & payment.
    • Recognizing glyphs for the enchantments needed for the items.
    • Auto-crafting using LibLazyCrafting.
    • Automatically detect crafting material purchases.
    • Add preview windows for viewing what your price-list, set-list, and style-list mails look like.
  • ~~~ Writings & Maps ~~~
    • Support the Jewelry Crafting Profession.
    • Support orders for Potions and Poisons.
    • Support orders for Foods and Drinks.
    • Support orders for Furnishings.
    • Support swapping orders with other players who use this addon, maybe???









---------
Hotep® is a registered trademark of Simple Designs Software LLC. All Rights Reserved.
2.03 - API bump, and Added all new styles and craftable sets since last update.

2.02 - Added the new styles and craftable sets from the Dragonhold DLC.

2.01b - API bump (I will add the new Styles and crafted Sets as soon as I get time, I promise!)

2.01a - API bump

2.01 - bug fix for advertising not working (Thanks, masterroschi!)

2.0 - API bump, * Out of Beta *, added automatic pricing settings using LibPrice

1.10a - API bump, "un-bundled" LibAddonMenu-2.0

1.10 - added new sets and styles from Murkmire update.

1.9b - API bump
1.9a - API bump

1.9 - Now shows what mats have been provided by customer so far, on order-detail window.

1.8 - fixed: order-detail window was not displaying the "deposit required" and "deposit taken" for orders that required a deposit
- fixed: order-detail window was not displaying the "Waive Deposit" button when customer had not yet paid the required deposit
- fixed: Guildie Discount is now handled correctly when applying to discounts for customer providing their own mats
- fixed: small bug when resuming a manual-entry order after closing and re-opening the window
- fixed: manual-entry window was allowing user to immediately start work on an order that requires a deposit.


1.7 - fixed a bug that caused a lua error during chat-ordering (thanks nazzeth)
- fixed a bug that interfered with automatically taking mats sent by customer for an order (thanks nazzeth)
- added support for allowing customer to provide mats in manual order-entry window.

1.6 - added option to disable auto-advertising
- sub-divided the add-on settings for prices & fees into smaller sub-menus

1.5 - the material-list mail that gets sent to the customer will now contain item links for the materials.
- now supports FCOIS dynamic icons 11-30
- now shows mats-on-hand on order-detail window using integration with Inventory Insight -- shows in tooltips - hover over the list of materials.

1.4 - fixed addon's ability to handle an order with 2 or more items that are identical except for quality and/or enchantment.
- fixed problem with mule window.

1.3 - api bump
- changed the name of "Copper" to "Bronze" (thanks, ZoS!)
- added the new styles and sets (BE SURE TO SET THE FEES!)
- updated LibAddonMenu to r26
- updated LibSaveToDisk to r2

1.2 - fixed: Addon can now handle 2 (or more) absolutely identical items in the same order!
- fixed a zero divided by zero error (thanks kr0nai)
- makes use of a new library: LibSaveToDisk (which has it's own settings panel)

1.1a - fixed Lua error "attempt to index nil value" (thanks lukkian)

1.1 - fixed: addon again recognizes when you craft / improve an item for your order.
1.0 - Initial Public Beta Release

--- Pre-Release Alpha Versions ---
0.5 - added ability to let customers provide their own mats for a discount
0.4 - added ability to create misc. charges/discounts as line items in orders
0.3 - added ability to set Deposit Requirements and collect deposits
0.2 - added purchase history and profit calculations
0.1 - initial alpha
Archived Files (20)
File Name
Version
Size
Uploader
Date
2.02
117kB
tomtomhotep
11/30/19 12:42 PM
2.01b
118kB
tomtomhotep
11/08/19 04:53 PM
2.01a
117kB
tomtomhotep
08/29/19 12:58 PM
2.01
117kB
tomtomhotep
06/19/19 03:39 PM
2.0
117kB
tomtomhotep
06/15/19 12:47 PM
1.10a-beta
154kB
tomtomhotep
03/27/19 04:41 PM
1.10-beta
196kB
tomtomhotep
11/06/18 09:39 PM
1.9b-beta
196kB
tomtomhotep
10/28/18 09:46 AM
1.9a-beta
196kB
tomtomhotep
08/25/18 02:39 PM
1.9-beta
196kB
tomtomhotep
08/11/18 01:12 PM
1.8-beta
195kB
tomtomhotep
07/22/18 04:42 PM
1.7-beta
194kB
tomtomhotep
07/14/18 03:32 PM
1.6-beta
193kB
tomtomhotep
07/04/18 09:42 AM
1.5-beta
193kB
tomtomhotep
06/28/18 01:29 PM
1.4-beta
190kB
tomtomhotep
06/20/18 04:49 PM
1.3-beta
189kB
tomtomhotep
05/28/18 11:59 AM
1.2-beta
188kB
tomtomhotep
05/05/18 09:39 AM
1.1a-beta
189kB
tomtomhotep
05/01/18 11:30 AM
1.1-beta
189kB
tomtomhotep
04/30/18 04:09 PM
1.0-beta
139kB
tomtomhotep
03/21/18 01:26 PM


Post A Reply Comment Options
Unread 05/04/18, 11:39 AM  
tomtomhotep
 
tomtomhotep's Avatar
AddOn Author - Click to view AddOns

Forum posts: 21
File comments: 217
Uploads: 6
Originally Posted by kr0nai
By no means am I an addon maker, but I'd make a guess that it's not from a ton of variables being saved.
The only reason I say this is because the .lua in question is 26kb, with many other addons' saved variables files being significantly larger (Azurah @ 51kb, AlphaGear @ 315kb, Master Recipe List @ 924kb).
Thanks for confirming that.


Originally Posted by kr0nai
Had the error pop up again today immediately upon logging in to a character that at one point was listed as an "order taker" within the addon. Though I don't know if the addon still thought that at the time of this error.
Can you send me your saved variables file?

Also, when you got that error immediately upon logging in to a character, did you notice if "[HotepCraftingFreelancer] Loaded in order-taker mode." appeared in the chat?

Also, does the error always have the same line number (221), or is the line # always different?
Report comment to moderator  
Reply With Quote
Unread 05/04/18, 06:38 AM  
kr0nai

Forum posts: 0
File comments: 5
Uploads: 0
By no means am I an addon maker, but I'd make a guess that it's not from a ton of variables being saved.
The only reason I say this is because the .lua in question is 26kb, with many other addons' saved variables files being significantly larger (Azurah @ 51kb, AlphaGear @ 315kb, Master Recipe List @ 924kb).

Had the error pop up again today immediately upon logging in to a character that at one point was listed as an "order taker" within the addon. Though I don't know if the addon still thought that at the time of this error.

Just wanted to chime in what little bit I could.
Report comment to moderator  
Reply With Quote
Unread 05/03/18, 11:56 PM  
Dolgubon
 
Dolgubon's Avatar
AddOn Author - Click to view AddOns

Forum posts: 409
File comments: 892
Uploads: 21
Originally Posted by tomtomhotep
Originally Posted by kr0nai
Hello, registered specifically so I could post in regards to this addon.
First off, great work with it so far, very nice idea.

However, the following error has been the source of quite a bit of frustration:

I have never seen a lua error that didn't start with

"user:/AddOns/<addon-folder-name>/"

I'm asking my fellow addon authors.
I think that is because of a saved variables file that's too large, or that got corrupted. Or maybe you're trying to save a function? It's rather weird, because the issue is likely with ZOS' saved variable functions and not you (unless you're saving a ton to saved variables, then it's you until summerset)
Report comment to moderator  
Reply With Quote
Unread 05/03/18, 03:35 PM  
tomtomhotep
 
tomtomhotep's Avatar
AddOn Author - Click to view AddOns

Forum posts: 21
File comments: 217
Uploads: 6
Originally Posted by kr0nai
Hello, registered specifically so I could post in regards to this addon.
First off, great work with it so far, very nice idea.

However, the following error has been the source of quite a bit of frustration:

I have never seen a lua error that didn't start with

"user:/AddOns/<addon-folder-name>/"

I'm asking my fellow addon authors.
Report comment to moderator  
Reply With Quote
Unread 05/02/18, 11:13 PM  
kr0nai

Forum posts: 0
File comments: 5
Uploads: 0
Hello, registered specifically so I could post in regards to this addon.
First off, great work with it so far, very nice idea.

However, the following error has been the source of quite a bit of frustration:

user:/SavedVariables/HotepCraftingFreelancer.lua:221: function expected instead of nil
stack traceback:
user:/SavedVariables/HotepCraftingFreelancer.lua:221: in function '(main chunk)'
The result of this seems to be resetting the Saved Variables file, therefore wiping all the pricing info entered, who's a seller/mule/order-taker, orders in progress, completed orders, purchase history.

Had this happening before and after the recent update. Had it happen just a few minutes ago, I had been reloading the UI after entering each chunk of info (ingot prices, cloth prices etc). Entered a handful of material purchases I had just made, did a /reloadUI to try to make sure it saved and upon reloading I was met with that error and then that's it, poof, previous 1-2 hrs of setup just entirely erased.

Seeing this fixed up would be great.
Sidenote: Desecrated Grave Soil is missing from the Style Materials section within Purchase History.
Report comment to moderator  
Reply With Quote
Unread 05/01/18, 05:20 PM  
lukkian
 
lukkian's Avatar

Forum posts: 3
File comments: 37
Uploads: 0
Oh, even got my name on the changelog.
It is I who thank you for the excellent work.
Report comment to moderator  
Reply With Quote
Unread 05/01/18, 11:31 AM  
tomtomhotep
 
tomtomhotep's Avatar
AddOn Author - Click to view AddOns

Forum posts: 21
File comments: 217
Uploads: 6
Originally Posted by lukkian
user:/AddOns/HotepCraftingFreelancer/HotepCraftingFreelancer.lua:6718: attempt to index a nil value
stack traceback:
user:/AddOns/HotepCraftingFreelancer/HotepCraftingFreelancer.lua:6718: in function 'HotepCraft.MainMenuSwitch'
user:/AddOns/HotepCraftingFreelancer/HotepCraftingFreelancer.lua:6803: in function 'HotepCraft.ToggleUIMain'
:1: in function '(main chunk)'
Fixed! Thanks for the bug report!
Report comment to moderator  
Reply With Quote
Unread 05/01/18, 07:56 AM  
lukkian
 
lukkian's Avatar

Forum posts: 3
File comments: 37
Uploads: 0
user:/AddOns/HotepCraftingFreelancer/HotepCraftingFreelancer.lua:6718: attempt to index a nil value
stack traceback:
user:/AddOns/HotepCraftingFreelancer/HotepCraftingFreelancer.lua:6718: in function 'HotepCraft.MainMenuSwitch'
user:/AddOns/HotepCraftingFreelancer/HotepCraftingFreelancer.lua:6803: in function 'HotepCraft.ToggleUIMain'
:1: in function '(main chunk)'
Report comment to moderator  
Reply With Quote
Unread 04/28/18, 08:33 AM  
tomtomhotep
 
tomtomhotep's Avatar
AddOn Author - Click to view AddOns

Forum posts: 21
File comments: 217
Uploads: 6
Re: Re: Addon Quality at Superior, Now working on Epic

Originally Posted by tomtomhotep
Originally Posted by Azerdraco
The addon did not recognize that I had already crafted items in the order (blue quality, training trait, all one set). Once I placed it on hold then resumed it, the addon immediately recognized the items and marked them ready for delivery.
Sounds like a bug.
Confirmed. It happened to me.
I know what the problem is. Working on it right now!

... FIXED!
Last edited by tomtomhotep : 04/30/18 at 04:10 PM.
Report comment to moderator  
Reply With Quote
Unread 04/10/18, 06:59 PM  
tomtomhotep
 
tomtomhotep's Avatar
AddOn Author - Click to view AddOns

Forum posts: 21
File comments: 217
Uploads: 6
Re: Re: Re: Found an error

Originally Posted by Azerdraco
No, I meant that completely entering an order, clicking "Save Order", and then going up to "Enter an Order", it does this.
Ah. Yes, Just tried it. I'll fix as soon as I can.

For now, best thing to do is a /reloadui after you enter a complete order. -- You should anyway, since all Addons' saved variables are only saved to disk when you logout or do /reloadui. Until then, the order(s) you entered are only in memory, and if your game client crashes, they're gone!


Originally Posted by Azerdraco
Edit: Freelancer only has "Submit Order" button right now. I'm wondering if it is linked.
Nope. You can only be "working on" one order at a time, so if you've already "started" an order, there can be no "Submit and Start" option. That's why there's a "Put on Hold" option that only shows on the order you're currently "working on".
Report comment to moderator  
Reply With Quote
Unread 04/10/18, 03:06 PM  
Azerdraco

Forum posts: 0
File comments: 9
Uploads: 0
Re: Re: Found an error

Originally Posted by tomtomhotep
Originally Posted by Azerdraco
I have encountered an error, and am currently working on not only replicating it but also getting data returned from affected clients.

As it stands, my Freelancer gets stuck on a single order. Trying to start another order while one is incomplete brings up that order with a new number, just as if I were editing the incomplete order.

You CANNOT enter 2 orders at once in manual order entry. You must completely enter and save one order before beginning to enter another one.

This is by design. ... But I will have to check out why it is incrementing the order #.
No, I meant that completely entering an order, clicking "Save Order", and then going up to "Enter an Order", it does this.

Edit: Freelancer only has "Submit Order" button right now. I'm wondering if it is linked.
Last edited by Azerdraco : 04/10/18 at 05:26 PM.
Report comment to moderator  
Reply With Quote
Unread 04/10/18, 01:29 PM  
tomtomhotep
 
tomtomhotep's Avatar
AddOn Author - Click to view AddOns

Forum posts: 21
File comments: 217
Uploads: 6
Re: Found an error

Originally Posted by Azerdraco
I have encountered an error, and am currently working on not only replicating it but also getting data returned from affected clients.

As it stands, my Freelancer gets stuck on a single order. Trying to start another order while one is incomplete brings up that order with a new number, just as if I were editing the incomplete order.

You CANNOT enter 2 orders at once in manual order entry. You must completely enter and save one order before beginning to enter another one.

This is by design. ... But I will have to check out why it is incrementing the order #.
Report comment to moderator  
Reply With Quote
Unread 04/10/18, 01:18 PM  
Azerdraco

Forum posts: 0
File comments: 9
Uploads: 0
Found an error

I have encountered an error, and am currently working on not only replicating it but also getting data returned from affected clients.

As it stands, my Freelancer gets stuck on a single order. Trying to start another order while one is incomplete brings up that order with a new number, just as if I were editing the incomplete order.
Report comment to moderator  
Reply With Quote
Unread 04/08/18, 10:57 AM  
tomtomhotep
 
tomtomhotep's Avatar
AddOn Author - Click to view AddOns

Forum posts: 21
File comments: 217
Uploads: 6
Smile Re: Still loving the addon

Originally Posted by Azerdraco
Well, I've been using the addon fairly regularly for the past few weeks.
To quote Ron Weasly: "It's bloody brilliant, that's what it is." (Sorry if I absolutely mutilated it, quote from memory and all.)

For those that don't already know exactly what set(s) are best based on a client's race and class selection, the automatic "Order by Tell(ephone)" is really nice.

For those of us that do know some of the best sets to use, the manual entry is very clean and easy to use.

Thank You So Much! I'm really glad you like it. I try to "think out of the box", as it were.



Originally Posted by Azerdraco
<Relating to Client providing materials, Manual Entry>
As I've used the manual entry, it would seem that a simple check box next to the "Add Item" button would be sufficient. Have that checkbox activate the exact same procedure you coded for the "auto Order" functionality. That would allow for people that only have certain materials available.

Yep. Definitely one of the first things on the to-do list that I will take care of, once I have some time (i.e. After the Jubilee Event).




Originally Posted by Azerdraco
<Relating to Emails, Delivery Emails>
These were the ones that I was actually talking about customization on. Having the ability to customize these would be a nice little bonus, but is by far not a major concern.

Ohhhhhh, That mail. Sure, I can put that on the "nice-to-have" list.




Originally Posted by Azerdraco
<Relating to Addon Settings, Fees and Pricing>
Not that I don't like the little price choice bar, but everthing would look a lot cleaner with just the number entry dialog box.

I wanted to have plain input boxes for the prices from the start, but LibAddonMenu-2.0 doesn't provide an option for numeric-only editboxes.

I shall make a request to sirinsidiator to add the functionality.




Originally Posted by Azerdraco
The number bar would be better utilized if you were somehow able to get price info from the Master Merchant and/or Tamriel Trade Centre addons (if the player has them already), and use those maximums, minimums, and averages to set up the slider bar. Kind of an automated "Set my Fees" feature.

I have actually had the notion of integrating MM & TTC for an "automated Set my Fees feature" in my head since the start.
That's another "One Day.... One Day...." thing that I will get to eventually.


Originally Posted by Azerdraco
And of course have that set to a toggled on/off state

Of Course!
Report comment to moderator  
Reply With Quote
Unread 04/08/18, 01:44 AM  
Azerdraco

Forum posts: 0
File comments: 9
Uploads: 0
Still loving the addon

Well, I've been using the addon fairly regularly for the past few weeks.
To quote Ron Weasly: "It's bloody brilliant, that's what it is." (Sorry if I absolutely mutilated it, quote from memory and all.)

For those that don't already know exactly what set(s) are best based on a client's race and class selection, the automatic "Order by Tell(ephone)" is really nice.

For those of us that do know some of the best sets to use, the manual entry is very clean and easy to use.

<Relating to Client providing materials, Manual Entry>
As I've used the manual entry, it would seem that a simple check box next to the "Add Item" button would be sufficient. Have that checkbox activate the exact same procedure you coded for the "auto Order" functionality. That would allow for people that only have certain materials available.

<Relating to Emails, Delivery Emails>
These were the ones that I was actually talking about customization on. Having the ability to customize these would be a nice little bonus, but is by far not a major concern.

<Relating to Addon Settings, Fees and Pricing>
Not that I don't like the little price choice bar, but everthing would look a lot cleaner with just the number entry dialog box.

The number bar would be better utilized if you were somehow able to get price info from the Master Merchant and/or Tamriel Trade Centre addons (if the player has them already), and use those maximums, minimums, and averages to set up the slider bar. Kind of an automated "Set my Fees" feature. All it would need is access to the files that those addons utilize to store information about prices.

And of course have that set to a toggled on/off state, for those that don't have (or don't care to get) those addons.

<Relating to the possibility of people "breaking" the addon>
The simplest way to keep "some" users from breaking the addon would be to have a simple warning right above the dialog box for editing a portion of the automated text.

As an example, allowing editing of the automatic second post (the one with the /tell commands) with the very prominent warning:

"This addon is written to "listen" for certain specific words in order to perform automated tasks. Removing mention of these specific words WILL cause these automated tasks to NOT FUNCTION PROPERLY. You have been warned. Do not cry to the author, he will only collect your tears to brew tea while laughing at you for not heeding this extensive warning."

Oh, and include a "Reset to Default" button next to the dialog that reverts it back to "factory standard". That way you can tell the ones that will STILL come crying about it where to fix the problem ... after brewing some delicious tea of course.

If you really wanted to, you might consider a Discord chat for just this addon, where you and other authors (like Dolgubon) could get together to work on functionality. Just an idea.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: