Monsters Edit, just say something...

12/27/2011 00:14 abdeen#1
Okay , i want to make Guard1 do not attack blue name players , i searched but i found nothing.

can anyone just tell me the way to change guard attack range ?
12/27/2011 00:30 pro4never#2
Go to where your source handles guards... find where it checks conditions such as bluename player...

Remove/reverse the check.

DONE!

This all boils down to basic knowledge of how your source works and INCREDIBLY basic knowledge of the C# language. Learn both of those and you'll have your answer. Same as all your other questions you were posting a month or two back.
12/27/2011 00:40 abdeen#3
Quote:
Originally Posted by pro4never View Post
Go to where your source handles guards... find where it checks conditions such as bluename player...

Remove/reverse the check.

DONE!

This all boils down to basic knowledge of how your source works and INCREDIBLY basic knowledge of the C# language. Learn both of those and you'll have your answer. Same as all your other questions you were posting a month or two back.

i know that , i am already searched for

if (player.anysomehting.contains(bluename))
{

but i didn`t find anything .
12/27/2011 01:54 U2_Caparzo#4
it depends of the source i think, i used NCOs and in that source, the mob behavour managed that, look where mobs are loaded, maybe u will something like this
public enum MobBehaveour : byte
{
HuntPlayers = 1,
HuntMobs = 2,
HuntMobsAndPlayers = 3,
HuntBlueNames = 4,
HuntMobsAndBlue = 6
}
(this is NCOs)

or something like that

then u have to see the Guard1 line in sql or txt and change the mob behavour to the one u want for the Guard

now this is my Guard1 in this source

[97]
Name=Guard1
Type=6 //this is the Mob Behavour
Mesh=900
Level=250
HP=50000
Defense=2500
MDefense=70
MAttack=60000
MinAttack=0
MaxAttack=0
DmgReduceTimes=100
Dodge=70
AtkType=21
MagicSkill=1000
SkillLevel=1
Gives=1
AtkDistance=18
MinSilvers=100000
MaxSilvers=500000
MoveSpeed=500
SpawnSpeed=3
LvlDifDmg=1

srry i can't explain more caz i speak spanish, maybe this won't help u, i tried to help u by the way i know, srry