Buy/Sell
Moderators: Murderator+, Murderator
-
- Expert!
- Posts: 1032
- Joined: 2006-02-25 21:48:38
-
- Posts: 270
- Joined: 2006-08-05 14:09:06
- Contact:
-
- Posts: 2
- Joined: 2006-10-21 05:18:24
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
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
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.
Уроки языка Injection
Основные команды языка Injection
Yoko Injection Code Sweeper
Drw (2009) скрипты
2017 Начал играть на Uorpg.net
Основные команды языка Injection
Yoko Injection Code Sweeper
Drw (2009) скрипты
2017 Начал играть на Uorpg.net
-
- Posts: 2259
- Joined: 2005-04-19 18:00:29
- Location: Московская область
- Contact:
-
- Posts: 2
- Joined: 2006-10-21 05:18:24
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
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
Не может кто-то подробно описать, как эта функция работает?
For flood and honour. Хорошо флудить - это тоже искусство.
В стадии разработки: http://uorpg.net
В стадии разработки: http://uorpg.net
На 0.56 сфере инжектовская покупка корректно работать не будет. Единственный выход - составлять таблицу соответствия и покупать соответствующие другие итемы. Пример: при покупке найтшеда покупается скролл create food. Тогда ставим на скупку скролл create food и получаем найтшед. Этот способ будет работать если у вендора мгновенный респаун товаров. Если какой-то товар кончается - таблица, быстрее всего, нарушится.
Альтернативный выход - покупка через ИзиУО или Стелс. Там все работает нормально.
Альтернативный выход - покупка через ИзиУО или Стелс. Там все работает нормально.
-
- Expert!
- Posts: 1032
- Joined: 2006-02-25 21:48:38
wap2 wrote:Не может кто-то подробно описать, как эта функция работает?
1) раздел "FAQ"
2) "Поиск"
3) "Уроки"
4) YIHS
Закрыто.
DerMeister сейчас на нейрале!