Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Joco

Pages: [1]
1
OpenEUO Scripting Chat / Re: UO.Macro(17,0,'')
« on: May 26, 2011, 10:11:12 AM »
my first thourght is why are you passing ' '   just do UO.Macro(17,0) 

it's doing the same :D

   my second thought is you haven't set targetkind.

Code: [Select]
UO.Popup(UO.CharID)
waitForSysVars('ContSizeX', '==', 234, 'ContSizeY', '==' , 150, 7)
local tempx = UO.ContPosX + 50
local tempy = UO.ContPosY + 120
UO.Click(tempx, tempy, true, true, true, false)


But you never said what the actual problem was, also you never included or referenced the finditem code.
Ups! the problem is not mark items as quest

So i guess im saying whats the issue and where the rest of the code. (if finditem is in an library from EUO just reference the link)

u cant try this and isn't working

Code: [Select]
UO.Popup(UO.CharID)
waitForSysVars('ContSizeX', '==', 234, 'ContSizeY', '==' , 150, 7)
local tempx = UO.ContPosX + 50
local tempy = UO.ContPosY + 120
UO.Click(tempx, tempy, true, true, true, false)
 
UO.LObjectID = 1076752088  --ID of one object to mark as quest
        UO.Macro(17,0)
       
       
    repeat
        UO.Key('ESC')   
    until UO.TargCurs == false

P.D: http://www.easyuo.com/forum/viewtopic.php?t=43949&postdays=0&postorder=asc&start=0


Post Merge: May 27, 2011, 01:28:30 AM
Solved :D

there are a buton in the craft menu that u can make a item with quest item

2
OpenEUO Scripting Chat / UO.Macro(17,0,'')
« on: May 26, 2011, 09:08:42 AM »
hello :D

i need some help doing this :S

it's a script for doing hw quests

i accept the quest and now i want to mark all items toggle quest items.

i have:

Code: [Select]
t = ScanItems(true)
t = FindItems(l,{Type=Footstool,ContID=UO.BackpackID})

    
for i = 1,10 do
UO.LObjectID = t[i].ID
                UO.Macro(17,0,'') -- i think the problem is here
wait(1000)
end
        
    repeat
        UO.Key('ESC')    
    until UO.TargCurs == false

UO.Macro(17,0,'') -- i think the problem is here

because it make 2 clicks :S any solutions?

thx



3
New member introductions / new member
« on: February 07, 2011, 02:11:24 AM »
Hi,

I play UO for many, and lately I have made scripts to change the lives inside of this virtual world. I was always connected and duing PVP.

I am a student of computer science and the other day a fellow who plays with me, told me if I could make him a script. I do, and now I have flawed writing code, now all I do is usually written in code.

Now I pas more time writing than playing this game so fantastic, I really want to enter this forum, make friends and talk about new scipts.

thanks all and sorry for my english

jaja i used google translate to make my presentation but isn't working correctly lol i have to learn to write english it's necesary for who de world changes :D

Pages: [1]