Page 1 of 1

Buy/Sell

Posted: 2006-09-09 20:15:17
by wap2
Вопрос по этой функции... Вроде делаю всё правильно, а ничего не работает, пишет, что не находит итемов. Кому, не лень, обьясните подробно, как ей пользоваться... Скриптов не предлогать...

Posted: 2006-09-09 20:24:00
by DerMeister =)
Где не находит то? Ты save нажимаешь после создания Buy/Sell листа? Или он даже вендора не видит?

Posted: 2006-09-09 22:45:25
by slonopotam
Есть вариант что пишешь имя вендора или итема с маленькой буквы, а надо с большой.

Размер имеет значение ! ©

Posted: 2006-10-21 05:28:40
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

Posted: 2006-10-21 09:45:29
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.

Posted: 2006-10-21 16:01:04
by Scripts Writer
And after that's all actions- i advise you to Save your configuration on the main top.

Posted: 2006-10-21 19:33:26
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

Posted: 2006-11-04 18:55:10
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

Posted: 2006-12-06 16:34:45
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?

Posted: 2006-12-09 10:40:20
by wap2
Не может кто-то подробно описать, как эта функция работает?

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

Альтернативный выход - покупка через ИзиУО или Стелс. Там все работает нормально.

Posted: 2006-12-09 17:25:29
by Bangbuss
Edred kak cherez stels pokupat'?
НА СТЕЛС ФОРУМ, ПОЖАЛУЙСТА!!! Der 0612092003msc

Posted: 2006-12-09 19:05:25
by DerMeister =)
wap2 wrote:Не может кто-то подробно описать, как эта функция работает?

1) раздел "FAQ"
2) "Поиск"
3) "Уроки"
4) YIHS
Закрыто.