Buy/Sell

Ask for help

Moderators: Murderator+, Murderator

Post Reply
wap2
Posts: 91
Joined: 2006-07-29 19:08:18

Buy/Sell

Post by wap2 »

Вопрос по этой функции... Вроде делаю всё правильно, а ничего не работает, пишет, что не находит итемов. Кому, не лень, обьясните подробно, как ей пользоваться... Скриптов не предлогать...
DerMeister =)
Expert!
Posts: 1032
Joined: 2006-02-25 21:48:38

Post by DerMeister =) »

Где не находит то? Ты save нажимаешь после создания Buy/Sell листа? Или он даже вендора не видит?
DerMeister сейчас на нейрале!
slonopotam
Posts: 270
Joined: 2006-08-05 14:09:06
Contact:

Post by slonopotam »

Есть вариант что пишешь имя вендора или итема с маленькой буквы, а надо с большой.

Размер имеет значение ! ©
HelpmePlss
Posts: 2
Joined: 2006-10-21 05:18:24

Post by HelpmePlss »

hi, sorry but i dont understand your lenguage, and i have a problem with buy/sell.... i play in a sphere server 56b,

when i buy with a ''buy list'' for example i have in my buy list all Mandrakes my pj every time buy all that the vendor have, mandrakes, ginseng, blood moos, etc.....and not just mandrakes :(

somebody can help me?

PD: I DONT have problem to sell...if i use the = list of mandrakes i sell just mandrakes :S

Thx
Nmy
Expert!
Posts: 2152
Joined: 2005-09-14 15:31:58
Location: Latvia

Post by Nmy »

HelpmePlss wrote:hi, sorry but i dont understand your lenguage, and i have a problem with buy/sell.... i play in a sphere server 56b,

when i buy with a ''buy list'' for example i have in my buy list all Mandrakes my pj every time buy all that the vendor have, mandrakes, ginseng, blood moos, etc.....and not just mandrakes :(

somebody can help me?

PD: I DONT have problem to sell...if i use the = list of mandrakes i sell just mandrakes :S

Thx


make new list, then edit, go to the vendor, say "BUY", you will load buy list, add mandrakes, then press done, then buy.
Scripts Writer
Posts: 2259
Joined: 2005-04-19 18:00:29
Location: Московская область
Contact:

Post by Scripts Writer »

And after that's all actions- i advise you to Save your configuration on the main top.
HelpmePlss
Posts: 2
Joined: 2006-10-21 05:18:24

Post by HelpmePlss »

NMY wrote:
HelpmePlss wrote:hi, sorry but i dont understand your lenguage, and i have a problem with buy/sell.... i play in a sphere server 56b,

when i buy with a ''buy list'' for example i have in my buy list all Mandrakes my pj every time buy all that the vendor have, mandrakes, ginseng, blood moos, etc.....and not just mandrakes :(

somebody can help me?

PD: I DONT have problem to sell...if i use the = list of mandrakes i sell just mandrakes :S

Thx


make new list, then edit, go to the vendor, say "BUY", you will load buy list, add mandrakes, then press done, then buy.


sorry but this isnt de problem i know how to do that, my problem is like all items have the = type or something like this...

for example if vendor have 50 mandrakes.. and i go to the buy or sell windos and press buy....and uo say ...waiting to buy from vendor....and then uo say ''115'' mandrakes found :S!!!....cuz the program + all reggents in vendor ::S

then oprogram buy 50 mandrakes and 65 of other reggetns :S
Infectous
Posts: 55
Joined: 2004-07-29 16:29:52

Post by Infectous »

on the "edit shopping list" window look at the bottom there is an option "Quantity" - put your amount in there and hit add, by default it will buy/sell all of them

Code: Select all

sub buy() ## mod from Dearhell's script
VAR buyListName='nightshade' ##change per buy list
Dim vendorType[2]
vendorType[1]='0x0190'
vendorType[2]='0x0191'
VAR x

   For x=1 to 2
UO.Exec("set finddistance 3")
UO.FindType(vendorType[x],"-1",'ground')
UO.GetName('finditem')
         If (UO.GetName('finditem')==UO.GetName()) then
            UO.Print('We delete the character name from the search list')
            UO.Ignore('finditem')
            UO.FindType(vendorType[x],"-1",'ground')
            wait(500)
         endIf
         if UO.FindCount()>0 then
            UO.Print('We buy regs from -> '+UO.GetName('finditem'))
            wait(500)
            UO.Say('Hi '+UO.GetName('finditem'))
            wait(500)
            UO.Buy(buyListName,UO.GetName('finditem'))
            wait(500)
            UO.Ignore('finditem')
         EndIf
next
UO.Exec("set finddistance 10")
UO.Ignorereset()
end sub
Nefi
Posts: 2
Joined: 2006-12-06 15:27:43

Post by Nefi »

Ta#e problema , 4to i u HelpmePlss, sfera 0.56b , pri pokupke 4erez inju
pokupaet ne te itemy , 4to ukazany v liste... .Kak pofiksit eto?
wap2
Posts: 91
Joined: 2006-07-29 19:08:18

Post by wap2 »

Не может кто-то подробно описать, как эта функция работает?
For flood and honour. Хорошо флудить - это тоже искусство.
В стадии разработки: http://uorpg.net
Edred
Expert!
Posts: 2544
Joined: 2004-04-03 17:36:29
Location: Saint-Petersburg

Post by Edred »

На 0.56 сфере инжектовская покупка корректно работать не будет. Единственный выход - составлять таблицу соответствия и покупать соответствующие другие итемы. Пример: при покупке найтшеда покупается скролл create food. Тогда ставим на скупку скролл create food и получаем найтшед. Этот способ будет работать если у вендора мгновенный респаун товаров. Если какой-то товар кончается - таблица, быстрее всего, нарушится.

Альтернативный выход - покупка через ИзиУО или Стелс. Там все работает нормально.
Ни один скрипт не работает? Пора обновить Инжект...
Все работает, но хочется большего? Пора переходить на стелс...
Bangbuss
Posts: 228
Joined: 2005-07-06 18:17:24

Post by Bangbuss »

Edred kak cherez stels pokupat'?
НА СТЕЛС ФОРУМ, ПОЖАЛУЙСТА!!! Der 0612092003msc
DerMeister =)
Expert!
Posts: 1032
Joined: 2006-02-25 21:48:38

Post by DerMeister =) »

wap2 wrote:Не может кто-то подробно описать, как эта функция работает?

1) раздел "FAQ"
2) "Поиск"
3) "Уроки"
4) YIHS
Закрыто.
DerMeister сейчас на нейрале!
Post Reply