Maybe bug. Maybe i'm that bug.

Ask for help

Moderators: Murderator+, Murderator

Post Reply
Arakir
Posts: 1
Joined: 2005-02-09 02:57:44

Maybe bug. Maybe i'm that bug.

Post by Arakir »

I'm have problem with this script:

Code: Select all

sub taveni()
	UO.DeleteJournal()
	var orecount, i
	uo.addobject('forge')
	while uo.targeting()
		wait(100)
	wend
	wait(100)
	
	dim oretype[4]
		oretype[0] = "0x19B7"
		oretype[1] = "0x19BA"
		oretype[2] = "0x19B8"
		oretype[3] = "0x19B9"
		
	for i=0 to 3 step 1
		UO.FindType(oretype[i], "-1", "my")
		orecount = UO.FindCount()
		while orecount > 0
			UO.waittargetobject("finditem")
			UO.UseObject("forge")
			wait(1000)
			UO.FindType(oretype[i], "-1", "my")
			orecount = UO.FindCount()
		wend
	next
	UO.Print("Dotaveno")
end sub
After few time when i using it, it crashed yoko injection, and popup error window goes up with text: "Unhandled Exception" (maybe i'm wrong with that text). When i have Verbose Menu turned on, then when it's going to crash it print: "usage: findtype graphic [color container/ground/my]" into uo client. It looks like the function findtype didn't get any parametrs.
I don't know what is wrong.
I'm using uo client 1.26.4b on Sphere Server 0.51a. Tested on Yoko version 501.22 and 312.19

PS: Sorry for my bad english.
Yoko
Site Admin
Posts: 1964
Joined: 2004-04-03 16:49:38
Contact:

Post by Yoko »

i have no reasonable answer, alas
Post Reply