I'm brand new to macro scheduler, so bear with me here. I wrote a macro to help me log on to a game faster. once your on, the game will atomaticly boot you if you don't move in 15 minutes. So, first I tried to add this to the end of my macro.
Waitrectchanged>68,70,120,140,0
lable>start
press up
wait>50
press down
wait>50
goto>start
When it logged me on to my game, it didn't execute that portion of the script. So I thought "maybe if i make it its own macro..." So I made just the part starting at label its own script and added
macro>aaa.scp
to the old one. That didn't work eaither. It doesn't seem to recognize the rectangle I put in changing. Someone please help me! I'm soooo frustrated!!!
using the "waitrectchanged" script command
Moderators: Dorian (MJT support), JRL
-
- Newbie
- Posts: 4
- Joined: Sun Jan 02, 2005 9:35 pm
WaitRectChanged could be a challenge. Regarding its performance ...
Maybe you miss the 15 min deadline
Maybe you miss the 15 min deadline
Regarding the Macro> thing, maybe that helps ...Note: The algorithm used in this function is very computationally intensive and will take some time to complete. The larger the rectangle, the longer the function will take to return. Bear this in mind when setting the timeout value. The command can't timeout within the timeout value if it is still working hard calculating the checksum.
It is also advisable to specify the full path should the path change during the execution of the calling macro.
-
- Newbie
- Posts: 4
- Joined: Sun Jan 02, 2005 9:35 pm
thanks lumumba, but I'm still a little confuesed.
Maybe it would be easier for me to just lay my problem out for you guys and see if you can come up with a different way for me to do this. The foreground screen changes hundreds of times before it actually lets you get on the game, so I can't use waitwindowchange, and I can't change the focus window. Maybe I'm just missing something, but I really can't figure this out.
does that mean that you have to give the program 15 minutes to recognize the change?Maybe you miss the 15 min deadline
Maybe it would be easier for me to just lay my problem out for you guys and see if you can come up with a different way for me to do this. The foreground screen changes hundreds of times before it actually lets you get on the game, so I can't use waitwindowchange, and I can't change the focus window. Maybe I'm just missing something, but I really can't figure this out.
-
- Newbie
- Posts: 4
- Joined: Sun Jan 02, 2005 9:35 pm
Sorry about that, I totally lost my train of thought and trailed off... O.K. This is what i need to make my macro do. Open the game (tibia), press the "enter game" button, wait for the log on window to open, input my account name, press tab, input my password, press enter, wait for the character window to open, press enter, and then wait (possibly more than 2 hours) for it log me on to the game. From there I need to press the up and down keys every minute or so.
Thanks in advance for the help.
Thanks in advance for the help.
That's said at http://www.tibia.com's quikstart guide.
You can use the below as a starting point (without being adjusted by you, it won't run), or record a script using MScheds script recorder.Now you are ready to start playing. Go to your windows desktop and double-click on the Tibia icon to start the game client. On the title screen simply click on "Enter Game". Once you have entered your account data a menu will be displayed. Double-click on the name of the character you have created. The client will now connect to the game server and your character can start his career as an adventurer. Please note that if too many players are online on the selected game world, you will have to wait a while before you can log in. The client will show your current position in the login queue and automatically try to login your character after the displayed waiting period.
Run program>tibia.exe
WaitWindowOpen>...
Press ENTER
WaitWindowOpen>...
Send>AccountName
Press Tab
Send>MyPassword
Press ENTER
WaitWindowOpen>...
Press Enter
-
- Newbie
- Posts: 4
- Joined: Sun Jan 02, 2005 9:35 pm