PDA

View Full Version : why my shop doesn't work plz help!!


GBaddict
23rd March 2006, 18:34
this is my shop.txt
--------------------------------------------------------------------------------------------------------






My Shop
Mink Coat unlmited

Mink Coat 1,999,999 8



# This file controls which items to put into your shop, when you are
# vending. To enable vending, set the 'shopAuto' configuration option in
# config.txt to 1.
#
# The first line of the file is your shop title.
# Subsequent lines are of this format (tab-delimited):
# <name> <price> [<amount>]
#
# If <price> has commas in it, they must appear in the right places.
# This can be useful for preventing accidentally vending an item
# for the wrong price.
--------------------------------------------------------------------------------------------------------
i have 8 mink coat's and i want sell it all

akiranakahira
23rd March 2006, 23:08
maybe you didnt put

shopAuto_open 1 <<<<

in the config.txt or

this
My Shop <--- try to remove it
Mink Coat unlmited

or this...

Mink Coat 1,999,999 8 <<<Mink Coat [1]

great_warriors
24th March 2006, 19:10
you have set your shop.txt wrong. This is taken from openkore manual

Shop.txt

If your character has the Vending Skill, Kore can setup a shop and vend items. The file shop.txt allows you to specify the shop name and the items to be put in the shop with the corresponding price and amount when Kore opens your shop.

You can open a shop manually by typing the openshop command in the console. You can also setup Kore to automatically open a shop when it has been idle for a certain amount of time (see shopAuto_open in config.txt). It is advisable to disable all other actions like random walk, auto-attack, auto-skill use, item auto-gather, etc. while vending.

The first line in this file is the shop title. A shop title is required: you cannot have a shop without a title. The subsequent lines specify the items that you want to put in your shop. Those lines observe the following format:

Syntax:
<item name> (TAB(s)) <price> (TAB(s)) <amount>
Details

<item name>
This is the full name of an item as it exactly appears in the cart list.
<price>
This is the price of the item. This value can have commas (e.g. 2,000). If it has commas, it must appear at the right places. This can be useful to prevent you from accidentally specifying the wrong price for an item.
<amount>
This specifies the amount of a stackable item to vend. This value is '''optional'''. If it is not given, the maximum amount of that item will be put in the shop. Note that you can't use this for non-stackable items (like armors). If you want to sell multiple armors, you must put multiple entries in your shop.txt (see the examples below).

Note. Lines that begin with the pound sign (#) are comment lines. They are ignored by Openkore.

Examples

The following example will create a shop called "My Little Shop", with all Red Potions that you have in cart, for 39z each, and two Andre Cards, for 150,000z each.

Example:

My Little Shop
Red Potion 39
Andre Card 150,000 2

If you want to sell two 3-slotted Stilettos, for 50,000z each. This example is wrong:

Wrong Example:

My Little Shop
Stiletto [3] 50,000 2

Stilettos (weapons) are non-stackable items. This is the correct example:

Correct Example:

My Little Shop
Stiletto [3] 50,000 1
Stiletto [3] 50,000 1

nashtyler20
25th March 2006, 04:28
@ GBaddict

put this on your shop.txt

Mink Coat unlmited

Mink Coat[1](use tab)1,999,999(use tab)8

ok?

great_warriors
25th March 2006, 13:23
@nash pardon me but i think that number 8 is for quantity that the thread starter want to sell and if you are going to sell an armor or equips it should be put in shop.txt individually just as what i have said in my post so it should be like this:

Mink Coat unlmited

Mink Coat(space)[1](use tab)1,999,999(use tab)1

nashtyler20
26th March 2006, 04:04
@ great_warriors

im using my vending bot quite some time now.. here's the scenario:

f u have 8 pieces of mink coat [1], and u wanna sell it at 1,999,999 each, u must place this at your shop.txt this:

Mink Coat unlmited

Mink Coat[1](use tab)1,999,999(use tab)8

ull be selling all of mink coats at 1,999,999 each, no doubt about that.

now f u put this:

Mink Coat unlmited

Mink Coat[1](use tab)1,999,999(use tab)5 (let's say 5)

ull be selling just 5 ofur mink coats at 1,999,999 each, right?

so if you put this:

Mink Coat unlmited

Mink Coat[1](use tab)1,999,999(use tab)1 (here's ur no. 1 great_warrior)


ull be selling 1 mink coat at 1,999,999 , i hope somebody nods with me on this one.

great_warriors
26th March 2006, 10:46
@nash i dont think that is the right to put in your shop.txt as what i have post it is already taken from the manual of openkore and i too also use bot vending 24/7 since i have a pure forger whose selling its elemental weapons.

equipments and armors are non-stackable even if you try to vend manual you cant stack it you place it individually on your vend not unlike usable items lets say potions you can stack it so it also same with bot vending.

example:

Mink Coat and Honey

Mink Coat(space)[1](tab)1,999,999(tab)1 <<<<since this is not stackable
Honey(tab)15,000(tab)100 <<<<since this is stackable

sh678
26th March 2006, 13:01
hi, try this:

1) separate the item name, price and quantity by tabs.
2) remove this -> My Shop
3) don't leave a space between "Mink Coat unlmited" and "Mink Coat 1,999,999 8"

the result would be:

Mink Coat Unlimited
Mink Coat 1,999,999 8