• Changes to Server go to this thread http://overzealousgamers.com/threads/etpub-changelog.6665/

Ultima Online scripting

Antagonist

Well-Known Member
hey guys was wondering had played this game before and if you did, did you become pro scripter from it...
help if you can :S


Evil Pigeon: sub main()

var bandageType = 0x0000


UO.AddObject('Puny Mortal')

While UO.Targeting()


UO.Wait(50)

Wend


Repeat


UO.Attack('Puny Mortal')


While UO.Hits('Puny Mortal') > 0



UO.Wait(50)


Wend



While UO.Hits('Puny Mortal') < 1



UO.WaitTargetObject('Puny Mortal')



UO.UseType(bandageType)



journalWait('fail|res', 10000)


Wend

Until FALSE
end sub

sub journalWait(journalPattern, timeOut)

var time = 0

UO.DeleteJournal()


Repeat


time = time + 50

Wait(50)

Until UO.InJournal(journalPattern) OR time > timeOut
end sub
 

noobItUp

Super Moderator
Staff member
Seems ultima online uses something called EasyUo

There are a few resources on the web for this. Probably best to check some of the links on the bottom of this wikipedia article.
 
Top