Have been using it for weeks with no issues. And I was mostly botting on Nexon, which of course is down currently, so my default was set to rom4u client. For some reason my client loged into a US server kept trying to launch rom4ubot which it hadn't done before....was odd.
I changed the default to rombot after reading the 1st page again and so far its working fine...Just found it really odd that it did that all of a sudden.
Besides the above issue, I have also found that it'll 'click' before the client is actually the focus. Meaning it clicks what ever is behind where the client is supposed to be. It's also the same with character selection, if the bot tries to click character 2+ and the window wasnt the active one due to another trying to log in at the same time, it'll just click, then hit enter before it even selects the character, meaning the first character is logged rather than the specified 1.
- Saves current server and character to help with recovering from crashes.
- Added ServerLinkList.lua support
- Added a few improvements to make starting multiple clients at once.
- killClient now makes sure the client dies.
Please consider making a small donation to me to support my continued contributions to the bot and this forum. Thank you. Donate
I check all posts before reading PMs. So if you want a fast reply, don't PM me but post a topic instead. PM me for private or personal topics only.
I am wondering if there would be a way, to let the bot "make the window size smaller" after starting/restarting a client. I don't mean minimize it, I am thinking of something like this:
This improves the efficiency of the client/s and you can run much more. I am doing this manually a very long time, so it would be great, if the bot also could do this
If you have a separate client, a 'botting' client like I do, 1 with all lowest settings and minimal addons, you can always edit the client.config file and set display to something small, then make it 'read-only'. That way it'll always start with those settings.
This is something I always wanted to do. But then I'd like to have the botting client completely without any addons. The problem is, that you would always need to change the SaveVariables.lua
But at first I will edit the client.config.ini file
I also have savevariables.lua read only. I actually have 2 bat files set up to make it easier to protect and unprotect the files when I want to update the settings.
As to resizing the window via bot, you can.
setWindowPos(window HWND, x pos, y pos, width, height, always on top bool)
Im still having some issues with selecting characters. When going to select a char it'll click and hit enter before the window is even pulled to the front meaning it'll miss clicking on char 2-8 and just enter on the first character. Is there any way to be 100% sure that the window its after is in focus (pulled to the top) before clicking and entering character?
Re-reading your earlier post I see the issue is with multiple clients restarting at the same time. The code that reserves the right to be active is not 100% foolproof. An idea was brought up to use directory creation as a more reliable way to do it but it was never implemented. I can look into doing that.
Please consider making a small donation to me to support my continued contributions to the bot and this forum. Thank you. Donate
I check all posts before reading PMs. So if you want a fast reply, don't PM me but post a topic instead. PM me for private or personal topics only.
Its also with just 1 client though, for example using google chrome when it goes to restart it'll end up clicking my pandora radio bookmark BEFORE pulling the RoM window to the front. Has done it a few times when commenting/replying to forum posts....really annoying, lol.
So your problem is it's just taking to long to open. That's going to be a problem because as far as I can see there is no command that gives us the active state of windows. So we have no way to wait until the window is open. You could just increase the rest. Try this, open userfunction_login.lua and do a search for "showWindow". There should be 2. After each one there should be a "rest(500)". Change that to a number big enough to give your client time to open. I'll make sure there isn't a command that can return the active window.
Please consider making a small donation to me to support my continued contributions to the bot and this forum. Thank you. Donate
I check all posts before reading PMs. So if you want a fast reply, don't PM me but post a topic instead. PM me for private or personal topics only.
I've added window resizing as part of login, both the client and console. I haven't uploaded it yet but let me know what you think. Here is a vid of me batch starting 4 clients. http://youtu.be/CYmltyQW8MI
That's pretty sweet. I think this is exactly what I need. Lots of times I play with two characters at once and I'm always having to resize and move the windows around to get them how I like them. I could create a similar batch file to start them with the windows exactly where I want them. Nice job.
- IMPORTANT: I had Administrator add a function to MM that I needed. So this version of login requires you to update MM to the latest stable version 1.04.167.http://www.solarstrike.net/micromacro
- Fixed login failure. Changed the character selection memory address.
- Added console and client resizing options.
All position and sizing arguments are optional.
- Changed the active window locking mechanism. Now instead of just writing to a file, it also creates a folder called 'lock'. The file it writes has changed to 'lock.pid'. You can delete the 'micromacro/micromacro.pid' file if you want to tidy up your folder. Thanks goes to dx876234 for the idea.
Please consider making a small donation to me to support my continued contributions to the bot and this forum. Thank you. Donate
I check all posts before reading PMs. So if you want a fast reply, don't PM me but post a topic instead. PM me for private or personal topics only.