Yoko

All sides of Injection
It is currently 2025-12-27 01:31:40

All times are UTC+02:00




Post new topic  Reply to topic  [ 6 posts ] 
Author Message
PostPosted: 2005-06-21 14:38:12 
Offline

Joined: 2005-03-30 09:57:23
Posts: 16
напишите мне вкратце как будет выгледеть такой скрипт
____________________________________________________
открывается сундук
открывается мешок где лежат мешочки с некласами
берется мешочек с некласами
идет проверка сколько внутри итемов
если 255 то мешочек ложится себе в бекпак
а если меньше то берется след мешочек с некласами и так далее
__________________________________________________________


из этого всего меня интересует ТОЛЬКО проверка сколько итемов в нутри
вот о чем я прошу помоч, плизз
я тока начинающий скриптер 8) помогите пожалуста


Top
   
PostPosted: 2005-06-21 14:42:54 
Offline
Expert!
User avatar

Joined: 2004-07-04 00:14:58
Posts: 1284
uo.useobject(айди_мешочка)
CheckLag()
uo.findtype(тип_некласов,цвет_некласов,айди_мешочка)
if uo.findcount()==255 then
забираем
else
оставляем
end if


Top
   
PostPosted: 2005-06-21 14:47:37 
Offline

Joined: 2005-03-30 09:57:23
Posts: 16
спасибки


Top
   
PostPosted: 2005-06-21 23:30:54 
Offline

Joined: 2005-03-30 09:57:23
Posts: 16
while UO.Count(Bag, '0x0000') < 4
UO.FindType(Bag, '0x0000', Cont22)
BagSer=UO.GetSerial('finditem')
wait(100)

UO.FindType(neck, '0x0000', BagSer)
if UO.FindCount(neck)>=255 then
UO.MoveItem(BagSer, 1, 'backpack')
UO.Print('est')
else
UO.MoveItem(BagSer, 1, Cont22)
UO.Print('net')
end if
wait(1000)
wend


ненаю че с этим делать может я гдето ошибся
поправьте пожалуста
он не хочет проверять сколько там в мешке, ненаю почему


Top
   
 Post subject:
PostPosted: 2005-06-21 23:42:26 
Offline
Junior Expert
User avatar

Joined: 2004-06-24 22:08:56
Posts: 3220
Вероятно ты забыл сначало открыть сумку.

_________________
YokoInjection CodeSweeper
Function not found?
Possession of mathematics at the level of art - a gift that is only available for election.
Sorry for my clumsy English.
Skype: d119060


Top
   
 Post subject:
PostPosted: 2005-06-22 00:04:35 
Offline

Joined: 2005-03-30 09:57:23
Posts: 16
Destruction wrote:
Вероятно ты забыл сначало открыть сумку.


огромное спасибо оч помог


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 6 posts ] 

All times are UTC+02:00


Who is online

Users browsing this forum: No registered users and 9 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Limited