Thread Tools Display Modes
08/14/14, 08:54 AM   #1
yvette
Join Date: Apr 2014
Posts: 31
REQUEST : automaticly siege weapons buy

is ir possible to write an addon that automaticly buys siege weapons when ou talk to the siege merchant ?

for example always have 5 balistas in backpack ?
  Reply With Quote
08/16/14, 01:38 PM   #2
yvette
Join Date: Apr 2014
Posts: 31
someone can code something like that ?

my whole guild would love you for writing this.

and i would pay you 50k gold on eu server for a working addon
  Reply With Quote
08/16/14, 02:57 PM   #3
Garkin
 
Garkin's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2014
Posts: 832
It shouldn't be hard to write.

Warning: Spoiler

Last edited by Garkin : 08/16/14 at 08:05 PM. Reason: Typo in code
  Reply With Quote
08/16/14, 04:25 PM   #4
yvette
Join Date: Apr 2014
Posts: 31
that would be awesome.

looking at the code i see you want to buy when the stock is 0 ?

it would be better to always have for example 5 balistas and so on.

so >5
  Reply With Quote
08/16/14, 05:01 PM   #5
merlight
AddOn Author - Click to view addons
Join Date: Jul 2014
Posts: 671
Originally Posted by yvette View Post
that would be awesome.

looking at the code i see you want to buy when the stock is 0 ?

it would be better to always have for example 5 balistas and so on.

so >5
That's already in there. You put how many of which item you want in the wishList table.
Just replace "amount" with "quantity" in GetShoppingList function, it's a typo.
  Reply With Quote
08/16/14, 05:06 PM   #6
yvette
Join Date: Apr 2014
Posts: 31
ah ok.

and there must be added door and wall repair kits as well
  Reply With Quote
08/16/14, 05:49 PM   #7
Ayantir
 
Ayantir's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2014
Posts: 1,019
I'll try to make something with the code Garkin posted
  Reply With Quote
08/17/14, 10:00 AM   #8
yvette
Join Date: Apr 2014
Posts: 31
awesome

we are all looknig forword to it !
  Reply With Quote
08/17/14, 12:52 PM   #9
Ayantir
 
Ayantir's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2014
Posts: 1,019
ok, 1st release, still some debugs here, if some players could try to test and send me feedback here ?

How it works :
  • 1st, go in Settings > Extensions > CyroSiege
  • The addon monitors the 14 siege items (i didn't added the siege weapon repair kit. Ask it if needed !). It will automaticaly buy your related faction items.
  • For each siege material, you enter how much you would like to get in your bagpack
  • Then you go to a siege merchant, it will automatically buy stuff, no confirmation, nothing to do. Messages are output to each material the addon buy


For now, I'll output some debug messages, they will be removed / better handled with 0.2 :

From the Garkin code , I added few tweaks :
- It actually buy items if you already got some siege stuff or not
- If your bagpack is full (happens often for me), it will try to buy consumables if they can stack with an existing stack, (didn't tried with 2 stacks of consumables, it won't maybe not work, not yet tested) (people really fighting with 100+ repair stones ?)
- The addon only buy with AP points, not gold. for 0.3, i will add he option
- If you don't have enought AP, Addon will fail (check coming in 0.2)
- I will try to set a better menu options (0.2)
- Don't traduce it, I will put real item names in menus in 0.2 too

0.2 is planned for wednesday depending on your feedback !
Don't hesitate to ask features or anything else, but i would like this addon focused on "siege items management"

Features already planned :
  • Handle "I don't got enought AP to buy my items"
  • Show an huge alert when entering Cyrodiil if you don't have enought materials (Go to your bank or bo buy them - something like that)
  • Implement an option "please i want to keep at least XXXX AP, don't spend it all" (I need my points to be emperor)

http://www.esoui.com/downloads/info703-CyroSiege.html

Ayantir,
Covenant Alliance


Edit : 0.2 is already here !

Last edited by Ayantir : 08/17/14 at 08:03 PM.
  Reply With Quote
08/19/14, 02:31 AM   #10
Randactyl
AddOn Author - Click to view addons
Join Date: Apr 2014
Posts: 251
Here's my entry: Stock Up

Stock Up works for all items, not just AvA items. Stock an item by right clicking it in your inventory and choosing "Stock Item". There is an option to prefer using AP whenever available.

I almost abandoned it when I saw this topic blew up after a few hours of me working, however, I decided to finish as an exercise for myself. Someone may find it useful after all

Stock Up is set up for French and German localization, I just need the actual translations I'll post the strings I need to the translation forum in the morning.
  Reply With Quote

ESOUI » AddOns » AddOn Search/Requests » REQUEST : automaticly siege weapons buy


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off