Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Kal Online
You last visited: Today at 21:38

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

Advertisement



[Question] How to delete a certain animation of a mob

Discussion on [Question] How to delete a certain animation of a mob within the Kal Online forum part of the MMORPGs category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Oct 2009
Posts: 266
Received Thanks: 47
[Question] How to delete a certain animation of a mob

Hi,

I am working on a pixelbot for easy tasks like auto hunting. I am trying to prepare the client to work well with my image recognition. I now have the following problem.
In the best case I want mobs to show on the screen as their hitbox in a certain color. By renaming \data\Monster\Clothes\Tex folder the mobs changing to color pink which is great already.
But the problem is that when mob dies it sinks to the ground and its color disappears after like 5 secs which is quite long. So the bot could not detect that this is actually a dead monster. My idea was to just delete the death animations. For this is wrote a little python script to move all those files in \data\Monster\Motion to another folder
This looks first like its working but then you can see that the hitbox doesnt disappear so after a while the bot gets stuck inside a wall of dead mobs ..lol

P.S. we assume that we dont have tab/autoattack (older engine) so detecting a dead mob is a problem.

Anybody got an idea of what im missing to do? Thanks in advance

Update1: My current solution is setting the animations of all monsters to their corresponding Idle animation. This works ok so far but still 1 sec delay of texture to disappear after monster death. If u wanna test it run this script in data\Monster\Motion\
asdfg177 is offline  
Old 11/12/2016, 18:00   #2
 
elite*gold: 0
Join Date: Feb 2008
Posts: 1,105
Received Thanks: 186
you could detect the pixel colour on the mob hp bar (in UI) and go on from that

so when hp bar is not red -> do smth
pamz12 is offline  
Old 11/12/2016, 18:09   #3
 
elite*gold: 0
Join Date: Oct 2009
Posts: 266
Received Thanks: 47
Quote:
Originally Posted by pamz12 View Post
you could detect the pixel colour on the mob hp bar (in UI) and go on from that

so when hp bar is not red -> do smth

Assume that i cannot use tab/autoattack (older engine). So everything is purely pixel based, mob detection as well. I go more in detail of my image recognition: i split my screen into parts of 50x50 pixels. I iterate in a spiral around my player starting from the player position and once the the 50x50 area is close to the given picture it will send a click to the kalonline window.
So if the mob dies it has to disappear completely to make it work smoothly.
asdfg177 is offline  
Old 11/14/2016, 00:07   #4
 
elite*gold: 0
Join Date: Aug 2006
Posts: 128
Received Thanks: 18
Did you read what pamz12 wrote to you ?

Quote:
you could detect the pixel colour on the mob hp bar (in UI) and go on from that

so when hp bar is not red -> do smth
When your bot click on dead monster you check if monster hp full ,

pseudo code :

if(getMonsterHPColor()!=MonsterHPFullColor)
{
lookForMonster(); // choose other 50*50 parts differnet from this one where dead monster...
}else{
killMonster();
}


here is my old newb pixelbot from 2010 in work lol nice memories :

Staviko is offline  
Reply


Similar Threads Similar Threads
Question about removing animation time.
09/12/2016 - Dekaron - 1 Replies
So, in our all too familiar script... There is this line: MOV DWORD PTR DS:,3C0CCDCC Can someone explain to me please, how '3C0CCDCC' points to 0.1? Is it an address in the memory? It does seem to have a value of 0, but how do you know it is 0.1?
Jump animation delete?
09/28/2015 - Conquer Online 2 - 0 Replies
Jump animation delete? I've searched this forum all over for this, and all ive found out about this is: its located in 3dmotion.ini and idk witch line it is :S would be grateful if some1 could help me with this!
SkillForce.edf animation question to pro's
03/03/2009 - RF Online - 4 Replies
Hi I heard that you can eliminate animation on certain skils/forces in Skillforce.edf, but through experimenting did not find the spot that I need to modify. I think I was able to change some additional particle effect on force from Bellato one to Cora effect (sparkles, as when you see whilst using Sacrifice), but that was it, concerning the animation. If you know how make theanimation disappear, please share your thoughts.
Delete Jump Animation?
07/23/2005 - Conquer Online 2 - 0 Replies
I heard there's a way you can delete the jump animation so you can see where people land before they actually do... making FB/SS much easier. If this is possible, or has already been shown in the forum, please inform me on how to do it. An even more convenient way I heard was to see the dust animation pop up where someone is GOING to land, so all you have to do is FB the dust area... if there's a way to do that, I would be very grateful to be informed. Thanks in advance.



All times are GMT +1. The time now is 21:39.


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