Page 20 of 111

Re: RoM bot

Posted: Mon Feb 16, 2009 6:19 am
by mike101
is there a possibility to change the script, that way, that my bot assists my partymember ?

His target is my target : only assist him by targeting and fighting

Could anyone post the sript here ?

Re: RoM bot

Posted: Mon Feb 16, 2009 12:39 pm
by Administrator
Make a macro to assist them.

To assist the first person in your party (you are "party1"):

Code: Select all

AssistUnit("party2");
Just set it up as a skill in the database, give it a 1 second cooldown, and set it in your character profile.

Re: RoM bot

Posted: Mon Feb 16, 2009 2:31 pm
by darkfayte
incase anyone wants this .. its the FDB extracter for RoM. You can look at everything that RoM has to offer, even thier own code (LUA and XML)

figured this would help ....

only thing you cant do is add to the current database. Cant replace files ... yet

Re: RoM bot

Posted: Tue Feb 17, 2009 12:26 pm
by Kizami
Is it possible to make the bot quit the game if he dies? Instead of just waiting around to respawn and then respawning at the point and turning around in a circle... makes it look very obvious lol :)

I figure it's a quick fix because the bot knows when it's died.

Kiz

Re: RoM bot

Posted: Tue Feb 17, 2009 1:01 pm
by Administrator
Kizami: Make an addon to do it. Just check if the player has 0 HP in OnUpdate, and then call Logout()

Re: RoM bot

Posted: Tue Feb 17, 2009 4:25 pm
by cucu1
Hrmm i was thinking if it is possible to make the bot make the player jump randomly so it makes it not THAT obvious lol

Re: RoM bot

Posted: Tue Feb 17, 2009 6:07 pm
by Zeno1
i dont see the elite mastery skills in the database. Could u possibly add them?

Re: RoM bot

Posted: Tue Feb 17, 2009 11:48 pm
by darkfayte
Administrator wrote:Kizami: Make an addon to do it. Just check if the player has 0 HP in OnUpdate, and then call Logout()

lol OnUpdate = cpu per tick, thats why the game is soo laggy now, they use OnUpdate on just about everything you do ... meaning you will be eating more CPU just checking to see if your dead ...

u can make a simple addon to track HP without OnUpdate or just track the res frame (the button that you click to res) and when it pops .. you log out ..
never never never never use OnUpdate ..never never .. unless you are forced to

Re: RoM bot

Posted: Tue Feb 17, 2009 11:51 pm
by darkfayte
cucu1 wrote:Hrmm i was thinking if it is possible to make the bot make the player jump randomly so it makes it not THAT obvious lol

Glider did that .. and then removed it because who really jumps around like a rabbit? bots and more bots. plus jumping into trees and other things can cause waypoint misses ... thats one of the original ways blizz. GM's used to catch botters .. the annoying jumping for no reason.

i know even i jump around a lot sometimes ... but how many time do you see players jumping into oblects then getting stuck and running into them ... Glider had the same issue

Re: RoM bot

Posted: Thu Feb 19, 2009 2:48 am
by darkfayte
LUA 5.1.4 update tomarrow !!!
meaning this LUA bot shouldnt work anymore since its using WOW LUA and WOW API now (all updated)

Re: RoM bot

Posted: Thu Feb 19, 2009 3:17 am
by Administrator
The changes to RoM's Lua version will not affect this bot. It uses it's own compiler/interpreter, so nothing will change. It will, however, need updated addresses (as typical with any update).

Re: RoM bot

Posted: Thu Feb 19, 2009 3:45 am
by haura
darkfayte wrote: .. its the FDB extracter for RoM. You can look at everything that RoM has to offer, even thier own code (LUA and XML)
Thanks for the tool.

Re: RoM bot

Posted: Thu Feb 19, 2009 4:06 am
by haura
Can someone please tell me what functions can be used to read (and write, if possible) the following camera data?
  1. player camera azimuth (a.k.a. compass angle but in radians)
  2. player camera elevation (a.k.a. altitude but also in radians)
  3. player camera zoom
Not to be confused with player direction which is already available in the CPawn class as self.Direction
FYI, player.Direction is an angle (in radians) relative to East in the 3D RoM world

Patched version 2.0.1.1812.en

Posted: Thu Feb 19, 2009 5:09 am
by lumster45
HI all,
The Game Has been Patched version 2.0.1.1812.en

Re: RoM bot

Posted: Thu Feb 19, 2009 9:58 am
by Moonsun
Hello! I have unfortunately this problem:

Image

Anyone can help me? Please...

Re: RoM bot

Posted: Thu Feb 19, 2009 12:51 pm
by Administrator
haura wrote:Can someone please tell me what functions can be used to read (and write, if possible) the following camera data?
  1. player camera azimuth (a.k.a. compass angle but in radians)
  2. player camera elevation (a.k.a. altitude but also in radians)
  3. player camera zoom
Not to be confused with player direction which is already available in the CPawn class as self.Direction
FYI, player.Direction is an angle (in radians) relative to East in the 3D RoM world
None of these addresses are included in the bot. You'll have to use Cheat Engine to locate them. I originally did find two of these addresses while looking for character position, but they were unusable for the bot.

Re: RoM bot

Posted: Thu Feb 19, 2009 1:05 pm
by Kizami
*edited* - Thanks for update :)

Kiz

Re: RoM bot

Posted: Thu Feb 19, 2009 1:36 pm
by Administrator
2.14 has just been uploaded with the fixed addresses. As usual, see first post in this thread.

Re: RoM bot

Posted: Thu Feb 19, 2009 5:31 pm
by SinSxi
What is RoM? Can someone link me to the site? I tried searching...

Re: RoM bot

Posted: Thu Feb 19, 2009 7:36 pm
by Kizami
Looks like there's something wrong with the bot. I can no longer call the rom/createpath.lua function, when I try it fails. This is the log:

Code: Select all

Fri Feb 20 00:34:38 2009 : MicroMacro v1.0
Fri Feb 20 00:34:38 2009 : Processor Type: 4X 586, OS: Windows Vista | Windows Server 2008 Service Pack 1
Fri Feb 20 00:34:38 2009 : LuaCoco is available.
Fri Feb 20 00:34:38 2009 : Lua glues exported.
Fri Feb 20 00:34:38 2009 : Keyboard layout: US English
Fri Feb 20 00:34:42 2009 : Executing script 'createpath.lua'
==================================================

Fri Feb 20 00:34:43 2009 : WARNING: Failure reading memory from 0x29DFDB4 at 0x8557cc in memoryReadIntPtr(). Error code 299 (Only part of a ReadProcessMemory or WriteProcessMemory request was completed.)


stack traceback:
	E:\Incoming\micromacro\lib\lib.lua:510: in function 'startMacro'
	scripts\rom/createpath.lua:73: in main chunk

----------TRACEBACK END----------

Fri Feb 20 00:34:43 2009 : E:/Incoming/micromacro/scripts/rom/classes/pawn.lua:40: attempt to perform arithmetic on field 'Address' (a nil value)
Fri Feb 20 00:34:43 2009 : Execution error: Runtime error
note: My bot running on a previously made set of waypoints seems to run with no problems at all.

*edit* - After running my bot with an already made waypoint it was fine until it started spamming read memory errors in the micromacro window. Despite this it still seems to be running like normal... so I'm not sure what's wrong and I might just leave it and see how it does.

Kiz