Search found 63 matches

by KillerTHC
Sat Jun 26, 2010 8:40 pm
Forum: Runes of Magic
Topic: rom/settings.lua error
Replies: 3
Views: 1483

Re: rom/settings.lua error

I believe you are using an older version of RoM Bot because I cannot find that line in my settings.lua
Update your RoM Bot with SVN.
by KillerTHC
Sat Jun 26, 2010 6:35 pm
Forum: Runes of Magic
Topic: Additions to player class(hasBuff and hasDebuff)
Replies: 12
Views: 4013

Re: Additions to player class(hasBuff and hasDebuff)

I'd say add it so it can be better documented as a function.
by KillerTHC
Sat Jun 26, 2010 4:57 pm
Forum: Runes of Magic
Topic: Mouse memory addresses
Replies: 59
Views: 18623

Re: Mouse memory addresses

Thanks a lot for all the work you have done! This is awesome! Im going to do some testing and report back. Edit: The basic provided functions will give you an error. However after the following modifications it works nicely. Original Line 32 - 37 userfunctions.lua if( nearPawn.Address ~= 0 ) then if...
by KillerTHC
Sat Jun 26, 2010 10:49 am
Forum: Runes of Magic
Topic: rom/settings.lua error
Replies: 3
Views: 1483

Re: rom/settings.lua error

Have you updated your RoM bot with SVN and then run rom/update?
by KillerTHC
Fri Jun 25, 2010 1:31 pm
Forum: Runes of Magic
Topic: Mouse memory addresses
Replies: 59
Views: 18623

Re: Mouse memory addresses

thanks rock5 I will look into it. VoidMain is the table populated with the IDs of each object? Just curios on what I should be looking for to locate part of the table.
by KillerTHC
Fri Jun 25, 2010 11:23 am
Forum: Runes of Magic
Topic: Additions to player class(hasBuff and hasDebuff)
Replies: 12
Views: 4013

Re: Additions to player class(hasBuff and hasDebuff)

So has rock5's version been added to the pawn class? My friend really wants to use these functions for curing himself and eating food buffs.
by KillerTHC
Fri Jun 25, 2010 11:20 am
Forum: Runes of Magic
Topic: Mouse memory addresses
Replies: 59
Views: 18623

Re: Mouse memory addresses

VoidMain if you teach me a little bit on the pointer stuff I would be happy to help out because this stuff is getting really interesting to me. As for using detours I see what you mean and will try to think of a way to use them in theory.
by KillerTHC
Thu Jun 24, 2010 11:29 pm
Forum: Runes of Magic
Topic: Mouse memory addresses
Replies: 59
Views: 18623

Re: Mouse memory addresses

If RoM is hooking the mouse then could we not detour the API function that it is hooking? Thus allowing us to return bogus results that we determine to make RoM think that it knows where the mouse is instead of changing the addresses themselves. I am currently not skilled enough in C++ to do this bu...
by KillerTHC
Wed Jun 23, 2010 3:41 pm
Forum: Runes of Magic
Topic: Additions to player class(hasBuff and hasDebuff)
Replies: 12
Views: 4013

Re: Additions to player class(hasBuff and hasDebuff)

Updated version of both methods to return both true or false if the buff is active and the count if it is active otherwise it returns 0. function CPlayer:hasBuff(buff) local buffs = {RoMScript("} for i=1,16 do w,x,y,z=UnitBuff('player', i) table.insert(a,w) table.insert(a,y) end z={")}; lo...
by KillerTHC
Wed Jun 23, 2010 11:52 am
Forum: Runes of Magic
Topic: Bugs in most recent revision of RoMBot
Replies: 11
Views: 2690

Re: Bugs in most recent revision of RoMBot

Hmm that's odd, when I tried __WPL in an earlier revision I had the same error, however now it works :D
by KillerTHC
Wed Jun 23, 2010 11:13 am
Forum: Runes of Magic
Topic: Bugs in most recent revision of RoMBot
Replies: 11
Views: 2690

Re: Bugs in most recent revision of RoMBot

Found another bug with the waypoint function WPL:setForcedWaypointType("TRAVEL"); when I try to set the waypoint type to travel so I can go and repair I get this error. player.lua:924 Error in your profile: onLeaveCombat error: [string "..."]:6: attempt to index global "WPL&...
by KillerTHC
Wed Jun 23, 2010 11:03 am
Forum: Runes of Magic
Topic: Additions to player class(hasBuff and hasDebuff)
Replies: 12
Views: 4013

Re: Additions to player class(hasBuff and hasDebuff)

I have tried searching the pawn buffs and debuffs but could not get it to work so I opted out for this method which doesn't need to run CPawn:updateBuffs(target) because it gets the most up to date info when it runs. I have the count variable their for future additions possibly making the function r...
by KillerTHC
Wed Jun 23, 2010 12:34 am
Forum: Runes of Magic
Topic: Additions to player class(hasBuff and hasDebuff)
Replies: 12
Views: 4013

Additions to player class(hasBuff and hasDebuff)

I thought I would just add 2 functions to the player class, they are hasBuff(buff) and hasDebuff(deBuff). Both functions return true if the player currently has the buff active and false if the player doesn't. Both of these functions come in handy for using food items and using purifying spells when...
by KillerTHC
Tue Jun 22, 2010 9:10 am
Forum: Runes of Magic
Topic: Bugs in most recent revision of RoMBot
Replies: 11
Views: 2690

Re: Bugs in most recent revision of RoMBot

Any idea why it might have been hitting enter before?
by KillerTHC
Tue Jun 22, 2010 8:50 am
Forum: Runes of Magic
Topic: Bugs in most recent revision of RoMBot
Replies: 11
Views: 2690

Bugs in most recent revision of RoMBot

I was previously having some trouble with RoMBot because it would press enter some time during its session and then it would think it was stuck understand able because now it can't access either the macro or the keyboard to move and it can't even logout! So I updated to make sure I am not missing an...
by KillerTHC
Sat Jun 19, 2010 2:11 pm
Forum: Runes of Magic
Topic: Got error dont know why
Replies: 4
Views: 1930

Re: Got error dont know why

First is your RoMBot up to date? If not update it! Second run micromacro and type "rom/update" without the quotes to update the addresses for RoMBot. After you have done that it should work flawlessly.
by KillerTHC
Tue Jun 15, 2010 7:58 pm
Forum: Runes of Magic
Topic: Mouse memory addresses
Replies: 59
Views: 18623

Re: Mouse memory addresses

But it would be questionable if Elverion would allow you to incoporate such thing into an official release if you are just milking MMODrifter, It's mainly for the fun and collaboration with others - right? It might fly with him/her if you look at it from the perspective that MMODrifter is collabora...
by KillerTHC
Sat Jun 12, 2010 6:14 pm
Forum: Runes of Magic
Topic: Using yGather data to create waypoints...
Replies: 34
Views: 10046

Re: Using yGather data to create waypoints...

Have you tested this way of walking? I will try to test it soon but I'm a little busy right now.
by KillerTHC
Sat Jun 12, 2010 5:39 pm
Forum: Runes of Magic
Topic: Using yGather data to create waypoints...
Replies: 34
Views: 10046

Re: Using yGather data to create waypoints...

Hmm I didn't think of that. Also if it can't find a path then the bot will just use the normal method that it uses now, this way we get the best of both worlds.
by KillerTHC
Sat Jun 12, 2010 4:50 pm
Forum: Runes of Magic
Topic: Using yGather data to create waypoints...
Replies: 34
Views: 10046

Re: Using yGather data to create waypoints...

Good work on the conversion, the problem is the function requires map coordinates and not world ones. I didn't make the function I just noticed that in game you can right click on the map and select "move to" or "move here" and it will walk you there without walking into most obs...