|
You last visited: Today at 12:56
Advertisement
What is This means [ Impulse Source ]
Discussion on What is This means [ Impulse Source ] within the CO2 Private Server forum part of the Conquer Online 2 category.
06/11/2012, 01:10
|
#1
|
elite*gold: 0
Join Date: Aug 2007
Posts: 1,525
Received Thanks: 230
|
What is This means [ Impulse Source ]
well i was Checking How Guard Auto Attack ..and i Found smthing which i couldnt Identify
Heres it
Code:
if (monster.MonsterInfo.InSight == 0)
{
// bla bla bla
}
if (monster.MonsterInfo.InSight > 400000 && monster.MonsterInfo.InSight < 600000 || monster.MonsterInfo.InSight > 800000 && monster.MonsterInfo.InSight != monster.UID)
{
// bla bla bla
}
Whats The Hell Does Insight mean (btw im not looking for Translation ) i mean what does it Do Exactly In Source Hope not get Ignored
Regards
Shadowman123
|
|
|
06/11/2012, 01:28
|
#2
|
elite*gold: 0
Join Date: May 2008
Posts: 1,769
Received Thanks: 1,143
|
By the looks of it, InSight = the UID (Identity) or the entity that is currently in the monster's look_range. That's... an interesting way of doing it.
|
|
|
06/11/2012, 07:56
|
#3
|
elite*gold: 12
Join Date: Jul 2011
Posts: 8,283
Received Thanks: 4,192
|
I don't think it's insight, I think it's supposed to be "in sight".
|
|
|
06/11/2012, 08:30
|
#4
|
elite*gold: 0
Join Date: May 2008
Posts: 1,769
Received Thanks: 1,143
|
Quote:
Originally Posted by Fаng
I don't think it's insight, I think it's supposed to be "in sight".
|
Yeah, thus the capital "S" I would assume.
|
|
|
06/11/2012, 13:29
|
#5
|
elite*gold: 0
Join Date: Jul 2006
Posts: 2,216
Received Thanks: 794
|
Sight radius would be a more proper naming convention.
|
|
|
06/11/2012, 16:54
|
#6
|
elite*gold: 0
Join Date: Aug 2007
Posts: 1,525
Received Thanks: 230
|
Quote:
Originally Posted by Fаng
I don't think it's insight, I think it's supposed to be "in sight".
|
well it isnt about what does it mean cuz am not looking for translation .. all i need to know what does it do ?
|
|
|
06/11/2012, 17:49
|
#7
|
elite*gold: 20
Join Date: Jun 2006
Posts: 3,296
Received Thanks: 925
|
Quote:
Originally Posted by shadowman123
well it isnt about what does it mean cuz am not looking for translation .. all i need to know what does it do ?
|
Judging from how it's named, it probably checks if something is in range of the monster.
|
|
|
06/11/2012, 17:58
|
#8
|
elite*gold: 20
Join Date: Mar 2006
Posts: 6,126
Received Thanks: 2,518
|
Actually it looks more likely to be the monsters current target judging by the ranges and the != monster.UID at the end.
|
|
|
06/11/2012, 18:43
|
#9
|
elite*gold: 0
Join Date: May 2008
Posts: 1,769
Received Thanks: 1,143
|
Korvacs' option is more likely. There should be a distance check somewhere in there depending on the attack type. Should be.
|
|
|
06/11/2012, 19:33
|
#10
|
elite*gold: 0
Join Date: Aug 2007
Posts: 1,525
Received Thanks: 230
|
well All i could understand that when i assign the target ID to Insight The monster Start Attacking It So Yea its Almost target Range by using ID ... Thx All
#request Close
|
|
|
06/11/2012, 19:34
|
#11
|
elite*gold: 0
Join Date: May 2008
Posts: 1,769
Received Thanks: 1,143
|
Quote:
Originally Posted by shadowman123
well All i could understand that when i assign the target ID to Insight The monster Start Attacking It So Yea its Almost target Range by using ID ... Thx All
#request Close
|
Certainly is an odd way of doing it, though. Lol.
|
|
|
06/11/2012, 19:50
|
#12
|
elite*gold: 0
Join Date: Aug 2007
Posts: 1,525
Received Thanks: 230
|
Quote:
Originally Posted by Zeroxelli
Certainly is an odd way of doing it, though. Lol.
|
its too bad way of doing Range Check we could do that Depending on Spell Range if the Monster is doing magic attack
|
|
|
06/11/2012, 19:54
|
#13
|
elite*gold: 0
Join Date: May 2008
Posts: 1,769
Received Thanks: 1,143
|
Quote:
Originally Posted by shadowman123
its too bad way of doing Range Check we could do that Depending on Spell Range if the Monster is doing magic attack
|
Yeah, the cq_monster database actually includes data on the range that monsters can "see" as well as the range they can attack.
|
|
|
 |
Similar Threads
|
Impulse hes source
02/29/2012 - CO2 Private Server - 3 Replies
Hello,
I'm trying to make the impulse source to work, but somehow i can't get it to work =/ when i open the project, then go to Dialog.cs i'm getting this error:
I didn't editted anything except for the config ofcourse
The type or namespace name 'Conquer_Online_Server' could not be found (are you missing a using directive or an assembly reference?) C:\Users\patrick\Desktop\Conquer Online Source (impulse)\Conquer_Online_Server\bin\Debug\NpcDialo gs\Dialogs.cs
|
i need help in source Conquer Online Source (impulse)
03/01/2011 - CO2 Private Server - 4 Replies
Originally Posted by FuriousFang
Don't double post...
We told you, you're not setting up the config and entities right. Look, copy mine:
Configuration Table:
EntityID: 1000001
ItemUID: 1000001
Server: TestServer (Make sure it matches what you have in the source)
Accounts Table:
|
[HELP] Impulse Source
07/29/2010 - CO2 Private Server - 0 Replies
Hey guys I have been at this for the last two days, Someone told me to take the way the Portals are loaded and use that to Spawn Mobs.
First please don't flame I am trying and probably got it very very wrong.
Ok my problem is I have made the Sql Files and added all the mobs to it. I do not know how to make the source read the Sql files and make them appear on the client screen.
Like I said I have been at this for days and can't figure it out. Many guides have been read and alot of googling...
|
All times are GMT +1. The time now is 12:58.
|
|