Search found 188 matches

by dx876234
Thu Apr 23, 2015 2:35 am
Forum: Runes of Magic
Topic: Protection against IP ban
Replies: 14
Views: 4260

Re: Protection against IP ban

But again, hiding IP doesnt do much for the ROM client unless your in a blocked IP range.
You need to make sure it also hides your MAC address, preferably the video card IDs as well.

-dx
by dx876234
Wed Apr 22, 2015 5:55 am
Forum: Runes of Magic
Topic: Protection against IP ban
Replies: 14
Views: 4260

Re: Protection against IP ban

That is not possible, the MAC address is only visible on the local LAN (eq. do a "arp -a" cmd), once the IP packet leaves your local LAN through a router the packet will adopt the latest routers MAC address (assuming an ethernet packet). IE its a LAN addressing mechanism mapping IP address...
by dx876234
Tue Apr 21, 2015 9:01 am
Forum: Runes of Magic
Topic: Protection against IP ban
Replies: 14
Views: 4260

Re: Protection against IP ban

Bans in ROM is always based on mac address, ie when u bot they will ban all accounts which have logged on your mac address at some time or another. But, normally the MAC isnt blocked, ie you can create a new account from the machine. As mentioned by others, IP addresses can change frequently and qui...
by dx876234
Thu Mar 05, 2015 9:06 am
Forum: MicroMacro general & support
Topic: ShellExecuteEx behaviour under Micromacro v1.04.167
Replies: 12
Views: 4904

Re: ShellExecuteEx behaviour under Micromacro v1.04.167

This looks perfect for my usage at least :)

Best regards
DX
by dx876234
Sun Feb 15, 2015 6:33 am
Forum: Userfunctions, waypoint scripts, etc.
Topic: Automatic 'login' script
Replies: 181
Views: 68522

Re: Automatic 'login' script

I've added the wait for fps to the userfunction_login.lua which works nicely. I also split out parts of the login function to separate functions; startClient, loginAccount and selectCharacter. This is to further facilitate delete/create character stuff. -dx Note!!!! The attached file does ONLY work ...
by dx876234
Sun Feb 15, 2015 5:15 am
Forum: Userfunctions, waypoint scripts, etc.
Topic: Automatic 'login' script
Replies: 181
Views: 68522

Re: Automatic 'login' script

I think I found a nice way of detecting when client is ready, I access the FPS field, wait until it's not 0.

Code: Select all

repeat 
	rest(1000)
until memoryReadFloatPtr(getProc(), addresses.staticbase_char, 0x8c) > 0
Where 0x8c is offset for FPS in the struct.

-dx
by dx876234
Sat Feb 14, 2015 2:24 pm
Forum: Userfunctions, waypoint scripts, etc.
Topic: Automatic 'login' script
Replies: 181
Views: 68522

Re: Automatic 'login' script

Agreed w. Rock, mine was a quick-and-dirty proof of concept. The main issue I'm struggling with is knowing when client is ready to receive macros after starting it. It turns out it initializes the login screen before loading the client lua files as well as loading the 'specialwords', ie there is som...
by dx876234
Sat Feb 14, 2015 5:05 am
Forum: MicroMacro general & support
Topic: ShellExecuteEx behaviour under Micromacro v1.04.167
Replies: 12
Views: 4904

Re: ShellExecuteEx behaviour under Micromacro v1.04.167

I think the key/value is a good idea, this way we can customize the parameters to the specific process we want to start. I would just like to be able to specify the full structure as other processes might have other peculiarities in starting. As you can see in my source it's basically three parts: S...
by dx876234
Fri Feb 13, 2015 4:13 pm
Forum: Userfunctions, waypoint scripts, etc.
Topic: DX's Client starter
Replies: 4
Views: 1947

Re: DX's Client starter

Ye, I pretty much agree. Micromacro needs a proper process started, something better
than os.execute()/system().

-dx
by dx876234
Fri Feb 13, 2015 5:27 am
Forum: Userfunctions, waypoint scripts, etc.
Topic: DX's Client starter
Replies: 4
Views: 1947

Re: DX's Client starter

I haven't tested relative paths but on the other hand, I don't do anything with paths at all, it's all delivered to the Windows ShellExecuteEx command so I'd guess it accepts them. -dx I have inserted into my local copy of userfunction_login and it runs nicely without any locking. But, I have been h...
by dx876234
Fri Feb 13, 2015 1:36 am
Forum: Userfunctions, waypoint scripts, etc.
Topic: DX's Client starter
Replies: 4
Views: 1947

DX's Client starter

Attached is my "start the client" function as a Lua plugin to Micromacro. It will start client directly with arguments (NoCheckVersion) or through a link and return the PID and HWND of the client which can be used directly for attaching Micromacro to the client. This enables Micromacro to ...
by dx876234
Thu Feb 12, 2015 4:52 pm
Forum: MicroMacro general & support
Topic: ShellExecuteEx behaviour under Micromacro v1.04.167
Replies: 12
Views: 4904

Re: ShellExecuteEx behaviour under Micromacro v1.04.167

Ye, the system(cmd) command is basically the same as os.execute(cmd), it executes something and waits for it to finish, this is noticable if u do a system("/windows/system32/notepad") or a system("START /windows/system32/notepad"). static int os_execute (lua_State *L) { const cha...
by dx876234
Thu Feb 12, 2015 3:01 pm
Forum: MicroMacro general & support
Topic: ShellExecuteEx behaviour under Micromacro v1.04.167
Replies: 12
Views: 4904

Re: ShellExecuteEx behaviour under Micromacro v1.04.167

I agree, further discussions belong in Rom section, I put this question here as I suspected a Micromacro specific issue. But, it would be an idea to include a better way of starting new processes than os.execute() in Micromacro. The os.execute() is basically a Windows "system()" call and d...
by dx876234
Thu Feb 12, 2015 10:06 am
Forum: MicroMacro general & support
Topic: ShellExecuteEx behaviour under Micromacro v1.04.167
Replies: 12
Views: 4904

Re: ShellExecuteEx behaviour under Micromacro v1.04.167

Lol, didn't have to bang for long - it struck me that the console is the difference.

Using 'ShExecInfo.fMask = SEE_MASK_NOCLOSEPROCESS | SEE_MASK_NO_CONSOLE;' did the trick, it now
starts client and return clients PID.

Now to implement in userfunction_login.

-dx
by dx876234
Thu Feb 12, 2015 9:09 am
Forum: MicroMacro general & support
Topic: ShellExecuteEx behaviour under Micromacro v1.04.167
Replies: 12
Views: 4904

ShellExecuteEx behaviour under Micromacro v1.04.167

Hey, I'm doing a Lua launcher for the Rom client to be able to connect to the client without searching for the process. As most probably know the client only accepts the NoCheckVersion argument in a shell link, not on command line. Now, the behavior is due to the client checking for WinMains's 4th a...
by dx876234
Sun Feb 08, 2015 2:17 pm
Forum: Userfunctions, waypoint scripts, etc.
Topic: Automatic 'login' script
Replies: 181
Views: 68522

Re: Automatic 'login' script

Well, I'm planning to test it but I didn't want to much of a change in my prod environment :)

-dx
by dx876234
Sun Feb 08, 2015 9:56 am
Forum: Userfunctions, waypoint scripts, etc.
Topic: Automatic 'login' script
Replies: 181
Views: 68522

Re: Automatic 'login' script

So, I've brutally ripped out the macro communication from Rock's beta and inserted it into the current versions of login system and it works :) The files attached is based on userfunction_login v. 3.5 http://solarstrike.net/phpBB3/viewtopic.php?f=27&t=4663 and fastlogin v. 3.7 http://solarstrike...
by dx876234
Sun Feb 08, 2015 5:00 am
Forum: Userfunctions, waypoint scripts, etc.
Topic: Automatic 'login' script
Replies: 181
Views: 68522

Re: Automatic 'login' script

Thx a lot, Ill get on it :)

-dx
by dx876234
Sat Feb 07, 2015 2:32 pm
Forum: Userfunctions, waypoint scripts, etc.
Topic: Automatic 'login' script
Replies: 181
Views: 68522

Re: Automatic 'login' script

No problem, not my intention to nag :)

-dx

ps. if you could disclose how to communicate w. login display I could probably hack it up myself.
by dx876234
Sat Feb 07, 2015 11:50 am
Forum: Userfunctions, waypoint scripts, etc.
Topic: Automatic 'login' script
Replies: 181
Views: 68522

Re: Automatic 'login' script

When starting a bot located in page 2 or higher of the login display, ie with account > 108, the userfunction_login.lua failes, ref s error message. As far as I can tell this is because the 'function clickLoginButton(account)' does not take into account that the account number can be bigger than 108...