It is currently 20 Apr 2024, 00:05

All times are UTC + 2 hours [ DST ]




Post new topic Reply to topic  [ 3 posts ] 
Author Message
PostPosted: 26 Oct 2016, 22:48 
Offline
Бывалый игрок

Joined: 31 May 2015, 12:05
Posts: 256
sub dropMarganece
dropLoop:
finditem DWJ C_ , #backpackid
if #findcnt = 0
{
wait 20
if #weight >= %maxweight
{
if %recall
gosub port
if ! %recall
gosub moveItems
return
}
if #weight < %maxweight
return
}
if #findcol = 0 - Iron
if #findcol = 2738 - Copper
if #findcol = 1160 - Bronze
if #findcol = 1068 - Steel

{
set %newCharPosX #charposx - 1
exevent drag #findid #findstack
exevent dropg %newCharPosX #charposy
wait %dropDelay
}
ignoreitem #findid 1
goto dropLoop
return





Выбрасывает всю руду что есть в паке(елементаль,лаву,дарк кристал,метеор, блек стил), помогите сделать правильно, чтоб скидывал только: айрон ор, купер, бронзу, и стил!


Top
 Profile  
 
PostPosted: 26 Oct 2016, 23:50 
Offline
Игрок
User avatar

Joined: 27 Apr 2015, 17:18
Posts: 216
Location: Miami
sub dropMarganece
dropLoop:
finditem DWJ C_ , #backpackid
if #findcnt = 0
{
wait 20
if #weight >= %maxweight
{
if %recall
gosub port
if ! %recall
gosub moveItems
return
}
if #weight < %maxweight
return
}
if #findcol = 0 || #findcol = 2738 || #findcol = 1160 || #findcol = 1068
{
exevent drag #findid #findstack
exevent dropg #charposx #charposy #charposz
wait 25
}
ignoreitem #findid 1
goto dropLoop
return

_________________
Слабый пол сильнее сильного в силу слабости сильного к слабому...
Казалось, что нам пипец. Оказалось, что не казалось.


Top
 Profile  
 
PostPosted: 27 Oct 2016, 00:10 
Offline
Бывалый игрок

Joined: 31 May 2015, 12:05
Posts: 256
sub dropMarganece
dropLoop:
finditem DWJ C_ , #backpackid
if #findcnt = 0
{
wait 20
if #weight >= %maxweight
{
if %recall
gosub port
if ! %recall
gosub moveItems
return
}
if #weight < %maxweight
return
}
if #findcol = 0 || #findcol = 2738 || #findcol = 1160 || #findcol = 1068
{
set %newCharPosX #charposx - 1
exevent drag #findid #findstack
exevent dropg %newCharPosX #charposy
wait %dropDelay
}
ignoreitem #findid 1
goto dropLoop
return


Спасибо! На самом деле ратотает вот в такой версие! Но Вы очень помогли!!!Огромное СПАСИБО!


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

All times are UTC + 2 hours [ DST ]


Who is online

Users browsing this forum: Yandex [Bot] and 334 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 Group