Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


[MMO Bot] Entities contained in pointers constantly moving

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Gamehacking
View previous topic :: View next topic  
Author Message
Jaffycake
How do I cheat?
Reputation: 0

Joined: 20 Oct 2015
Posts: 6

PostPosted: Tue Oct 20, 2015 8:29 am    Post subject: [MMO Bot] Entities contained in pointers constantly moving Reply with quote

An MMORPG I coded a bot for stores Mobs/NPCs and Players in a range of pointers.

006d8600 is the main player, then a range of offsets contain many things such as currentHP, Max hp, X/Y Coords etc

This is the same for nearby entities such as mobs which get stored in the next pointer such as 006d8604

This continues onwards

006d8608
006d860c
006d8610
006d8614


The problem I'm facing is that the entities in these pointers change very fast and all of the time. I get bugs in my bot with tracking the constantly changing positions of the entities in this range of pointers.

For example, Mob1 might be stored in 006d8604, but within a split second it moves to 006d8608, 006d860c and continues to bounce around all of these addresses.

I'm currently using loops to pick out the entity I need and this continues but the entity addresses move to different pointers so fast that I do get glitches where the bot gets confused.

I've coded several bots but I'm still new to botting. Is this normal behaviour in tracking entities in an MMO and is there something I should be doing?

This is my first post here and I have not contributed to the forum yet but I really would appreciate any help as I've spent many days on this problem over the past months.
Back to top
View user's profile Send private message
Jaffycake
How do I cheat?
Reputation: 0

Joined: 20 Oct 2015
Posts: 6

PostPosted: Tue Oct 20, 2015 11:24 am    Post subject: Reply with quote

I cant PM. It is a small old game but one that I and many have played for many years. I've spent a lot of time creating a fairly useful bot for it using autoit.

Last edited by Jaffycake on Tue Oct 20, 2015 2:15 pm; edited 1 time in total
Back to top
View user's profile Send private message
atom0s
Moderator
Reputation: 205

Joined: 25 Jan 2006
Posts: 8585
Location: 127.0.0.1

PostPosted: Tue Oct 20, 2015 1:17 pm    Post subject: Reply with quote

We do not support online / multiplayer hacking on this site. (You were fine til you mentioned the name of the game.)
http://forum.cheatengine.org/faq.php#0

_________________
- Retired.
Back to top
View user's profile Send private message Visit poster's website
Rydian
Grandmaster Cheater Supreme
Reputation: 31

Joined: 17 Sep 2012
Posts: 1358

PostPosted: Tue Oct 20, 2015 1:38 pm    Post subject: Reply with quote

It's not filters enforcing things, it's human.

Neat attempts though.

_________________
Back to top
View user's profile Send private message
Jaffycake
How do I cheat?
Reputation: 0

Joined: 20 Oct 2015
Posts: 6

PostPosted: Tue Oct 20, 2015 2:12 pm    Post subject: Reply with quote

atom0s wrote:
We do not support online / multiplayer hacking on this site. (You were fine til you mentioned the name of the game.)


I didn't know this, sorry i'll remove the name.

Rydian wrote:
It's not filters enforcing things, it's human.

Neat attempts though.


I'm sorry but you're mistaken, I was not trying to avoid any rules, I simply didn't want a Google search yielding this thread should the game masters go searching for threads about their game.
Back to top
View user's profile Send private message
Rydian
Grandmaster Cheater Supreme
Reputation: 31

Joined: 17 Sep 2012
Posts: 1358

PostPosted: Tue Oct 20, 2015 2:50 pm    Post subject: Reply with quote

If you thought I was being sarcastic I wasn't, in either case you would be avoiding computer filters.
_________________
Back to top
View user's profile Send private message
ulysse31
Master Cheater
Reputation: 2

Joined: 19 Mar 2015
Posts: 324
Location: Paris

PostPosted: Wed Oct 21, 2015 10:34 am    Post subject: Reply with quote

I also coded a bot (and am still coding it, although i moved to a packet version) for a MMO although it's not a very old one.

I've met a similar situation of yours with mobs, they are dynamically allocated.

1/ you say that mob one gets its address changed, but is it the same mob on the same lifespan ? that'd be odd. If it's once he respawns then it makes more sense.

What I did is backtrace the function a bit, I found a caller function that'd tell me the amount of entities. I could find a variable in the structure that would be a pointer to their name (it's often like that because names can be very large or very small thus a pointer to it is an efficient choice), this is how i sort mobs etc.

i found out that all variables get erased when I teleport, relog, etc, as you'd expect and I erase my bot's emulated mob variables at the same time.

Here is a similar ASM request, I am using a code that sort of follows this logic (I am passing myself a structure pointer and I then sort structures by the mob name and then i start getting interested in the location, life variables etc) :
http://forum.cheatengine.org/viewtopic.php?t=584937
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Gamehacking All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites