Search found 6991 matches
- Mon Dec 07, 2015 3:08 am
- Forum: MicroMacro general & support
- Topic: virtual mouse usage
- Replies: 12
- Views: 18030
Re: virtual mouse usage
Well for now I am using this and it will probably be good enough to do the job. wx, wy, ww, wh = window.getRect(win) local x,y = mouse.getPosition() clickw=x-wx-8 clickh=y-wy-30 So it uses the windows position on screen and the mouse position on screen to adjust for the cords in window to be used.
- Sun Dec 06, 2015 11:07 pm
- Forum: Runes of Magic
- Topic: HELP!
- Replies: 16
- Views: 5867
Re: HELP!
If in doubt add prints. So it works fine until the boss fight. player:findTarget("Okander \"Mad Man\" Mallen"); local target = player:getTarget(); if target then table.print(target) else print(" I have no target and this is the broken code....") end player:update(); pla...
- Sun Dec 06, 2015 10:44 pm
- Forum: MicroMacro general & support
- Topic: virtual mouse usage
- Replies: 12
- Views: 18030
Re: virtual mouse usage
Code: Select all
{"setVirtualPosition", Mouse_lua::setVirtualPosition},
{"getVirtualPosition", Mouse_lua::getVirtualPosition},
- Sun Dec 06, 2015 8:59 pm
- Forum: MicroMacro general & support
- Topic: virtual mouse usage
- Replies: 12
- Views: 18030
virtual mouse usage
Ok so I am trying to use virtual mouse for a game I am playing. The virtual mouse set position and click work fine the issue I am having is finding the right x,y for the virtual mouse in the window. There is the get position which tells me the position of mouse in the screen but I can't find an opti...
- Sun Dec 06, 2015 8:40 pm
- Forum: MicroMacro general & support
- Topic: Wrong number of parameters supplied to pixelSearch().
- Replies: 24
- Views: 32342
Re: Wrong number of parameters supplied to pixelSearch().
Just wanted to say that this also fixes the wrong number of args for mouse.setVirtualPosition that I came across.
- Thu Dec 03, 2015 8:42 pm
- Forum: Runes of Magic
- Topic: string find stuff help
- Replies: 6
- Views: 2526
Re: string find stuff help
Where you posted this had absolutely nothing to do with the topic, so I made a new topic just for you.
- Thu Dec 03, 2015 8:36 pm
- Forum: Userfunctions, waypoint scripts, etc.
- Topic: [Daily & Public Event] Extinguish More Flames
- Replies: 84
- Views: 39741
Re: [Daily & Public Event] Extinguish More Flames
he wants to use reset tickets, not change class. Ok so you want to add code after completing the quest to check if all 10 dailies are done and also check if you have any reset tickets, if both cases true then use a reset ticket. player:target_NPC("Diandon"); CompleteQuestByName("Extin...
- Fri Nov 27, 2015 5:14 pm
- Forum: Runes of Magic
- Topic: useItem help
- Replies: 18
- Views: 5467
Re: useItem help
local item = ({242128,242129,242127,208046,208066,208056})
inventory:useItem(item)
Code: Select all
local item = {242128,242129,242127,208046,208066,208056}
for k,v in pairs(item) do
inventory:useItem(v)
end
- Fri Nov 27, 2015 5:08 pm
- Forum: Userfunctions, waypoint scripts, etc.
- Topic: Malatina's survival
- Replies: 409
- Views: 122942
Re: Malatina's survival
Hi How can I use "Malatina Event Repeat Ticket" in Rocks script ? This code checks if you have any repeat tickets and if you do then uses it and loads the next path, in this case "surv" if inventory:itemTotalCount(205814) >= 1 and 800 > getCurrency("shell") then invent...
- Fri Nov 20, 2015 7:45 pm
- Forum: Userfunctions, waypoint scripts, etc.
- Topic: rock5's "fastLogin Revisited"
- Replies: 914
- Views: 361390
Re: rock5's "fastLogin Revisited"
At a glance I would say to many tables. you have {{ }} function relog() <!--Put your Character list here see http://www.solarstrike.net/phpBB3/viewt ... =27&t=1245 for more info--> SetCharList({ {account=97 , chars= {1,2,3,4,5,6,7,8}}, {account=98 , chars= {1,2,3,4,5,6,7,8}}, }) LoginNextChar() ...
- Mon Nov 16, 2015 10:54 pm
- Forum: Announcements
- Topic: MicroMacro 2 alpha build
- Replies: 51
- Views: 109298
Re: MicroMacro 2 alpha build
Yeah Bill,Admin and myself used the very early versions of MM2 with GW2 a very long time ago.
- Thu Nov 05, 2015 8:43 pm
- Forum: Runes of Magic
- Topic: Party Bot (questions/answers)
- Replies: 307
- Views: 96418
Re: Party Bot (questions/answers)
that function will only add the name to the list if it isn't already in the list, so you won't get multiple of the same name, if you want to make sure that only the current party members are in the friend list then just reset the list at the start of onleavecombat <onLeaveCombat><![CDATA[ settings.p...
- Wed Nov 04, 2015 10:50 pm
- Forum: MicroMacro general & support
- Topic: win title
- Replies: 4
- Views: 12041
Re: win title
ohh well that's ok.
I have been playing around with something and since the game is windowed but takes up the entire screen I have been using the title to tell me what the bot is doing, since I can't see the MM window itself, colour would have been nice but not essential =)
I have been playing around with something and since the game is windowed but takes up the entire screen I have been using the title to tell me what the bot is doing, since I can't see the MM window itself, colour would have been nice but not essential =)
- Wed Nov 04, 2015 7:21 pm
- Forum: MicroMacro general & support
- Topic: win title
- Replies: 4
- Views: 12041
win title
in MM2 are there any options to change the font of the title text, I am mainly looking at color changes but curious if there are any possibilities to change font in any way really.
This is in reference to
window.setTitle
This is in reference to
window.setTitle
- Tue Nov 03, 2015 11:49 pm
- Forum: Runes of Magic
- Topic: Get Skill cooldown to use in profile
- Replies: 13
- Views: 5243
Re: Get Skill cooldown to use in profile
Yes (referring to Bill D Cat), I don't know how to link the code in onLoad section to onPresSkillCast. But I will test what you propose. Thanks Ok what I posted won't do what you want because you aren't after the cooldown of the skill trying to be used, I am making a few assumptions here because yo...
- Tue Nov 03, 2015 3:45 am
- Forum: Runes of Magic
- Topic: Get Skill cooldown to use in profile
- Replies: 13
- Views: 5243
Re: Get Skill cooldown to use in profile
The table of skill info is arg1 so you would need something like if arg1:getRemainingCooldown() > 4 then end untested and to be honest not sure if it will work or not. to test just do print(arg1:getRemainingCooldown()) --=== Added ===-- Ahh I see you are talking about the code posted by Bill D Cat, ...
- Mon Nov 02, 2015 8:44 pm
- Forum: Runes of Magic
- Topic: Information about Warlock PSI
- Replies: 2
- Views: 1512
Re: Information about Warlock PSI
player.Psi
- Sat Oct 31, 2015 6:25 pm
- Forum: Runes of Magic
- Topic: Party Bot (questions/answers)
- Replies: 307
- Views: 96418
Re: Party Bot (questions/answers)
i tried searching this thread, but couldnt find an answer to my question: how do i make the following bot stop moving when a fight starts? here is the situation: i have a group leader (warrior) running at enemies and marking them with an icon and then attacking them. another bot (scout) is followin...
- Sun Oct 25, 2015 5:56 am
- Forum: Runes of Magic
- Topic: Patch 6.4, currencyBase_offset
- Replies: 36
- Views: 18741
Re: Patch 6.4, currencyBase_offset
Just use this.Darknight1997 wrote:how i fix it for arcadia server?
- Fri Oct 23, 2015 11:50 pm
- Forum: Runes of Magic
- Topic: Small problem with reloading ammunition
- Replies: 7
- Views: 7945
Re: Small problem with reloading ammunition
using the exact same code I posted and not needing any more arrows I did this test. Command> local timeStart = getTime() for i = 1,1 do lisa_reloadammo("arrow",5) end print(deltaTime( getTime(), timeStart )) 0.18302687579602 Command> local timeStart = getTime() for i = 1,10 do lisa_reloada...