Register for your free account! | Forgot your password?

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

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

Advertisement



[Requesting Help] Understanding Guard1 Code

Discussion on [Requesting Help] Understanding Guard1 Code within the CO2 Private Server forum part of the Conquer Online 2 category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Jul 2009
Posts: 91
Received Thanks: 28
[Requesting Help] Understanding Guard1 Code

This is the code from "MobInfos.txt" in OldCODB:
Code:
97 Guard1 6 900 250 50000 2500 70 10000 0 0 100 70 21 8036 0 False 18 100000 500000 500 3 False
Can someone please help me understand it? I know what the first 2 numbers mean... I just can't figure out the rest without my server crashing.
darkdestiny54 is offline  
Old 02/17/2010, 07:19   #2
 
spare2's Avatar
 
elite*gold: 20
Join Date: Oct 2009
Posts: 1,009
Received Thanks: 621
Here. Info[0] is the first number, and so on.
Code:
            MobID = int.Parse(Info[0]);
            Name = Info[1];
            Type = (MobBehaveour)byte.Parse(Info[2]);
            Mesh = ushort.Parse(Info[3]);
            Level = byte.Parse(Info[4]);
            MaxHP = uint.Parse(Info[5]);
            Defense = ushort.Parse(Info[6]);
            MDef = ushort.Parse(Info[7]);
            MAttack = ushort.Parse(Info[8]);
            MinAttack = ushort.Parse(Info[9]);
            MaxAttack = ushort.Parse(Info[10]);
            DmgReduceTimes = byte.Parse(Info[11]);
            Dodge = byte.Parse(Info[12]);
            AtkType = (AttackType)byte.Parse(Info[13]);
            if (AtkType == AttackType.Magic)
            {
                MagicSkill = ushort.Parse(Info[14]);
                MagicLvl = byte.Parse(Info[15]);
                Gives = bool.Parse(Info[16]);
                AttackDist = byte.Parse(Info[17]);
                MinSilvers = int.Parse(Info[18]);
                MaxSilvers = int.Parse(Info[19]);
                MoveSpeed = ushort.Parse(Info[20]);
                SpawnSpeed = uint.Parse(Info[21]);
                LevDifDmg = bool.Parse(Info[22]);
            }
            else
            {
                Gives = bool.Parse(Info[14]);
                AttackDist = byte.Parse(Info[15]);
                MinSilvers = int.Parse(Info[16]);
                MaxSilvers = int.Parse(Info[17]);
                MoveSpeed = ushort.Parse(Info[18]);
                SpawnSpeed = uint.Parse(Info[19]);
                LevDifDmg = bool.Parse(Info[20]);
            }
spare2 is offline  
Thanks
2 Users
Old 02/17/2010, 07:44   #3
 
xSynthesis's Avatar
 
elite*gold: 0
Join Date: Feb 2010
Posts: 80
Received Thanks: 29
Code:
ID	Name          type	Mesh	level	MaxHP	Defense  MDef	Matk	MinAtk	MaxAtk	DmgRedTime	Dodge	AtkType  Gives	AtkDist	 MinSilver   MaxSilver   MoveSpeed    SpawnSpeed      LevDifDmg
18	BanditL33       1	601	  33	1634	  0	  0	 0	 86	  94	    1		 75 	  2	  True	  3 	    30		  300      1000 	  12 		 True
More understandable..
xSynthesis is offline  
Thanks
3 Users
Old 02/17/2010, 15:27   #4
 
elite*gold: 0
Join Date: Jul 2009
Posts: 91
Received Thanks: 28
Thanks you guys! This really helped =P
darkdestiny54 is offline  
Old 02/18/2010, 09:43   #5
 
elite*gold: 0
Join Date: Sep 2009
Posts: 321
Received Thanks: 60
What was the point of this thread when theres about 6 more with a lot more detail there is a good search button on the top of the page... if you where not aware.
LegalConquer is offline  
Old 03/09/2010, 05:30   #6
 
elite*gold: 0
Join Date: Feb 2010
Posts: 378
Received Thanks: 86
public enum MobBehaveour : byte
{
HuntPlayers = 1,
HuntMobs = 2,
HuntMobsAndPlayers = 3,
HuntBlueNames = 4,
HuntMobsAndBlue = 6
}
-NewDawn- is offline  
Reply


Similar Threads Similar Threads
MOD Guard1......five types
11/30/2010 - CO2 Weapon, Armor, Effects & Interface edits - 4 Replies
::::Guar1 MOD:::: 1- http://img651.imageshack.us/img651/3209/amarillon eon.jpg Amarillo neon.exe
REQUESTING*/Help find change level address code
07/31/2010 - 12Sky2 - 5 Replies
hi i need help on how to find the address code to change your chr. lvl. i use C.E but i can onli know how to find the display lvl change code... So can someone plz help me find the code or if u have one can u give it to me? & dont say that there's none cuz i found one last month but my computer crash so i lost it n 4got where i found the code at...
Guard1
09/01/2009 - CO2 Private Server - 0 Replies
anyone know how to make the guards like the ones outside of twin city hit or shoot magic to like kill the monsters? plz any help ?? and is the mobtype suppose to be "1"? any help!??
Help understanding some ASM
01/18/2006 - General Coding - 0 Replies
I've collected the next batch of stupid questions i hope someone could help me shed some light on. Basicly im trying to enterpret some very helloworld'ish basic code written in c++ code(vs2005, console app). http://www.geocities.com/iamasciiart/hellow.JPG Truth be told, im fiddling with some codeinjection, evaluating different approaches, but i figure i'd get a little better at reading asm first. The idea of this statement "cout<<"address :"<<IAmMethodOne<<endl;" was to print the...



All times are GMT +2. The time now is 14:13.


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