Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Conquer Online 2 > CO2 Private Server
You last visited: Today at 12:56

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

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.

Closed Thread
 
Old   #1
 
shadowman123's Avatar
 
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
shadowman123 is offline  
Old 06/11/2012, 01:28   #2
 
Zeroxelli's Avatar
 
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.
Zeroxelli is offline  
Old 06/11/2012, 07:56   #3
 
Spirited's Avatar
 
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".
Spirited is offline  
Old 06/11/2012, 08:30   #4
 
Zeroxelli's Avatar
 
elite*gold: 0
Join Date: May 2008
Posts: 1,769
Received Thanks: 1,143
Quote:
Originally Posted by Fаng View Post
I don't think it's insight, I think it's supposed to be "in sight".
Yeah, thus the capital "S" I would assume.
Zeroxelli is offline  
Old 06/11/2012, 13:29   #5


 
KraHen's Avatar
 
elite*gold: 0
Join Date: Jul 2006
Posts: 2,216
Received Thanks: 794
Sight radius would be a more proper naming convention.
KraHen is offline  
Old 06/11/2012, 16:54   #6
 
shadowman123's Avatar
 
elite*gold: 0
Join Date: Aug 2007
Posts: 1,525
Received Thanks: 230
Quote:
Originally Posted by Fаng View Post
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 ?
shadowman123 is offline  
Old 06/11/2012, 17:49   #7

 
Kiyono's Avatar
 
elite*gold: 20
Join Date: Jun 2006
Posts: 3,296
Received Thanks: 925
Quote:
Originally Posted by shadowman123 View Post
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.
Kiyono is offline  
Old 06/11/2012, 17:58   #8


 
Korvacs's Avatar
 
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.
Korvacs is offline  
Old 06/11/2012, 18:43   #9
 
Zeroxelli's Avatar
 
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.
Zeroxelli is offline  
Old 06/11/2012, 19:33   #10
 
shadowman123's Avatar
 
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
shadowman123 is offline  
Old 06/11/2012, 19:34   #11
 
Zeroxelli's Avatar
 
elite*gold: 0
Join Date: May 2008
Posts: 1,769
Received Thanks: 1,143
Quote:
Originally Posted by shadowman123 View Post
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.
Zeroxelli is offline  
Old 06/11/2012, 19:50   #12
 
shadowman123's Avatar
 
elite*gold: 0
Join Date: Aug 2007
Posts: 1,525
Received Thanks: 230
Quote:
Originally Posted by Zeroxelli View Post
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
shadowman123 is offline  
Old 06/11/2012, 19:54   #13
 
Zeroxelli's Avatar
 
elite*gold: 0
Join Date: May 2008
Posts: 1,769
Received Thanks: 1,143
Quote:
Originally Posted by shadowman123 View Post
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.
Zeroxelli is offline  
Closed Thread


Similar Threads 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.


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.