Page 1 of 1

unhandled excepetion in parser ....help plz

Posted: 2007-08-26 14:34:12
by iRuLez
hi all
the script with this problem is the following:

Code: Select all

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