Register for your free account! | Forgot your password?

Go Back   elitepvpers > Coders Den > General Coding
You last visited: Today at 04:47

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



[MMO Bot] Entities contained in pointers constantly moving

Discussion on [MMO Bot] Entities contained in pointers constantly moving within the General Coding forum part of the Coders Den category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Aug 2008
Posts: 1
Received Thanks: 0
[MMO Bot] Entities contained in pointers constantly moving

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.
gorang is offline  
Old 10/20/2015, 16:39   #2
 
elite*gold: 8
Join Date: Sep 2014
Posts: 625
Received Thanks: 178
There is probably a function that is allocating new memory after the position changed. Track that.
qqdev is offline  
Old 10/20/2015, 20:12   #3
 
elite*gold: 0
Join Date: Feb 2009
Posts: 1,137
Received Thanks: 573
Check it there are values containing these addresses.

The game might use a linked list or something to handle the pointers and somewhere need to be a reference
warfley is offline  
Reply


Similar Threads Similar Threads
Multiple entities kills bug
11/01/2013 - CO2 Private Server - 15 Replies
I have a problem with scatter, fire ring and all the others skills that kills multiple monsters/players. -> It doesn't do the effect nor the moves of the skills. Like, with scatter I don't see arrows, I don't see the moves of the character but it happens only sometimes. I've checked the screen.cs with a friend (It's not the scatter code since every skills that kills multiple mobs do that) and we didn't find anything wrong with it. Here's a video to show the problem if you don't understand what...
Entities beim Hammer Editor
10/14/2011 - Counter-Strike - 0 Replies
Einen schönen Tag, ich habe mich mal an das Mappen probiert und soweit klappt alles gut, nur wenn es dann darum geht den Spawn für die Terroristen und die Counterterroristen zu setzen klappt garnichts mehr. Da diese zwei entities nicht in der Liste vorhanden sind. Und jetzt bräuchte ich euren Rat, wie bekomme ich diese Entities, da ohne sie eine Map nunmal nicht spielbar ist ... Ich hoffe das mir jemand helfen kann. Mfg ~Bananenwerfer
I have a problem spawning entities
07/28/2011 - CO2 Programming - 4 Replies
what is The problem Heroes can be Spawned at the 1st time i set it's locations in but if i moved +18 Coords and tried to re-spawn again it doesn't spawn while the packet being send to all the Entities with the right location . what am trying to do is: getting all the NearByEntities and re-spawn it between range 18.. what's happening: is when i set the location for the 1st time i will be able to spawn and re-spawn within 18 coords where i located , if i moved out my location +18 coords...
Entities spwan/w.e sure take a look and see if you can help
07/01/2011 - CO2 Private Server - 6 Replies
hello everyone . what is the best way to do the clients/monsters/npc's spawns like when a player jumps what is the best way to spawn the in range entities . i have tried to store the entities in some kind of dictionary (Local entities) and spawn them on jumping/walking ...> slow i have stored every single valid X/Y in the game maps as a key with a Dictionary associated to that key as a value and stored the entities in that dictionary depending on the X/Y and spawned them on...
entities.cs problem
10/13/2008 - CO2 Programming - 2 Replies
hi, i have a problem with entities.cs when i start my server it loads everyting almost all mobs i have but when he is on SpawnALLMobs it give an error at line:217 error=System.NullReferenceException: Object reference not set to an instance of an object. line:218 is DataBase.Mobs = null; now you know where to look just above line:218 this is what i have: public static void SpawnAllMobs() { try {



All times are GMT +1. The time now is 04:47.


Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2025 elitepvpers All Rights Reserved.