Yoko

All sides of Injection
It is currently 2025-11-12 00:48:01

All times are UTC+02:00




Post new topic  Reply to topic  [ 1 post ] 
Author Message
PostPosted: 2007-08-26 14:34:12 
Offline

Joined: 2006-05-04 18:40:42
Posts: 104
hi all
the script with this problem is the following:

Code:
sub change_keg()
   var keg=0x1940
   uo.deletejournal()
   while (not uo.injournal("Ci sono ancora") and not uo.injournal("Il keg e' vuoto.") and not uo.injournal("C'e' ancora"))
      if (uo.count('0x1940')) then
         uo.findtype(0x1940,'-1','my')
         uo.click('finditem')
      end if
      wait(2000)

      if (uo.injournal("Il keg e' pieno")) then
         uo.deletejournal()
         uo.print("il keg e' pieno")
         uo.findtype(0x1940,'-1','my') #keg full
         uo.moveitem('finditem','1','lastcontainer')
         wait(1000)
         uo.findtype(0x1940,'-1','lastcontainer')
         uo.moveitem('finditem','1','backpack')
      end if
   wend
end sub

sub pozze_e_keg()

var sa = 0x0F8C

while (1)
####################
##get reag
   if uo.count(sa) <= 3 then
      uo.print(" - I get reag - ")
      uo.findtype(0x0F8C,'-1','lastcontainer')
      uo.moveitem('finditem','50','backpack')
      wait(1000)
   end if   
####################   
## make potion
   
   alchemy_sa_m()
   uo.print("start change")
   change_keg()
####################   
##put potion in keg
   wait(500)
   while (uo.count('0x0F0D','0x0000'))
      wait(100)
      if (uo.count('0x0F0D','0x0000')) then
         uo.usetype(0x1940)
         uo.waittargettype(0x0F0D)
         uo.deletejournal()
         while (not uo.injournal("Riempi") AND not uo.injournal("barile."))   
            wait(150)
            uo.print("ciclo 2")
         wend
      end if
   wend
   wait(1000)
   change_keg()
wend
end sub


sub alchemy_sa_m()
   var sa = 0x0F8C    #type - sulfurash
   var emptyB=0x0F0E   #type - pozza vuota
   var stop=true
   
   while (not uo.dead() && stop)
      wait(100)
      if (uo.count(sa) >= 3) then
         if (uo.count(emptyB) >=1) then
            if (not uo.waiting()) then
               uo.waitmenu('Pozioni','(2)')
            end if
            uo.usetype(sa)
            uo.deletejournal()
            while (not uo.injournal("You put the") and not uo.injournal(uo.getname('self')+": *You toss the failed mixture from the mortar*"))
               wait(250)
            wend
         else
            wait(100)
            stop=false
            uo.print("no empty bottles")
         end if
      else
         wait(100)
         stop=false
         uo.print("no reag")
      end if
      wait(100)
   wend
end sub


when start this script after some times injection say me:
"unhandled excepetion in parser"

I don't undestand why this error

Moreover if i try to edit the script and the go to botton "Save" inject say me:
Access violation at address 7c9211cd in module 'ntdll.dll' Read of address FFFFFFFF

I look forward to a prompt reply


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

All times are UTC+02:00


Who is online

Users browsing this forum: Bing [Bot] and 2 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:  
cron
Powered by phpBB® Forum Software © phpBB Limited