Yoko

All sides of Injection
It is currently 2026-02-05 15:05:19

All times are UTC+02:00




Post new topic  Reply to topic  [ 13 posts ] 
Author Message
PostPosted: 2008-10-03 19:32:39 
Offline

Joined: 2008-09-23 02:22:13
Posts: 16
дзравствуйте уважаемые , у меня проблемма. мой скрипт на мининг вдруг перестал выкладывать стоуны в сундук :( помогите пожалуйста, как исправить?



sub maning()
#BETEP™#
var mx, my, mz, i, j, jor, ser, noto
Uo.exec("set norbcheck 1"); для рекола
uo.exec("set norbcalc 1"); тоже

uo.print('!!Выбери Лопату!! ')
uo.exec('addobject Shovel')
while uo.targeting()
wait(100)
wend

uo.print('!!Выбери Рунбук!! ')
uo.exec('addobject Runebook')
while uo.targeting()
wait(100)
wend

na4alo:
mx = UO.GetX("self")
my = UO.GetY("self")
mz = UO.GetZ("self")
UO.DeleteJournal()
for i = mx-4 to mx+4
for j = my -4 to my+4
while not UO.Hidden()
UO.Warmode("0")
uo.print("Прячемся...")
UO.UseSkill("Hiding")
wait(4000)
wend
UO.Print("Копаем в координатах: "+str(mx-i)+" "+str(my-j))
while not UO.InJournal("no ore here") and not UO.InJournal("location") and not UO.InJournal("far away") and not UO.InJournal("in rock") and not UO.InJournal("Iron Ore") and not UO.InJournal("Copper") and not UO.InJournal("Rusty Ore")
UO.DeleteJournal()
if uo.waiting() then
uo.canceltarget()
endif
UO.Waittargettile("1341", str(i), str(j), str(mz))
UO.Useobject("Shovel")
while not UO.InJournal("You put") and not UO.InJournal("heavy") and not UO.InJournal("location") and not UO.InJournal("no ore") and not UO.InJournal("but fail") and not UO.InJournal("far away") and not UO.InJournal("in rock")
wait (500)
for jor = 0 to 9
ser = uo.journalserial(jor)
noto = uo.getnotoriety(ser)
if noto <> 1 and noto <> 0 and not uo.injournal("elemental") then
if uo.waiting() then
uo.canceltarget()
endif
Save()
pwavw()
wait(180000) ; время в секундах при ожидании пока уйдет ПК
loot()
wait(3000)
goto reccal
endif
next
wend
if uo.weight > 400 then ; Максимальный вес при котором домой с рудой
goto end
endif
wend
UO.DeleteJournal()
next
next
goto na4alo
end:
if uo.waiting() then
uo.canceltarget()
endif
while not UO.Hidden()
UO.Warmode("0")
uo.print("Прячемся...")
UO.UseSkill("Hiding")
wait(4000)
wend
uo.exec("recall Runebook 21") ; домой ( в рунбуке слот 1 )
wait(10000)
loot()
wait(3000)
reccal:
uo.deletejournal()
if uo.waiting() then
uo.canceltarget()
endif
uo.exec("recall Runebook 94") ; в шахту ( в рунбуке слот 8 )
mx = UO.GetX("self")
my = UO.GetY("self")
wait(10000)
if not UO.GetX("self") <> mx and not UO.GetY("self") <> my then
goto reccal
endif
goto na4alo
end sub

sub loot() ; перекладка руды в сундук
if uo.waiting() then
uo.canceltarget()
endif
VAR a,Exit
VAR UnloadCont='0x402E6583' ; АЙДИ сундука для руды
DIM Ore[5]
Ore[0]=0x19B9 ; 4 and more ore
Ore[1]=0x19B7 ; 1 ore
Ore[2]=0x19BA ; 2 ore
Ore[3]=0x19B8 ; 3 ore
UO.SetReceivingContainer(UnloadCont)
wait(500)
For a=0 to 3
Exit=0
repeat
UO.FindType(Ore[a])
if UO.GetQuantity('finditem')>0 then
UO.Grab('0','finditem')
wait(1500)
Else
Exit=1
endif
until Exit==1
Next
UO.UnSetReceivingContainer()
end sub

sub Save() ; Реколл от ПК при их появлении (в паке рунка в безопасное место и реги)
var mx, my
reccal:
uo.deletejournal()
if uo.waiting() then
uo.canceltarget()
endif
mx = UO.GetX("self")
my = UO.GetY("self")
UO.DeleteJournal()
UO.FindType('0x1F14',-1,'my')
wait(200)
UO.Cast('Recall','finditem')
wait(4000)
if not UO.GetX("self") <> mx and not UO.GetY("self") <> my then
goto reccal
endif
end sub

sub pwav() ; звук при выкапывании ЭЛЕМЕНТАЛА
uo.playwav("E:\UO\inject\SOUND\chanting sound 01.wav")
endsub

sub pwavw(); звук при появлении ПК
uo.playwav("E:\UO\inject\SOUND\chanting sound 01.wav")
endsub

sub Pause() ; Пауза скрипта если выкопали Элема (продолжить сказав GO )
UO.DeleteJournal()
REPEAT
WAIT(3000)
UO.Print("!!!СКРИПТ НА ПАУЗЕ!!!!")
UNTIL UO.InJournal('GO')
UO.Print("!!!СКРИПТ ПРОДОЛЖЕН!!!!")
endif
end sub

sub Healing()
UO.SetArm('g')
UO.BandageSelf()
wait(300)
UO.Arm('g')
end sub


Top
   
 Post subject:
PostPosted: 2008-10-03 19:40:16 
Offline
User avatar

Joined: 2008-09-12 05:07:34
Posts: 247
А там, наскока я рассмотрел, ничего и нету про выкладывание камней... Руду выкладывает, а больше ничего не выкладывает... :lol:


Top
   
 Post subject:
PostPosted: 2008-10-03 20:07:56 
Offline

Joined: 2006-08-10 08:25:32
Posts: 106
+1 :lol:

Странно что по словам атора, выкладывать перестал :lol:


Top
   
 Post subject:
PostPosted: 2008-10-03 20:08:39 
Offline

Joined: 2008-09-23 02:22:13
Posts: 16
ну камни он вообще не выкладывал(если откапает) а вот теперь и руду перестал(((((

МОГУ СКРИП ВЫСЛАТЬ, ЧТО НЕ ВЫКЛАДЫВАЕТ((


Last edited by Sm1eMan on 2008-10-03 20:15:01, edited 1 time in total.

Top
   
 Post subject:
PostPosted: 2008-10-03 20:14:49 
Offline

Joined: 2006-08-10 08:25:32
Posts: 106
всю?


Top
   
 Post subject:
PostPosted: 2008-10-03 20:16:14 
Offline

Joined: 2008-09-23 02:22:13
Posts: 16
да просто не выкладывает, я хз что это такое. раньше просто такого небыло(((


Top
   
 Post subject:
PostPosted: 2008-10-03 20:22:19 
Offline
User avatar

Joined: 2008-09-12 05:07:34
Posts: 247
Мож просто сундук переполнился? :shock:


Top
   
 Post subject:
PostPosted: 2008-10-03 20:24:21 
Offline

Joined: 2008-09-23 02:22:13
Posts: 16
а такое может быть? раньше , в другом доме никогда таких проблемм небыло((( вапрос то топика, исправен ли скрипт?


Top
   
 Post subject:
PostPosted: 2008-10-03 20:25:33 
Offline

Joined: 2006-08-10 08:25:32
Posts: 106
Проверь айди сундука для руды


Top
   
 Post subject:
PostPosted: 2008-10-03 21:33:07 
Offline

Joined: 2008-09-23 02:22:13
Posts: 16
$!@m wrote:
Проверь айди сундука для руды


щас попробую (((


Top
   
 Post subject:
PostPosted: 2008-10-03 22:18:04 
Offline

Joined: 2008-09-23 02:22:13
Posts: 16
ну вот так оно и есь, когда в новый дом переехал сменил айди , но потом у мульта полетел инжект , скопировал от основного)))) а там айди не сменено)))) :roll:


Top
   
 Post subject:
PostPosted: 2008-10-03 22:18:56 
Offline

Joined: 2008-09-23 02:22:13
Posts: 16
спасибо, до самого не доходило, уж всё смотрел а айди не проверил)) спасиб)


Top
   
 Post subject:
PostPosted: 2008-10-03 22:55:23 
Offline

Joined: 2006-08-10 08:25:32
Posts: 106
Все гениальное просто :idea:


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

All times are UTC+02:00


Who is online

Users browsing this forum: No registered users and 1 guest


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