Register for your free account! | Forgot your password?

You last visited: Today at 01:11

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

Advertisement



Attacker

Discussion on Attacker within the Kal Online forum part of the MMORPGs category.

Reply
 
Old   #1
 
hoseta's Avatar
 
elite*gold: 0
Join Date: Jan 2008
Posts: 310
Received Thanks: 50
Attacker

Hay is there a way to check if the attacker is mage/archer/knight in recv SkillAttack [0x3] ? if yes could some1 show me how?

thanks in advance.
hoseta is offline  
Old 08/19/2012, 04:26   #2
 
Roronoa Z.'s Avatar
 
elite*gold: 0
Join Date: Nov 2011
Posts: 269
Received Thanks: 87
Before you get the attack, you get the player/mob appear packet.
Use a std::map<int,whatever> - > first argument is then the id of the mob/player..
Just store the value which type it is.
you can access it like this
if(map.find(pid) != map.end()) {
map[pid].type(or whatever... if you make a std::map<int,int> map you can access it without an extra extension ..map[pid])
}

Then on the attack packet, just check for the type.
Roronoa Z. is offline  
Thanks
1 User
Reply


Similar Threads Similar Threads
Server Got a Hacker/Attacker Help!
09/24/2011 - Metin2 Private Server - 2 Replies
Hello everyone my friend is running his own serverand 2 weeks now everything working good(expept something he is working on like npc and etc) and yesterday we had an hacker/attacker on the server who used to chat in GM CHAT without beging a GM he used to reboot the server and making alllll the time day and night :/ that made my friend worried about the server and he closed it for a while till he founds a way to solve this problem... well anyone has any suggestion on what to do or how to resolve...
is there an auto attacker
07/02/2007 - World of Warcraft - 0 Replies
hi iam new to this game an almost every thread i see i notice is not in english so i dont know if there is an auto attacker or not. i have searched and not been able to find one can any please tell me if there is one for this game
Targeting the attacker automaticly
01/15/2007 - Lineage 2 - 2 Replies
I saw on a site, not sure if it was elitepvpers or not the following : "targeting the attacker (mob/player) automaticly". Atm it doesn't seem to much, but many l2j svs don't have full geodata, thus being possible to shoot throw walls, so having this would be a great deal instead of needing to write /target ... (till then, u're dead). Can some1 post a link for this, i'm sure some1 has it, or knows about it. Thnks :cool: P.S. : (i'm sure it's more apropiate to post here cus' after all it's a...
auto attacker
05/02/2006 - Conquer Online 2 - 16 Replies
is there a way.....where we can make 'a' program to right click on a monster thats in a certain area like say i was in the tombat cave.....im sittin on that little thing where u cant get hit.....is there a program that i can use to attack them while im afk? if somebody could just tell me a site or something that would be great..... thx, EvUl



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


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.