Register for your free account! | Forgot your password?

Go Back   elitepvpers > Popular Games > Silkroad Online > SRO Coding Corner
You last visited: Today at 11:45

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

Advertisement



Question How to auto target a mob?

Discussion on Question How to auto target a mob? within the SRO Coding Corner forum part of the Silkroad Online category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Apr 2007
Posts: 156
Received Thanks: 22
Question How to auto target a mob?

Hi,

I wonder how to find a list of mobs currently in memory loaded or in other words in my ingame viewrange to make an auto target. I've already found many things to get mob focused by memoryediting without mouseclicks. But I'm a few steps before what I want.

I don't know how to print all mobs in the viewrange area.
If u can help me would be nice.
I am currently working with Cheat Engine.

See PIC what I've already found
Attached Images
File Type: jpg csropointers.jpg (124.5 KB, 393 views)
NixIs is offline  
Old 11/13/2010, 12:08   #2
 
ZeraPain's Avatar
 
elite*gold: 0
Join Date: Jan 2010
Posts: 360
Received Thanks: 249
well as far as i know it isn't possible to make something like that with memory reading / writing. you will have to do this with packets, there you can read out the mob uid from the spawn packet and easily send a packet with the uid to select a mob.
works pretty well but it is a little bit difficult to read out the necessary informations because the spawn opcode and the despawn opcode are the same so you will have to try some methods. also the length of the mob packet isn't always the same ...
btw: you cannot read the exp to the next level from the memory (also the current exp is a qword (8 byte)) :-)
you have to read the level and calculate it by yourself (media.pk2\server_dep\textdata\leveldata.txt). as far as i know the max hp/mp are static addresses so better use them.
ZeraPain is offline  
Thanks
1 User
Old 11/13/2010, 17:09   #3
 
lesderid's Avatar
 
elite*gold: 0
Join Date: Dec 2007
Posts: 2,400
Received Thanks: 1,517
Quote:
Originally Posted by ZeraPain View Post
well as far as i know it isn't possible to make something like that with memory reading / writing. you will have to do this with packets, there you can read out the mob uid from the spawn packet and easily send a packet with the uid to select a mob.
works pretty well but it is a little bit difficult to read out the necessary informations because the spawn opcode and the despawn opcode are the same so you will have to try some methods. also the length of the mob packet isn't always the same ...
btw: you cannot read the exp to the next level from the memory (also the current exp is a qword (8 byte)) :-)
you have to read the level and calculate it by yourself (media.pk2\server_dep\textdata\leveldata.txt). as far as i know the max hp/mp are static addresses so better use them.
Actually, EXP to next level is in memory.
lesderid is offline  
Thanks
1 User
Old 11/27/2010, 02:02   #4
 
elite*gold: 0
Join Date: Apr 2007
Posts: 156
Received Thanks: 22
Why ever but I can't find EXP next to level and HP of Mobs even when i can see the hpbar... it makes me confused.

Current EXP i can read with 4byte ^^

@ZeraPain Ofc u can even read via memory information about mobs like position and id.

If somebody now hits plz tell me.. i am looking long time for this
NixIs is offline  
Reply


Similar Threads Similar Threads
[General Question] About DB Bot Auto Target :)
10/19/2010 - SRO Private Server - 1 Replies
I was wondering, when the bot auto targets a monster, why doesnt it click it? i mean, it goes and attacks kills.. no problem but it never shows the monster name or anything, as in it never clicks the monster just weirdly targets it :P just wondering, is there a way to make it show the monsters when it auto targets them? it used to work then suddenly doesnt anymore :P just wondering
Q - How to auto target?
09/30/2009 - Perfect World - 1 Replies
Hi and sorry if this is in the wrong place... I'm working on a rare pet capture bot and I need some help with auto selecting/targeting of the pet in question. The idea I had was to use something like the existing bots/macros that already do this but strip it down to just the targeting routine... which I don't know how to do. Or if I can make a list of the pets to capture and auto target them: ex I want to capture the bunny so I select the bunny from my list and the macro looks for the...
Bot just stands there (no auto target)
12/08/2007 - Silkroad Online - 4 Replies
I am new to tbot. I got it installed and the script loaded. I also set all of the settings. I can't click start training in the f5 menu. But if I just target something, the bot kills it and picks up all of the drops. What am I doing wrong?
Auto target
11/09/2007 - Lineage 2 - 0 Replies
Can some1 tell me how have auto target in game?With any program of sth else?Ty



All times are GMT +1. The time now is 11:45.


Powered by vBulletin®
Copyright ©2000 - 2024, 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 ©2024 elitepvpers All Rights Reserved.